linuxdeployqt icon indicating copy to clipboard operation
linuxdeployqt copied to clipboard

Add option to ignore Desktop file error ?

Open abcfy2 opened this issue 3 years ago • 3 comments

I'm facing this error:

appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
Desktop file: /tmp/qbee/AppDir/org.qbittorrent.qBittorrent.desktop
/tmp/qbee/AppDir/org.qbittorrent.qBittorrent.desktop: error: file contains key "SingleMainWindow" in group "Desktop Entry", but keys extending the format should start with "X-"
ERROR: Desktop file contains errors. Please fix them. Please see
       https://standards.freedesktop.org/desktop-entry-spec/1.0/n       for more information.

Is there any to ignore this error ?

abcfy2 avatar Dec 03 '22 12:12 abcfy2

No. This is intentional. We don't want people to ship desktop files that don't pass verification.

Please make your desktop file compliant with the spec. Thanks!

probonopd avatar Dec 03 '22 14:12 probonopd

But seems SingleMainWindow is valid since 1.5: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html Would you please upgrade the Desktop file spec ?

abcfy2 avatar Dec 03 '22 16:12 abcfy2

Until this gets done (if ever), you can use X-GNOME-SingleWindow instead, which should pass verification.

probonopd avatar Dec 03 '22 17:12 probonopd