fix: run makensis from dist/ so File directives find the binaries
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m2s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m2s
This commit is contained in:
parent
bd050b17c4
commit
5cdb96ffb8
@ -365,10 +365,12 @@ jobs:
|
|||||||
# Replace VERSION placeholder
|
# Replace VERSION placeholder
|
||||||
sed -i "s/\${VERSION}/${VERSION}/g" /tmp/wraith-installer.nsi
|
sed -i "s/\${VERSION}/${VERSION}/g" /tmp/wraith-installer.nsi
|
||||||
|
|
||||||
# Build installer from the dist directory
|
# Copy NSIS script into dist so File directives find the binaries
|
||||||
|
cp /tmp/wraith-installer.nsi dist/wraith-installer.nsi
|
||||||
cd dist
|
cd dist
|
||||||
makensis -DVERSION="${VERSION}" /tmp/wraith-installer.nsi
|
makensis -DVERSION="${VERSION}" wraith-installer.nsi
|
||||||
mv wraith-setup.exe ../wraith-${VERSION}-setup.exe
|
mv wraith-setup.exe ../wraith-${VERSION}-setup.exe
|
||||||
|
rm wraith-installer.nsi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "=== Installer built ==="
|
echo "=== Installer built ==="
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user