mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Fix Linux tray icon
This commit is contained in:
@@ -535,6 +535,11 @@ function createTray() {
|
||||
path.join(rootDir, 'images/VRCX.ico')
|
||||
);
|
||||
tray = new Tray(image.resize({ width: 16, height: 16 }));
|
||||
} else if (process.platform === 'linux') {
|
||||
const image = nativeImage.createFromPath(
|
||||
path.join(rootDir, 'images/VRCX.ico')
|
||||
);
|
||||
tray = new Tray(image.resize({ width: 64, height: 64 }));
|
||||
} else {
|
||||
tray = new Tray(path.join(rootDir, 'images/VRCX.ico'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user