-
Notifications
You must be signed in to change notification settings - Fork 47
Add XL_PATH to allow alternate config directories #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Could this be XLCORE_PATH? Might make it clear that this only works on xlcore. Or we also implement it on Windows and name it XL_USERDIR or something. |
| Variable | Description | | ||
| ------------- | -------------- | | ||
| `XL_PATH` | Set to an alternate path to override the default `~/.xlcore` config path. For example, `XL_PATH=~/.local/share/xlcore`. This will try to create the path if it does not exist, so be careful. | ||
| `XL_SECRET_PROVIDER` | Set to `file` if using the Steam Deck or other desktop session that doesn't have a secret provider. Set to `none` to disable secret provider. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might wanna remove the -RB from the readme here
README.md
Outdated
| `XL_SECRET_PROVIDER` | Set to `file` if using the Steam Deck or other desktop session that doesn't have a secret provider. Set to `none` to disable secret provider. | | ||
| `XL_DECK` | Force XIVLauncher-RB to pretend it's Steam Deck. Does not enable the Steam keyboard. | | ||
| `XL_GAMEMODE` | Forces XIVLauncher-RB to pretend it's in Steam Deck Game Mode. Also does not enable the Steam keyboard. | | ||
| `XL_FIRSTRUN` | Set to 0 or 1 to force the launcher to skip or activate the Steam Deck First Run screen. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still have this firstrun thing after xlm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, probably not. I'll look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The FTS page is still there, but I'm not sure if it's used any more. I can certainly remove that line from the README.
* update readme to match * remove -RB from readme
Alright, I've removed XL_FIRSTRUN from the readme. I'm hesitant to remove the implimentation because it's still checked in a couple of places, and I don't want to break anything. I have also fixed the readme to no longer reference -RB, and changed XL_PATH to XL_USERDIR. |
@reiichi001 Is this able to be merged? I was trying to migrate my multibox setup to Linux this morning, and realized that neither XL_PATH nor XL_USERDIR are respected. |
XL_PATH can now be used to set an alternate config directory. This is useful for multiboxing, and for people who want their config in
~/.local/share/xlcore
instead of~/.xlcore
.Also updated the README with a few environment variables.