mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix updater
This commit is contained in:
parent
689d277052
commit
5d89a21b06
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ function trayIcon () {
|
|||
if (is.windows) {
|
||||
return path.join(__dirname, '/electron/icon64x64.png');
|
||||
} else {
|
||||
const dark = nativeTheme.shouldUseDarkColors;
|
||||
const dark = nativeTheme.shouldUseDarkColors || nativeTheme.shouldUseHighContrastColors || nativeTheme.shouldUseInvertedColorScheme;
|
||||
return path.join(__dirname, '/electron/icon-tray-' + (dark ? 'white' : 'black') + '.png');
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue