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
|
2019-01-28 22:32:21 +11:00
|
|
|
npm install electron@3.0.10
|
2019-01-28 20:44:50 +11:00
|
|
|
npm install --save-dev electron-rebuild
|
|
|
|
./node_modules/.bin/electron-rebuild
|
|
|
|
npm install electron-packager --save-dev
|
|
|
|
cd ..
|
2019-01-28 22:32:21 +11:00
|
|
|
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=3.0.10 --overwrite
|
2019-01-28 20:44:50 +11:00
|
|
|
|