Open SpasilliumNexus opened 1 month ago
Thanks for the report! So, it's likely because Tauri isn't letting the settings file to be created because this is the scope that is defined:
According to the docs, this is what that resolves to:
${bundleIdentifier}
is in.yarg.launcher
, and ${configDir}
resolves to:
So my question is, does $HOME
correctly point to /home/AmpliFreQuency/
, and does $XDG_CONFIG_HOME
correctly point to /home/AmpliFreQuency/.config/
? If so, this is likely a bug from Tauri's side that I'll have to look into.
Sorry for the inconvenience!
Not a problem at all!
I can confirm that $HOME
and @XDG_CONFIG_HOME
points to /home/AmpliFreQuency
and /home/AmpliFreQuency/.config
respectively.
Is that colon supposed to be on the end of $XDG_CONFIG_HOME
? (I don't use linux so idk lol)
Good eye! That is definitely not supposed to be there. I've created an override in my ~/.bashrc to fix that:
if ! [[ "$XDG_CONFIG_HOME" =~ "$HOME/.config" ]]; then XDG_CONFIG_HOME="$HOME/.config" fi export XDG_CONFIG_HOME
And for good measure, I tried using the direct path of /home/AmpliFreQuency/.config
if ! [[ "$XDG_CONFIG_HOME" =~ "/home/AmpliFreQuency/.config" ]]; then XDG_CONFIG_HOME="/home/AmpliFreQuency/.config" fi export XDG_CONFIG_HOME
Unfortunately, I still get the scope error with YARC. The in.yarg.launcher
gets created in the .config
folder of my home directory, along with a logs
subdirectory in it and a YARC Launcher.log
, but nothing else in that in.yarg.launcher
folder is created.
Now (again, my lack of Linux knowledge is gonna be apparent here), does it also update that value for the launcher, or is it only in the console?
The change seems to only affect console and not the launcher at all :/
Upon launching YARC 1.0.0b, I'm presented with a white screen with an error about a configured scope.
Checking the logs, It's just a repeated output of this:
[2024-08-25][16:54:52][DEBUG][reqwest::connect] starting new connection: https://releases.yarg.in/ [2024-08-25][16:54:52][ERROR][webview] "path not allowed on the configured scope: /home/AmpliFreQuency/.config/in.yarg.launcher/"
I am running Bazzite 40 (Fedora) on a Steam Deck
I have tried launching in both gaming and desktop mode, with and without the
WEBKIT_DISABLE_COMPOSITING_MODE
launch option, to no avail.Versions prior to 1.0.0.b work fine.