diff --git a/AppApi.cs b/AppApi.cs index a4ed4278..647c8596 100644 --- a/AppApi.cs +++ b/AppApi.cs @@ -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); } diff --git a/html/src/app.js b/html/src/app.js index 2e1b6f96..97404079 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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;