-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c0cb1e
commit 748764c
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |