mirror of
https://github.com/zen-browser/desktop.git
synced 2026-06-23 03:09:39 +00:00
fix(build): clean up old build artifacts and update packaging process for setup.exe (closes https://github.com/zen-browser/desktop/issues/37)
This commit is contained in:
16
src/makensis-mk.patch
Normal file
16
src/makensis-mk.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/toolkit/mozapps/installer/windows/nsis/makensis.mk b/toolkit/mozapps/installer/windows/nsis/makensis.mk
|
||||
index b4425034fb198fd5303af513d81a3db6b4d14e36..8c44945b4448eb1c69a73894b3e13fc8d2ef3ade 100644
|
||||
--- a/toolkit/mozapps/installer/windows/nsis/makensis.mk
|
||||
+++ b/toolkit/mozapps/installer/windows/nsis/makensis.mk
|
||||
@@ -64,6 +64,11 @@ endif
|
||||
ifdef ZIP_IN
|
||||
installer:: $(CONFIG_DIR)/setup.exe $(ZIP_IN)
|
||||
@echo 'Packaging $(WIN32_INSTALLER_OUT).'
|
||||
+ifneq ("$(ZEN_SETUP_EXE_PATH)","")
|
||||
+ @echo 'setup-zen.exe exists, moving it to setup.exe ($(ZEN_SETUP_EXE_PATH))'
|
||||
+ rm $(CONFIG_DIR)/setup.exe
|
||||
+ cp $(ZEN_SETUP_EXE_PATH) $(CONFIG_DIR)/setup.exe
|
||||
+endif
|
||||
$(NSINSTALL) -D '$(ABS_DIST)/$(PKG_INST_PATH)'
|
||||
$(PYTHON3) $(MOZILLA_DIR)/mach repackage installer \
|
||||
-o '$(ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe' \
|
||||
Reference in New Issue
Block a user