Skip to content

Commit

Permalink
Create build_mtgo_tracker.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
cderickson committed Jun 12, 2023
1 parent 9c0cb1e commit 748764c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build_mtgo_tracker.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pyinstaller -w --onefile -i "icon.ico" --hidden-import "babel.numbers" mtgo_tracker.py
rmdir build /s /q
del mtgo_tracker.spec
cd dist
mkdir save
mkdir gamelogs
mkdir draftlogs
mkdir export
cd ..
copy icon.ico dist\icon.ico
copy INPUT_OPTIONS.txt dist\INPUT_OPTIONS.txt
copy MULTIFACED_CARDS.txt dist\MULTIFACED_CARDS.txt
copy ALL_DECKS dist\ALL_DECKS
cd dist
:: update version number.
"C:\Program Files\WinRAR\rar" a -r "..\MTGO-Tracker-v.15.rar"
cd ..
rmdir dist /s /q

0 comments on commit 748764c

Please sign in to comment.