From 912fc3a108e01a4090084bc92b3624e5e8fc0ee5 Mon Sep 17 00:00:00 2001 From: Alex Rune Berg Date: Wed, 23 Oct 2024 20:59:57 +0200 Subject: [PATCH] Reset permissions from potiential administrator user after coping from Temp to scoop-apps --- bucket/calibre.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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": [