feat: turn Sst into a regular Mac app with settings, menus and menu bar item
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
|
||||
/// The one place that knows the app's name, so renaming it later is a one-file change.
|
||||
enum AppIdentity {
|
||||
static let displayName = "Sst"
|
||||
static let supportFolderName = "Sst"
|
||||
static let brandCaption = "SST · FIELD RECORDER"
|
||||
}
|
||||
|
||||
enum AppPaths {
|
||||
static var support: URL {
|
||||
FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask)[0]
|
||||
.appending(path: AppIdentity.supportFolderName, directoryHint: .isDirectory)
|
||||
}
|
||||
static var dictionary: URL { support.appending(path: "dictionary.txt") }
|
||||
static var history: URL { support.appending(path: "history.json") }
|
||||
}
|
||||
Reference in New Issue
Block a user