Skip to content

Commit

Permalink
Fix missing exe (#429)
Browse files Browse the repository at this point in the history
* debug launcher build

* try to fix map compilation
  • Loading branch information
gajop authored May 16, 2024
1 parent aa1d7df commit f70c0be
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/launcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
[ -d build/src/files/ ] && mv build/src/files/* build/files/
[ -d build/src/build/ ] && mv build/src/build/* build/build/
rm -rf build/src/{bin,files,build}
find build/
exit 0
- name: Make package.json
Expand All @@ -64,6 +67,8 @@ jobs:
cd ..
node ./repo-folder/build/make_package_json.js build/package.json repo-folder/dist_cfg/config.json Spring-SpringBoard/SpringBoard-Core $PACKAGE_VERSION
cat build/package.json
- name: Build
run: |
cd build
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions dist_cfg/exts/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class Compiler extends EventEmitter {

let executableBin;
if (process.platform === 'win32') {
executableBin = 'springMapConvNG.exe';
executableBin = 'windows/springMapConvNG.exe';
} else if (process.platform === 'linux') {
executableBin = 'mapcompile';
executableBin = 'linux/mapcompile';
} else {
const errMsg = `Unsupported platform: ${process.platform}, cannot compile`;
log.error(errMsg);
Expand Down

0 comments on commit f70c0be

Please sign in to comment.