Skip to content

Commit 527d09f

Browse files
committed
Some fixes for the electron build
1 parent 0c9b7c9 commit 527d09f

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ endif()
6060

6161
# emscripten build command (Archlinux)
6262
# cmake -DCMAKE_TOOLCHAIN_FILE=/usr/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
63+
# emscripten build command (Ubuntu/Pop)
64+
# cmake -DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
6365
if (EMSCRIPTEN)
6466
add_executable(dwrandomizer ${SOURCE_FILES})
6567
target_link_libraries(dwrandomizer m)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ After that is complete, install yarn and electron-builder:
199199

200200
```sh
201201
npm install yarn
202-
yarn add electron-builder
202+
yarn install
203203
```
204204

205205
Next run electron-builder to build the application for the appropriate operating

common/build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/* This file is generated by git */
2-
#define BUILD "661"
2+
#define BUILD "662"

electron/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "dwrandomizer",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Dragon Warrior Randomizer",
55
"main": "main.js",
66
"scripts": {
77
"start": "electron .",
88
"dist": "electron-builder -wl",
9+
"dist-linux": "electron-builder -l",
10+
"dist-win": "electron-builder -w",
911
"dist-mac": "electron-builder -m"
1012
},
1113
"build": {
@@ -42,7 +44,7 @@
4244
},
4345
"license": "MIT",
4446
"devDependencies": {
45-
"electron": "^15.3.0",
46-
"electron-builder": "^22.11.7"
47+
"electron": "^19.0.7",
48+
"electron-builder": "^23.1.0"
4749
}
4850
}

0 commit comments

Comments
 (0)