You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ElectronNET.API/API/Entities/AboutPanelOptions.cs
+16-6Lines changed: 16 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,11 @@
1
-
namespaceElectronNET.API.Entities
1
+
usingSystem.Runtime.Versioning;
2
+
3
+
namespaceElectronNET.API.Entities
2
4
{
3
5
/// <summary>
4
6
/// About panel options.
5
7
/// </summary>
8
+
/// <remarks>Up-to-date with Electron API 39.2</remarks>
6
9
publicclassAboutPanelOptions
7
10
{
8
11
/// <summary>
@@ -21,28 +24,35 @@ public class AboutPanelOptions
21
24
publicstringCopyright{get;set;}
22
25
23
26
/// <summary>
24
-
/// The app's build version number.
27
+
/// The app's build version number (macOS).
25
28
/// </summary>
29
+
[SupportedOSPlatform("macos")]
26
30
publicstringVersion{get;set;}
27
31
28
32
/// <summary>
29
-
/// Credit information.
33
+
/// Credit information (macOS, Windows).
30
34
/// </summary>
35
+
[SupportedOSPlatform("macos")]
36
+
[SupportedOSPlatform("windows")]
31
37
publicstringCredits{get;set;}
32
38
33
39
/// <summary>
34
-
/// List of app authors.
40
+
/// List of app authors (Linux).
35
41
/// </summary>
42
+
[SupportedOSPlatform("linux")]
36
43
publicstring[]Authors{get;set;}
37
44
38
45
/// <summary>
39
-
/// The app's website.
46
+
/// The app's website (Linux).
40
47
/// </summary>
48
+
[SupportedOSPlatform("linux")]
41
49
publicstringWebsite{get;set;}
42
50
43
51
/// <summary>
44
-
/// Path to the app's icon. On Linux, will be shown as 64x64 pixels while retaining aspect ratio.
52
+
/// 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.
0 commit comments