mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-16 11:50:41 -04:00
Update tray icon for macOS and increment version to 2.3.8
This commit is contained in:
5
main.js
5
main.js
@@ -656,8 +656,11 @@ const createTray = () => {
|
||||
: path.join(__dirname, "./build/assets/icon.png");
|
||||
let trayIcon = nativeImage.createFromPath(iconPath);
|
||||
if (os.platform() === "darwin") {
|
||||
trayIcon = nativeImage.createFromPath(
|
||||
path.join(__dirname, "./build/assets/trayTemplate.png")
|
||||
);
|
||||
trayIcon = trayIcon.resize({ width: 16, height: 16, quality: "best" });
|
||||
trayIcon.setTemplateImage(false);
|
||||
trayIcon.setTemplateImage(true);
|
||||
}
|
||||
tray = new Tray(trayIcon);
|
||||
const contextMenu = Menu.buildFromTemplate([
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "koodo-reader",
|
||||
"main": "main.js",
|
||||
"version": "2.3.7",
|
||||
"version": "2.3.8",
|
||||
"description": "Koodo Reader is a cross-platform ebook reader",
|
||||
"author": {
|
||||
"name": "App by Troye",
|
||||
|
||||
Reference in New Issue
Block a user