Update wegame sdk to latest version

This commit is contained in:
tobspr 2021-07-06 15:51:39 +02:00
parent e8cd01e8e0
commit a1c6a99df0
5 changed files with 355 additions and 757 deletions

View 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.

View File

@ -51,8 +51,9 @@ function createWindow() {
webPreferences: {
nodeIntegration: true,
webSecurity: false,
contextIsolation: false,
},
// allowRunningInsecureContent: false,
allowRunningInsecureContent: false,
});
if (isLocal) {

View File

@ -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

View File

@ -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>` : ""}