App name in snapcraft.yaml must match case of .desktop file

Bug #1655832 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

When building out a snap, I just ran into this:

When the app name is capitalized the same way as the .desktop file, it works:

apps:
  Alacritty:
    command: |
      env XDG_CONFIG_HOME=$SNAP_DATA alacritty
    desktop: Alacritty.desktop

However, if it doesn't, like:

apps:
  alacritty:
    command: |
      env XDG_CONFIG_HOME=$SNAP_DATA alacritty
    desktop: Alacritty.desktop

when snapcraft goes to edit the exec line in the .desktop file, it just removes it instead and leaves a broken .desktop file

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Capitalized app names are not supported at he moment.

Could that be the issue?

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

random thoughts: does snapcraft output error message as we have capitalized app names if that's not supported ?

Cris Dywan (kalikiana)
tags: added: capitalized-app-name
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.