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:
Natsumi
2024-10-28 21:53:59 +13:00
parent 8f10ca6386
commit 64947e57cb
14 changed files with 10 additions and 50 deletions

View File

@@ -15729,6 +15729,9 @@ speechSynthesis.getVoices();
'VRCX_autoUpdateVRCX',
'Auto Download'
);
if ($app.data.autoUpdateVRCX === 'Auto Install') {
$app.data.autoUpdateVRCX = 'Auto Download';
}
$app.data.branch = await configRepository.getString(
'VRCX_branch',
'Stable'
@@ -25148,17 +25151,9 @@ speechSynthesis.getVoices();
return;
case -16:
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.pendingVRCXInstall = this.downloadCurrent.ref.name;
this.showVRCXUpdateDialog();
}
this.downloadDialog.visible = false;
this.pendingVRCXInstall = this.downloadCurrent.ref.name;
this.showVRCXUpdateDialog();
}
this.downloadFileComplete('Success');
return;
@@ -26222,8 +26217,7 @@ speechSynthesis.getVoices();
updateHashUrl,
size,
name,
type,
autoInstall
type
) {
var ref = {
id: 'VRCXUpdate',
@@ -26234,8 +26228,7 @@ speechSynthesis.getVoices();
type,
updateSetupUrl,
updateHashUrl,
size,
autoInstall
size
});
this.downloadQueueTable.data = Array.from(this.downloadQueue.values());
if (!this.downloadInProgress) {
@@ -26274,15 +26267,7 @@ speechSynthesis.getVoices();
}
var name = release.name;
var type = 'Manual';
var autoInstall = false;
this.downloadVRCXUpdate(
downloadUrl,
hashUrl,
size,
name,
type,
autoInstall
);
this.downloadVRCXUpdate(downloadUrl, hashUrl, size, name, type);
this.VRCXUpdateDialog.visible = false;
this.showDownloadDialog();
}
@@ -26425,24 +26410,12 @@ speechSynthesis.getVoices();
} else if (this.autoUpdateVRCX === 'Notify') {
// this.showVRCXUpdateDialog();
} else if (this.autoUpdateVRCX === 'Auto Download') {
var autoInstall = false;
this.downloadVRCXUpdate(
downloadUrl,
hashUrl,
size,
name,
type,
autoInstall
);
} else if (this.autoUpdateVRCX === 'Auto Install') {
var autoInstall = true;
this.downloadVRCXUpdate(
downloadUrl,
hashUrl,
size,
name,
type,
autoInstall
type
);
}
}

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Off",
"auto_update_notify": "Notify",
"auto_update_download": "Auto Download",
"auto_update_install": "Auto Install",
"change_log": "Change Log"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Desactivado",
"auto_update_notify": "Notificar",
"auto_update_download": "Descarga automática",
"auto_update_install": "Instalar automáticamente",
"change_log": "Registro de cambios"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Désactivé",
"auto_update_notify": "Me demander",
"auto_update_download": "Téléchargement automatique",
"auto_update_install": "Installation automatique",
"change_log": "Journal des modifications"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Kikapcsolva",
"auto_update_notify": "Értesítsen",
"auto_update_download": "Automatikus letöltés",
"auto_update_install": "Automatikus telepítés",
"change_log": "Változásnapló"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "オフ",
"auto_update_notify": "通知のみ",
"auto_update_download": "自動ダウンロード",
"auto_update_install": "自動インストール",
"change_log": "更新履歴"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "끄기",
"auto_update_notify": "알림",
"auto_update_download": "자동 다운로드",
"auto_update_install": "자동 설치",
"change_log": "변경사항"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Wył.",
"auto_update_notify": "Powiadamiaj",
"auto_update_download": "Auto. pobieranie",
"auto_update_install": "Auto. instalacja",
"change_log": "Lista zmian"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Desligado",
"auto_update_notify": "Notificar",
"auto_update_download": "Transferência Automática",
"auto_update_install": "Instalar automaticamente",
"change_log": "Registro de Alterações"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Выкл",
"auto_update_notify": "Оповестить",
"auto_update_download": "Автозагрузка",
"auto_update_install": "Автоустановка",
"change_log": "Список изменений"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "Tắt",
"auto_update_notify": "Thông báo",
"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)"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "关闭",
"auto_update_notify": "显示通知",
"auto_update_download": "自动下载",
"auto_update_install": "自动安装",
"change_log": "更新日志"
},
"application": {

View File

@@ -211,7 +211,6 @@
"auto_update_off": "關閉",
"auto_update_notify": "通知",
"auto_update_download": "自動下載",
"auto_update_install": "自動安裝",
"change_log": "更新日誌"
},
"application": {

View File

@@ -77,7 +77,6 @@ mixin settingsTab()
{ label: "Off", translationKey: "view.settings.general.vrcx_updater.auto_update_off" },
{ 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 Install", translationKey: "view.settings.general.vrcx_updater.auto_update_install" },
], "saveAutoUpdateVRCX")
//- General | Application
+simpleSettingsCategory("view.settings.general.application.header")