Remove new cache location in postinstall script

This commit is contained in:
caesay
2024-03-26 15:53:09 +00:00
parent 5ea5f3207d
commit c4f2cad911

View File

@@ -110,6 +110,7 @@ public class OsxBuildTools
File.WriteAllText(postinstall, $"""
#!/bin/sh
rm -rf /tmp/velopack/{appId}
sudo -u "$USER" rm -rf ~/Library/Caches/velopack/{appId}
sudo -u "$USER" open "$2/{bundleName}/"
exit 0
""");