Skip to content

Commit c097307

Browse files
committed
reduce: orphaned resources — 51 dead localization keys, unused icon bundle, vestigial bridge header, handler-less URL scheme registration
- Localizable.xcstrings: remove 51 of 944 keys with zero String(localized:) references anywhere in the repo. Mix of cmux-branded leftovers (dialog.quitCmux.*, menu.quitCmux, browser.proceedInCmux, menu.app.openCmuxSettingsFile) and keys superseded by renamed successors (alert.moveTab.* replaced dialog.moveTab.*, resetPalette.subtitleV2 replaced .subtitle, sidebar.remote.subtitleFallback replaced .subtitle, etc.). Independently re-verified each key before removal; cli.claude-teams.usage was a false positive and stays. - AppIcon.icon/: Icon Composer bundle present only as an inert Xcode navigator file reference — no PBXBuildFile, no Resources build phase entry; ASSETCATALOG_COMPILER_APPICON_NAME points at Assets.xcassets appiconsets - ghostty.h: 4-line wrapper from the pre-GhosttyKit bridging approach; the live bridge is programa-Bridging-Header.h (@import GhosttyKit) and nothing includes this file - Info.plist: drop CFBundleURLTypes registering Programa as a Default-rank http/https handler — the only URL entry point filters to isFileURL and silently drops web URLs, so selecting Programa as default browser would swallow links; registration has had no handler since the cmux-era commit that added it
1 parent dc961ae commit c097307

6 files changed

Lines changed: 0 additions & 624 deletions

File tree

-593 KB
Binary file not shown.

AppIcon.icon/icon.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

GhosttyTabs.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@
255255
A5001544 /* TerminalImageTransfer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TerminalImageTransfer.swift; sourceTree = "<group>"; };
256256
A5001545 /* TerminalSSHSessionDetector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TerminalSSHSessionDetector.swift; sourceTree = "<group>"; };
257257
A5001016 /* GhosttyKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = GhosttyKit.xcframework; sourceTree = "<group>"; };
258-
A5001017 /* ghostty.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ghostty.h; sourceTree = "<group>"; };
259258
A5001018 /* programa-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "programa-Bridging-Header.h"; sourceTree = "<group>"; };
260259
A5001019 /* TerminalController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TerminalController.swift; sourceTree = "<group>"; };
261260
A5FF0004 /* TerminalController+BrowserAutomation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "TerminalController+BrowserAutomation.swift"; sourceTree = "<group>"; };
@@ -318,7 +317,6 @@
318317
C0B4D9B1A1B2C3D4E5F60718 /* UpdatePillUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpdatePillUITests.swift; sourceTree = "<group>"; };
319318
E6FA9085A1B2C3D4E5F60718 /* WorkspaceDescriptionUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WorkspaceDescriptionUITests.swift; sourceTree = "<group>"; };
320319
A5001101 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
321-
IC000002 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder; path = AppIcon.icon; sourceTree = "<group>"; };
322320
B2E7294509CC42FE9191870E /* xterm-ghostty */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ghostty/terminfo/78/xterm-ghostty"; sourceTree = "<group>"; };
323321
C1ADE00001A1B2C3D4E5F719 /* claude */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "Resources/bin/claude"; sourceTree = SOURCE_ROOT; };
324322
D1BEF00001A1B2C3D4E5F719 /* open */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "Resources/bin/open"; sourceTree = SOURCE_ROOT; };
@@ -489,9 +487,7 @@
489487
B9000003A1B2C3D4E5F60719 /* CLI */,
490488
087C454FFF74443AB06942C3 /* Resources */,
491489
A5001101 /* Assets.xcassets */,
492-
IC000002 /* AppIcon.icon */,
493490
A5001016 /* GhosttyKit.xcframework */,
494-
A5001017 /* ghostty.h */,
495491
A5001018 /* programa-Bridging-Header.h */,
496492
3196C9C2D01F054C1D3385DD /* programaUITests */,
497493
F1000003A1B2C3D4E5F60718 /* programaTests */,

Resources/Info.plist

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,6 @@
4747
<string>A program running within Programa would like to use your microphone.</string>
4848
<key>NSCameraUsageDescription</key>
4949
<string>A program running within Programa would like to use your camera.</string>
50-
<key>CFBundleURLTypes</key>
51-
<array>
52-
<dict>
53-
<key>CFBundleTypeRole</key>
54-
<string>Viewer</string>
55-
<key>CFBundleURLName</key>
56-
<string>$(PRODUCT_BUNDLE_IDENTIFIER).web</string>
57-
<key>LSHandlerRank</key>
58-
<string>Default</string>
59-
<key>CFBundleURLSchemes</key>
60-
<array>
61-
<string>http</string>
62-
<string>https</string>
63-
</array>
64-
</dict>
65-
</array>
6650
<key>NSPrincipalClass</key>
6751
<string>NSApplication</string>
6852
<key>NSAppleScriptEnabled</key>

0 commit comments

Comments
 (0)