Skip to content

Commit

Permalink
Merge pull request #290 from julian-alarcon/bugfix/no-icon-for-notifi…
Browse files Browse the repository at this point in the history
…cation

fix: add notification icon fix #289
  • Loading branch information
julian-alarcon authored Sep 21, 2023
2 parents 495d7f9 + 094f2e3 commit c98a479
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prospect-mail",
"productName": "Prospect Mail",
"version": "0.5.0",
"version": "0.5.1",
"main": "src/main.js",
"description": "Unofficial desktop client for Microsoft Outlook",
"homepage": "https://github.com/julian-alarcon/prospect-mail",
Expand Down
2 changes: 1 addition & 1 deletion public/unread-number-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const observeUnreadHandlers = {
if (!document.hasFocus()) {
var notification = new Notification("Prospect Mail: New Messages", {
body: "There are " + unread + " unread messages.",
icon: "assets/outlook_linux_black.png",
icon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAHYAAAB2AH6XKZyAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAD+BJREFUeJztm3mMXdV9xz/n3HfvW+bNbo9nxmOPPWODwQSEUzBQEtaWlKhy21BopVbBTUQTqUmr/pNWSqX8lzb/tVJVqWod1EiIwD+BKAshMcjQWIYYCDZgsMfbbPbs29vuck7/uG+525t5hqFJ1fykN+e9s/++57ed370Dv6H/3yQ+yuC9X3zxBuWKYQTbgG1ai480X8skqQilryiYlJ73/th3Hpr5sFNd84b3HD56jxb6c2gOATs/7MKbSArBcRDPoZ2nx7790Pi1DG4ZgJHHf3qbEPJboO+95i3+75EN+klc7x9alYoNAdj1+EsZA/VvCD7fSv9fCxIsCsSXzh25/5mNuhrrNQ4/cWzA9LwXEHyW/yvM+5QFHuk98PnswqGRo7z8sm7WUTZrGD38wo6U47ymBbd/LFv8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CECzE+tCv1apjnCI0e/tnLwD2Jw40UVlsvhmE2eRM0/jprsLQdP8GhNaQMUY8mLVOyqy9LT4cZe6NUxOZuvsbE9AIn3x1HRTO2DW4Pjx154MlgVezGIBFfg+Q4UnsuldVZXLsYEPkEUYzZC982WJakryuNEOB6/sVlW3ea/TvzdLaZMfFu9bU423Z568w4r5++1Jx5ODW2Ov+dOCYJNPoXP/sXNF9pNhOANCxS6RxWOouRMhPe62283ysidZ7WOK4mZ0ksU8akSGxw0tJ/E5eVtSIz8yuMTy/gxG9nQaoIoe87d+TB49GGxFB4x075t+OX1H7g/mYzKs/GLtrYxSVAII3GMz8R/hNGWcRRF5EOItA3abzyFLbjNttajDR8eSyB+djcQRr6wo970so8BuxveaVfQxKCfzp35IG/a9beNGsw8Z+fWUiJ9J2gn/t4tvaxkwvir9djHjb4n6H5N4/Yi38w8kzP0k6JEHfQ4u3xV01aiwtSiM+NfXvjf5pq+U3f0cMv7ADj6yC+wAbA/apIwILSfEsh//nik/eVNx7xIf4TbOTxn+wF44+E4BBwkBYfrnyMtALiR2j1vZTM/OD9I3evXsvgawYgSCNPvNgpK8YQht6utR5AyPTGoz46CVhSeFOmVJN52TsRvNz8hn5D10b/A3wixY0mplPhAAAAAElFTkSuQmCC",
});
notification.onclick = () => {
require("electron").ipcRenderer.send("show");
Expand Down
31 changes: 15 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
ajv-keywords "^3.4.1"

"@electron/asar@^3.2.1":
version "3.2.4"
resolved "https://registry.yarnpkg.com/@electron/asar/-/asar-3.2.4.tgz#7e8635a3c4f6d8b3f8ae6efaf5ecb9fbf3bd9864"
integrity sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==
version "3.2.5"
resolved "https://registry.yarnpkg.com/@electron/asar/-/asar-3.2.5.tgz#1557d456e99123cbc0b69a79230199b32dca785a"
integrity sha512-Ypahc2ElTj9YOrFvUHuoXv5Z/V1nPA5enlhmQapc578m/HZBHKTbqhoL5JZQjje2+/6Ti5AHh7Gj1/haeJa63Q==
dependencies:
chromium-pickle-js "^0.2.0"
commander "^5.0.0"
glob "^7.1.6"
minimatch "^3.0.4"
Expand Down Expand Up @@ -133,9 +132,9 @@
"@types/node" "*"

"@types/http-cache-semantics@*":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812"
integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==
version "4.0.2"
resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.2.tgz#abe102d06ccda1efdf0ed98c10ccf7f36a785a41"
integrity sha512-FD+nQWA2zJjh4L9+pFXqWOi0Hs1ryBCfI+985NjluQ1p8EYtoLvjLOKidXBtZ4/IcxDX4o8/E8qDS3540tNliw==

"@types/keyv@^3.1.4":
version "3.1.4"
Expand All @@ -150,14 +149,14 @@
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==

"@types/node@*":
version "20.6.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.1.tgz#8b589bba9b2af0128796461a0979764562687e6f"
integrity sha512-4LcJvuXQlv4lTHnxwyHQZ3uR9Zw2j7m1C9DfuwoTFQQP4Pmu04O6IfLYgMmHoOCt0nosItLLZAH+sOrRE0Bo8g==
version "20.6.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.3.tgz#5b763b321cd3b80f6b8dde7a37e1a77ff9358dd9"
integrity sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA==

"@types/node@^18.11.18":
version "18.17.16"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.16.tgz#ee7b103d102787fb1530bfc6d4a1e15014f10938"
integrity sha512-e0zgs7qe1XH/X3KEPnldfkD07LH9O1B9T31U8qoO7lqGSjj3/IrBuvqMeJ1aYejXRK3KOphIUDw6pLIplEW17A==
version "18.17.18"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.18.tgz#acae19ad9011a2ab3d792232501c95085ba1838f"
integrity sha512-/4QOuy3ZpV7Ya1GTRz5CYSz3DgkKpyUptXuQ5PPce7uuyJAOR7r9FhkmxJfvcNUXyklbC63a+YvB3jxy7s9ngw==

"@types/plist@^3.0.1":
version "3.0.2"
Expand Down Expand Up @@ -698,9 +697,9 @@ electron-settings@^4.0.2:
write-file-atomic "^3.0.3"

electron@^25.0:
version "25.8.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.1.tgz#092fab5a833db4d9240d4d6f36218cf7ca954f86"
integrity sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ==
version "25.8.2"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.2.tgz#5e8ea742b68a7d1427bf78902ec40a5b7231a58b"
integrity sha512-AM1ra6b16EQuO1bJtiA8ZiWqqFLLgVfxD56ykiy+EA5C63Hkx8OmIbe+5JAsLiTwRVvBZ4oCAj6wa2qT+iq8ww==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^18.11.18"
Expand Down

0 comments on commit c98a479

Please sign in to comment.