summaryrefslogtreecommitdiff
path: root/dev/macos/Info.plist
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 21:23:22 -0300
committerGabriel Schneider <[email protected]>2026-11-18 21:43:03 -0300
commitf9a3179542012ec1a700e2020ac9f616b819f972 (patch)
tree73f4cb241876196331f7b28c9f773301bd341a7f /dev/macos/Info.plist
parenta75956bb3443aa8aac778d2ff12c42f5ef99e0e9 (diff)
downloadpardes-f9a3179542012ec1a700e2020ac9f616b819f972.tar.gz
pardes-f9a3179542012ec1a700e2020ac9f616b819f972.zip
dev: the frontends (dev/tui, dev/gui, the macOS app's Swift and resources in dev/macos), host_io, file_watch, fonts, the lsp client and Scip, Art, jump_trail, glide and vaxis_input into dev/ (the reorganisation's tree, step 2b): module `dev` (dev/root.zig) beside the core and the runtime, each naming the others; the window wired into it, sketchbook's devices imported as `sketchbook` (its `dev` would be ours); pardes.zig keeps its re-exports (host_io, file_watch, glide, fonts) so every caller reads as before; core-test and shell-test run the devices' test program too, so the same tests run (the ledger, tui and gui); nothing else changes: frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/macos/Info.plist')
-rw-r--r--dev/macos/Info.plist76
1 files changed, 76 insertions, 0 deletions
diff --git a/dev/macos/Info.plist b/dev/macos/Info.plist
new file mode 100644
index 00000000..3cb2e488
--- /dev/null
+++ b/dev/macos/Info.plist
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleName</key>
+ <string>pardes</string>
+ <key>CFBundleIdentifier</key>
+ <string>cafe.0x4200.pardes</string>
+ <key>CFBundleExecutable</key>
+ <string>pardes</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <!-- build.zig stamps the package version into this placeholder. The build
+ number below increases with releases for Launch Services. -->
+ <key>CFBundleShortVersionString</key>
+ <string>0.0.0</string>
+ <key>CFBundleVersion</key>
+ <string>3</string>
+ <!-- No extension: Launch Services appends .icns and looks in
+ Contents/Resources, where build.zig installs the pardes.icns
+ src/macos/icon.swift draws. Without this key the Dock shows the blank
+ generic app even though the icon is sitting right there in the bundle. -->
+ <key>CFBundleIconFile</key>
+ <string>pardes</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+ <!-- build.zig stamps this from macos_min_version, which is the single
+ source of truth, into a copy of this file; the key must exist for
+ plutil's -replace to have something to replace. -->
+ <key>LSMinimumSystemVersion</key>
+ <string>13.0</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.developer-tools</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <!-- Both false, and neither is boilerplate: there are live ptys with child
+ processes attached and unsaved buffers with no autosave behind them, so
+ a process macOS killed or quietly relaunched would lose work and orphan
+ shells. -->
+ <key>NSSupportsAutomaticTermination</key>
+ <false/>
+ <key>NSSupportsSuddenTermination</key>
+ <false/>
+ <!-- What Finder's "Open With" offers pardes for. Editor rather than Viewer
+ because Save is a builtin: pardes writes the files it opens. A folder
+ is a legitimate target too — Look on a directory opens a directory
+ pane, which is how you navigate in acme. -->
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>Text Document</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>public.plain-text</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>Folder</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>public.folder</string>
+ </array>
+ </dict>
+ </array>
+</dict>
+</plist>