Skip to content

Commit

Permalink
fix: change windows dist filename for version
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdinazor authored Aug 31, 2024
1 parent f65c2d8 commit 83a9ab4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build_msi.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

set "target_version=%~1"

REM Include win32ctypes and keyring backend modules manually
cxfreeze build_exe --includes=keyring.backends.SecretService,keyring.backends.libsecret,keyring.backends.chainer,keyring.backends.Windows,keyring.backends.kwallet,keyring.backends.macOS,win32ctypes.core.ctypes._authentication,win32ctypes.core.ctypes._common,win32ctypes.core.ctypes._dll,win32ctypes.core.ctypes._nl_support,win32ctypes.core.ctypes._resource,win32ctypes.core.ctypes._system_information,win32ctypes.core.ctypes._time,win32ctypes.core.ctypes._util

Expand All @@ -6,4 +9,4 @@ copy "build\exe.win-amd64-3.12\lib\PyQt5\Qt5\plugins\iconengines\Qt5Svg.dll" "bu

REM Build MSI
cxfreeze bdist_msi --skip-build
move dist\*.msi "dist\finch-main-windows-x86_64.msi"
move dist\*.msi "dist\finch-%target_version%-windows-x86_64.msi"

0 comments on commit 83a9ab4

Please sign in to comment.