From df4312e1c9074008c677c5a803a7010396e8d2b0 Mon Sep 17 00:00:00 2001 From: Albert Simon Date: Mon, 3 Jan 2022 13:04:21 +0100 Subject: [PATCH] Fixed builder --- build.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.ps1 b/build.ps1 index bae10a2..cfac82e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -3,10 +3,10 @@ $Minor = 0 $Compillation = "$(Get-Date -Format 'yy')$((Get-Date).DayOfYear)" $Version = "$Major.$Minor.$Compillation" -pyinstaller.exe --noconsole -y ./SpotifyRewrappedGUI.py -Copy-Item -Path ./resources ./dist/SpotifyRewrappedGUI/ +pyinstaller.exe -y ./spotify_rewrapped_gui.py +Copy-Item -Path .\resources\ -Destination .\dist\spotify_rewrapped_gui\ -Recurse -Compress-Archive -Path ./dist/SpotifyRewrappedGUI -DestinationPath ./dist/spotify-rewrapped-$Version.zip +Compress-Archive -Path ./dist/spotify_rewrapped_gui -DestinationPath ./dist/spotify-rewrapped-gui-$Version.zip Write-Output "Build complete!" Write-Output "Generated version: $Version" \ No newline at end of file