diff --git a/bucket/calibre.json b/bucket/calibre.json index 89154ff2ac0f2b..26a929d23ef26e 100644 --- a/bucket/calibre.json +++ b/bucket/calibre.json @@ -13,7 +13,8 @@ "script": [ "Start-Process \"$dir\\calibre-portable-installer-$version.exe\" @(\"$env:TEMP\") -Wait", "Move-Item \"$env:TEMP\\Calibre Portable\\**\" \"$dir\"", - "Remove-Item \"$env:TEMP\\Calibre Portable\"" + "Remove-Item \"$env:TEMP\\Calibre Portable\"", + "Icacls $dir /t /c /reset" ] }, "bin": [