namespace ElectronNET.API.Entities { /// /// /// public class LoginSettings { /// /// to open the app at login, to remove the app as a login item. /// Defaults to . /// public bool OpenAtLogin { get; set; } /// /// to open the app as hidden. Defaults to . 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. /// 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; } } }