toxygen/build/build.sh

31 lines
743 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-08-05 21:52:01 +00:00
2018-08-06 21:41:27 +00:00
cd ~
git clone https://github.com/toxygen-project/toxygen.git --branch=next_gen
cd toxygen/toxygen
2018-08-05 21:52:01 +00:00
pyinstaller --windowed --icon=images/icon.ico main.py
cp -r styles dist/main/
cp -r plugins dist/main/
2018-08-05 21:52:01 +00:00
mkdir -p dist/main/ui/views
cp -r ui/views dist/main/ui/
cp -r sounds dist/main/
cp -r smileys dist/main/
cp -r stickers dist/main/
cp -r bootstrap dist/main/
cp -r images dist/main/
2018-08-05 21:52:01 +00:00
cp -r translations dist/main/
cd dist
mv main toxygen
cd toxygen
mv main toxygen
2018-08-05 21:52:01 +00:00
wget -O updater https://github.com/toxygen-project/toxygen_updater/releases/download/v0.1/toxygen_updater_linux_64
echo "[Paths]" >> qt.conf
echo "Prefix = PyQt5/Qt" >> qt.conf
cd ..
2018-08-05 21:52:01 +00:00
tar -zcvf toxygen_linux_64.tar.gz toxygen > /dev/null
rm -rf toxygen