From 1787bb625bbb6bf7c972695950d6847760224a1b Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 22 Oct 2025 12:11:15 +1100 Subject: [PATCH] Random fixes --- Dotnet/AppApi/Cef/Screenshot.cs | 2 +- Dotnet/AppApi/Common/VrcConfigFile.cs | 1 + src/App.vue | 3 +++ src/stores/vrcxUpdater.js | 1 + src/views/Settings/Settings.vue | 2 -- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dotnet/AppApi/Cef/Screenshot.cs b/Dotnet/AppApi/Cef/Screenshot.cs index b2eb1f7b..701be9bd 100644 --- a/Dotnet/AppApi/Cef/Screenshot.cs +++ b/Dotnet/AppApi/Cef/Screenshot.cs @@ -37,7 +37,7 @@ namespace VRCX break; } } - catch (IOException) + catch (Exception ex) when (ex is IOException or UnauthorizedAccessException) { Thread.Sleep(1000); } diff --git a/Dotnet/AppApi/Common/VrcConfigFile.cs b/Dotnet/AppApi/Common/VrcConfigFile.cs index 062679fd..69d32bb8 100644 --- a/Dotnet/AppApi/Common/VrcConfigFile.cs +++ b/Dotnet/AppApi/Common/VrcConfigFile.cs @@ -43,6 +43,7 @@ namespace VRCX public void WriteConfigFile(string json) { var path = GetVRChatAppDataLocation(); + Directory.CreateDirectory(path); var configFile = Path.Join(path, "config.json"); File.WriteAllText(configFile, json); } diff --git a/src/App.vue b/src/App.vue index 5e52143f..e52e0eff 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,6 +65,8 @@ + + @@ -96,6 +98,7 @@ import AvatarDialog from './components/dialogs/AvatarDialog/AvatarDialog.vue'; import AvatarImportDialog from './views/Favorites/dialogs/AvatarImportDialog.vue'; + import ChangelogDialog from './views/Settings/dialogs/ChangelogDialog.vue'; import ChooseFavoriteGroupDialog from './components/dialogs/ChooseFavoriteGroupDialog.vue'; import EditInviteMessageDialog from './views/Profile/dialogs/EditInviteMessageDialog.vue'; import FriendImportDialog from './views/Favorites/dialogs/FriendImportDialog.vue'; diff --git a/src/stores/vrcxUpdater.js b/src/stores/vrcxUpdater.js index 00423302..1aaf42c6 100644 --- a/src/stores/vrcxUpdater.js +++ b/src/stores/vrcxUpdater.js @@ -175,6 +175,7 @@ export const useVRCXUpdaterStore = defineStore('VRCXUpdater', () => { currentVersion.value === 'VRCX Nightly Build' || currentVersion.value === 'VRCX Build' ) { + changeLogDialog.value.changeLog = '-'; // ignore custom builds return; } diff --git a/src/views/Settings/Settings.vue b/src/views/Settings/Settings.vue index 270f043f..004b91de 100644 --- a/src/views/Settings/Settings.vue +++ b/src/views/Settings/Settings.vue @@ -26,7 +26,6 @@ - @@ -35,7 +34,6 @@ import AdvancedTab from './components/Tabs/AdvancedTab.vue'; import AppearanceTab from './components/Tabs/AppearanceTab.vue'; - import ChangelogDialog from './dialogs/ChangelogDialog.vue'; import DiscordPresenceTab from './components/Tabs/DiscordPresenceTab.vue'; import GeneralTab from './components/Tabs/GeneralTab.vue'; import NotificationsTab from './components/Tabs/NotificationsTab.vue';