build.sh and docs update
This commit is contained in:
parent
cf4cfa979c
commit
62c6dbfb34
@ -7,6 +7,7 @@ cd toxygen/toxygen
|
||||
pyinstaller --windowed --icon=images/icon.ico main.py
|
||||
|
||||
cp -r styles dist/main/
|
||||
find . -type f ! -name '*.qss' -delete
|
||||
cp -r plugins dist/main/
|
||||
mkdir -p dist/main/ui/views
|
||||
cp -r ui/views dist/main/ui/
|
||||
@ -14,8 +15,10 @@ cp -r sounds dist/main/
|
||||
cp -r smileys dist/main/
|
||||
cp -r stickers dist/main/
|
||||
cp -r bootstrap dist/main/
|
||||
find . -type f ! -name '*.json' -delete
|
||||
cp -r images dist/main/
|
||||
cp -r translations dist/main/
|
||||
find . -name "*.ts" -type f -delete
|
||||
|
||||
cd dist
|
||||
mv main toxygen
|
||||
|
@ -2,10 +2,18 @@
|
||||
|
||||
You can compile Toxygen using [PyInstaller](http://www.pyinstaller.org/)
|
||||
|
||||
Install PyInstaller:
|
||||
``pip3 install pyinstaller``
|
||||
Use Dockerfile and build script from `build` directory:
|
||||
|
||||
Compile Toxygen:
|
||||
``pyinstaller --windowed --icon images/icon.ico main.py``
|
||||
1. Build image:
|
||||
```
|
||||
docker build -t toxygen .
|
||||
```
|
||||
|
||||
Don't forget to copy /images/, /sounds/, /translations/, /styles/, /smileys/, /stickers/, /plugins/ (and /libs/libtox.dll, /libs/libsodium.a on Windows) to /dist/main/
|
||||
2. Run container:
|
||||
```
|
||||
docker run -it toxygen bash
|
||||
```
|
||||
|
||||
3. Execute `build.sh` script:
|
||||
|
||||
```./build.sh```
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
1) Using GitHub - open issue
|
||||
|
||||
2) Use Toxygen Tox Group - add bot kalina@toxme.io (or 12EDB939AA529641CE53830B518D6EB30241868EE0E5023C46A372363CAEC91C2C948AEFE4EB)
|
||||
2) Use Toxygen Tox Group (NGC) - ID: 59D68B2709E81A679CF91416CB0E3692851C6CFCABEFF98B7131E3805A6D75FA
|
||||
|
Loading…
Reference in New Issue
Block a user