mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 20:10:08 +02:00
✨ Add target and app for self-updater
This commit is contained in:
17
phpmon-updater/main.swift
Normal file
17
phpmon-updater/main.swift
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// AppDelegate.swift
|
||||
// PHP Monitor Updater
|
||||
//
|
||||
// Created by Nico Verbruggen on 01/02/2023.
|
||||
// Copyright © 2023 Nico Verbruggen. All rights reserved.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
// 1
|
||||
let app = NSApplication.shared
|
||||
let delegate = AppDelegate()
|
||||
app.delegate = delegate
|
||||
|
||||
// 2
|
||||
_ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv)
|
Reference in New Issue
Block a user