diff --git a/OpenInTerminal/Icons.xcassets/Emacs.imageset/Contents.json b/OpenInTerminal/Icons.xcassets/Emacs.imageset/Contents.json new file mode 100644 index 0000000..60affb4 --- /dev/null +++ b/OpenInTerminal/Icons.xcassets/Emacs.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "Emacs.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/OpenInTerminal/Icons.xcassets/Emacs.imageset/Emacs.png b/OpenInTerminal/Icons.xcassets/Emacs.imageset/Emacs.png new file mode 100644 index 0000000..06fe30e Binary files /dev/null and b/OpenInTerminal/Icons.xcassets/Emacs.imageset/Emacs.png differ diff --git a/OpenInTerminalCore/SupportedApps.swift b/OpenInTerminalCore/SupportedApps.swift index 5e99803..9979627 100644 --- a/OpenInTerminalCore/SupportedApps.swift +++ b/OpenInTerminalCore/SupportedApps.swift @@ -40,6 +40,7 @@ public enum SupportedApps: String, CaseIterable { case cursor = "Cursor" case neovim = "neovim" case zed = "Zed" + case emacs = "Emacs" // JetBrains case appCode = "AppCode" case cLion = "CLion" @@ -143,6 +144,7 @@ public enum SupportedApps: String, CaseIterable { case .androidstudio: return "" case .neovim: return "" case .zed: return "" + case .emacs: return "org.gnu.Emacs" } }