Skip to content

Commit f70c0be

Browse files
authored
Fix missing exe (#429)
* debug launcher build * try to fix map compilation
1 parent aa1d7df commit f70c0be

File tree

7 files changed

+7
-2
lines changed

7 files changed

+7
-2
lines changed

.github/workflows/launcher.yml

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
[ -d build/src/files/ ] && mv build/src/files/* build/files/
5555
[ -d build/src/build/ ] && mv build/src/build/* build/build/
5656
rm -rf build/src/{bin,files,build}
57+
58+
find build/
59+
5760
exit 0
5861
5962
- name: Make package.json
@@ -64,6 +67,8 @@ jobs:
6467
cd ..
6568
node ./repo-folder/build/make_package_json.js build/package.json repo-folder/dist_cfg/config.json Spring-SpringBoard/SpringBoard-Core $PACKAGE_VERSION
6669
70+
cat build/package.json
71+
6772
- name: Build
6873
run: |
6974
cd build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

dist_cfg/exts/compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class Compiler extends EventEmitter {
1616

1717
let executableBin;
1818
if (process.platform === 'win32') {
19-
executableBin = 'springMapConvNG.exe';
19+
executableBin = 'windows/springMapConvNG.exe';
2020
} else if (process.platform === 'linux') {
21-
executableBin = 'mapcompile';
21+
executableBin = 'linux/mapcompile';
2222
} else {
2323
const errMsg = `Unsupported platform: ${process.platform}, cannot compile`;
2424
log.error(errMsg);

0 commit comments

Comments
 (0)