mirror of
https://github.com/neon443/DesktopGoose2.git
synced 2026-11-30 12:44:52 +00:00
minor refactoring
This commit is contained in:
5 files changed
+32
-20
No files matched your search
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// AppDelegate.swift
|
||||
// s
|
||||
// DesktopDuck
|
||||
//
|
||||
// Created by neon443 on 11/09/2025.
|
||||
//
|
||||
@@ -9,12 +9,14 @@ import Cocoa
|
||||
|
||||
@main
|
||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
var gooseWindow: GooseWindow?
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||
// Insert code here to initialize your application
|
||||
// let window = NSWindow(contentRect: NSScreen.main!.frame, styleMask: .borderless, backing: .buffered, defer: false)
|
||||
// window.backgroundColor = .init(srgbRed: 1, green: 1, blue: 1, alpha: 0.1)
|
||||
// window.orderFront(nil)
|
||||
let x = GooseWindow()
|
||||
gooseWindow = GooseWindow()
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ aNotification: Notification) {
|
||||
|
||||