diff --git a/.gitignore b/.gitignore index 200fa33dd1..c096456be6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /vector/olm.js .DS_Store npm-debug.log +electron/dist diff --git a/electron/icons/AppIcon.icns b/electron/icons/AppIcon.icns new file mode 100644 index 0000000000..4835f4d41b Binary files /dev/null and b/electron/icons/AppIcon.icns differ diff --git a/package.json b/package.json index 8e0c55305d..2206883619 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,14 @@ "electron/src/**", "vector/**", "package.json" - ] + ], + "mac": { + "target": "dmg", + "icon": "electron/icons/AppIcon.icns" + }, + "dmg": { + "icon": "electron/icons/AppIcon.icns" + } }, "directories": { "output": "electron/dist"