diff --git a/Makefile b/Makefile index 7b289cbf..1b203df8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ ELECTRON_PACKAGER=./node_modules/.bin/electron-packager ELECTRON_BUILDER=./node_modules/.bin/electron-builder +ELECTRON_OSX_SIGN=./node_modules/.bin/electron-osx-sign ELECTRON_IGNORE=$(shell node -e "console.log(require('./package.json').packageIgnore.join('|'))") ELECTRON_VERSION=0.36.8 ETCHER_VERSION=$(shell node -e "console.log(require('./package.json').version)") @@ -7,7 +8,7 @@ APPLICATION_NAME=$(shell node -e "console.log(require('./package.json').displayN APPLICATION_DESCRIPTION=$(shell node -e "console.log(require('./package.json').description)") APPLICATION_COPYRIGHT=$(shell node -e "console.log(require('./package.json').copyright)") COMPANY_NAME="Resinio Ltd" -SIGN_IDENTITY_OSX="Rulemotion Ltd (66H43P8FRG)" +SIGN_IDENTITY_OSX="Developer ID Application: Rulemotion Ltd (66H43P8FRG)" S3_BUCKET="resin-production-downloads" sign-win32 = osslsigncode sign \ @@ -33,10 +34,12 @@ etcher-release/Etcher-darwin-x64: . --helper-bundle-id="io.resin.etcher-helper" \ --app-bundle-id="io.resin.etcher" \ --app-category-type="public.app-category.developer-tools" \ - --sign=$(SIGN_IDENTITY_OSX) \ --icon="assets/icon.icns" \ --overwrite \ --out=$(dir $@) + rm $@/LICENSE + rm $@/LICENSES.chromium.html + rm $@/version etcher-release/Etcher-linux-x86: . $(ELECTRON_PACKAGER) . $(APPLICATION_NAME) \ @@ -105,11 +108,88 @@ etcher-release/Etcher-win32-x64: . $(call sign-win32,$@/Etcher.exe) etcher-release/installers/Etcher-darwin-x64.dmg: etcher-release/Etcher-darwin-x64 package.json - $(ELECTRON_BUILDER) "$