diff --git a/wget.json b/wget.json index 3749c8f07b..8e812394cc 100644 --- a/wget.json +++ b/wget.json @@ -22,7 +22,7 @@ }, "bin": "wget.exe", "depends": "cacert", - "post_install": "\"ca_certificate=$(resolve-path $dir\\..\\..\\cacert\\current\\cacert.pem)\" | out-file $dir\\wget.ini -encoding default", + "post_install": "\"ca_certificate=$(appdir cacert)\\current\\cacert.pem\" | out-file $dir\\wget.ini -encoding default", "checkver": "GNU Wget ([\\d.]+) for Windows", "autoupdate": { "architecture": {