Skip to content

App icon is not set inside outDir/package.nw #1431

@T0nd0Tara

Description

@T0nd0Tara

When running a command such as

npx nwbuild ./src --outDir build --app.icon=logo.png

The resulting build/app.desktop has the path

...
Icon=$PWD/logo.png

instead of $PWD/build/package.nw/logo.png as the code suggests it should.

This is because of this if statement which resolve the path before the respective config gets to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions