diff options
Diffstat (limited to 'icons.patch')
-rw-r--r-- | icons.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/icons.patch b/icons.patch deleted file mode 100644 index c183db1b1a83..000000000000 --- a/icons.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/main.js b/main.js -index 69b9bd8c2..545bbe7e1 100644 ---- a/main.js -+++ b/main.js -@@ -378,8 +378,12 @@ function createWindow() { - }); - - // put logic here to set tray icon based on OS -- const osTrayIcon = 'openbazaar-mac-system-tray.png'; -- -+ if (process.platform === 'linux') { -+ var osTrayIcon = 'icon.png'; -+ } else { -+ var osTrayIcon = 'openbazaar-mac-system-tray.png'; -+ } -+ - trayMenu = new Tray(`${__dirname}/imgs/${osTrayIcon}`); - - let trayTemplate = []; -@@ -455,7 +459,7 @@ function createWindow() { - center: true, - title: 'OpenBazaar', - frame: false, -- icon: 'imgs/openbazaar-icon.png', -+ icon: `${__dirname}/imgs/icon.png`, - }); - - // and load the index.html of the app. - |