Skip to content

Commit

Permalink
Some fixes for the electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgrew committed Jul 4, 2022
1 parent 0c9b7c9 commit 527d09f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -60,6 +60,8 @@ endif()

# emscripten build command (Archlinux)
# cmake -DCMAKE_TOOLCHAIN_FILE=/usr/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
# emscripten build command (Ubuntu/Pop)
# cmake -DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
if (EMSCRIPTEN)
add_executable(dwrandomizer ${SOURCE_FILES})
target_link_libraries(dwrandomizer m)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -199,7 +199,7 @@ After that is complete, install yarn and electron-builder:

```sh
npm install yarn
yarn add electron-builder
yarn install
```

Next run electron-builder to build the application for the appropriate operating
Expand Down
2 changes: 1 addition & 1 deletion common/build.h
@@ -1,2 +1,2 @@
/* This file is generated by git */
#define BUILD "661"
#define BUILD "662"
8 changes: 5 additions & 3 deletions electron/package.json
@@ -1,11 +1,13 @@
{
"name": "dwrandomizer",
"version": "3.0.1",
"version": "3.0.2",
"description": "Dragon Warrior Randomizer",
"main": "main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder -wl",
"dist-linux": "electron-builder -l",
"dist-win": "electron-builder -w",
"dist-mac": "electron-builder -m"
},
"build": {
Expand Down Expand Up @@ -42,7 +44,7 @@
},
"license": "MIT",
"devDependencies": {
"electron": "^15.3.0",
"electron-builder": "^22.11.7"
"electron": "^19.0.7",
"electron-builder": "^23.1.0"
}
}

0 comments on commit 527d09f

Please sign in to comment.