mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Move DEFAULT_FLAGS below ADDITIONAL CODE section
This commit is contained in:
parent
2008806507
commit
6f9ae9a555
@ -17,22 +17,7 @@
|
||||
const SCRIPT_VERSION = '3.5.2';
|
||||
const SCRIPT_HOME = 'https://github.com/redphx/better-xcloud';
|
||||
|
||||
// Setup flags
|
||||
const DEFAULT_FLAGS = {
|
||||
CheckForUpdate: true,
|
||||
PreloadRemotePlay: true,
|
||||
PreloadUi: false,
|
||||
EnableXcloudLogging: false,
|
||||
SafariWorkaround: true,
|
||||
|
||||
UseDevTouchLayout: false,
|
||||
}
|
||||
|
||||
const BX_FLAGS = Object.assign(DEFAULT_FLAGS, window.BX_FLAGS || {});
|
||||
delete window.BX_FLAGS;
|
||||
|
||||
const AppInterface = window.AppInterface;
|
||||
|
||||
const BxEvent = {
|
||||
JUMP_BACK_IN_READY: 'bx-jump-back-in-ready',
|
||||
POPSTATE: 'bx-popstate',
|
||||
@ -78,6 +63,20 @@ const BxEvent = {
|
||||
|
||||
/* ADDITIONAL CODE */
|
||||
|
||||
// Setup flags
|
||||
const DEFAULT_FLAGS = {
|
||||
CheckForUpdate: true,
|
||||
PreloadRemotePlay: true,
|
||||
PreloadUi: false,
|
||||
EnableXcloudLogging: false,
|
||||
SafariWorkaround: true,
|
||||
|
||||
UseDevTouchLayout: false,
|
||||
}
|
||||
|
||||
const BX_FLAGS = Object.assign(DEFAULT_FLAGS, window.BX_FLAGS || {});
|
||||
delete window.BX_FLAGS;
|
||||
|
||||
let REMOTE_PLAY_SERVER;
|
||||
|
||||
const ENABLE_NATIVE_MKB_BETA = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user