U-C-S / Hurl

Choose the browser on the click of a link
MIT License
294 stars 10 forks source link

Alternate option for Brave is not working (Bug) #77

Closed imnotadev-ineedhelp closed 1 year ago

imnotadev-ineedhelp commented 1 year ago

this is my UserSettings.json and Hurl is not opening! if I use the alternate launch option for Chrome then its fine :(

{
  "LastUpdated": "24-Aug-23 18:55:33",
  "Browsers": [
    {
      "Name": "Brave",
      "ExePath": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
      "AlternateLaunches": [
        {
          "ItemName": "Profile 1",
          "LaunchArgs": "--profile-directory=\"Default\""
        },
        {
          "ItemName": "Incognito",
          "LaunchArgs": "-incognito"
        }
    },
    {
      "Name": "Firefox",
      "ExePath": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"
    },
    {
      "Name": "Microsoft Edge",
      "ExePath": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
    }
  ]
}
imnotadev-ineedhelp commented 1 year ago

it also not working for other browsers other then chorme dev maybe cause, if I use

{
  "LastUpdated": "22-Feb-22 2:22:22 AM",
  "Version": "0.6.2",
  "Browsers": [
    {
      "Name": "Brave",
      "ExePath": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
      "Hidden": false
    },
    {
      "Name": "Google Chrome Dev",
      "ExePath": "C:\\Program Files\\Google\\Chrome Dev\\Application\\chrome.exe",
      "AlternateLaunches": [
        {
          "ItemName": "Profile 1",
          "LaunchArgs": "--profile-directory=\"Default\""
        },
        {
          "ItemName": "Incognito",
          "LaunchArgs": "-incognito"
        }
      ]
    }
  ]
}

then it works! And... if I just change a little like

{
  "LastUpdated": "22-Feb-22 2:22:22 AM",
  "Version": "0.6.2",
  "Browsers": [
    {
      "Name": "Brave",
      "ExePath": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
      "AlternateLaunches": [
        {
          "ItemName": "V",
          "LaunchArgs": "--profile-directory=\"Default 5\""
        }
    },
    {
      "Name": "Google Chrome Dev",
      "ExePath": "C:\\Program Files\\Google\\Chrome Dev\\Application\\chrome.exe",
      "AlternateLaunches": [
        {
          "ItemName": "Profile 1",
          "LaunchArgs": "--profile-directory=\"Default\""
        },
        {
          "ItemName": "Incognito",
          "LaunchArgs": "-incognito"
        }
      ]
    }
  ]
}

it's not working anymore :)

U-C-S commented 1 year ago

You are missing a , comma at the end of line 6, can u try it once with that... ?? and can u confirm if u are using v0.8 ??

imnotadev-ineedhelp commented 1 year ago

the 3rd bracket was not closed from 8th line "AlternateLaunches": [ 😝 sorry from my part, any way json format is pain the ass to deal with 😢, and thank you very much for making this wonderful piece of software 😁