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

feat(config): Support portable config file #5369

Merged
merged 4 commits into from
Feb 25, 2023

Conversation

chawyehsu
Copy link
Member

Description

Support portable config.json for increased portability.

Motivation and Context

Relates to #4498

How Has This Been Tested?

Copy ~/.config/scoop/config.json to or create an empty config.json in scoop root directory, it will then load the portable config file.

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>
lib/core.ps1 Outdated Show resolved Hide resolved
Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>
Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>
lib/core.ps1 Show resolved Hide resolved
@chawyehsu chawyehsu marked this pull request as ready for review February 10, 2023 15:25
lib/core.ps1 Outdated Show resolved Hide resolved
@niheaven
Copy link
Member

Ready for merge?

Copy link
Member Author

@chawyehsu chawyehsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ready. See if it can have more reviews.

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

Successfully merging this pull request may close these issues.

4 participants