From f8f101c8f64fb41e59aea5c45f44aab7ca7aceb7 Mon Sep 17 00:00:00 2001 From: NotNite Date: Sun, 6 Oct 2024 23:51:26 -0400 Subject: [PATCH] Hopefully jank fix for macOS --- .github/workflows/build.yml | 6 +++++- .gitignore | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cb69f4..6be1b6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,11 @@ jobs: - name: Build run: cargo build --bin moonlight-installer --release - name: Bundle - run: cargo bundle --bin moonlight-installer --release + run: | + cd ./crates/moonlight-installer + cargo bundle --bin moonlight-installer --release + cd ../.. + cp -r ./crates/moonlight-installer/target/bundle/osx ./target/release/bundle - name: Apply ad-hoc signature run: codesign --force --deep -s - "target/release/bundle/osx/moonlight installer.app" - name: Create DMG diff --git a/.gitignore b/.gitignore index 212de44..048c68b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/target +target/ .DS_Store \ No newline at end of file