2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-14 00:06:58 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class LoginItemSettingsOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The executable path to compare against. Defaults to process.execPath.
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
[SupportedOSPlatform("windows")]
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The command-line arguments to compare against. Defaults to an empty array.
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
[SupportedOSPlatform("windows")]
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string[] Args { get; set; }
|
2025-11-22 02:16:10 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The type of service to query on macOS 13+. Defaults to 'mainAppService'. Only available on macOS 13 and up.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SupportedOSPlatform("macos")]
|
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The name of the service. Required if type is non-default. Only available on macOS 13 and up.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SupportedOSPlatform("macos")]
|
|
|
|
|
|
public string ServiceName { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|