From 748764c60660d90757b52b4b262f1047ac78ce8c Mon Sep 17 00:00:00 2001 From: Chris Erickson Date: Sun, 11 Jun 2023 23:48:50 -0700 Subject: [PATCH] Create build_mtgo_tracker.bat --- build_mtgo_tracker.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 build_mtgo_tracker.bat diff --git a/build_mtgo_tracker.bat b/build_mtgo_tracker.bat new file mode 100644 index 0000000..7d7f7b4 --- /dev/null +++ b/build_mtgo_tracker.bat @@ -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 \ No newline at end of file