31 lines
1.2 KiB
Ruby
31 lines
1.2 KiB
Ruby
cask 'gog-galaxy' do
|
|
version '2.0.13.188'
|
|
sha256 '31775c9f8172ffc78d8d33d00fef622bd1f7483a6a26a144e3cc8938b227d9e0'
|
|
|
|
url "https://cdn.gog.com/open/galaxy/client/galaxy_client_#{version}.pkg"
|
|
appcast 'https://www.macupdater.net/cgi-bin/extract_text/extract_text_split_easy.cgi?url=https://gog.com/galaxy&encoding=utf-8&user_agent=Macintosh'
|
|
name 'GOG Galaxy Client'
|
|
homepage 'https://www.gog.com/galaxy'
|
|
|
|
auto_updates true
|
|
|
|
pkg "galaxy_client_#{version}.pkg"
|
|
|
|
uninstall delete: '/Applications/GOG Galaxy.app',
|
|
launchctl: [
|
|
'com.gog.galaxy.ClientService',
|
|
'com.gog.galaxy.commservice',
|
|
'com.gog.galaxy.autoLauncher',
|
|
]
|
|
|
|
zap trash: [
|
|
'/Library/LaunchDaemons/com.gog.galaxy.ClientService.plist',
|
|
'/Library/PrivilegedHelperTools/com.gog.galaxy.ClientService',
|
|
'/Users/Shared/GOG.com',
|
|
'~/Library/Application Support/GOG.com',
|
|
'~/Library/Preferences/com.gog.galaxy.cef.renderer.plist',
|
|
'~/Library/Preferences/com.gog.galaxy.plist',
|
|
'~/Library/Saved Application State/com.gog.galaxy.savedState',
|
|
]
|
|
end
|