@lynx-js/lynxtron / Settings
Settings
Properties
args? Windows
The command-line arguments to pass to the executable. Defaults to an empty array. Take care to wrap paths in quotes.
Defined in
enabled? Windows
true will change the startup approved registry key and enable / disable the
App in Task Manager and Windows Settings. Defaults to true.
Defined in
name? Windows
value name to write into registry. Defaults to the app's AppUserModelId().
Defined in
openAsHidden? macOS
true to open the app as hidden. Defaults to false. The user can edit this
setting from the System Preferences so
app.getLoginItemSettings().wasOpenedAsHidden should be checked when the app is
opened to know the current value. This setting is not available on MAS builds or
on macOS 13 and up.
Deprecated
Defined in
openAtLogin?
true to open the app at login, false to remove the app as a login item.
Defaults to false.
Defined in
path? Windows
The executable to launch at login. Defaults to process.execPath.
Defined in
serviceName? macOS
The name of the service. Required if type is non-default. Only available on
macOS 13 and up.
Defined in
type? macOS
The type of service to add as a login item. Defaults to mainAppService. Only
available on macOS 13 and up.
Defined in