namespace ElectronNET.API.Entities { /// /// /// public class LoginSettings { /// /// true to open the app at login, false to remove the app as a login item. Defaults /// to false. /// public bool OpenAtLogin { get; set; } /// /// true to open the app as hidden. Defaults to false. The user can edit this /// setting from the System Preferences so /// app.getLoginItemStatus().wasOpenedAsHidden should be checked when the app is /// opened to know the current value.This setting is only supported on macOS. /// public bool OpenAsHidden { get; set; } /// /// The executable to launch at login. Defaults to process.execPath. /// public string Path { get; set; } /// /// The command-line arguments to pass to the executable. Defaults to an empty /// array.Take care to wrap paths in quotes. /// public string[] Args { get; set; } } }