Skip to content

Commit

Permalink
Fixed builder
Browse files Browse the repository at this point in the history
  • Loading branch information
willyw0nka committed Jan 3, 2022
1 parent d41e8e1 commit df4312e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit df4312e

Please sign in to comment.