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

🏗 Add instructions for next step

This commit is contained in:
2023-02-02 02:02:21 +01:00
parent 202f9ed9d1
commit 1a17a275d4

View File

@ -147,6 +147,12 @@ class AppUpdateChecker {
text: "updater.alerts.buttons.install".localized,
action: { vc in
print(Self.latestCaskFileContents)
// TODO: Find the bundle asset named 'PHP Monitor Self-Updater.app'
// TODO: Move the self-updater to ~/.config/phpmon
// TODO: Write the manifest file to disk (~/.config/phpmon/updater/update.json)
// TODO: Launch the updater app
let sha256 = system("echo \"\(Self.latestCaskFileContents)\" | grep sha256")
.trimmingCharacters(in: .whitespacesAndNewlines)
.replacingOccurrences(of: "'", with: "")