Bug fix: Non-portable functions
authorColin Clark <colin.clark@cclark.uk>
Sun, 3 Oct 2021 10:58:41 +0000 (11:58 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sun, 3 Oct 2021 10:58:41 +0000 (11:58 +0100)
Using argv[0] does not work with AppImages: it contains the path to
where the AppImage was called from, and not the path where the
executable is running.

This solution uses the whereami package from:
https://github.com/gpakosz/whereami


No differences found