Skip to content

Fix PoE1 3.29 updater and macOS display scaling - #3

Open
ocombe wants to merge 2 commits into
stevschmid:masterfrom
ocombe:codex/fix-runtime-lua-updates
Open

Fix PoE1 3.29 updater and macOS display scaling#3
ocombe wants to merge 2 commits into
stevschmid:masterfrom
ocombe:codex/fix-runtime-lua-updates

Conversation

@ocombe

@ocombe ocombe commented Jul 26, 2026

Copy link
Copy Markdown

Summary

  • bump the bundled PoE1 submodule/version from v2.63.0 to v2.66.2 so new packaged apps include runtime/lua/sha2.lua
  • allow upstream runtime/lua/*.lua files through the macOS update manifest as a normal updater-managed pseudo part under App Support src/lua
  • prepend App Support src/lua to LUA_PATH while keeping bundled Resources/lua as the fallback
  • run the macOS bundle without the Retina/DPI_AWARE renderer path to avoid the external-display startup bug where PoB renders into the lower-left quadrant until the window is dragged across monitors
  • update the macOS port docs for both runtime Lua updates and the DPI workaround

Fixes #2.

Validation

  • luajit syntax check for macos/mac_entry.lua
  • Lua harness verifies the manifest filter rewrites lua/sha2.lua to runtime_lua and drops non-Lua runtime files / Windows binaries
  • git diff --check
  • cmake -B build -DCMAKE_BUILD_TYPE=Release
  • cmake --build build
  • cmake --install build --prefix , verified Resources/lua/sha2.lua and CFBundleShortVersionString=2.66.2
  • macos/sign.sh /Path\ of\ Building.app
  • codesign --verify --deep --strict --verbose=2 /Path\ of\ Building.app
  • installed locally to /Applications/Path of Building.app, verified codesign, CFBundleShortVersionString=2.66.2, NSHighResolutionCapable=false
  • fresh launch from saved external-monitor position renders full-window instead of lower-left quadrant

ocombe added 2 commits July 26, 2026 11:34
Bump the bundled PoE1 tree to v2.66.2 so sha2.lua is present in newly packaged apps.

Rewrite runtime/lua manifest entries to a macOS-only updater part under App Support and search that Lua path before the bundled fallback.
Disable the macOS high-resolution backing surface and filter PoB's DPI_AWARE renderer flag in the wrapper. This avoids the external-display startup state where SimpleGraphic renders into the lower-left quadrant until the window is dragged across monitors.
@ocombe ocombe changed the title Fix PoE1 sha2 runtime module after in-app updates Fix PoE1 3.29 updater and macOS display scaling Jul 26, 2026
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.

Sha2 related error when updating PoB

1 participant