Fixed build for build server

This commit is contained in:
WolverinDEV 2019-07-06 19:30:15 +02:00
parent 04d3467927
commit bff44286c4
2 changed files with 5 additions and 3 deletions

View File

@ -7,8 +7,11 @@ source ../scripts/build_helper.sh
function install_npm() {
begin_task "${project_name}_update" "Installing NPM"
npm install
npm install --save-dev
check_err_exit ${project_name} "Failed to install nodejs files!"
npm run install-platform
check_err_exit ${project_name} "Failed to install platform depend nodejs files!"
npm update
check_err_exit ${project_name} "Failed to update nodejs files!"
end_task "${project_name}_update" "NPM installed"

View File

@ -16,8 +16,7 @@
"package-linux-64": "node installer/package_linux.js",
"build-windows-64": "node installer/build.js win32",
"package-windows-64": "node installer/package_windows.js",
"_postinstall": "node ./node_modules/platform-dependent-modules/cli.js",
"postinstall": "npm run _postinstall"
"install-platform": "node ./node_modules/platform-dependent-modules/cli.js",
},
"author": "TeaSpeak (WolverinDEV)",
"license": "ISC",