Fix pipeline shutdown hang, delete path safety, organize folder scoping, journal duplication; add PHOTON.app menu-bar launcher
- Stop/pause could block the downscale thread for up to 60s and throw an unhandled exception on shutdown; queue puts are now stop-aware - /api/delete_photo(s) now refuse to delete anything outside the configured photo folder - organize_alias used a stale startup-time default folder instead of the folder actually being scanned/tagged - journal_write is append-only, so retagging a photo left stale duplicate lines that inflated category counts and search results; reads now dedupe by path and the journal is compacted once on startup - batch delete now does one journal rewrite for the whole set instead of one per file - add PHOTON.app: a signed, dependency-free Swift menu-bar app that starts server.py in the background (or attaches to an already-running instance), opens the console, and exposes Open/Restart/Stop/Show Log/Quit Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
28
PHOTON.app/Contents/Info.plist
Normal file
28
PHOTON.app/Contents/Info.plist
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>CFBundleExecutable</key>
|
||||
<string>PHOTON</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>local.photon.console</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>PHOTON</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>PHOTON</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user