Commit graph

5 commits

Author SHA1 Message Date
Wavesonics
540392a7a7 Move the sandbox first-run flow onto native AppKit
The Mac App Store build's first-run folder picker ran through AWT, which
claims NSApp before Tao installs its event loop — the app then runs on
with no window and no crash. Move the picker and its alerts into the
Objective-C helper so nothing touches AWT before nucleusApplication().

Localized dialog text now comes from SandboxStrings, which reads the
packaged Compose Resources .cvr value files directly; getString() can't
be called pre-Compose because resolving a ResourceEnvironment
initializes AWT for the density qualifier. Value files layer English
under each locale so a key Crowdin hasn't round-tripped falls back to
real text rather than its own name. SandboxStringsTest guards the format
coupling, since a Compose upgrade would otherwise only surface as raw key
names on an App Store first launch.

Also declare the clang flags as an input on compileMacosBookmarksLib so a
flags-only edit can't leave a stale dylib for signMacAppResources to sign
into the bundle, and document the sandboxed config and data paths in
SUPPORT.md.
2026-08-17 20:42:00 -07:00
Wavesonics
d4502dc227 MacOS sandboxing 2026-06-02 20:54:18 -07:00
Wavesonics
fd8f857001 Merge branch 'macos-sandboxing' into develop
# Conflicts:
#	common/src/commonMain/composeResources/values/strings_desktop.xml
2026-06-02 20:52:18 -07:00
Wavesonics
e5400b5cc5 Fix split preprocessor directives in HammerBookmarks.m
The #import/#include directives were split across two lines, which clang
rejects, breaking the compileMacosBookmarksLib task for App Store builds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 21:25:43 -07:00
Wavesonics
62e137df59 Implement sandbox bookmark handling for MacOS 2026-05-27 00:29:26 -07:00