helix@23.10: Use config at default location

Ref: #5274
This commit is contained in:
Rashil Gandhi 2024-01-20 17:28:17 +05:30 committed by GitHub
parent 8c21bda099
commit 7bfcd3f478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,27 +13,11 @@
"extract_dir": "helix-23.10-x86_64-windows" "extract_dir": "helix-23.10-x86_64-windows"
} }
}, },
"pre_install": [
"# NOTE: Remove the migration script after 6 months (2024-01-22)",
"if ((Test-Path \"$env:APPDATA\\helix\\config.toml\") -and (!(Test-Path \"$persist_dir\\config.toml\"))) {",
" info 'Migrating config file...'",
" info \"Previous config path: '$env:APPDATA\\helix\\config.toml'\"",
" info \"Current config path: '$persist_dir\\config.toml'\"",
" ensure \"$persist_dir\"",
" Copy-Item \"$env:APPDATA\\helix\\config.toml\" \"$persist_dir\\config.toml\"",
"}",
"# END"
],
"bin": [ "bin": [
"hx.exe",
[ [
"hx.exe", "hx.exe",
"hx", "helix"
"--config \"$persist_dir\\config.toml\""
],
[
"hx.exe",
"helix",
"--config \"$persist_dir\\config.toml\""
] ]
], ],
"checkver": { "checkver": {