diff --git a/config/build/mac/pkg/scripts/postinstall b/config/build/mac/pkg/scripts/postinstall new file mode 100644 index 0000000..92b94c4 --- /dev/null +++ b/config/build/mac/pkg/scripts/postinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 \ No newline at end of file diff --git a/config/build/mac/pkg/scripts/preinstall b/config/build/mac/pkg/scripts/preinstall new file mode 100644 index 0000000..92b94c4 --- /dev/null +++ b/config/build/mac/pkg/scripts/preinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 \ No newline at end of file diff --git a/electron-builder.json b/electron-builder.json index 9f3ad51..d3af861 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -84,23 +84,7 @@ ] }, "pkg": { - "background": "config/build/mac/dmg/background.png", - "icon": "config/build/mac/dmg/icon.icns", - "iconSize": 120, - "iconTextSize": 18, - "contents": [ - { - "x": 480, - "y": 240, - "type": "link", - "path": "/Applications" - }, - { - "x": 130, - "y": 240, - "type": "file" - } - ] + "scripts": "config/build/mac/pkg/scripts" }, "win": { "target": [