Skip to content
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

app_state_folder option not working in apps section #143

Open
csrednicki opened this issue Nov 1, 2024 · 3 comments
Open

app_state_folder option not working in apps section #143

csrednicki opened this issue Nov 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@csrednicki
Copy link

In documentation it is said that there is app_state_folder option in apps section. When I tried to use it, defining specific folder for application it wasn't working. I searched thru the current code and I couldn't find this option. How can I define state folder per application?

@ABeltramo
Copy link
Member

The documentation is outdated on that part, app_state_folder can only be defined per Moonlight client with something like:

[[paired_clients]]
client_cert = "A VERY VALID CERTIFICATE"
app_state_folder = "some/folder"

Or you can change where Wolf will store all the app data by following this.

Would that work for you? What are you trying to achieve?

@csrednicki
Copy link
Author

What are you trying to achieve?

For example I have Steam application, I installed a bunch of games in this app. Now in moonlight I want to have each of this games as separate icons. Pretty standard. If I will create separate entries in config.toml for each of this games (and pass STEAM_STARTUP_FLAGS with proper game id) this would create folders with different Steam app installations. It would ask me for my credentials for every single game and I would have to install it again, because it will not use original Steam app but app named as game (folder created in /etc/wolf/<paired_client_id>/<app_title>).

Currently I managed to get around it by creating symlinks from game title to Steam app folder and this is working. I thought I could ditch symlinks and use this app_state_folder feature but found it isn't working. In this case app_state_folder would be pointing to Steam folder and everything would be working fine.

@linus307
Copy link

linus307 commented Dec 17, 2024

@csrednicki Hi in that case I would just create a link, in place of the directory that wolf would create, to the other app's folder. That way they both share the same data.

@salty2011 salty2011 added the bug Something isn't working label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants