Bundle desktop files and resources (#336)

This commit is contained in:
Felix Häusler 2018-06-15 06:51:37 +02:00 committed by 冉四夕
parent ff78118611
commit 311d7ddf1a
19 changed files with 88 additions and 4 deletions

View File

@ -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",

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 361 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>com.github.marktext.marktext</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Mark Text</name>
<summary>Next generation markdown editor</summary>
<description>
<p>
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.
</p>
<p>Features:</p>
<ul>
<li>GitHub Flavored Markdown like task-lists, tables, links and emoji</li>
<li>Code fence for all the popular languages</li>
<li>Various edit mode: source code mode, typewriter mode, focus mode</li>
</ul>
</description>
<url type="homepage">https://marktext.github.io/website/</url>
<url type="bugtracker">https://github.com/marktext/marktext/issues</url>
<screenshots>
<screenshot type="default">
<caption>Light theme</caption>
<image>https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img1.png</image>
</screenshot>
<screenshot>
<caption>Dark theme</caption>
<image>https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img2.png</image>
</screenshot>
<screenshot>
<caption>Source Code mode</caption>
<image>https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img3.png</image>
</screenshot>
<screenshot>
<caption>Focus mode</caption>
<image>https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/img/img4.png</image>
</screenshot>
</screenshots>
<categories>
<category>Utility</category>
<category>TextEditor</category>
</categories>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release version="0.11.42" date="2018-05-29"/>
</releases>
</component>

View File

@ -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;