Added update scripts & Ajusted package.json for cross platfrom builds

This commit is contained in:
Ethan van Ballegooyen
2019-09-04 16:46:43 +02:00
parent 56fb48d890
commit aed1a962cf
6 changed files with 57 additions and 4 deletions

14
build-linux.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env sh
[ $SUDO_USER ] && _user=$SUDO_USER || _user=`whoami`
rm -r node_moudles
rm package-lock.json
rm -r dist
npm install
npm run dist-linux
echo 'Done!'