1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-23 23:47:57 +01:00

Update build command for windows

This commit is contained in:
AkiraFukushima 2018-03-26 14:34:12 +09:00
parent f9b0867850
commit 92cd66aef5
3 changed files with 10 additions and 3 deletions

View File

@ -9,8 +9,8 @@ ifeq (${PLATFORM}, darwin)
ICON = --icon=./build/icons/whalebird.icns
CERT = --sign='${CERTNAME}'
endif
ifeq (${PLATFORM}, windows)
ICON = --icon=./build/icons/whalebird.ico
ifeq (${PLATFORM}, win32)
ICON = --icon=./build/icons/icon.ico
endif
all: install release-build package
@ -19,4 +19,4 @@ install: package.json
release-build: package.json
npm run pack
package: release-build
electron-packager ./ whalebird --platform=${PLATFORM} --arch=x64 --electron-version=1.8.3 --build-version=${VERSION} --asar --out=packages --ignore="^/src" --ignore="^/test" --ignore="^/.electron-vue" --ignore="^/.envrc" --prune=true $(ICON) $(CERT) --overwrite
electron-packager ./ whalebird --platform=${PLATFORM} --arch=x64 --electron-version=1.8.3 --build-version=${VERSION} --asar --out=packages --ignore="^/src" --ignore="^/test" --ignore="^/.electron-vue" --ignore="^/.envrc" --ignore="^/.git" --prune=true $(ICON) $(CERT) --overwrite

6
package-lock.json generated
View File

@ -12242,6 +12242,12 @@
}
}
},
"rcedit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/rcedit/-/rcedit-1.0.0.tgz",
"integrity": "sha512-W7DNa34x/3OgWyDHsI172AG/Lr/lZ+PkavFkHj0QhhkBRcV9QTmRJE1tDKrWkx8XHPSBsmZkNv9OKue6pncLFQ==",
"dev": true
},
"read-config-file": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/read-config-file/-/read-config-file-2.1.1.tgz",

View File

@ -121,6 +121,7 @@
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"node-sass": "^4.7.2",
"rcedit": "^1.0.0",
"require-dir": "^0.3.0",
"sass-loader": "^6.0.7",
"spectron": "^3.7.1",