forked from GH0STL1N3R/easy-crypto-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-lin.sh
31 lines (25 loc) · 1.1 KB
/
build-lin.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
git pull --rebase
#npm run lin32
npm run lin64
cd release-builds
#rm easy-crypto-bot-lin32.tar.gz
rm easy-crypto-bot-lin64.tar.gz
#rm -rf easy-crypto-bot-lin32
rm -rf easy-crypto-bot-lin64
#mv easy-crypto-bot-linux-ia32 easy-crypto-bot-lin32
mv easy-crypto-bot-linux-x64 easy-crypto-bot-lin64
#mkdir easy-crypto-bot-lin32/assets
#mkdir easy-crypto-bot-lin32/assets/icons
#cp ../assets/icons/icon.png easy-crypto-bot-lin32/assets/icons/icon.png
#cp ../assets/icons/icon.ico easy-crypto-bot-lin32/assets/icons/icon.ico
#cp easy-crypto-bot-lin32/assets/icons/icon.png easy-crypto-bot-lin32/icon.png
#chmod +x easy-crypto-bot-lin32/easy-crypto-bot
#tar -czf easy-crypto-bot-lin32.tar.gz easy-crypto-bot-lin32/
mkdir easy-crypto-bot-lin64/assets
mkdir easy-crypto-bot-lin64/assets/icons
cp ../assets/icons/icon.png easy-crypto-bot-lin64/assets/icons/icon.png
cp ../assets/icons/icon.ico easy-crypto-bot-lin64/assets/icons/icon.ico
cp easy-crypto-bot-lin64/assets/icons/icon.png easy-crypto-bot-lin64/icon.png
chmod +x easy-crypto-bot-lin64/easy-crypto-bot
tar -czf easy-crypto-bot-lin64.tar.gz easy-crypto-bot-lin64/