bilelmoussaoui / Hardcode-Tray

Fixes Hardcoded tray icons in Linux
Other
863 stars 63 forks source link

Whatsdesk not changing icon #751

Open murakami-marco opened 1 year ago

murakami-marco commented 1 year ago

Specifications

Expected behavior

  1. Execute sudo -E hardcode-tray --dark-theme Papirus-Dark --light-theme Papirus-Light
  2. Choose option number 1
  3. Whatsdesk applied
  4. New systray icon applied

image

Actual behavior

  1. Execute sudo -E hardcode-tray --dark-theme Papirus-Dark --light-theme Papirus-Light
  2. Choose option number 1
  3. Whatsdesk applied
  4. Open Whatsdesk and icon remains the same

image

Tell me if you need more info,

I already checked the gitlab repo and the path seems to be correct https://gitlab.com/zerkc/whatsdesk/-/tree/master/src/icon

Also checked the whatsdesk database json file and it seems right but, somehow, the icon don't change as expected.

Thanks!!

rauldipeas commented 1 year ago

@bilelmoussaoui @SmartFinn

{
    "name": "WhatsDesk",
    "app_path": [
        "/opt/whatsdesk/"
    ],
    "icons_path": [
        "/opt/whatsdesk/resources/"
    ],
    "binary": "app.asar",
    "script": "electron",
    "icons": {
        "tray": {
            "original": "electron-build/src/icon/tray-icon-off.png",
            "theme": "whatsapp-tray"
        },
        "tray@2x": {
            "original": "electron-build/src/icon/tray-icon-off2.png",
            "theme": "whatsapp-tray"
        },
        "tray-msg": {
            "original": "electron-build/src/icon/tray-icon-on.png",
            "theme": "whatsapp-msg"
        },
        "tray-msg@2x": {
            "original": "electron-build/src/icon/tray-icon-on2.png",
            "theme": "whatsapp-msg"
        }
    }
}