Files
CommandTabFree/vendor/AppCenter/Package.swift
lwouis 9147a4a864 feat: introducing alt-tab pro!
BREAKING CHANGE: announcement: https://github.com/lwouis/alt-tab-macos/discussions/5533

* improved performance, especially switcher responsiveness
* reduced battery usage even more
* reduced ram usage (closes #5450, closes #5539, closes #5627)
* reduced app size even more
* polished many aspects of the ui; align more with liquid glass
* better handle "ghost" windows (closes #5509)
* fix issue with wrong window order (closes #5492)
* escape closes the switcher on tahoe (closes #5585)
* improve search matches (closes #5488)
* localizations trimmed and reviewed entirely (closes #5583)
* highlight matching app icons when searching, in addition to text
* better settings import/export
* reworked "send feedback" experience
* reworked exceptions ui (closes #5482)
* per-shortcut settings (closes #5313)
* rework about window
2026-05-21 10:21:25 +02:00

94 lines
4.6 KiB
Swift

// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "AppCenter",
platforms: [.macOS(.v10_13)],
products: [
// Static (matching Microsoft's own Package.swift). Consumers `import AppCenter` /
// `import AppCenterCrashes` and the linker pulls the .o files directly into the
// host binary. The host target must list these with Embed = "Do Not Embed".
.library(name: "AppCenter", type: .static, targets: ["AppCenter"]),
.library(name: "AppCenterCrashes", type: .static, targets: ["AppCenterCrashes"]),
],
targets: [
.target(
name: "AppCenter",
path: "Sources/AppCenter",
cSettings: [
.define("APP_CENTER_C_VERSION", to: "\"4.3.0\""),
.define("APP_CENTER_C_BUILD", to: "\"1\""),
.headerSearchPath("include"),
.headerSearchPath("Internals"),
.headerSearchPath("Internals/DelegateForwarder"),
.headerSearchPath("Internals/HttpClient"),
.headerSearchPath("Internals/HttpClient/Util"),
.headerSearchPath("Internals/Ingestion"),
.headerSearchPath("Internals/Ingestion/Util"),
.headerSearchPath("Internals/Context/UserId"),
.headerSearchPath("Internals/Context/Device"),
.headerSearchPath("Internals/Context/Session"),
.headerSearchPath("Internals/Util"),
.headerSearchPath("Internals/Storage"),
.headerSearchPath("Internals/Channel"),
.headerSearchPath("Internals/Model"),
.headerSearchPath("Internals/Model/Util"),
.headerSearchPath("Internals/Model/CommonSchema"),
.headerSearchPath("Internals/Model/Properties"),
.headerSearchPath("Internals/Vendor/Reachability"),
.headerSearchPath("Model"),
],
linkerSettings: [
.linkedLibrary("z"),
.linkedLibrary("sqlite3"),
.linkedFramework("Foundation"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("AppKit"),
.linkedFramework("CoreTelephony"),
]
),
.target(
name: "AppCenterCrashes",
dependencies: ["AppCenter", "PLCrashReporter"],
path: "Sources/AppCenterCrashes",
cSettings: [
.headerSearchPath("include"),
.headerSearchPath("WrapperSDKUtilities"),
.headerSearchPath("Internals"),
.headerSearchPath("Internals/Util"),
.headerSearchPath("Internals/Model"),
.headerSearchPath("Model"),
.headerSearchPath("../AppCenter/include"),
.headerSearchPath("../AppCenter/Internals"),
.headerSearchPath("../AppCenter/Internals/DelegateForwarder"),
.headerSearchPath("../AppCenter/Internals/HttpClient"),
.headerSearchPath("../AppCenter/Internals/HttpClient/Util"),
.headerSearchPath("../AppCenter/Internals/Ingestion"),
.headerSearchPath("../AppCenter/Internals/Ingestion/Util"),
.headerSearchPath("../AppCenter/Internals/Context/UserId"),
.headerSearchPath("../AppCenter/Internals/Context/Device"),
.headerSearchPath("../AppCenter/Internals/Context/Session"),
.headerSearchPath("../AppCenter/Internals/Util"),
.headerSearchPath("../AppCenter/Internals/Storage"),
.headerSearchPath("../AppCenter/Internals/Channel"),
.headerSearchPath("../AppCenter/Internals/Model"),
.headerSearchPath("../AppCenter/Internals/Model/Util"),
.headerSearchPath("../AppCenter/Internals/Model/CommonSchema"),
.headerSearchPath("../AppCenter/Internals/Model/Properties"),
.headerSearchPath("../AppCenter/Internals/Vendor/Reachability"),
.headerSearchPath("../AppCenter/Model"),
// PLCrashReporter public headers — AppCenterCrashes uses `#import "CrashReporter.h"` (quoted).
.headerSearchPath("../../Frameworks/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers"),
],
linkerSettings: [
.linkedFramework("Foundation"),
.linkedFramework("AppKit"),
]
),
.binaryTarget(
name: "PLCrashReporter",
path: "Frameworks/CrashReporter.xcframework"
),
]
)