Skip to content

Commit

Permalink
Merge pull request #8 from willyw0nka/fix-builder
Browse files Browse the repository at this point in the history
Fixed builder
  • Loading branch information
willyw0nka authored Jan 3, 2022
2 parents d41e8e1 + df4312e commit 385b5fb
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 385b5fb

Please sign in to comment.