mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 23:03:27 +01:00
[AltServer] Credits pymobiledevice3 for iOS 17 Developer Disk implementation
This commit is contained in:
@@ -347,7 +347,21 @@ private extension AppDelegate
|
||||
|
||||
@IBAction private func showAboutPanel(_ sender: NSMenuItem)
|
||||
{
|
||||
NSApplication.shared.orderFrontStandardAboutPanel(sender)
|
||||
let options: [NSApplication.AboutPanelOptionKey: Any]
|
||||
|
||||
if #available(macOS 12, *)
|
||||
{
|
||||
var credits = try! AttributedString(markdown: "Thanks to [pymobiledevice3](https://github.com/doronz88/pymobiledevice3) for their work on the iOS 17 Developer Disk format.")
|
||||
credits.font = .systemFont(ofSize: NSFont.smallSystemFontSize) // YOLO ignore Sendable warning.
|
||||
|
||||
options = [.credits: NSAttributedString(credits)]
|
||||
}
|
||||
else
|
||||
{
|
||||
options = [:]
|
||||
}
|
||||
|
||||
NSApplication.shared.orderFrontStandardAboutPanel(options: options)
|
||||
NSRunningApplication.current.activate(options: .activateIgnoringOtherApps)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user