diff --git a/package.json b/package.json index 1e740469..40427c22 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "build/html/**/*", "src-electron/*", "images/VRCX.png", - "images/tray.png", + "images/VRCX.ico", "Version", "src-electron/libs/linux/libopenvr_api.so" ], diff --git a/src-electron/main.js b/src-electron/main.js index 10081ed2..eed22680 100644 --- a/src-electron/main.js +++ b/src-electron/main.js @@ -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')); }