build.sh and docs update

This commit is contained in:
ingvar1995 2018-09-29 16:50:17 +03:00
parent cf4cfa979c
commit 62c6dbfb34
3 changed files with 17 additions and 6 deletions

View file

@ -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```

View file

@ -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