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