mirror of
https://github.com/nihas101/steamos-scripts.git
synced 2026-10-06 01:00:16 +02:00
README: Add note on how to build Game2Text via PyInstaller
This commit is contained in:
1 parent
e365ea31e5
commit
0b67b3a9dd
1 file changed
+19
@@ -122,6 +122,25 @@ python game2text.py
|
||||
deactivate
|
||||
```
|
||||
|
||||
Run the following to build a distributable binary with PyInstaller
|
||||
|
||||
```bash
|
||||
rm -rf build dist
|
||||
source venv/bin/activate
|
||||
python -m eel game2text.py web \
|
||||
--windowed \
|
||||
--onefile --noconsole \
|
||||
--icon "public/icon.icns" \
|
||||
--add-data "logs/images/temp.png:logs/images" \
|
||||
--add-data "logs/text:logs/text" \
|
||||
--add-data "anki:anki/" \
|
||||
--add-data "resources/dictionaries:resources/dictionaries/" \
|
||||
--add-data "config.ini:."
|
||||
deactivate
|
||||
```
|
||||
|
||||
Afterwards, you can find the executable under `/dist`
|
||||
|
||||
### Installing MPV and mpvacious
|
||||
|
||||
1. Install MPV through the Software Center
|
||||
|
||||
Reference in new issue
Block a user