🔀 Merge 'macos-build'

This commit is contained in:
GitSquared 2018-06-08 21:33:16 +02:00
parent c4ae12b42c
commit d1e28ccdcc
No known key found for this signature in database
GPG Key ID: CD90D37C8F2993E8
3 changed files with 21 additions and 3 deletions

View File

@ -7,7 +7,7 @@ build_script:
- cmd: npm install && npm install 7zip-bin-win && npm run build-windows
test: off
artifacts:
- path: dist\eDEX-UI.exe
- path: dist\eDEX-UI-win.exe
name: eDEX-UI-Portable.exe
type: file
deploy:

BIN
media/icon.icns Normal file

Binary file not shown.

View File

@ -19,7 +19,7 @@
"install-windows": "npm install && cd src && npm install && ..\\node_modules\\.bin\\electron-rebuild -f -w node-pty && cd ..",
"prebuild": "mkdir prebuild-src && cp -R src/* prebuild-src/ && node prebuild-minify.js && cd prebuild-src && npm install",
"prebuild-windows": "mkdir prebuild-src && xcopy src\\* prebuild-src\\ /E /C /Q /Y && node prebuild-minify.js && cd prebuild-src && npm install",
"build": "./node_modules/.bin/electron-builder build -l -p never",
"build": "./node_modules/.bin/electron-builder build -lm -p never",
"build-windows": "node_modules\\.bin\\electron-builder -w -p never",
"postbuild": "rm -R prebuild-src",
"postbuild-windows": "rmdir /S /Q prebuild-src"
@ -50,7 +50,7 @@
},
"forceCodeSigning": false,
"npmRebuild": true,
"artifactName": "eDEX-UI-${arch}.${ext}",
"artifactName": "eDEX-UI-${os}-${arch}.${ext}",
"linux": {
"target": [
{
@ -71,6 +71,24 @@
"category": "System",
"icon": "media/linuxIcons"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64"
]
},
{
"target": "pkg",
"arch": [
"x64"
]
}
],
"category": "public.app-category.utilities",
"icon": "media/icon.icns"
},
"win": {
"target": [
{