diff --git a/appveyor.yml b/appveyor.yml index b3ef9a7..2c4a6f6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/media/icon.icns b/media/icon.icns new file mode 100644 index 0000000..9ff3a7c Binary files /dev/null and b/media/icon.icns differ diff --git a/package.json b/package.json index 7a4b6d4..7232b77 100644 --- a/package.json +++ b/package.json @@ -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": [ {