Update all model classes to Electron API 39.2

This commit is contained in:
softworkz
2025-11-22 02:16:10 +01:00
parent 1d554fda60
commit 6761119241
114 changed files with 1527 additions and 499 deletions

View File

@@ -1,15 +1,18 @@
using System.Text.Json.Serialization;
using System.Runtime.Versioning;
namespace ElectronNET.API.Entities
{
/// <summary>
///
/// Options for BrowserWindow.setProgressBar(progress, options).
/// </summary>
/// <remarks>Up-to-date with Electron API 39.2</remarks>
public class ProgressBarOptions
{
/// <summary>
/// Mode for the progress bar. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
/// Mode for the progress bar on Windows. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
/// </summary>
public ProgressBarMode Mode { get; set; }
[SupportedOSPlatform("windows")]
public ProgressBarMode Mode { get; set; } = ProgressBarMode.normal;
}
}