From 27df100e08bdcaa64663b074a010b57345a38591 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 18 Sep 2024 18:16:06 +1200 Subject: [PATCH] Remove OSC fix https://feedback.vrchat.com/bug-reports/p/installexe-breaks-osc-port-binding --- html/src/app.js | 18 ------------------ html/src/localization/en/en.json | 4 ---- html/src/mixins/tabs/settings.pug | 5 ----- 3 files changed, 27 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index bfd91d77..2e6e4200 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -11424,19 +11424,6 @@ speechSynthesis.getVoices(); } }); } - if (this.vrcOSCFix) { - workerTimers.setTimeout(() => { - AppApi.KillInstall().then((processKilled) => { - if (processKilled) { - console.log('OSCFix: Killed Install.exe'); - } else { - console.log( - 'OSCFix: Nothing to kill, no Install.exe process running' - ); - } - }); - }, 2000); - } break; case 'openvr-init': this.isGameNoVR = false; @@ -15567,10 +15554,6 @@ speechSynthesis.getVoices(); 'VRCX_vrcQuitFix', true ); - $app.data.vrcOSCFix = await configRepository.getBool( - 'VRCX_vrcOSCFix', - true - ); $app.data.vrBackgroundEnabled = await configRepository.getBool( 'VRCX_vrBackgroundEnabled', false @@ -15755,7 +15738,6 @@ speechSynthesis.getVoices(); this.relaunchVRChatAfterCrash ); await configRepository.setBool('VRCX_vrcQuitFix', this.vrcQuitFix); - await configRepository.setBool('VRCX_vrcOSCFix', this.vrcOSCFix); await configRepository.setBool( 'VRCX_vrBackgroundEnabled', this.vrBackgroundEnabled diff --git a/html/src/localization/en/en.json b/html/src/localization/en/en.json index 817c3863..76b37de8 100644 --- a/html/src/localization/en/en.json +++ b/html/src/localization/en/en.json @@ -422,10 +422,6 @@ "header": "VRChat Quit Fix", "description": "Kill VRChat after exiting game" }, - "vrchat_osc_fix": { - "header": "VRChat OSC Fix", - "description": "Resuming and terminating the suspended install.exe process after exiting game" - }, "auto_cache_management": { "header": "Automatically Manage Cache When Closing VRChat", "description": "Auto delete old versions from cache" diff --git a/html/src/mixins/tabs/settings.pug b/html/src/mixins/tabs/settings.pug index 8dc31efb..556f3f1f 100644 --- a/html/src/mixins/tabs/settings.pug +++ b/html/src/mixins/tabs/settings.pug @@ -458,11 +458,6 @@ mixin settingsTab() div.options-container-item span.name(style="min-width:300px") {{ $t('view.settings.advanced.advanced.vrchat_quit_fix.description') }} el-switch(v-model="vrcQuitFix" @change="saveOpenVROption") - //- Advanced | VRChat OSC Fix - span.sub-header {{ $t('view.settings.advanced.advanced.vrchat_osc_fix.header') }} - div.options-container-item - span.name(style="min-width:300px") {{ $t('view.settings.advanced.advanced.vrchat_osc_fix.description') }} - el-switch(v-model="vrcOSCFix" @change="saveOpenVROption") //- Advanced | Auto Cache Management span.sub-header {{ $t('view.settings.advanced.advanced.auto_cache_management.header') }} div.options-container-item