thedesk/TheDeskBuild.sh

17 lines
665 B
Bash
Raw Normal View History

2019-01-28 20:44:50 +11:00
#!/bin/sh
sudo apt install -y curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt update
sudo apt install -y nodejs build-essential
sudo apt install -y git
sudo apt install -y libfontconfig1-dev
2019-01-28 20:56:36 +11:00
git clone https://github.com/kaias1jp/TheDesk.git
2019-01-28 20:44:50 +11:00
cd TheDesk/app
npm install electron
npm install --save-dev electron-rebuild
./node_modules/.bin/electron-rebuild
npm install electron-packager --save-dev
cd ..
app/node_modules/electron-packager/cli.js ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2019 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=4.0.1 --overwrite