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

[Feature] Enable scoop configuration file at user desired location #5781

Closed
rawhuul opened this issue Jan 7, 2024 · 2 comments
Closed

[Feature] Enable scoop configuration file at user desired location #5781

rawhuul opened this issue Jan 7, 2024 · 2 comments

Comments

@rawhuul
Copy link

rawhuul commented Jan 7, 2024

Hey there,

Currently, scoop looks for the config file at ~/.config/scoop/config.json. While this works well for most use cases, it would be great to have more flexibility in terms of the location of the config file.

One use case for this is portability. I like to be able to carry scoop and apps in my portable SSD, while with the current implementation, the config file is always looked for in the user directory - which doesn't makes it truely portable.

To address this, I propose the addition of an environment variable $SCOOP_CONFIG. If this variable is set, scoop would scan for the config file at the specified location. If the variable is not set, the default behavior of looking for the config file in the user directory would be taken place.

@chawyehsu
Copy link
Member

It's already available in develop branch #5369

@rawhuul
Copy link
Author

rawhuul commented Jan 8, 2024

When it is expected to land in main branch?

@rawhuul rawhuul closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants