Only apply font change when running under wine

This commit is contained in:
Natsumi
2024-11-30 23:33:15 +13:00
parent c4efb515e3
commit 110471c69c
15 changed files with 129 additions and 33 deletions

View File

@@ -23,7 +23,7 @@ export default class extends baseClass {
nextClearVRCXCacheCheck: 0,
nextDiscordUpdate: 0,
nextAutoStateChange: 0,
nextGameRunningCheck: 0,
nextGameRunningCheck: 0
};
_methods = {
@@ -76,7 +76,10 @@ export default class extends baseClass {
this.nextAutoStateChange = 3;
this.updateAutoStateChange();
}
if (--this.nextGameRunningCheck <= 0) {
if (
this.isRunningUnderWine &&
--this.nextGameRunningCheck <= 0
) {
this.nextGameRunningCheck = 3;
AppApi.CheckGameRunning();
}