navi@2.24.0: Persists config.yaml and set NAVI_CONFIG env var (Close #4647)

This commit is contained in:
HUMORCE 2025-07-09 22:13:06 +00:00
parent 8863ab265d
commit 6f91788da3
No known key found for this signature in database
GPG Key ID: FF7A96FF20AE10DC

View File

@ -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": {