Skip to content

Commit

Permalink
awd
Browse files Browse the repository at this point in the history
  • Loading branch information
Axorax committed May 5, 2024
1 parent 6e68583 commit 7842e01
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 0 additions & 1 deletion build-cli.sh

This file was deleted.

7 changes: 7 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off

if "%1" == "cli" (
pyinstaller --name="tkforge-cli" --onefile --paths=env/Lib/site-packages tkforge.py --icon=assets/icon.png
) else (
pyinstaller --name="TkForge" --onefile --paths=env/Lib/site-packages --add-data="assets;assets" gui.py --noconsole --icon=assets/icon.png
)
8 changes: 7 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
pyinstaller --name="TkForge" --onefile --paths=env/Lib/site-packages --add-data="assets:assets" gui.py --noconsole --icon=assets/icon.png
#!/bin/bash

if [ "$1" == "cli" ]; then
pyinstaller --name="tkforge-cli" --onefile --paths=env/Lib/site-packages tkforge.py --icon=assets/icon.png
else
pyinstaller --name="TkForge" --onefile --paths=env/Lib/site-packages --add-data="assets:assets" gui.py --noconsole --icon=assets/icon.png
fi

0 comments on commit 7842e01

Please sign in to comment.