Make icons pretty

This commit is contained in:
GHOSCHT 2022-01-13 14:47:03 +01:00
parent 9fbe336536
commit 4c73524acf
No known key found for this signature in database
GPG key ID: A35BD466B8871994
15 changed files with 2626 additions and 367 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

File diff suppressed because one or more lines are too long

View file

@ -107,7 +107,7 @@ app.on("browser-window-blur", () => {
// code. You can also put them in separate files and require them here.
function createTray() {
const trayIcon = new Tray(getAssetPath("tray-default.png"));
const trayIcon = new Tray(getAssetPath("tray/tray-default-32.png"));
const contextMenu = Menu.buildFromTemplate([
{
label: "Show",
@ -159,13 +159,13 @@ if (!gotTheLock) {
ipcMain.on("asynchronous-message", (event, arg) => {
if (arg === "green") {
tray.setImage(getAssetPath("tray-green.png"));
tray.setImage(getAssetPath("tray/tray-green-32.png"));
} else if (arg === "red") {
tray.setImage(getAssetPath("tray-red.png"));
tray.setImage(getAssetPath("tray/tray-red-32.png"));
} else if (arg === "yellow") {
tray.setImage(getAssetPath("tray-yellow.png"));
tray.setImage(getAssetPath("tray/tray-yellow-32.png"));
} else if (arg === "default") {
tray.setImage(getAssetPath("tray-default.png"));
tray.setImage(getAssetPath("tray/tray-default-32.png"));
}
});
});