Make some things private in UserApp.

This commit is contained in:
Brent Simmons 2024-05-03 21:40:46 -07:00
parent 02d8005fa7
commit a9d50f3a14
1 changed files with 4 additions and 3 deletions

View File

@ -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