Skip to content

Commit 44359e8

Browse files
JamieRudermandanawoodman
authored andcommitted
[DESK-164] windows icon color to black and white (#14)
1 parent a04582a commit 44359e8

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

backend/src/ElectronApp.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,7 @@ export default class ElectronApp {
115115
d('Create tray icon')
116116
Logger.info('Create tray icon')
117117

118-
let iconFile = 'iconTemplate.png'
119-
if (Environment.isWindows) {
120-
iconFile = electron.systemPreferences.isInvertedColorScheme()
121-
? 'icontraywhite.ico'
122-
: 'icontrayblack.ico'
123-
}
118+
const iconFile = Environment.isWindows ? 'iconwin.ico' : 'iconTemplate.png'
124119
const iconPath = path.join(__dirname, 'images', iconFile)
125120
this.tray = new electron.Tray(iconPath)
126121

-35 KB
Binary file not shown.
-35 KB
Binary file not shown.

backend/src/images/iconwin.ico

35 KB
Binary file not shown.

0 commit comments

Comments
 (0)