bilelmoussaoui / Hardcode-Tray

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

DeltaChat #680

Closed rauldipeas closed 3 years ago

rauldipeas commented 3 years ago

Could you fix DeltaChat?

https://delta.chat

varlesh commented 3 years ago

image

waht icons used on tray in Linux?

rauldipeas commented 3 years ago

deltachat.ico or deltachat.png, i'm not shure.

varlesh commented 3 years ago

Thx. it's png, usually ico used on Windows only

varlesh commented 3 years ago

You use aur? I can't understand path to asar https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=deltachat-desktop-git#n46

varlesh commented 3 years ago

on DEB it located to: /opt/DeltaChat/resources/app.asar

rauldipeas commented 3 years ago

I'm using DEB.

varlesh commented 3 years ago

See on this line, that not packaed asar build: cp -r node_modules images tsc-dist build html-dist _locales "${pkgdir}/opt/DeltaChat/electron_app"

rauldipeas commented 3 years ago

This is folder structure here. https://del.dog/ecucerfahi.txt

varlesh commented 3 years ago

i'm added 2 files:

rauldipeas commented 1 year ago

There's an update on files structure.

https://github.com/deltachat/deltachat-desktop/tree/master/images/tray

Now there are two files for tray.

rauldipeas commented 1 year ago

Temporary fix...

{
    "name": "DeltaChat",
    "app_path": [
        "/opt/DeltaChat/"
    ],
    "icons_path": [
        "/opt/DeltaChat/resources/"
    ],
    "binary": "app.asar",
    "script": "electron",
    "icons": {
        "tray": {
            "original": "images/tray/deltachat.png",
            "theme": "deltachat-tray"
        },
        "tray-unread": {
            "original": "images/tray/deltachat-unread.png",
            "theme": "hipchat4-attention"
        }
    }
}