1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

👌 Create the updater directory to prevent crash

This commit is contained in:
2023-02-04 14:47:19 +01:00
parent f8642b21e6
commit 121a227510

View File

@ -174,6 +174,8 @@ class AppUpdateChecker {
private static func installUpdate() {
let updater = Bundle.main.resourceURL!.path + "/PHP Monitor Self-Updater.app"
system_quiet("mkdir -p ~/.config/phpmon/updater 2> /dev/null")
let updaterDirectory = "~/.config/phpmon/updater"
.replacingOccurrences(of: "~", with: NSHomeDirectory())