diff --git a/.changeset/brave-carrots-report.md b/.changeset/brave-carrots-report.md new file mode 100644 index 0000000..e766197 --- /dev/null +++ b/.changeset/brave-carrots-report.md @@ -0,0 +1,7 @@ +--- +'renterd': patch +'walletd': patch +'hostd': patch +--- + +The tray icon now matches the system theme on MacOS. Closes https://github.com/SiaFoundation/desktop/issues/79 diff --git a/hostd/assets/tray-Template.png b/hostd/assets/tray-Template.png new file mode 100644 index 0000000..67b88bb Binary files /dev/null and b/hostd/assets/tray-Template.png differ diff --git a/hostd/assets/tray-Template@2x.png b/hostd/assets/tray-Template@2x.png new file mode 100644 index 0000000..aedf1eb Binary files /dev/null and b/hostd/assets/tray-Template@2x.png differ diff --git a/hostd/main/tray.ts b/hostd/main/tray.ts index 0bfb72f..d68d678 100644 --- a/hostd/main/tray.ts +++ b/hostd/main/tray.ts @@ -5,7 +5,7 @@ import { getAsset } from './asset' import { daemonName } from './constants' export function initTray() { - const iconName = system.isDarwin ? 'tray.png' : 'tray-win.png' + const iconName = system.isDarwin ? 'tray-Template.png' : 'tray-win.png' const iconPath = getAsset(iconName) state.tray = new Tray(iconPath) diff --git a/renterd/assets/tray-Template.png b/renterd/assets/tray-Template.png new file mode 100644 index 0000000..67b88bb Binary files /dev/null and b/renterd/assets/tray-Template.png differ diff --git a/renterd/assets/tray-Template@2x.png b/renterd/assets/tray-Template@2x.png new file mode 100644 index 0000000..aedf1eb Binary files /dev/null and b/renterd/assets/tray-Template@2x.png differ diff --git a/renterd/main/tray.ts b/renterd/main/tray.ts index 44304e4..5b3ce2f 100644 --- a/renterd/main/tray.ts +++ b/renterd/main/tray.ts @@ -5,7 +5,7 @@ import { getAsset } from './asset' import { daemonName } from './constants' export function initTray() { - const iconName = system.isDarwin ? 'tray.png' : 'tray-win.png' + const iconName = system.isDarwin ? 'tray-Template.png' : 'tray-win.png' const iconPath = getAsset(iconName) state.tray = new Tray(iconPath) diff --git a/walletd/assets/tray-Template.png b/walletd/assets/tray-Template.png new file mode 100644 index 0000000..67b88bb Binary files /dev/null and b/walletd/assets/tray-Template.png differ diff --git a/walletd/assets/tray-Template@2x.png b/walletd/assets/tray-Template@2x.png new file mode 100644 index 0000000..aedf1eb Binary files /dev/null and b/walletd/assets/tray-Template@2x.png differ diff --git a/walletd/main/tray.ts b/walletd/main/tray.ts index 0bfb72f..d68d678 100644 --- a/walletd/main/tray.ts +++ b/walletd/main/tray.ts @@ -5,7 +5,7 @@ import { getAsset } from './asset' import { daemonName } from './constants' export function initTray() { - const iconName = system.isDarwin ? 'tray.png' : 'tray-win.png' + const iconName = system.isDarwin ? 'tray-Template.png' : 'tray-win.png' const iconPath = getAsset(iconName) state.tray = new Tray(iconPath)