-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade:
electron-builder
to v19.9.1 (#1548)
- Exclude *.dll/*.exe files from the asar in non-Windows operating systems (from 19.8.0) - Correctly parse boolean flags in `--extraMetadata` (in v19.9.0) See: https://github.com/electron-userland/electron-builder/releases/tag/v19.9.1 Change-Type: patch Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
5 changed files
with
123 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,7 +142,7 @@ endif | |
# Electron Builder | ||
# --------------------------------------------------------------------- | ||
|
||
ELECTRON_BUILDER_OPTIONS = --$(TARGET_ARCH_ELECTRON_BUILDER) --extraMetadata.version=$(APPLICATION_VERSION) | ||
ELECTRON_BUILDER_OPTIONS = --$(TARGET_ARCH_ELECTRON_BUILDER) | ||
|
||
# --------------------------------------------------------------------- | ||
# Updates | ||
|
@@ -299,11 +299,13 @@ assets/osx/installer.tiff: assets/osx/installer.png assets/osx/[email protected] | |
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-darwin-$(TARGET_ARCH).dmg: assets/osx/installer.tiff \ | ||
| $(BUILD_DIRECTORY) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --mac dmg $(ELECTRON_BUILDER_OPTIONS) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --mac dmg $(ELECTRON_BUILDER_OPTIONS) \ | ||
--extraMetadata.version=$(APPLICATION_VERSION) | ||
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-darwin-$(TARGET_ARCH).zip: assets/osx/installer.tiff \ | ||
| $(BUILD_DIRECTORY) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --mac zip $(ELECTRON_BUILDER_OPTIONS) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --mac zip $(ELECTRON_BUILDER_OPTIONS) \ | ||
--extraMetadata.version=$(APPLICATION_VERSION) | ||
|
||
APPLICATION_NAME_ELECTRON = $(APPLICATION_NAME_LOWERCASE)-electron | ||
|
||
|
@@ -323,7 +325,8 @@ $(BUILD_DIRECTORY)/$(APPLICATION_NAME_ELECTRON)_$(APPLICATION_VERSION_DEBIAN)_$( | |
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-$(TARGET_ARCH_APPIMAGE).AppImage: \ | ||
| $(BUILD_DIRECTORY) | ||
$(NPX) build --linux AppImage $(ELECTRON_BUILDER_OPTIONS) | ||
$(NPX) build --linux AppImage $(ELECTRON_BUILDER_OPTIONS) \ | ||
--extraMetadata.version=$(APPLICATION_VERSION) | ||
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-linux-$(TARGET_ARCH).zip: \ | ||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-$(TARGET_ARCH_APPIMAGE).AppImage \ | ||
|
@@ -332,11 +335,13 @@ $(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-linux-$( | |
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-win32-$(TARGET_ARCH)-portable.exe: \ | ||
| $(BUILD_DIRECTORY) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --win portable $(ELECTRON_BUILDER_OPTIONS) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --win portable $(ELECTRON_BUILDER_OPTIONS) \ | ||
--extraMetadata.version=$(APPLICATION_VERSION) | ||
|
||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-win32-$(TARGET_ARCH).exe: \ | ||
| $(BUILD_DIRECTORY) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --win nsis $(ELECTRON_BUILDER_OPTIONS) | ||
TARGET_ARCH=$(TARGET_ARCH) $(NPX) build --win nsis $(ELECTRON_BUILDER_OPTIONS) \ | ||
--extraMetadata.version=$(APPLICATION_VERSION) | ||
|
||
# --------------------------------------------------------------------- | ||
# Phony targets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,5 +88,5 @@ rpm: | |
depends: | ||
- lsb | ||
- libXScrnSaver | ||
appimage: | ||
appImage: | ||
icon: assets/icon.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters