new file: TheDeskBuild.sh
This commit is contained in:
parent
8968c248df
commit
48da2cf287
16
TheDeskBuild.sh
Executable file
16
TheDeskBuild.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/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
|
||||
git clone https://github.com/cutls/TheDesk.git
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user