Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Add MimeType for appimage and metainfo file support #195

Merged
merged 18 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ keywords:

generic_name: Cool Application

# supported mime types that can be opened using this application
# supported_mime_type:
# - audio/mpeg

metainfo: linux/packaging/helloworld.appdata.xml

actions:
- name: Say Hi
label: say-hi
Expand Down
2 changes: 2 additions & 0 deletions examples/hello_world/linux/packaging/deb/make_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ generic_name: Music Application
# supported_mime_type:
# - audio/mpeg

metainfo: linux/packaging/helloworld.appdata.xml

# shown when right clicked the desktop entry icons
# actions:
# - Gallery
Expand Down
29 changes: 29 additions & 0 deletions examples/hello_world/linux/packaging/helloworld.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>hello_world</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Hello World</name>
<summary>Sample project that is a demo for packaging</summary>
<description>
<p>The application can be used as a demo for the packaging of flutter application to various platform</p>
</description>
<launchable type="desktop-id">hello_world.desktop</launchable>
<url type="homepage">https://github.com/leanflutter/flutter_distributor/</url>
<screenshots>
<screenshot type="default">
<image>https://github.com/leanflutter/flutter_distributor/assets/41370460/bf942f1d-d26b-441d-b5b2-4ca210b5ea92</image>
</screenshot>
</screenshots>
<releases>
<release version="1.0.0" date="2024-06-16"/>
</releases>
<provides>
<id>hello_world.desktop</id>
</provides>
<content_rating type="oars-1.0" />
<developer id="io.github.lijy91">
<name>lijy91</name>
</developer>
<update_contact>[email protected]</update_contact>
</component>
2 changes: 2 additions & 0 deletions examples/hello_world/linux/packaging/rpm/make_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ keywords:

generic_name: Cool Application

metainfo: linux/packaging/helloworld.appdata.xml

categories:
- Cool
- Awesome
Expand Down
Loading