Prepare for webOS & Tizen support

This commit is contained in:
redphx
2024-07-01 17:26:04 +07:00
parent 64d60aedfa
commit c1502b5552
29 changed files with 801 additions and 598 deletions

View File

@@ -1,4 +1,4 @@
import { STATES } from "@utils/global";
import { deepClone, STATES } from "@utils/global";
import { BxLogger } from "./bx-logger";
import { TouchController } from "@modules/touch-controller";
import { GamePassCloudGallery } from "../enums/game-pass-gallery";
@@ -59,7 +59,7 @@ export function overridePreloadState() {
// @ts-ignore
_state = state;
STATES.appContext = structuredClone(state.appContext);
STATES.appContext = deepClone(state.appContext);
}
});
}