Skip to content

Commit

Permalink
(upd) workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
javadr committed Dec 24, 2024
1 parent bb5284a commit 7381514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $versionStr = $versionStr.Split("=")[1].Trim('"', ' ')
$Env:CURRENT_VERSION = $versionStr
& "python" -m PyInstaller -p negar_gui --onefile --windowed --clean --collect-data pyuca `
--noupx negar_gui/main.py -n "negar-gui-v$versionStr" `
--add-data "./python-negar/negar/data/untouchable.dat;negar\data" `
--add-data "./python-negar/negar/data/immutable.words;negar\data" `
--add-data "negar_gui/ts/fa.qm;ts" `
--icon ".\negar_gui\icons\logo.png"

Expand Down
2 changes: 1 addition & 1 deletion .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version=$(grep -oE "[0-9]+\.[0-9]+(\.[0-9]+)?" ./negar_gui/constants.py)
export CURRENT_VERSION="$version"
pyinstaller -p negar_gui --onefile --windowed --clean -i"negar_gui/icons/logo.ico" \
--collect-data pyuca --noupx negar_gui/main.py -n "negar-gui-v$version" \
--add-data ./python-negar/negar/data/untouchable.dat:negar/data \
--add-data ./python-negar/negar/data/immutable.words:negar/data \
--add-data negar_gui/ts/fa.qm:ts

chmod +x "dist/negar-gui-v$version"
Expand Down

0 comments on commit 7381514

Please sign in to comment.