Skip to content

Commit

Permalink
privileges 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krehel committed Nov 20, 2024
1 parent 5a4de2f commit 58af7c4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Casks/p/privileges.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
cask "privileges" do

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-13, intel)

Some packages are still installed, add them to uninstall pkgutil: corp.sap.privileges.pkg

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-13, intel)

Some launch jobs are still installed, add them to uninstall launchctl: corp.sap.privileges.agent corp.sap.privileges.daemon

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-13, intel)

Some launch jobs were not unloaded, add them to uninstall launchctl: corp.sap.privileges.agent corp.sap.privileges.daemon

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-15, arm)

Some packages are still installed, add them to uninstall pkgutil: corp.sap.privileges.pkg

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-15, arm)

Some launch jobs are still installed, add them to uninstall launchctl: corp.sap.privileges.agent corp.sap.privileges.daemon

Check failure on line 1 in Casks/p/privileges.rb

View workflow job for this annotation

GitHub Actions / test privileges (macos-15, arm)

Some launch jobs were not unloaded, add them to uninstall launchctl: corp.sap.privileges.agent corp.sap.privileges.daemon
version "1.5.4"
sha256 "6f16af136a928a9e0c233ef7d36db4458588224e676b079ede1b626c8ddba346"
version "2.0.0"
sha256 "99cf00557e4965ed949a41665d22211d778ae0b8601e9647970c38e2c48b866f"

url "https://github.com/SAP/macOS-enterprise-privileges/releases/download/#{version}/Privileges.zip"
url "https://github.com/SAP/macOS-enterprise-privileges/releases/download/#{version}/Privileges_#{version}.pkg"
name "Privileges"
desc "Admin rights switcher"
homepage "https://github.com/SAP/macOS-enterprise-privileges"

depends_on macos: ">= :sierra"
depends_on macos: ">= :big_sur"

app "Privileges.app"
binary "#{appdir}/Privileges.app/Contents/Resources/PrivilegesCLI", target: "privileges-cli"
pkg "Privileges_#{version}.pkg"

uninstall delete: [
"/Library/LaunchDaemons/corp.sap.privileges.helper.plist",
"/Library/PrivilegedHelperTools/corp.sap.privileges.helper",
uninstall pkgutil: [
"corp.sap.privileges",
"corp.sap.privileges.agent",
]

zap trash: [
"~/Library/Application Scripts/corp.sap.privileges",
"~/Library/Containers/corp.sap.privileges",
"~/Library/Group Containers/*.corp.sap.privileges",
]
end

0 comments on commit 58af7c4

Please sign in to comment.