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>
2020-05-31 03:09:54 +02:00
/// About panel options.
2017-10-24 21:43:27 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
/// <remarks>Up-to-date with Electron API 39.2</remarks>
2017-10-14 00:06:58 +02:00
public class AboutPanelOptions
{
/// <summary>
/// The app's name.
/// </summary>
public string ApplicationName { get ; set ; }
/// <summary>
/// The app's version.
/// </summary>
public string ApplicationVersion { get ; set ; }
/// <summary>
/// Copyright information.
/// </summary>
public string Copyright { get ; set ; }
2020-05-31 03:09:54 +02:00
/// <summary>
2025-11-22 02:16:10 +01:00
/// The app's build version number (macOS).
2020-05-31 03:09:54 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
[SupportedOSPlatform("macos")]
2020-05-31 03:09:54 +02:00
public string Version { get ; set ; }
2017-10-14 00:06:58 +02:00
/// <summary>
2025-11-22 02:16:10 +01:00
/// Credit information (macOS, Windows).
2017-10-14 00:06:58 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("windows")]
2017-10-14 00:06:58 +02:00
public string Credits { get ; set ; }
/// <summary>
2025-11-22 02:16:10 +01:00
/// List of app authors (Linux).
2017-10-14 00:06:58 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
[SupportedOSPlatform("linux")]
2020-05-31 03:09:54 +02:00
public string [ ] Authors { get ; set ; }
/// <summary>
2025-11-22 02:16:10 +01:00
/// The app's website (Linux).
2020-05-31 03:09:54 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
[SupportedOSPlatform("linux")]
2020-05-31 03:09:54 +02:00
public string Website { get ; set ; }
/// <summary>
2025-11-22 02:16:10 +01:00
/// Path to the app's icon in a JPEG or PNG file format. On Linux, will be shown as 64x64 pixels while retaining aspect ratio. On Windows, a 48x48 PNG will result in the best visual quality.
2020-05-31 03:09:54 +02:00
/// </summary>
2025-11-22 02:16:10 +01:00
[SupportedOSPlatform("linux")]
[SupportedOSPlatform("windows")]
2020-05-31 03:09:54 +02:00
public string IconPath { get ; set ; }
2017-10-14 00:06:58 +02:00
}
}