2019-08-07 00:07:24 +08:00
|
|
|
cask 'xctu' do
|
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
|
|
|
|
|
|
|
url 'http://ftp1.digi.com/support/utilities/40003027_W.zip'
|
|
|
|
name 'XCTU'
|
2019-08-11 20:58:28 +08:00
|
|
|
homepage 'https://www.digi.com/products/embedded-systems/digi-xbee-tools/xctu'
|
2019-08-07 00:07:24 +08:00
|
|
|
|
|
|
|
installer script: {
|
|
|
|
executable: "#{staged_path}/xctu_installer.app/Contents/MacOS/osx-intel",
|
|
|
|
args: ['--mode', 'unattended'],
|
|
|
|
}
|
|
|
|
|
|
|
|
uninstall trash: '/Applications/XCTU.app'
|
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
'~/Library/Caches/XCTU',
|
|
|
|
'~/Library/Preferences/XCTU.plist',
|
|
|
|
'~/Library/Saved Application State/XCTU.savedState',
|
|
|
|
]
|
|
|
|
end
|