build.sh and docs update
This commit is contained in:
parent
cf4cfa979c
commit
62c6dbfb34
3 changed files with 17 additions and 6 deletions
|
@ -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```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue