29 lines
967 B
Ruby
29 lines
967 B
Ruby
cask "epic-games" do
|
|
version "15.7.0"
|
|
sha256 "4bb5ceb90ec9df8f962376cea67a9a0801c858bc68b0d2a9cf4bac9ecff2ebc1"
|
|
|
|
url "https://epicgames-download1.akamaized.net/Builds/UnrealEngineLauncher/Installers/Mac/EpicInstaller-#{version}.dmg",
|
|
verified: "epicgames-download1.akamaized.net/"
|
|
name "Epic Games Launcher"
|
|
desc "Launcher for *Epic Games* games"
|
|
homepage "https://www.epicgames.com/"
|
|
|
|
livecheck do
|
|
url "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncher.dmg"
|
|
strategy :header_match
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "Epic Games Launcher.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Caches/com.epicgames.EpicGamesLauncher",
|
|
"~/Library/Application Support/Epic",
|
|
"~/Library/Cookies/com.epicgames.EpicGamesLauncher.binarycookies",
|
|
"~/Library/Logs/Unreal Engine/EpicGamesLauncher",
|
|
"~/Library/Preferences/Unreal Engine/EpicGamesLauncher",
|
|
]
|
|
end
|