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

AppData #64

Open
sl2365 opened this issue Jun 4, 2024 · 7 comments
Open

AppData #64

sl2365 opened this issue Jun 4, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@sl2365
Copy link

sl2365 commented Jun 4, 2024

First, I tried to Claim my Account on Discord but it won't allow me to do so. I don't use Discord, have no idea how it works and it has been a pita trying to sort it out! Hence I am posting this request here.

Anyway... I am using an app called X-Launcher by WinPenPack to make StemRoller portable. By portable, I mean that it saves all it's settings within the X-Launcher\Lib\AppData folder. But X-Launcher is now 10 years out of date. So I tried to learn how to compile it as a x64 version, in the hope of extending it's life. It seems to work just as good as the original.

There is one specific thing though:
[quote=lwc post_id=107065 time=1717450293 user_id=35242]
Hi, again I stress I don't think Stem Roller uses environment variables to determine where is appdata, at least neither APPDATA nor USERPROFILE. Can Stem Roller's author just tell you how does it decide where is appdata?[/quote]
This is a post from PortableFreeware.com forum.

So would you please answer the question posted above.

Tbh, it would be appreciated greatly if you could actually give users the option of saving these files within the StemRoller.exe folder instead of AppData, would you please consider that?

Thanks

@iffyloop
Copy link
Member

iffyloop commented Jun 4, 2024

Thanks for notifying me about this! I didn't know there was an active effort to get StemRoller running portably. I'm not available much over the next couple of weeks, but I'll try to figure out why it's not respecting the environment variable when I get a free moment. If you want to continue your own research, StemRoller is based on Electron (same as GitHub Desktop, VS Code, etc.) so maybe you can find some similar issues reported elsewhere.

@sl2365
Copy link
Author

sl2365 commented Jun 4, 2024

I appreciate you taking the time to look at this when you can. I'm afraid I am no programmer, I'm just trying to get a launcher taht works and find out why certain apps, like StemRoller, don't seem to obey EnvVar's.

Is it possible for you to change this and to allow users to store this data within StemRoller's folder?
Thanks for your help, no rush! :)

@iffyloop
Copy link
Member

iffyloop commented Jun 8, 2024

@sl2365 should be... I'm hoping to do that with the next app I release (which will be similar in some ways to StemRoller), so once I figure that out I'll backport it to StemRoller.

@sl2365
Copy link
Author

sl2365 commented Jun 9, 2024

That's great thanks :)

@iffyloop iffyloop added the enhancement New feature or request label Aug 4, 2024
@iffyloop
Copy link
Member

iffyloop commented Aug 4, 2024

@sl2365 When you try to override AppData, does StemRoller pollute the non-portable AppData with only a config .json file, or does it write lots of files/directories?

@sl2365
Copy link
Author

sl2365 commented Sep 20, 2024

Sorry for the late reply!
It writes the entire AppData/Roaming/stemroller folder and contents.
I have been using an unofficial x64 updated version of X-Launcher that does the job for me. But if you are interested in making it fully portable, that would be great!
Thanks.

@iffyloop
Copy link
Member

@sl2365 If the updated version of X-Launcher works, that seems to indicate maybe it was an issue with the older version of X-Launcher rather than StemRoller. I'm still interested in making StemRoller fully portable, but it probably won't happen for a while. Glad you were able to find a solution that works for you now, and thanks for sharing about it here so others can use it too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants