Skip to content

Set the correct executable path when installing bsnes.desktop #14

Open
@Screwtapello

Description

@Screwtapello

In POSIXy environments, make install installs a bsnes.desktop file that (among other things) says:

Exec=bsnes

That is, "to execute this application, launch the first bsnes executable on the default $PATH". However, we have no guarantee that our install destination is on the default $PATH (and on many Linux distros, it isn't) so this doesn't work as well as it should.

Instead of installing the file with cp, we should use sed at install time to set the actual path we installed the binary to, just to be sure it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions