mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Update wegame sdk to latest version
This commit is contained in:
parent
e8cd01e8e0
commit
a1c6a99df0
1
electron_wegame/README.md
Normal file
1
electron_wegame/README.md
Normal file
@ -0,0 +1 @@
|
||||
To build, place the lib64 folder from the wegame sdk for electron 13 in `wegame_sdk` and run the `wegame.main.standalone` gulp task.
|
@ -51,8 +51,9 @@ function createWindow() {
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
webSecurity: false,
|
||||
contextIsolation: false,
|
||||
},
|
||||
// allowRunningInsecureContent: false,
|
||||
allowRunningInsecureContent: false,
|
||||
});
|
||||
|
||||
if (isLocal) {
|
||||
|
@ -10,7 +10,7 @@
|
||||
"start": "electron --disable-direct-composition --in-process-gpu ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "3.1.13"
|
||||
"electron": "^13.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"async-lock": "^1.2.8"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -75,7 +75,7 @@ export class MainMenuState extends GameState {
|
||||
</div>
|
||||
|
||||
<div class="mainWrapper ${showDemoBadges ? "demo" : "noDemo"}" data-columns="${
|
||||
G_IS_STANDALONE ? 2 : showDemoBadges ? 2 : 1
|
||||
G_IS_STANDALONE && !G_WEGAME_VERSION ? 2 : showDemoBadges ? 2 : 1
|
||||
}">
|
||||
<div class="sideContainer">
|
||||
${showDemoBadges ? `<div class="standaloneBanner">${bannerHtml}</div>` : ""}
|
||||
|
Loading…
Reference in New Issue
Block a user