2017-09-16 06:30:28 +08:00
|
|
|
cask 'setapp' do
|
2018-06-18 14:31:01 +08:00
|
|
|
version '1.14.2,1528985269'
|
|
|
|
sha256 '9a17ef57174a5033f6cbe371eba98042f0052eb41d508ab773644d618af62fbb'
|
2017-09-16 06:30:28 +08:00
|
|
|
|
|
|
|
# devmate.com/com.setapp.InstallSetapp was verified as official when first introduced to the cask
|
2018-06-18 14:31:01 +08:00
|
|
|
url "https://dl.devmate.com/com.setapp.InstallSetapp/#{version.before_comma}/#{version.after_comma}/InstallSetapp-#{version.before_comma}.zip"
|
|
|
|
appcast 'https://updates.devmate.com/com.setapp.InstallSetapp.xml'
|
2017-09-16 06:30:28 +08:00
|
|
|
name 'Setapp'
|
|
|
|
homepage 'https://setapp.com/'
|
|
|
|
|
2018-06-18 14:31:01 +08:00
|
|
|
auto_updates true
|
|
|
|
|
2017-09-16 06:30:28 +08:00
|
|
|
installer manual: 'Install Setapp.app'
|
|
|
|
|
|
|
|
uninstall script: {
|
|
|
|
executable: "#{appdir}/Setapp.app/Contents/Resources/SetappUninstaller.app/Contents/Resources/removeSetapp.sh",
|
|
|
|
sudo: true,
|
|
|
|
}
|
|
|
|
|
2017-11-18 17:54:26 +08:00
|
|
|
zap trash: [
|
|
|
|
'~/Library/Application Scripts/com.setapp.DesktopClient.SetappAgent.FinderSyncExt',
|
|
|
|
'~/Library/Caches/com.setapp.DesktopClient',
|
|
|
|
'~/Library/Caches/com.setapp.DesktopClient.SetappAgent',
|
|
|
|
'~/Library/Logs/Setapp',
|
|
|
|
'~/Library/Preferences/com.setapp.DesktopClient.SetappAgent.plist',
|
|
|
|
'~/Library/Saved Application State/com.setapp.DesktopClient.savedState',
|
|
|
|
]
|
2017-09-16 06:30:28 +08:00
|
|
|
end
|