Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions Mythic/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@
"comment" : "A label or link related to Discord.",
"isCommentAutoGenerated" : true
},
"Discord Server" : {
"Discord server" : {
"comment" : "A link to the Mythic Discord server.",
"isCommentAutoGenerated" : true
},
Expand Down Expand Up @@ -4299,10 +4299,6 @@
"comment" : "A label or link to documentation.",
"isCommentAutoGenerated" : true
},
"Donate to the developer" : {
"comment" : "A button or link for making a donation to the developer.",
"isCommentAutoGenerated" : true
},
"Done" : {
"comment" : "A button label indicating completion of a process.",
"isCommentAutoGenerated" : true,
Expand Down Expand Up @@ -7274,6 +7270,10 @@
"comment" : "A label for the game card size setting.",
"isCommentAutoGenerated" : true
},
"Games compability" : {
"comment" : "A section in the \"Help\" menu that links to a Google Sheet detailing compatibility between games and Mythic.",
"isCommentAutoGenerated" : true
},
"Games in your library will appear here.\nIf there are games in your library and they're not appearing, try restarting Mythic." : {
"comment" : "An informative message in the library view with troubleshooting advice.",
"isCommentAutoGenerated" : true
Expand All @@ -7291,7 +7291,11 @@
"isCommentAutoGenerated" : true
},
"GitHub Repository" : {
"comment" : "A link label for the GitHub repository.",
"comment" : "A label for a link to the Mythic GitHub repository.",
"isCommentAutoGenerated" : true
},
"GitHub Sponsors" : {
"comment" : "A button label that links to the GitHub Sponsors page.",
"isCommentAutoGenerated" : true
},
"Grid" : {
Expand Down Expand Up @@ -9106,6 +9110,10 @@
}
}
},
"Ko-Fi" : {
"comment" : "A button that links to Ko-Fi to support the developer.",
"isCommentAutoGenerated" : true
},
"Launch Arguments" : {
"comment" : "A label for command-line arguments passed to games at launch.",
"isCommentAutoGenerated" : true,
Expand Down
48 changes: 11 additions & 37 deletions Mythic/MythicApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,46 +86,20 @@ struct MythicApp: App {
.disabled(isOnboardingPresented)
}

CommandGroup(replacing: .help){
Button("Website") {
if let websiteURL = URL(string: "https://getmythic.app/") {
NSWorkspace.shared.open(websiteURL)
}
}

Button("Documentation") {
if let docUrl = URL(string: "https://docs.getmythic.app/") {
NSWorkspace.shared.open(docUrl)
}
}
Button("Discord Server") {
if let discordInviteUrl = URL(string: "https://discord.gg/kQKdvjTVqh") {
NSWorkspace.shared.open(discordInviteUrl)
}
}
Button("GitHub Repository") {
if let githubUrl = URL(string: "https://github.com/MythicApp/Mythic") {
NSWorkspace.shared.open(githubUrl)
}
}
Button("Compatibility List") {
if let gameListURL = URL(string: "https://docs.google.com/spreadsheets/d/1W_1UexC1VOcbP2CHhoZBR5-8koH-ZPxJBDWntwH-tsc/") {
NSWorkspace.shared.open(gameListURL)
}
}
CommandGroup(replacing: .help) {
Link("Documentation", destination: URL(string: "https://docs.getmythic.app/")!)
Link("Discord server", destination: URL(string: "https://discord.gg/kQKdvjTVqh")!)
Link("Games compability",
destination: URL(string: "https://docs.google.com/spreadsheets/d/1W_1UexC1VOcbP2CHhoZBR5-8koH-ZPxJBDWntwH-tsc/")!)

Divider()

Button("Donate to the developer", systemImage: "heart.fill") {
if let donationUrl = URL(string: "https://ko-fi.com/vapidinfinity") {
NSWorkspace.shared.open(donationUrl)
}
Section("Support the project") {
Link("GitHub Sponsors", destination: URL(string: "https://github.com/sponsors/MythicApp")!)
Link("Ko-Fi", destination: URL(string: "https://ko-fi.com/vapidinfinity")!)
}

Button("Support the project", systemImage: "heart.fill") {
if let donationUrl = URL(string: "https://github.com/sponsors/MythicApp") {
NSWorkspace.shared.open(donationUrl)
}
Section("More") {
Link("GitHub repository", destination: URL(string: "https://github.com/MythicApp/Mythic")!)
Link("Website", destination: URL(string: "https://getmythic.app/")!)
}
}
}
Expand Down
Loading