vibetunnel/Package.swift
Peter Steinberger f14ad81733 Add cleanup on startup setting and fix build issues
- Add "Clean up old sessions on startup" toggle in Advanced settings (defaults to ON)
- Trigger cleanup API automatically after server starts if enabled
- Fix settings window activation for menu bar apps by temporarily switching activation policy
- Enhanced window focusing with deminiaturize and floating level
- Auto-restore menu bar mode when settings window closes
- Change "Purge All" button to use borderedProminent style with red tint
- Fix build errors: MainActor isolation in SettingsOpener
- Fix Package.swift to exclude all non-source files (xcconfig, assets, etc.)
- Move debug mode toggle to last position in Advanced settings
2025-06-16 18:51:35 +02:00

52 lines
1.6 KiB
Swift

// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "VibeTunnel",
platforms: [
.macOS(.v14),
.iOS(.v17)
],
products: [
.library(
name: "VibeTunnel",
targets: ["VibeTunnel"]
)
],
dependencies: [
.package(url: "https://github.com/realm/SwiftLint.git", from: "0.59.1"),
.package(url: "https://github.com/nicklockwood/SwiftFormat.git", from: "0.56.4"),
.package(url: "https://github.com/apple/swift-http-types.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.0")
],
targets: [
.target(
name: "VibeTunnel",
dependencies: [
.product(name: "HTTPTypes", package: "swift-http-types"),
.product(name: "HTTPTypesFoundation", package: "swift-http-types"),
.product(name: "Logging", package: "swift-log")
],
path: "VibeTunnel",
exclude: [
"Info.plist",
"VibeTunnel.entitlements",
"Local.xcconfig",
"Local.xcconfig.template",
"Shared.xcconfig",
"version.xcconfig",
"app-config.plist",
"sparkle-public-ed-key.txt",
"Resources",
"Assets.xcassets",
"AppIcon.icon",
".DS_Store"
]
),
.testTarget(
name: "VibeTunnelTests",
dependencies: ["VibeTunnel"],
path: "VibeTunnelTests"
)
]
)