mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-10-31 22:01:19 +00:00
navi@2.24.0: Persists config.yaml and set NAVI_CONFIG env var (Close #4647)
This commit is contained in:
parent
8863ab265d
commit
6f91788da3
@ -10,7 +10,16 @@
|
||||
"hash": "db5b4babe00b93de5636c07df3d8c149972373a69f131e686b0c565051651bb9"
|
||||
}
|
||||
},
|
||||
"pre_install": [
|
||||
"# init config",
|
||||
"$content = @('shell:', ' command: powershell')",
|
||||
"if (!(Test-Path \"$persist_dir\\config.yaml\")) { Set-Content \"$dir\\config.yaml\" -Value $content -Encoding ascii }"
|
||||
],
|
||||
"env_set": {
|
||||
"NAVI_CONFIG": "$dir\\config.yaml"
|
||||
},
|
||||
"bin": "navi.exe",
|
||||
"persist": "config.yaml",
|
||||
"checkver": "github",
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user