mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Add missing package metadata
- Legal copyright. - Company name. - File description. - Original filename. - Product name. - Internal name.
This commit is contained in:
parent
34147fb4cb
commit
cb8da11b89
16
Makefile
16
Makefile
@ -4,6 +4,9 @@ ELECTRON_IGNORE=$(shell node -e "console.log(require('./package.json').packageIg
|
|||||||
ELECTRON_VERSION=0.36.8
|
ELECTRON_VERSION=0.36.8
|
||||||
ETCHER_VERSION=$(shell node -e "console.log(require('./package.json').version)")
|
ETCHER_VERSION=$(shell node -e "console.log(require('./package.json').version)")
|
||||||
APPLICATION_NAME=$(shell node -e "console.log(require('./package.json').displayName)")
|
APPLICATION_NAME=$(shell node -e "console.log(require('./package.json').displayName)")
|
||||||
|
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="Rulemotion Ltd (66H43P8FRG)"
|
||||||
S3_BUCKET="resin-production-downloads"
|
S3_BUCKET="resin-production-downloads"
|
||||||
|
|
||||||
@ -14,6 +17,7 @@ etcher-release/Etcher-darwin-x64: .
|
|||||||
--version=$(ELECTRON_VERSION) \
|
--version=$(ELECTRON_VERSION) \
|
||||||
--ignore="$(ELECTRON_IGNORE)" \
|
--ignore="$(ELECTRON_IGNORE)" \
|
||||||
--asar \
|
--asar \
|
||||||
|
--app-copyright="$(APPLICATION_COPYRIGHT)" \
|
||||||
--app-version="$(ETCHER_VERSION)" \
|
--app-version="$(ETCHER_VERSION)" \
|
||||||
--build-version="$(ETCHER_VERSION)" \
|
--build-version="$(ETCHER_VERSION)" \
|
||||||
--helper-bundle-id="io.resin.etcher-helper" \
|
--helper-bundle-id="io.resin.etcher-helper" \
|
||||||
@ -57,8 +61,14 @@ etcher-release/Etcher-win32-x86: .
|
|||||||
--ignore="$(ELECTRON_IGNORE)" \
|
--ignore="$(ELECTRON_IGNORE)" \
|
||||||
--icon="assets/icon.ico" \
|
--icon="assets/icon.ico" \
|
||||||
--asar \
|
--asar \
|
||||||
|
--app-copyright="$(APPLICATION_COPYRIGHT)" \
|
||||||
--app-version="$(ETCHER_VERSION)" \
|
--app-version="$(ETCHER_VERSION)" \
|
||||||
--build-version="$(ETCHER_VERSION)" \
|
--build-version="$(ETCHER_VERSION)" \
|
||||||
|
--version-string.CompanyName=$(COMPANY_NAME) \
|
||||||
|
--version-string.FileDescription="$(APPLICATION_NAME)" \
|
||||||
|
--version-string.OriginalFilename=$(notdir $@) \
|
||||||
|
--version-string.ProductName="$(APPLICATION_NAME) -- $(APPLICATION_DESCRIPTION)" \
|
||||||
|
--version-string.InternalName="$(APPLICATION_NAME)" \
|
||||||
--overwrite \
|
--overwrite \
|
||||||
--out=$(dir $@)
|
--out=$(dir $@)
|
||||||
mv $(dir $@)Etcher-win32-ia32 $@
|
mv $(dir $@)Etcher-win32-ia32 $@
|
||||||
@ -71,8 +81,14 @@ etcher-release/Etcher-win32-x64: .
|
|||||||
--ignore="$(ELECTRON_IGNORE)" \
|
--ignore="$(ELECTRON_IGNORE)" \
|
||||||
--icon="assets/icon.ico" \
|
--icon="assets/icon.ico" \
|
||||||
--asar \
|
--asar \
|
||||||
|
--app-copyright="$(APPLICATION_COPYRIGHT)" \
|
||||||
--app-version="$(ETCHER_VERSION)" \
|
--app-version="$(ETCHER_VERSION)" \
|
||||||
--build-version="$(ETCHER_VERSION)" \
|
--build-version="$(ETCHER_VERSION)" \
|
||||||
|
--version-string.CompanyName=$(COMPANY_NAME) \
|
||||||
|
--version-string.FileDescription="$(APPLICATION_NAME)" \
|
||||||
|
--version-string.OriginalFilename=$(notdir $@) \
|
||||||
|
--version-string.ProductName="$(APPLICATION_NAME) -- $(APPLICATION_DESCRIPTION)" \
|
||||||
|
--version-string.InternalName="$(APPLICATION_NAME)" \
|
||||||
--overwrite \
|
--overwrite \
|
||||||
--out=$(dir $@)
|
--out=$(dir $@)
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
},
|
},
|
||||||
"author": "Juan Cruz Viotti <juan@resin.io>",
|
"author": "Juan Cruz Viotti <juan@resin.io>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
"copyright": "Copyright 2016 Resinio Ltd",
|
||||||
"packageIgnore": [
|
"packageIgnore": [
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"Makefile",
|
"Makefile",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user