Skip to content

Commit

Permalink
chore: Copy translations folder to the distribution folder in build s…
Browse files Browse the repository at this point in the history
…cript
  • Loading branch information
LyubomirT committed Jul 26, 2024
1 parent 3fd404d commit 571769d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ pyinstaller --noconfirm --onedir --windowed --icon "$scriptDir\img.ico" --add-da
Copy-Item -Path "$scriptDir\logo.png" -Destination "$scriptDir\dist\main"
Copy-Item -Path "$scriptDir\style.css" -Destination "$scriptDir\dist\main"

# Copy the translations folder to the dist/main folder
Copy-Item -Path "$scriptDir\translations" -Destination "$scriptDir\dist\main" -Recurse

# Delete the build folder
Remove-Item -Path "$scriptDir\build" -Recurse

Expand Down

0 comments on commit 571769d

Please sign in to comment.