GithubHelp home page GithubHelp logo

nsm-flatpak's Introduction

nsm-flatpak's People

Contributors

n-ham avatar ximion avatar

Watchers

 avatar James Cloos avatar

nsm-flatpak's Issues

Wrong icon file names

The icon filename $APPID.png in the cc.nift.nsm.appdata.xml

<icon height="128" width="128">$APPID.png</icon>
<icon height="64" width="64">$APPID.png</icon>

generates this warning message when you refresh the cache with appstream-cli:

~ $ appstreamcli refresh-cache --force --source flatpak
• Only refreshing metadata cache specific to the current user.
• Updating software metadata cache for Flatpak.

** (appstreamcli:68440): WARNING **: 12:17:11.810: Found icon of unknown type 'unknown' in 'system/flatpak/flatpak/cc.nift.nsm/*', skipping it.

** (appstreamcli:68440): WARNING **: 12:17:11.810: Found icon of unknown type 'unknown' in 'system/flatpak/flatpak/cc.nift.nsm/*', skipping it.
✔ Metadata cache was updated successfully.

It has been reported here flatpak/flatpak#4642 too.

It should be probably fixed with something like this (edited, after reading this flathub/cc.nift.nsm#3 (comment)):

$ git diff
diff --git a/cc.nift.nsm.appdata.xml b/cc.nift.nsm.appdata.xml
index 23ac8e5..68414fc 100644
--- a/cc.nift.nsm.appdata.xml
+++ b/cc.nift.nsm.appdata.xml
@@ -27,8 +27,8 @@
   <developer_name>Nick Ham</developer_name>
   <update_contact>contact_at_n-ham.com</update_contact>
 
-  <icon height="128" width="128">$APPID.png</icon>
-  <icon height="64" width="64">$APPID.png</icon>
+  <icon type="stock" height="128" width="128">cc.nift.nsm.png</icon>
+  <icon type="stock" height="64" width="64">cc.nift.nsm.png</icon>
 
   <launchable type="desktop-id">cc.nift.nsm.desktop</launchable>
   <releases>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.