mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
🐛 Prevent upgrade file removal from crashing the app
This commit is contained in:
@ -187,7 +187,7 @@ class AppUpdater {
|
||||
}
|
||||
|
||||
Log.info("The `upgrade.success` file was found! An update was installed. Cleaning up...")
|
||||
try! FileSystem.remove("~/.config/phpmon/updater/upgrade.success")
|
||||
try? FileSystem.remove("~/.config/phpmon/updater/upgrade.success")
|
||||
}
|
||||
|
||||
// Cleanup the previous updater
|
||||
|
Reference in New Issue
Block a user