diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..24a8e87 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.png filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 5a49a62..444dc07 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ -# COSMIC Edit -COSMIC Text Editor +# COSMIC Text Editor +Text editor for the COSMIC desktop + +![Screenshot](res/screenshots/screenshot-1.png) Currently an incomplete **pre-alpha**, this project is a work in progress - issues are expected. diff --git a/justfile b/justfile index 29e3fda..f389093 100644 --- a/justfile +++ b/justfile @@ -15,6 +15,10 @@ desktop := APPID + '.desktop' desktop-src := 'res' / desktop desktop-dst := clean(rootdir / prefix) / 'share' / 'applications' / desktop +metainfo := APPID + '.metainfo.xml' +metainfo-src := 'res' / metainfo +metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo + icons-src := 'res' / 'icons' / 'hicolor' icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor' @@ -61,6 +65,7 @@ run *args: install: install -Dm0755 {{bin-src}} {{bin-dst}} install -Dm0644 {{desktop-src}} {{desktop-dst}} + install -Dm0644 {{metainfo-src}} {{metainfo-dst}} for size in `ls {{icons-src}}`; do \ install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \ done diff --git a/res/com.system76.CosmicEdit.metainfo.xml b/res/com.system76.CosmicEdit.metainfo.xml new file mode 100644 index 0000000..3226f0d --- /dev/null +++ b/res/com.system76.CosmicEdit.metainfo.xml @@ -0,0 +1,37 @@ + + + com.system76.CosmicEdit + CC0-1.0 + GPL-3.0-only + COSMIC + System76 + jeremy@system76.com + https://github.com/pop-os/cosmic-edit + https://github.com/pop-os/cosmic-edit + COSMIC Text Editor + Text editor for the COSMIC desktop + +

Text editor that provides advanced features with high performance

+ +
+ com.system76.CosmicEdit.desktop + https://raw.githubusercontent.com/pop-os/cosmic-edit/master/res/icons/hicolor/256x256/apps/com.system76.CosmicEdit.svg + + + https://media.githubusercontent.com/media/pop-os/cosmic-edit/master/res/screenshots/screenshot-1.png + + + + + text/plain + + + cosmic-edit + + +
diff --git a/res/screenshots/screenshot-1.png b/res/screenshots/screenshot-1.png new file mode 100644 index 0000000..c932e04 --- /dev/null +++ b/res/screenshots/screenshot-1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ba78b19f6c4ecce1cbbb7a85495426ab5102575fef9838b5a1df199c951e985 +size 258913