-
Notifications
You must be signed in to change notification settings - Fork 9
Editing UserSettings.json
Chanakya edited this page Mar 11, 2022
·
9 revisions
A typical UserSettings.json file looks like this
{
"AppPath": "C:\\Users\\USERNAME\\AppData\\Roaming\\Hurl\\UserSettings.json",
"Browsers": [
{
"SourceType": 0,
"Name": "Brave",
"ExePath": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
"LaunchArgs": null,
"Hidden": false,
"AlternateLaunches": null
},
{
"SourceType": 0,
"Name": "Google Chrome Dev",
"ExePath": "C:\\Program Files\\Google\\Chrome Dev\\Application\\chrome.exe",
"LaunchArgs": null,
"Hidden": false,
"AlternateLaunches": [
{
"ItemName": "Profile 1",
"LaunchExe": null,
"LaunchArgs": "--profile-directory='Default'",
"IsPath": false
}
]
},
{},
{}
],
"LastUpdated": "22-Feb-22 2:22:22 AM"
}
-
SourceType
- how the browser is added into Hurl (0 for from registry, 1 for User added) (just give 1 (number, not string) if you don't understand) -
Name
- you know -
ExePath
- The path of browser main exe file LaunchArgs
-
Hidden
- settrue
to hide it in the selection screen -
AlternateLaunches
- This is an array .... see below
This is a way to launch browsers when you have multiple other launch methods or launch targets... like incognito, browser profiles...
The snippet taken from above will let you launch a context menu when right-clicking on the browser
"AlternateLaunches": [
{
"ItemName": "Profile 1",
"LaunchExe": null,
"LaunchArgs": "--profile-directory='Default'",
"IsPath": false
}
]
-
ItemName
- The name that shows up in the context menu for this launch -
LaunchExe
- Ignore (FUNCTIONALITY NOT IMPLEMENTED, keep itnull
) -
LaunchArgs
- Launch args. You can keep launch the browser in incognito, other browser profiles... -
IsPath
- (FUNCTIONALITY NOT IMPLEMENTED, keep itfalse
)