From a9d50f3a14c4898273ac6526042904269f316875 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 3 May 2024 21:40:46 -0700 Subject: [PATCH] Make some things private in UserApp. --- AppKitExtras/Sources/AppKitExtras/UserApp.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AppKitExtras/Sources/AppKitExtras/UserApp.swift b/AppKitExtras/Sources/AppKitExtras/UserApp.swift index 1c205094e..dfc21d96e 100644 --- a/AppKitExtras/Sources/AppKitExtras/UserApp.swift +++ b/AppKitExtras/Sources/AppKitExtras/UserApp.swift @@ -15,10 +15,7 @@ import AppKit @MainActor public final class UserApp { public let bundleID: String - public var icon: NSImage? = nil public var existsOnDisk = false - public var path: String? = nil - public var runningApplication: NSRunningApplication? = nil public var isRunning: Bool { @@ -29,6 +26,10 @@ import AppKit return false } + private var icon: NSImage? = nil + private var path: String? = nil + private var runningApplication: NSRunningApplication? = nil + public init(bundleID: String) { self.bundleID = bundleID