Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

--tray flag causes icon-related startup crash #527

Description

@alessandro-molari

Description

When I start an app created with nativefier, I always get the following error:

Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from /home/alem0lars/trello-linux-x64/resources/app/icon.png
    at createTrayIcon (/home/alem0lars/trello-linux-x64/resources/app/lib/webpack:/app/src/components/trayIcon/trayIcon.js:18:21)
    at App.<anonymous> (/home/alem0lars/trello-linux-x64/resources/app/lib/webpack:/app/src/main.js:107:3)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:194:7)

Steps to reproduce issue

Create app:

nativefier -p linux -n trello --disable-dev-tools --tray --single-instance --disable-gpu-sandbox --zoom 0.7 https://trello.com

Then run it:

./trello-linux-x64/trello

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions