next test build
This commit is contained in:
@@ -6,9 +6,20 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
#if os(macOS)
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
@main
|
||||
struct iKeyMonApp: App {
|
||||
init() {
|
||||
#if os(macOS)
|
||||
if let customIcon = NSImage(named: "AppIcon") {
|
||||
NSApplication.shared.applicationIconImage = customIcon
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
MainView()
|
||||
|
||||
Reference in New Issue
Block a user