From 3a7b468ac8e93c1ccd6015ec5bcd6f4a3bd928ac Mon Sep 17 00:00:00 2001 From: DevilXD Date: Thu, 10 Feb 2022 21:53:01 +0100 Subject: [PATCH] Small packaging improvements --- .gitignore | 3 ++- pack.bat | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 867a702..ebac738 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,8 @@ __pycache__ /Twitch Drops Miner # Dist files /7z.exe -/Twitch Drops Miner.zip +/*.zip +/*.zip.tmp # Dev files /cookies.jar /settings.json diff --git a/pack.bat b/pack.bat index 804a4dc..731a6d4 100644 --- a/pack.bat +++ b/pack.bat @@ -1,5 +1,5 @@ @echo off -IF NOT EXIST 7z.exe GOTO EXIT +IF NOT EXIST 7z.exe GOTO NO7Z IF NOT EXIST "Twitch Drops Miner.zip" GOTO NEW 7z u "Twitch Drops Miner.zip" "Twitch Drops Miner/" -r -x!"Twitch Drops Miner/cookies.*" GOTO TEST @@ -9,5 +9,8 @@ GOTO TEST :TEST 7z t "Twitch Drops Miner.zip" GOTO EXIT +:NO7Z +echo No 7z.exe detected, skipping packaging! +GOTO EXIT :EXIT exit %errorlevel%