diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7bf735..a4846c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - "*" + - "**" jobs: build: @@ -14,7 +14,7 @@ jobs: config: - name: Windows os: windows-latest - + - name: macOS os: macos-latest @@ -34,15 +34,14 @@ jobs: runs-on: ${{ matrix.config.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Build the mod uses: geode-sdk/build-geode-mod@main with: - sdk: nightly combine: true target: ${{ matrix.config.target }} - + package: name: Package builds runs-on: ubuntu-latest @@ -52,7 +51,7 @@ jobs: - uses: geode-sdk/build-geode-mod/combine@main id: build - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: Build Output - path: ${{ steps.build.outputs.build-output }} + path: ${{ steps.build.outputs.build-output }} \ No newline at end of file diff --git a/src/EditorUI.cpp b/src/EditorUI.cpp index 9f1d7da..8388c77 100644 --- a/src/EditorUI.cpp +++ b/src/EditorUI.cpp @@ -16,6 +16,8 @@ struct $modify(EditorPauseLayer) { this->addEventListener( KeybindSettingPressedEventV3(Mod::get(), "unpause-level"), [this](Keybind const& id, bool down, bool repeat, double timestamp) { + // fix for spacebar crash on mac (robtop use after free) + auto ref = Ref(this); if (!repeat && down) { this->onResume(nullptr); return ListenerResult::Stop;