Skip to content

Add codesigning and proper resources usage for macOS - #746

Merged
RubyNova merged 7 commits into
mainfrom
bugfix/codesigning
Nov 23, 2026
Merged

RubyNova merged 7 commits into
mainfrom
bugfix/codesigning

Conversation

@capnkenny

Copy link
Copy Markdown
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bunch of different changes:

  • Adds codesigning, notarization, and stapling via the publish-release pipeline
  • Adds support to codesign installs for macOS bundles via cmake --install
  • Reverts the resources lookup to be at Content/Resources
  • Turns off the Asset DB loading/creating/saving functionality (as it broke signing since the file is currently mutable)

Is there an open issue that this resolves? If so, please link it here.
Resolves #734

What is the current behavior? (You can also link to an open issue here)
VisualNovel crashes because it's not code signed

What is the new behavior (if this is a feature change)?
Published versions from a release should now launch as expected. From-source versions should launch locally but should not work when distributed (unless signed and notarized externally).

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Ish - AssetDB calls no longer work, and Persistence should not be used unless it is retooled to be generated before install occurs.

Other information:
My sanity may have broke with this one 🫠, but it should set up a (hopefully) good example for handling signing and notarization (on macOS' side) when we approach SDK-land.

@RubyNova RubyNova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just have some questions about the changes before it goes in if that's alright

Comment thread cmake/NovelRTBuildSystem.cmake Resolved
Comment thread Utilities/Paths.cpp Resolved
@RubyNova
RubyNova merged commit 80755bd into main Nov 23, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(macOS) Samples need codesigning

2 participants