Skip to content

feat(config): Support portable config file#5369

Merged
niheaven merged 4 commits intoScoopInstaller:developfrom
chawyehsu:portable-cfg
Feb 25, 2023
Merged

feat(config): Support portable config file#5369
niheaven merged 4 commits intoScoopInstaller:developfrom
chawyehsu:portable-cfg

Conversation

@chawyehsu
Copy link
Copy Markdown
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>
Comment thread lib/core.ps1 Outdated
Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>
Signed-off-by: Chawye Hsu <chawyehsu@hotmail.com>
Comment thread lib/core.ps1
@chawyehsu chawyehsu marked this pull request as ready for review February 10, 2023 15:25
Comment thread lib/core.ps1 Outdated
@niheaven
Copy link
Copy Markdown
Member

Ready for merge?

Copy link
Copy Markdown
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