Commit 242a080c authored by Jerome Flesch's avatar Jerome Flesch

nsis: Generate installer for the 3 main branches

Signed-off-by: Jerome Flesch's avatarJerome Flesch <jflesch@openpaper.work>
parent adfe4751
Pipeline #105417 canceled with stage
in 2 minutes and 7 seconds
all: paperwork_installer.exe
all: paperwork_stable_installer.exe paperwork_testing_installer.exe paperwork_develop_installer.exe
dll/INetC.dll:
mkdir -p dll
......@@ -24,12 +24,30 @@ out.nsi: gen_installer_nsi.py
echo Download URI: ${DOWNLOAD_URI}
python3 ./gen_installer_nsi.py ${RELEASE} ${DOWNLOAD_URI}
paperwork_installer.exe: dll/INetC.dll dll/nsisunz.dll out.nsi
paperwork_stable_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=stable DOWNLOAD_URI=https://download.openpaper.work/windows/x86/paperwork-master-latest.zip
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_stable_installer.exe
paperwork_testing_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=testing DOWNLOAD_URI=https://download.openpaper.work/windows/x86/paperwork-testing-latest.zip
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_testing_installer.exe
paperwork_develop_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=develop DOWNLOAD_URI=https://download.openpaper.work/windows/x86/paperwork-testing-latest.zip
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_develop_installer.exe
clean:
rm -rf dll
rm -f out.nsi
rm -f paperwork_installer.exe
rm -f paperwork_stable_installer.exe
rm -f paperwork_testing_installer.exe
rm -f paperwork_develop_installer.exe
.PHONY = all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment