From 1cdb39768c827b11edfa12224ba7c5d69582cb64 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Fri, 14 Jan 2022 15:50:03 +0100 Subject: [PATCH] App building improvements --- .gitignore | 7 +++++-- build.bat | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3af29b6..bcaad4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,11 @@ +# Cache files __pycache__ .mypy_cache +# Build files /build -/dist +/*.spec +/Twitch Drops Miner +# Dev files /cookies.jar /settings.json -/*.spec /log*.txt diff --git a/build.bat b/build.bat index f59286d..7511da5 100644 --- a/build.bat +++ b/build.bat @@ -1 +1,2 @@ -pyinstaller -F -w -n "Twitch Drops Miner (by DevilXD)" -i pickaxe.ico --add-data pickaxe.ico;. main.py +pyinstaller --onefile --noconsole --name "Twitch Drops Miner (by DevilXD)" --icon pickaxe.ico ^ +--add-data pickaxe.ico;. --distpath "./Twitch Drops Miner" main.py