AcManager.Tools.Miscellaneous.AppUpdater.RunUpdateExeAndExitIfExists C# (CSharp) Method

RunUpdateExeAndExitIfExists() private static method

private static RunUpdateExeAndExitIfExists ( ) : void
return void
        private static void RunUpdateExeAndExitIfExists() {
            if (!File.Exists(UpdateLocation)) return;
            Logging.Write($"Starting “{UpdateLocation}”…");
            ProcessExtension.Start(UpdateLocation, Environment.GetCommandLineArgs().Skip(1));
            Environment.Exit(0);
        }