Skip to content

Commit

Permalink
Do not use cmd.exe but directly call iscc
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Jan 10, 2024
1 parent d13b491 commit 7ed40b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ci/windows/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ cp "${LIBVNCPath}/deps/lzo/COPYING" ../release/data/obs-plugins/${PLUGIN_NAME}/C
cp '/c/Program Files/OpenSSL/license.txt' ../release/data/obs-plugins/${PLUGIN_NAME}/license-OpenSSL.txt

7z a "${PLUGIN_NAME}-${PackageVersion}-obs$1-Windows.zip" ../release/*
cmd.exe <<EOF
iscc ..\\installer\\installer-Windows.generated.iss /O. /F"${PLUGIN_NAME}-${PackageVersion}-obs$1-Windows-Installer"
EOF
sleep 2 && echo
iscc "..\\installer\\installer-Windows.generated.iss" '/O.' "/F${PLUGIN_NAME}-${PackageVersion}-obs$1-Windows-Installer"

sha1sum \
"${PLUGIN_NAME}-${PackageVersion}-obs$1-Windows.zip" \
Expand Down

0 comments on commit 7ed40b3

Please sign in to comment.