You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create an application with a dash in the name, the build instructions from the readme fail:
$ flatpak-builder --user flatpak_app build-aux/fr.sgued.ten-forward.Devel.json
Downloading sources
Initializing build dir
error: 'fr.sgued.ten-forward.Devel' is not a valid application name: Only last name segment can contain -
This issue can be fixed by having changing the Id inside of the .Devel.json manifest (the id itself, not the name of the file), to remove the Devel at the end. For example in my case the file would start:
I think dashes are not supported in app IDs. my-awesome-app refers to the project name, the second prompt which is used for the folder and executable names AFAIK.
I think the script should immediately report false inputs though, but this should rather be fixed upstream.
While hyphens are allowed for legacy compatibility, their usage is strongly discouraged to ensure interoperability of the AppStream ID with other tools such as D-Bus (and thereby making the ID more generic and useful).
Hi,
When trying to create an application with a dash in the name, the build instructions from the readme fail:
This issue can be fixed by having changing the Id inside of the
.Devel.json
manifest (theid
itself, not the name of the file), to remove theDevel
at the end. For example in my case the file would start:With the
Devel
moved so that the app name is at the end.Are apps with a
-
in the id not supported? The example proposed by the script has one:my-awesome-app
.The text was updated successfully, but these errors were encountered: