diff --git a/build/README.md b/build/README.md index 4bd2603c7..7443681c6 100644 --- a/build/README.md +++ b/build/README.md @@ -5,6 +5,6 @@ If you update the app icon, you also need to update all those file generated fro The current source file is build/session_icon_source_1024px.png --> macOS: use https://cloudconvert.com/png-to-icns to get .icns from the 1024px.png source file => save as icon.icns +-> macOS: use https://cloudconvert.com/png-to-icns to get .icns from the 1024px.png source file => save as icon-mac.icns -> windows: use https://cloudconvert.com/png-to-ico to get .ico from the 1024px.png source file => save as icon.ico -> linux: build binaries on github actions, get the zip with the deb+appImage, extract it, all the icons are in a .icons-set folder, and you can copy paste them into build/icons diff --git a/build/icon.icns b/build/icon-linux.icns similarity index 100% rename from build/icon.icns rename to build/icon-linux.icns diff --git a/build/icon-mac.icns b/build/icon-mac.icns new file mode 100644 index 000000000..b1e9c1ece Binary files /dev/null and b/build/icon-mac.icns differ diff --git a/package.json b/package.json index bb16b49a2..472fbfd36 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ }, "mac": { "category": "public.app-category.social-networking", - "icon": "build/icon.icns", + "icon": "build/icon-mac.icns", "target": [ "dmg", "zip" @@ -251,7 +251,7 @@ }, "asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries", "target": ["deb", "rpm", "freebsd"], - "icon": "build/icon.icns" + "icon": "build/icon-linux.icns" }, "asarUnpack": [ "node_modules/better-sqlite3/build/Release/better_sqlite3.node"