2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-16 16:53:35 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
|
|
|
|
[SupportedOSPlatform("windows")]
|
2017-10-16 16:53:35 +02:00
|
|
|
|
public class AppDetailsOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Window's App User Model ID. It has to be set, otherwise the other options will have no effect.
|
2017-10-16 16:53:35 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string AppId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Window's relaunch icon resource path.
|
2017-10-16 16:53:35 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string AppIconPath { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Index of the icon in <see cref="AppIconPath"/>. Ignored when <see cref="AppIconPath"/> is not set. Default is 0.
|
2017-10-16 16:53:35 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int AppIconIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Window's relaunch command.
|
2017-10-16 16:53:35 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string RelaunchCommand { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Window's relaunch display name.
|
2017-10-16 16:53:35 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string RelaunchDisplayName { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|