Adamcake / Bolt

An alternative launcher for your favourite MMO
GNU Affero General Public License v3.0
122 stars 18 forks source link

AUR package has problems with Arch default environment variables #29

Closed vaisest closed 3 months ago

vaisest commented 3 months ago

I installed the AUR package and encountered a couple of issues:

  1. Runelite links such as login or the Discord button do not work, fixed by setting XDG_* envvars
  2. OSHD launch complains about JAVA_HOME

As far as I know by default none of these are set in Arch. JAVA_HOME used to be set, but it seems Arch just sets PATH with the archlinux-java script. The XDG variables are, as far as I know, supposed to have defaults when they are not set.

They are also mentioned in the Arch wiki, and after launching with ~ $ XDG_CONFIG_HOME=$HOME/.config XDG_CACHE_HOME=$HOME/.cache XDG_DATA_HOME=$HOME/.local/share XDG_STATE_HOME=$HOME/.local/state bolt Runelite links seem to function.

Are the XDG variables perhaps not being set by default? #21 is possibly about the same issue.

Adamcake commented 3 months ago

Runelite links such as login or the Discord button do not work, fixed by setting XDG_* envvars

Already fixed in f3a7b5a awaiting next version, what you mentioned is the workaround for now

OSHD launch complains about JAVA_HOME

This is due to a workaround I made to get HDOS to work on Java 17+. (see fake_java.c). The HDOS devs don't have a clue what they're doing with regards to fixing issues, so my ability to improve the situation is quite limited... Frankly it's a miracle HDOS works at all under these conditions.

vaisest commented 3 months ago

Oh, I didn't realise that was fixed already. I'll use the git version in the meantime, thanks