Helion icon indicating copy to clipboard operation
Helion copied to clipboard

Linux $PATH Searching [Enhancement]

Open kinker31 opened this issue 9 months ago • 1 comments

At its current state, Helion only looks for assets and libraries in the same folder that the executable is installed/compiled in.

While this works well enough for Windows, this presents a medium-sized, but very annoying problem when writing package scripts for Linux repos. Namely, the expected standards of /bin, /usr/share, ~/.local, and ~/.config aren't there at all.

While I've been able to get around with with Arch, using the /opt directory instead to install the package, it might be a good idea to allow for Helion to look in the standard Linux directories in a future commit/release; /opt ain't exactly a directory most would wanna use to run their programs in.

kinker31 avatar Mar 24 '25 21:03 kinker31

As of 8d1a15a47756d102d3a58b0cc53c2c06d8a40fcb /usr/share/helion is now searched for bundled assets. ~/.config/helion was already set up to store user data (not the assets) on Linux, though if a config.ini was present in the Helion folder it would use that instead. (This behavior is now described in the docs)

72hr avatar Apr 01 '25 16:04 72hr

Now that the libraries are statically linked, Helion should be able to be packaged according to the FHS.

Small change in #1302, the Helion dirs mentioned above are now capitalized.

72hr avatar Sep 06 '25 01:09 72hr