Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Create creative-sb-command.rb #1719

Merged
merged 4 commits into from
Aug 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Casks/creative-sb-command.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cask "creative-sb-command" do
version "11.1.02.04"
sha256 "d1264448def6d13e94c9465ac67d8b7a473ac9838c519821e3cee443fe43b268"

url "https://download.creative.com/manualdn/Applications/100300/SEwNEWcs2X/SBCMD_MAC_L#{version.dots_to_underscores}.dmg"
name "Creative Sound Blaster Command"
desc "Configure and personalize audio settings of Creative Sound Blaster peripherals"
homepage "https://support.creative.com/"

depends_on macos: ">= :sierra"

pkg "INSTALL.pkg"

uninstall pkgutil: [
"com.creative.AudioDriver",
"com.creative.Uninstaller",
"com.creative.SBCommand",
],
rmdir: "/Applications/Creative"

zap trash: [
"~/Library/Application Support/Creative.SB-Command",
"~/Library/Application Support/Creative.SB-Command.logs",
"~/Library/Preferences/Creative.SB-Command.plist",
]

caveats do
kext
end
end