diff --git a/package.json b/package.json index 0a4f8f76..2bd2ba54 100644 --- a/package.json +++ b/package.json @@ -64,10 +64,10 @@ ] }, "mac": { - "icon": "static/icons/icon.icns" + "icon": "resources/icons/icon.icns" }, "win": { - "icon": "static/icons/icon.ico", + "icon": "resources/icons/icon.ico", "target": [ { "target": "nsis", @@ -83,11 +83,11 @@ "perMachine": true, "oneClick": false, "allowToChangeInstallationDirectory": true, - "include": "static/windows/installer.nsh" + "include": "resources/windows/installer.nsh" }, "linux": { "category": "Office;TextEditor;Utility", - "icon": "static/icons" + "icon": "resources/icons" }, "snap": { "confinement": "classic", diff --git a/resources/icons/128x128/marktext.png b/resources/icons/128x128/marktext.png new file mode 100644 index 00000000..ce1ae48c Binary files /dev/null and b/resources/icons/128x128/marktext.png differ diff --git a/resources/icons/16x16/marktext.png b/resources/icons/16x16/marktext.png new file mode 100644 index 00000000..1255ae31 Binary files /dev/null and b/resources/icons/16x16/marktext.png differ diff --git a/resources/icons/24x24/marktext.png b/resources/icons/24x24/marktext.png new file mode 100644 index 00000000..15d8b0cf Binary files /dev/null and b/resources/icons/24x24/marktext.png differ diff --git a/resources/icons/256x256/marktext.png b/resources/icons/256x256/marktext.png new file mode 100644 index 00000000..5df95b8a Binary files /dev/null and b/resources/icons/256x256/marktext.png differ diff --git a/resources/icons/32x32/marktext.png b/resources/icons/32x32/marktext.png new file mode 100644 index 00000000..ef99bda0 Binary files /dev/null and b/resources/icons/32x32/marktext.png differ diff --git a/resources/icons/48x48/marktext.png b/resources/icons/48x48/marktext.png new file mode 100644 index 00000000..967d6250 Binary files /dev/null and b/resources/icons/48x48/marktext.png differ diff --git a/resources/icons/512x512/marktext.png b/resources/icons/512x512/marktext.png new file mode 100644 index 00000000..101a2ba0 Binary files /dev/null and b/resources/icons/512x512/marktext.png differ diff --git a/resources/icons/64x64/marktext.png b/resources/icons/64x64/marktext.png new file mode 100644 index 00000000..f6cae7c4 Binary files /dev/null and b/resources/icons/64x64/marktext.png differ diff --git a/static/icons/icon.icns b/resources/icons/icon.icns similarity index 100% rename from static/icons/icon.icns rename to resources/icons/icon.icns diff --git a/static/icons/icon.ico b/resources/icons/icon.ico similarity index 100% rename from static/icons/icon.ico rename to resources/icons/icon.ico diff --git a/static/icons/icon.png b/resources/icons/icon.png similarity index 100% rename from static/icons/icon.png rename to resources/icons/icon.png diff --git a/resources/linux/img/img1.png b/resources/linux/img/img1.png new file mode 100644 index 00000000..f45da2d0 Binary files /dev/null and b/resources/linux/img/img1.png differ diff --git a/resources/linux/img/img2.png b/resources/linux/img/img2.png new file mode 100644 index 00000000..08e12d0d Binary files /dev/null and b/resources/linux/img/img2.png differ diff --git a/resources/linux/img/img3.png b/resources/linux/img/img3.png new file mode 100644 index 00000000..871d8c56 Binary files /dev/null and b/resources/linux/img/img3.png differ diff --git a/resources/linux/img/img4.png b/resources/linux/img/img4.png new file mode 100644 index 00000000..2ddeebdd Binary files /dev/null and b/resources/linux/img/img4.png differ diff --git a/resources/linux/marktext.appdata.xml b/resources/linux/marktext.appdata.xml new file mode 100644 index 00000000..ef9c9eeb --- /dev/null +++ b/resources/linux/marktext.appdata.xml @@ -0,0 +1,76 @@ + + + com.github.marktext.marktext + CC0-1.0 + MIT + Mark Text + Next generation markdown editor + +

+ Mark Text is a free and open-source realtime preview markdown editor which support both CommonMark Spec and GitHub Flavored Markdown Spec. It is a concise text editor, dedicated to improving your editing efficiency. +

+

Features:

+ +
+ https://marktext.github.io/website/ + https://github.com/marktext/marktext/issues + + + Light theme + https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img1.png + + + Dark theme + https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img2.png + + + Source Code mode + https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img3.png + + + Focus mode + https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img4.png + + + + Utility + TextEditor + + + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + + + + +
+ diff --git a/resources/linux/marktext.desktop b/resources/linux/marktext.desktop new file mode 100644 index 00000000..b6b46e38 --- /dev/null +++ b/resources/linux/marktext.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Mark Text +Comment=Next generation markdown editor +Exec=marktext +Terminal=false +Type=Application +Icon=marktext +Categories=Office;TextEditor;Utility; diff --git a/static/windows/installer.nsh b/resources/windows/installer.nsh similarity index 100% rename from static/windows/installer.nsh rename to resources/windows/installer.nsh