OpenTalon / app · opentalon.ai / native / Package.swift
| 1 | // swift-tools-version: 6.0 |
| 2 | import PackageDescription |
| 3 | |
| 4 | let package = Package( |
| 5 | name: "OpenTalonNative", |
| 6 | platforms: [.macOS(.v14)], |
| 7 | dependencies: [ |
| 8 | .package(path: "CompanionCore"), |
| 9 | .package(url: "https://github.com/sparkle-project/Sparkle", exact: "2.10.1") |
| 10 | ], |
| 11 | targets: [ |
| 12 | .executableTarget( |
| 13 | name: "OpenTalon", |
| 14 | dependencies: ["CompanionCore", .product(name: "Sparkle", package: "Sparkle")], |
| 15 | linkerSettings: [.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "@executable_path/../Frameworks"])] |
| 16 | ) |
| 17 | ], |
| 18 | swiftLanguageModes: [.v5] |
| 19 | ) |