mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Remove VRCX Auto Install
Most people get hit with a UAC prompt that will either lock them out of their overlay or timeout leaving VRCX closed.
This commit is contained in:
+7
-34
@@ -15729,6 +15729,9 @@ speechSynthesis.getVoices();
|
|||||||
'VRCX_autoUpdateVRCX',
|
'VRCX_autoUpdateVRCX',
|
||||||
'Auto Download'
|
'Auto Download'
|
||||||
);
|
);
|
||||||
|
if ($app.data.autoUpdateVRCX === 'Auto Install') {
|
||||||
|
$app.data.autoUpdateVRCX = 'Auto Download';
|
||||||
|
}
|
||||||
$app.data.branch = await configRepository.getString(
|
$app.data.branch = await configRepository.getString(
|
||||||
'VRCX_branch',
|
'VRCX_branch',
|
||||||
'Stable'
|
'Stable'
|
||||||
@@ -25148,18 +25151,10 @@ speechSynthesis.getVoices();
|
|||||||
return;
|
return;
|
||||||
case -16:
|
case -16:
|
||||||
if (this.downloadCurrent.ref.id === 'VRCXUpdate') {
|
if (this.downloadCurrent.ref.id === 'VRCXUpdate') {
|
||||||
if (this.downloadCurrent.autoInstall) {
|
|
||||||
var isUpgrade = true;
|
|
||||||
workerTimers.setTimeout(
|
|
||||||
() => this.restartVRCX(isUpgrade),
|
|
||||||
2000
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
this.downloadDialog.visible = false;
|
this.downloadDialog.visible = false;
|
||||||
this.pendingVRCXInstall = this.downloadCurrent.ref.name;
|
this.pendingVRCXInstall = this.downloadCurrent.ref.name;
|
||||||
this.showVRCXUpdateDialog();
|
this.showVRCXUpdateDialog();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this.downloadFileComplete('Success');
|
this.downloadFileComplete('Success');
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
@@ -26222,8 +26217,7 @@ speechSynthesis.getVoices();
|
|||||||
updateHashUrl,
|
updateHashUrl,
|
||||||
size,
|
size,
|
||||||
name,
|
name,
|
||||||
type,
|
type
|
||||||
autoInstall
|
|
||||||
) {
|
) {
|
||||||
var ref = {
|
var ref = {
|
||||||
id: 'VRCXUpdate',
|
id: 'VRCXUpdate',
|
||||||
@@ -26234,8 +26228,7 @@ speechSynthesis.getVoices();
|
|||||||
type,
|
type,
|
||||||
updateSetupUrl,
|
updateSetupUrl,
|
||||||
updateHashUrl,
|
updateHashUrl,
|
||||||
size,
|
size
|
||||||
autoInstall
|
|
||||||
});
|
});
|
||||||
this.downloadQueueTable.data = Array.from(this.downloadQueue.values());
|
this.downloadQueueTable.data = Array.from(this.downloadQueue.values());
|
||||||
if (!this.downloadInProgress) {
|
if (!this.downloadInProgress) {
|
||||||
@@ -26274,15 +26267,7 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
var name = release.name;
|
var name = release.name;
|
||||||
var type = 'Manual';
|
var type = 'Manual';
|
||||||
var autoInstall = false;
|
this.downloadVRCXUpdate(downloadUrl, hashUrl, size, name, type);
|
||||||
this.downloadVRCXUpdate(
|
|
||||||
downloadUrl,
|
|
||||||
hashUrl,
|
|
||||||
size,
|
|
||||||
name,
|
|
||||||
type,
|
|
||||||
autoInstall
|
|
||||||
);
|
|
||||||
this.VRCXUpdateDialog.visible = false;
|
this.VRCXUpdateDialog.visible = false;
|
||||||
this.showDownloadDialog();
|
this.showDownloadDialog();
|
||||||
}
|
}
|
||||||
@@ -26425,24 +26410,12 @@ speechSynthesis.getVoices();
|
|||||||
} else if (this.autoUpdateVRCX === 'Notify') {
|
} else if (this.autoUpdateVRCX === 'Notify') {
|
||||||
// this.showVRCXUpdateDialog();
|
// this.showVRCXUpdateDialog();
|
||||||
} else if (this.autoUpdateVRCX === 'Auto Download') {
|
} else if (this.autoUpdateVRCX === 'Auto Download') {
|
||||||
var autoInstall = false;
|
|
||||||
this.downloadVRCXUpdate(
|
this.downloadVRCXUpdate(
|
||||||
downloadUrl,
|
downloadUrl,
|
||||||
hashUrl,
|
hashUrl,
|
||||||
size,
|
size,
|
||||||
name,
|
name,
|
||||||
type,
|
type
|
||||||
autoInstall
|
|
||||||
);
|
|
||||||
} else if (this.autoUpdateVRCX === 'Auto Install') {
|
|
||||||
var autoInstall = true;
|
|
||||||
this.downloadVRCXUpdate(
|
|
||||||
downloadUrl,
|
|
||||||
hashUrl,
|
|
||||||
size,
|
|
||||||
name,
|
|
||||||
type,
|
|
||||||
autoInstall
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Off",
|
"auto_update_off": "Off",
|
||||||
"auto_update_notify": "Notify",
|
"auto_update_notify": "Notify",
|
||||||
"auto_update_download": "Auto Download",
|
"auto_update_download": "Auto Download",
|
||||||
"auto_update_install": "Auto Install",
|
|
||||||
"change_log": "Change Log"
|
"change_log": "Change Log"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Desactivado",
|
"auto_update_off": "Desactivado",
|
||||||
"auto_update_notify": "Notificar",
|
"auto_update_notify": "Notificar",
|
||||||
"auto_update_download": "Descarga automática",
|
"auto_update_download": "Descarga automática",
|
||||||
"auto_update_install": "Instalar automáticamente",
|
|
||||||
"change_log": "Registro de cambios"
|
"change_log": "Registro de cambios"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Désactivé",
|
"auto_update_off": "Désactivé",
|
||||||
"auto_update_notify": "Me demander",
|
"auto_update_notify": "Me demander",
|
||||||
"auto_update_download": "Téléchargement automatique",
|
"auto_update_download": "Téléchargement automatique",
|
||||||
"auto_update_install": "Installation automatique",
|
|
||||||
"change_log": "Journal des modifications"
|
"change_log": "Journal des modifications"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Kikapcsolva",
|
"auto_update_off": "Kikapcsolva",
|
||||||
"auto_update_notify": "Értesítsen",
|
"auto_update_notify": "Értesítsen",
|
||||||
"auto_update_download": "Automatikus letöltés",
|
"auto_update_download": "Automatikus letöltés",
|
||||||
"auto_update_install": "Automatikus telepítés",
|
|
||||||
"change_log": "Változásnapló"
|
"change_log": "Változásnapló"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "オフ",
|
"auto_update_off": "オフ",
|
||||||
"auto_update_notify": "通知のみ",
|
"auto_update_notify": "通知のみ",
|
||||||
"auto_update_download": "自動ダウンロード",
|
"auto_update_download": "自動ダウンロード",
|
||||||
"auto_update_install": "自動インストール",
|
|
||||||
"change_log": "更新履歴"
|
"change_log": "更新履歴"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "끄기",
|
"auto_update_off": "끄기",
|
||||||
"auto_update_notify": "알림",
|
"auto_update_notify": "알림",
|
||||||
"auto_update_download": "자동 다운로드",
|
"auto_update_download": "자동 다운로드",
|
||||||
"auto_update_install": "자동 설치",
|
|
||||||
"change_log": "변경사항"
|
"change_log": "변경사항"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Wył.",
|
"auto_update_off": "Wył.",
|
||||||
"auto_update_notify": "Powiadamiaj",
|
"auto_update_notify": "Powiadamiaj",
|
||||||
"auto_update_download": "Auto. pobieranie",
|
"auto_update_download": "Auto. pobieranie",
|
||||||
"auto_update_install": "Auto. instalacja",
|
|
||||||
"change_log": "Lista zmian"
|
"change_log": "Lista zmian"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Desligado",
|
"auto_update_off": "Desligado",
|
||||||
"auto_update_notify": "Notificar",
|
"auto_update_notify": "Notificar",
|
||||||
"auto_update_download": "Transferência Automática",
|
"auto_update_download": "Transferência Automática",
|
||||||
"auto_update_install": "Instalar automaticamente",
|
|
||||||
"change_log": "Registro de Alterações"
|
"change_log": "Registro de Alterações"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Выкл",
|
"auto_update_off": "Выкл",
|
||||||
"auto_update_notify": "Оповестить",
|
"auto_update_notify": "Оповестить",
|
||||||
"auto_update_download": "Автозагрузка",
|
"auto_update_download": "Автозагрузка",
|
||||||
"auto_update_install": "Автоустановка",
|
|
||||||
"change_log": "Список изменений"
|
"change_log": "Список изменений"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "Tắt",
|
"auto_update_off": "Tắt",
|
||||||
"auto_update_notify": "Thông báo",
|
"auto_update_notify": "Thông báo",
|
||||||
"auto_update_download": "Tự động tải về",
|
"auto_update_download": "Tự động tải về",
|
||||||
"auto_update_install": "Tự động cài đặt",
|
|
||||||
"change_log": "Thông tin về thay đổi (log)"
|
"change_log": "Thông tin về thay đổi (log)"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "关闭",
|
"auto_update_off": "关闭",
|
||||||
"auto_update_notify": "显示通知",
|
"auto_update_notify": "显示通知",
|
||||||
"auto_update_download": "自动下载",
|
"auto_update_download": "自动下载",
|
||||||
"auto_update_install": "自动安装",
|
|
||||||
"change_log": "更新日志"
|
"change_log": "更新日志"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -211,7 +211,6 @@
|
|||||||
"auto_update_off": "關閉",
|
"auto_update_off": "關閉",
|
||||||
"auto_update_notify": "通知",
|
"auto_update_notify": "通知",
|
||||||
"auto_update_download": "自動下載",
|
"auto_update_download": "自動下載",
|
||||||
"auto_update_install": "自動安裝",
|
|
||||||
"change_log": "更新日誌"
|
"change_log": "更新日誌"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ mixin settingsTab()
|
|||||||
{ label: "Off", translationKey: "view.settings.general.vrcx_updater.auto_update_off" },
|
{ label: "Off", translationKey: "view.settings.general.vrcx_updater.auto_update_off" },
|
||||||
{ label: "Notify", translationKey: "view.settings.general.vrcx_updater.auto_update_notify" },
|
{ label: "Notify", translationKey: "view.settings.general.vrcx_updater.auto_update_notify" },
|
||||||
{ label: "Auto Download", translationKey: "view.settings.general.vrcx_updater.auto_update_download" },
|
{ label: "Auto Download", translationKey: "view.settings.general.vrcx_updater.auto_update_download" },
|
||||||
{ label: "Auto Install", translationKey: "view.settings.general.vrcx_updater.auto_update_install" },
|
|
||||||
], "saveAutoUpdateVRCX")
|
], "saveAutoUpdateVRCX")
|
||||||
//- General | Application
|
//- General | Application
|
||||||
+simpleSettingsCategory("view.settings.general.application.header")
|
+simpleSettingsCategory("view.settings.general.application.header")
|
||||||
|
|||||||
Reference in New Issue
Block a user