👷 Fix Windows build script

This commit is contained in:
C-3PO 2019-07-22 22:29:27 +02:00
parent 653b761eb6
commit aab926b451
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -8,7 +8,7 @@
"url": "https://git.jedipedia.net/swtor/ssn.git" "url": "https://git.jedipedia.net/swtor/ssn.git"
}, },
"scripts": { "scripts": {
"preinstall": "npm run build-linux", "preinstall": "node build.js",
"build-linux": "gcc -Wall -m64 -o ssn-installer lib/miniz/miniz.c src/*.c src/*/*.c && chmod +x ssn-installer", "build-linux": "gcc -Wall -m64 -o ssn-installer lib/miniz/miniz.c src/*.c src/*/*.c && chmod +x ssn-installer",
"build-windows": "gcc -Wall -m64 -std=c99 -o ssn-installer.exe lib/miniz/miniz.c src/*.c src/utils/decryptUtilities.c src/utils/fileUtilities.c" "build-windows": "gcc -Wall -m64 -std=c99 -o ssn-installer.exe lib/miniz/miniz.c src/*.c src/utils/decryptUtilities.c src/utils/fileUtilities.c"
}, },