mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Add support for MarsEdit 5.
This commit is contained in:
1 parent
e1df391278
commit
233e0a1064
1 file changed
+4
-2
@@ -15,7 +15,7 @@ final class SendToMarsEditCommand: SendToCommand {
|
||||
let title = "MarsEdit"
|
||||
let image: RSImage? = AppAssets.marsEditIcon
|
||||
|
||||
private let marsEditApps = [UserApp(bundleID: "com.red-sweater.marsedit4"), UserApp(bundleID: "com.red-sweater.marsedit")]
|
||||
private let marsEditApps = [UserApp(bundleID: "com.red-sweater.marsedit5"), UserApp(bundleID: "com.red-sweater.marsedit4"), UserApp(bundleID: "com.red-sweater.marsedit")]
|
||||
|
||||
func canSendObject(_ object: Any?, selectedText: String?) -> Bool {
|
||||
appToUse() != nil
|
||||
@@ -56,7 +56,9 @@ private extension SendToMarsEditCommand {
|
||||
|
||||
func appToUse() -> UserApp? {
|
||||
|
||||
marsEditApps.forEach{ $0.updateStatus() }
|
||||
for app in marsEditApps {
|
||||
app.updateStatus()
|
||||
}
|
||||
|
||||
for app in marsEditApps {
|
||||
if app.isRunning {
|
||||
|
||||
Reference in new issue
Block a user