Updater fixes

This commit is contained in:
Natsumi
2022-12-06 06:03:51 +13:00
parent 156107be1f
commit 3268b898af
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -308,6 +308,7 @@ namespace VRCX
Process VRCXProcess = new Process();
VRCXProcess.StartInfo.FileName = Path.Combine(Program.BaseDirectory, "VRCX.exe");
VRCXProcess.StartInfo.UseShellExecute = false;
VRCXProcess.StartInfo.Arguments = "/Upgrade";
VRCXProcess.Start();
Environment.Exit(0);
}
+1 -1
View File
@@ -19497,7 +19497,7 @@ speechSynthesis.getVoices();
case -16:
if (this.downloadCurrent.ref.id === 'VRCXUpdate') {
if (this.downloadCurrent.autoInstall) {
this.restartVRCX();
workerTimers.setTimeout(() => this.restartVRCX(), 2000);
} else {
this.downloadDialog.visible = false;
this.pendingVRCXUpdate = this.downloadCurrent.ref.name;