mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2025-12-06 02:30:37 -08:00
Update wegame sdk to latest version
This commit is contained in:
parent
e8cd01e8e0
commit
a1c6a99df0
5 changed files with 355 additions and 757 deletions
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…
Add table
Add a link
Reference in a new issue