Add SwiftUI + Network Extension (LibXray/hev), parse Clash Meta YAML from subscription URLs into vless/trojan/hy2 share links, keep the selected server on connect, and ship Navis-3.8.2.13.ipa with versioned changelog. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
366 B
Swift
18 lines
366 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct NavisApp: App {
|
|
@StateObject private var model = AppModel()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
.environmentObject(model)
|
|
.onAppear {
|
|
model.refresh()
|
|
Task { await model.vpn.prepare() }
|
|
}
|
|
}
|
|
}
|
|
}
|