Improved logging & single-file executable
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@echo off
|
||||
|
||||
set dest=".\dist\"
|
||||
|
||||
REM The below is an alternative to using a custom hook for praw
|
||||
REM FOR /F "tokens=* USEBACKQ" %%F IN (`pipenv --venv`) DO (
|
||||
REM SET pipenvdir=%%F
|
||||
@@ -12,3 +14,10 @@ pyinstaller ^
|
||||
--onefile ^
|
||||
--additional-hooks-dir .\pyinstaller-hooks\ ^
|
||||
PointsBot.py
|
||||
|
||||
copy ".\README.md" %dest%
|
||||
copy ".\LICENSE.md" %dest%
|
||||
copy ".\CHANGELOG.md" %dest%
|
||||
|
||||
mkdir .\releases\
|
||||
powershell Compress-Archive -Force .\dist\* .\releases\PointsBot_Windows_x64.zip
|
||||
|
||||
Reference in New Issue
Block a user