Доработан вызов updater.exe
This commit is contained in:
15
Updater/Core/ExitCodes.cs
Normal file
15
Updater/Core/ExitCodes.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Updater.Core;
|
||||
|
||||
public static class ExitCodes
|
||||
{
|
||||
/// <summary>Успешное обновление.</summary>
|
||||
public const int Ok = 0;
|
||||
/// <summary>Неверные аргументы командной строки.</summary>
|
||||
public const int InvalidArgs = 2;
|
||||
/// <summary>Ошибка извлечения.</summary>
|
||||
public const int ExtractFailed = 3;
|
||||
/// <summary>Ошибка установки (копировать/заменить).</summary>
|
||||
public const int InstallFailed = 4;
|
||||
/// <summary>Ошибка перезапуска.</summary>
|
||||
public const int RestartFailed = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user