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';