Skip to content

Commit

Permalink
Add desktop and metainfo file for Linux distributions
Browse files Browse the repository at this point in the history
This adds a desktop file and a metainfo file that are used by Linux
software installation front-ends to present applications.

This will be used by the Flatpak package being put together for
distribution on Flathub:
flathub/flathub#5701
  • Loading branch information
hadess committed Oct 11, 2024
1 parent e51cf57 commit bb174af
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/linux/io.github.labbots.NiimPrintX.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=NiimPrintX
Comment=Create and print labels on Niimbot printers
Keywords=label;card;print;office;barcode;bluetooth;
Exec=NiimPrintX.ui
Icon=io.github.labbots.NiimPrintX
Terminal=false
Type=Application
Categories=Office;
StartupNotify=true
36 changes: 36 additions & 0 deletions assets/linux/io.github.labbots.NiimPrintX.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.labbots.NiimPrintX</id>
<launchable type="desktop-id">io.github.labbots.NiimPrintX.desktop</launchable>
<provides>
<id>io.github.labbots.NiimPrintX.desktop</id>
</provides>
<name>NiimPrintX</name>
<summary>Create and print labels on Niimbot printers</summary>
<developer_name>labbots</developer_name>
<url type="homepage">https://github.com/labbots/NiimPrintX/</url>
<url type="bugtracker">https://github.com/labbots/NiimPrintX/issues/</url>
<metadata_license>0BSD</metadata_license>
<project_license>GPL-3.0</project_license>
<content_rating type="oars-1.1" />
<recommends>
<control>keyboard</control>
<control>pointing</control>
</recommends>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/labbots/NiimPrintX/refs/heads/main/assets/linux/main-window.png</image>
<caption>Main window</caption>
</screenshot>
</screenshots>
<description>
<p>
NiimPrintX is an application to design and print labels using NiimBot label printers via Bluetooth.
</p>
</description>
<releases>
<release version="0.0.47" date="2024-07-01">
<url>https://github.com/labbots/NiimPrintX/releases/tag/v0.0.47</url>
</release>
</releases>
</component>
Binary file added assets/linux/main-window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb174af

Please sign in to comment.