Hardcode-Tray icon indicating copy to clipboard operation
Hardcode-Tray copied to clipboard

GDLauncher not being detected

Open Remyrios opened this issue 4 years ago • 1 comments

Specifications

  • Hardcode-Tray version : 4c503cd (latest) commit
  • Distribution : Manjaro KDE
  • Gtk version : 3.24.23-4
  • Application name : GDLauncher
  • Application version : 1.0.11

Expected behavior and actual behavior

The script should detect GDLauncher (As it is in the database) and replace the icon. Instead, it just doesn't detect it at all, tried with gdlauncher-appimage and gdlauncher-bin package from the AUR. The icon pack used is Papirus. Tried with the --only and --path arguments, still didn't work.

Steps to reproduce the problem

  1. Install hardcode-tray-git from the AUR
  2. Install gdlauncher-bin from the AUR
  3. Run sudo -E hardcode-tray --conversion-tool RSVGConvert --size 22 --theme Papirus

Remyrios avatar Nov 21 '20 23:11 Remyrios

it's strange, because tray icon not changed on sources:

  const RESOURCE_DIR = isDev ? __dirname : path.join(__dirname, '../build');

  const iconPath = path.join(RESOURCE_DIR, 'logo_32x32.png');

  const nimage = nativeImage.createFromPath(iconPath);

  tray = new Tray(nimage);

https://github.com/bilelmoussaoui/Hardcode-Tray/blob/master/data/database/gdlauncher.electron.json Also all this paths added to database: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gdlauncher-appimage#n36 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gdlauncher-bin#n32

varlesh avatar Nov 22 '20 04:11 varlesh