mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Updater fixes
This commit is contained in:
@@ -308,6 +308,7 @@ namespace VRCX
|
|||||||
Process VRCXProcess = new Process();
|
Process VRCXProcess = new Process();
|
||||||
VRCXProcess.StartInfo.FileName = Path.Combine(Program.BaseDirectory, "VRCX.exe");
|
VRCXProcess.StartInfo.FileName = Path.Combine(Program.BaseDirectory, "VRCX.exe");
|
||||||
VRCXProcess.StartInfo.UseShellExecute = false;
|
VRCXProcess.StartInfo.UseShellExecute = false;
|
||||||
|
VRCXProcess.StartInfo.Arguments = "/Upgrade";
|
||||||
VRCXProcess.Start();
|
VRCXProcess.Start();
|
||||||
Environment.Exit(0);
|
Environment.Exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -19497,7 +19497,7 @@ speechSynthesis.getVoices();
|
|||||||
case -16:
|
case -16:
|
||||||
if (this.downloadCurrent.ref.id === 'VRCXUpdate') {
|
if (this.downloadCurrent.ref.id === 'VRCXUpdate') {
|
||||||
if (this.downloadCurrent.autoInstall) {
|
if (this.downloadCurrent.autoInstall) {
|
||||||
this.restartVRCX();
|
workerTimers.setTimeout(() => this.restartVRCX(), 2000);
|
||||||
} else {
|
} else {
|
||||||
this.downloadDialog.visible = false;
|
this.downloadDialog.visible = false;
|
||||||
this.pendingVRCXUpdate = this.downloadCurrent.ref.name;
|
this.pendingVRCXUpdate = this.downloadCurrent.ref.name;
|
||||||
|
|||||||
Reference in New Issue
Block a user