Native macOS: run from a Game Mode app bundle, schedule title threads as user-interactive, and keep the HUD's commit current #537

Open
opened 2026-11-28 01:14:51 +00:00 by github-bot · 2 comments
Owner

@⁠AeroUp on GitHub · 2026-11-28 01:09 UTC · original

Three native-host gaps from the 27 November runs:

  • run-native.sh starts the bare host executable, so the process has no bundle Info.plist: macOS cannot see it as a game (LSApplicationCategoryType = games, LSSupportsGameMode) and Game Mode never engages in full screen.
  • The title's main thread (and the threads its CreateThread calls make through the host) run at the default QoS class, so the frame-driving threads are scheduled like ordinary work.
  • The window HUD can name a commit older than the binary: build.rs watches only the worktree's HEAD file, whose content and mtime do not change when a commit moves the branch ref, so Cargo does not rerun it and VICTORY_GIT_COMMIT stays at the previous commit (a run named e20c939 while the checkout was 41d6563).

The window title stays ScarlettMac Native | Series S (plus the build's short commit, as it is now).

**@⁠AeroUp** on GitHub · 2026-11-28 01:09 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/533) Three native-host gaps from the 27 November runs: - `run-native.sh` starts the bare host executable, so the process has no bundle `Info.plist`: macOS cannot see it as a game (`LSApplicationCategoryType` = games, `LSSupportsGameMode`) and Game Mode never engages in full screen. - The title's main thread (and the threads its `CreateThread` calls make through the host) run at the default QoS class, so the frame-driving threads are scheduled like ordinary work. - The window HUD can name a commit older than the binary: `build.rs` watches only the worktree's `HEAD` file, whose content and mtime do not change when a commit moves the branch ref, so Cargo does not rerun it and `VICTORY_GIT_COMMIT` stays at the previous commit (a run named e20c939 while the checkout was 41d6563). The window title stays `ScarlettMac Native | Series S` (plus the build's short commit, as it is now).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 01:14:51 +00:00
Author
Owner

@⁠Sheffy007 on GitHub · 2026-11-28 02:28 UTC · original

/claim

**@⁠Sheffy007** on GitHub · 2026-11-28 02:28 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/533#issuecomment-7232391479) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 02:29 UTC · original

Claimed by @⁠Sheffy007. Open a draft pull request with Refs #533 in its description within 24 hours, or the claim expires.

**@⁠github-actions[bot]** on GitHub · 2026-11-28 02:29 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/533#issuecomment-7232393505) Claimed by @⁠Sheffy007. Open a draft pull request with `Refs #533` in its description within 24 hours, or the claim expires.
This discussion has been locked. Commenting is limited to contributors.
No description provided.