podman: Fix 'winsymlink' error (#6335)

This commit is contained in:
Hsiao-nan Cheung 2024-11-22 14:43:01 +08:00 committed by GitHub
parent 3b6d3d9db7
commit 20ad69ba88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,9 +13,16 @@
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\podman-$version-setup.exe\" \"$dir\\_tmp\" -Removal",
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\podman.msi\" \"$dir\" -ExtractDir 'PFiles64\\RedHat\\Podman'"
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\podman.msi\" \"$dir\" -ExtractDir 'PFiles64\\RedHat\\Podman'",
"if (get_config USE_ISOLATED_PATH) {",
" Add-Path -Path ('%' + $scoopPathEnvVar + '%') -Global:$global",
"}",
"Add-Path -Path $original_dir -TargetEnvVar $scoopPathEnvVar -Global:$global -Force"
]
},
"uninstaller": {
"script": "Remove-Path -Path $dir -TargetEnvVar $scoopPathEnvVar -Global:$global -Force"
},
"checkver": {
"github": "https://github.com/containers/podman"
},