Use cmd instead of powershell for win-installer, fix file patterns

This commit is contained in:
Ben Gotow 2017-08-11 02:13:02 -07:00
parent 46f5ddf36a
commit 7b4f38f025
3 changed files with 9 additions and 7 deletions

View file

@ -23,7 +23,7 @@ install:
build_script:
- cmd: npm install && npm run build
- ps: node app/build/create-signed-windows-installer.js
- cmd: node app/build/create-signed-windows-installer.js
artifacts:
- path: dist/merani-win32-ia32/MeraniSetup.exe

View file

@ -12,8 +12,8 @@ addons:
paths:
- Merani.dmg
- Merani.zip
- $(ls . | grep ".deb")
- $(ls . | grep ".rpm")
- $(ls . | grep .deb | tr "\n" ":")
- $(ls ./rpm | grep .rpm | tr "\n" ":")
apt:
sources:
- ubuntu-toolchain-r-test

View file

@ -30,8 +30,10 @@ const config = {
console.log(config);
console.log("---> Starting")
createWindowsInstaller(config).then(() =>
createWindowsInstaller(config).then(() => {
console.log("createWindowsInstaller succeeded.")
).catch((e) =>
console.error(`createWindowsInstaller failed: ${e.message}`)
);
process.exit(0);
}).catch((e) => {
console.error(`createWindowsInstaller failed: ${e.message}`);
process.exit(1);
});