forked from ahmet360/oldGBA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
41 lines (23 loc) · 784 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
let theme = "light";
let useCustomTheme = false; // Must Set to true if using a custom theme
let customHost = "";
let useCustomHost = false; // Must Set to true if using a custom host
let useAltHost = false;
let useNetPlay = false;
let useAltNdsHost = false;
if (useCustomTheme == true) {
localStorage.setItem("theme", (theme));
}
if (useCustomHost == true) {
localStorage.setItem("custHost", JSON.stringify(customHost));
localStorage.setItem("is1Check", JSON.stringify(useCustomHost));
}
if (useAltHost == true) {
localStorage.setItem("isCheck", JSON.stringify(useAltHost));
}
if (useNetPlay == true) {
localStorage.setItem("isNet", JSON.stringify(useNetPlay));
}
if (useAltNdsHost == true) {
localStorage.setItem("doGitHack", JSON.stringify(useAltNdsHost));
}