LCE-Emerald-Launcher/Formula/lce-emerald-launcher.rb
Edward? 19380b0585
Some checks failed
Nix / build (push) Has been cancelled
Feat: Adding homebrew cask and formula method of install (#159)
2026-07-18 19:59:19 +03:00

20 lines
653 B
Ruby

class LceEmeraldLauncher < Formula
desc "Minecraft Legacy Console Edition Launcher"
homepage "https://github.com/LCE-Hub/LCE-Emerald-Launcher-cask"
url "https://github.com/LCE-Hub/LCE-Emerald-Launcher/releases/download/v#{version}/LCE.Emerald.Launcher_#{version}_amd64.AppImage"
sha256 "541271f927249fdfc4ada03b72110cdacaef388ed33b7d75724545145b8c412f"
version "1.5.0"
license "GPL-3.0-only"
depends_on :linux
def install
# Rename and install the AppImage
bin.install "LCE.Emerald.Launcher_#{version}_amd64.AppImage" => "lce-emerald-launcher"
end
test do
assert_predicate bin/"lce-emerald-launcher", :exist?
end
end