nim, stack: Fix deprecated (un)install warnings (#5824)

This commit is contained in:
Brian 2024-07-23 06:24:26 -04:00 committed by GitHub
parent dae8bc27d9
commit 32c862c54b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -51,9 +51,9 @@
} }
}, },
"installer": { "installer": {
"script": "add_first_in_path \"$env:USERPROFILE\\.nimble\\bin\" $global" "script": "Add-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
}, },
"uninstaller": { "uninstaller": {
"script": "remove_from_path \"$env:USERPROFILE\\.nimble\\bin\" $global" "script": "Remove-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
} }
} }

View File

@ -11,10 +11,10 @@
}, },
"bin": "stack.exe", "bin": "stack.exe",
"installer": { "installer": {
"script": "add_first_in_path \"$env:APPDATA\\local\\bin\" $global" "script": "Add-Path -Path \"$env:APPDATA\\local\\bin\" -Global:$global"
}, },
"uninstaller": { "uninstaller": {
"script": "remove_from_path \"$env:APPDATA\\local\\bin\" $global" "script": "Remove-Path -Path \"$env:APPDATA\\local\\bin\" -Global:$global"
}, },
"checkver": { "checkver": {
"github": "https://github.com/commercialhaskell/stack" "github": "https://github.com/commercialhaskell/stack"