SyncTk/.vscode/tasks/linux/build.sh

14 lines
442 B
Bash
Raw Normal View History

2023-01-27 16:53:55 +02:00
#!/bin/bash
2023-01-28 11:03:19 +02:00
rm -rf dist/linux/StardewSync
2023-01-28 11:03:19 +02:00
source buildenv/bin/activate && pyi-makespec main.py \
-n "StardewSync" \
-p "buildenv" \
-i "assets/favicon.ico" \
--add-data "config.json:."
--add-data "assets:assets" \
--add-data "buildenv/Lib/site-packages/sv_ttk/sv.tcl:sv_ttk/" \
--add-data "buildenv/Lib/site-packages/sv_ttk/theme/*:sv_ttk/theme/" \
--noconsole \
&& pyinstaller "StardewSync.spec" --noconfirm