Skip to content

The instructions don't work if the app id has a - #26

@sgued

Description

@sgued

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions