diff --git a/package.json b/package.json index 89f9da6d..79775b0b 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,7 @@ }, "linux": { "category": "Office;TextEditor;Utility", + "mimeTypes": [ "text/markdown" ], "icon": "resources/icons", "artifactName": "marktext-${version}-${arch}.${ext}", "target": [ diff --git a/resources/linux/marktext.desktop b/resources/linux/marktext.desktop index b6b46e38..f909c8d6 100644 --- a/resources/linux/marktext.desktop +++ b/resources/linux/marktext.desktop @@ -6,3 +6,4 @@ Terminal=false Type=Application Icon=marktext Categories=Office;TextEditor;Utility; +MimeType=text/markdown;