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

Add button that redirects to wiki

This commit is contained in:
2024-11-22 18:23:28 +01:00
parent 48bb782e33
commit d2cd387c18
2 changed files with 5 additions and 3 deletions

View File

@ -111,6 +111,10 @@ struct Constants {
static let FrequentlyAskedQuestions = URL(
string: "https://phpmon.app/faq"
)!
static let WikiPhpUnavailable = URL(
string: "https://phpmon.app/wiki/php-unavailable"
)!
static let DonationPayment = URL(
string: "https://phpmon.app/sponsor/now"

View File

@ -291,9 +291,7 @@ struct PhpVersionManagerView: View {
.font(.system(size: 11))
.foregroundColor(.gray)
HelpButton(action: {
// Show an alert that displays information about the missing formula
// and what can be done to fix this particular issue.
// Running `brew tap shivammathur/php` generally works, I think.
NSWorkspace.shared.open(Constants.Urls.WikiPhpUnavailable)
})
}
}