SyncTk/.vscode/tasks/linux/build.sh
2023-01-28 10:03:19 +01:00

14 lines
442 B
Bash

#!/bin/bash
rm -rf dist/linux/StardewSync
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