mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:24:32 +00:00
- Replace direct script invocation with `$PROLE_HOME/env.sh` wrapper for consistent environment setup across all components. - Update runtime processes to dynamically resolve `$PROLE_HOME` or fallback to `$HOME/.prole`. - Deprecate `init-port-forwards.sh` script bundling; remove from LaunchAgentManager and build system. - Overhaul `env.sh` generation to include execution capability, customizable paths, and improved error handling. - Standardize app name and paths to "Prole Tools" across all files and UI elements. - Adjust build output to align with new structure, including executable naming and resource packaging.
37 lines
1.1 KiB
Swift
37 lines
1.1 KiB
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "ProleApp",
|
|
platforms: [
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
.executable(name: "Prole", targets: ["Prole"]) // App binary name
|
|
],
|
|
dependencies: [
|
|
// NozeIO SwiftNIO IRC Client
|
|
.package(url: "https://github.com/NozeIO/swift-nio-irc-client", branch: "main"),
|
|
// RoyalVNCKit via SwiftPM instead of local xcframework
|
|
.package(url: "https://github.com/royalapplications/royalvnc", branch: "main")
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "Prole",
|
|
dependencies: [
|
|
.product(name: "IRC", package: "swift-nio-irc-client"),
|
|
.product(name: "RoyalVNCKit", package: "royalvnc")
|
|
],
|
|
path: "Sources",
|
|
resources: [
|
|
// The build script separately copies resources into the app bundle; no SPM resources here.
|
|
],
|
|
linkerSettings: [
|
|
.linkedFramework("AppKit"),
|
|
.linkedFramework("Carbon"),
|
|
.linkedFramework("Network")
|
|
]
|
|
)
|
|
]
|
|
)
|