mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
Don't crash when updater fails
This commit is contained in:
@@ -142,7 +142,11 @@ speechSynthesis.getVoices();
|
||||
el: '#x-app',
|
||||
async mounted() {
|
||||
await this.initLanguage();
|
||||
this.isRunningUnderWine = await AppApi.IsRunningUnderWine();
|
||||
try {
|
||||
this.isRunningUnderWine = await AppApi.IsRunningUnderWine();
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
await this.changeThemeMode();
|
||||
await AppApi.SetUserAgent();
|
||||
this.appVersion = await AppApi.GetVersion();
|
||||
|
||||
Reference in New Issue
Block a user