Skip to content

Commit

Permalink
whoops fixed binary
Browse files Browse the repository at this point in the history
  • Loading branch information
raphtlw committed Jan 25, 2022
1 parent 258c999 commit 81e1809
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --bin cli --release --verbose
run: cargo build --bin m1necraft --release --verbose
- name: Move & rename
shell: bash
run: mv target/release/m1necraft ./m1necraft-$RUNNER_OS-$RUNNER_ARCH
Expand Down
17 changes: 17 additions & 0 deletions Formula/m1necraft.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class M1necraft < Formula
desc "Patch Minecraft launcher to run Minecraft natively on ARM."
homepage "https://m1necraft.vercel.app"
url "https://github.com/raphtlw/m1necraft/tarball/v0.1.0"
sha256 "4dc57244ac7971c0af5da30b5787d7c20803393decb955d8af915a8d95049f8d"
license "GPLv3"

depends_on "rust" => :build

def install
system "cargo", "install", "--bin", "m1necraft", *std_cargo_args
end

test do
system "#{bin}/m1necraft", "--help"
end
end

0 comments on commit 81e1809

Please sign in to comment.