2017-10-12 02:24:27 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Options for app.relaunch: optional args array and execPath.
|
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-12 02:24:27 +02:00
|
|
|
|
public class RelaunchOptions
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Command-line arguments for the relaunched instance.
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-12 02:24:27 +02:00
|
|
|
|
public string[] Args { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Executable path to relaunch instead of the current app.
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-12 02:24:27 +02:00
|
|
|
|
public string ExecPath { get; set; }
|
|
|
|
|
|
}
|
2020-05-31 03:09:54 +02:00
|
|
|
|
}
|