Ariver
2026-06-11 3d8d37306e39db5c8eb41fafd95a13112d573f62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import AppKit
import AlignerCore
 
let bundlePathSummary = DevelopmentDiagnostics.pathSummary(Bundle.main.bundlePath)
let executablePathSummary = DevelopmentDiagnostics.pathSummary(Bundle.main.executablePath)
DevelopmentDiagnostics.logSync("app.main.start", [
    "argumentCount": ProcessInfo.processInfo.arguments.count,
    "argumentSummary": DevelopmentDiagnostics.argumentSummary(ProcessInfo.processInfo.arguments),
    "bundlePathKind": bundlePathSummary["locationKind"],
    "bundlePathBasename": bundlePathSummary["basename"],
    "bundlePathHash": bundlePathSummary["fingerprint"],
    "executablePathKind": executablePathSummary["locationKind"],
    "executablePathBasename": executablePathSummary["basename"],
    "executablePathHash": executablePathSummary["fingerprint"]
])
 
let app = NSApplication.shared
let delegate = AlignerApplicationDelegate()
app.delegate = delegate
app.setActivationPolicy(.regular)
DevelopmentDiagnostics.logSync("app.main.beforeRun", [
    "activationPolicy": app.activationPolicy().rawValue
])
app.run()