1
0
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:
2023-02-01 18:23:59 +01:00
parent bbbbe7555b
commit c609022c9b
22 changed files with 425 additions and 3 deletions

17
phpmon-updater/main.swift Normal file
View 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)