Hi,
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:
{
"id": "fr.sgued.Devel.ten-forward",
"runtime": "org.gnome.Platform",
"runtime-version": "44",
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.
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.jsonmanifest (theiditself, not the name of the file), to remove theDevelat the end. For example in my case the file would start:{ "id": "fr.sgued.Devel.ten-forward", "runtime": "org.gnome.Platform", "runtime-version": "44",With the
Develmoved 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.