AppImage / AppImage/appimagetool

broken `.DirIcon` is generated if `.desktop` file references icon not in the appdir root

Ouverte
#126 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
426
Forks
55
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### to reproduce
1. create an `AppDir` the following`.desktop` file:
`app.desktop`:
```ini
[Desktop Entry]
Name=test
Exec=AppRun
Icon=/usr/bin/icon
Type=Application
Categories=Development;IDE;
Terminal=false
StartupNotify=true
```
2. put an icon file at `AppDir/usr/bin/icon.svg`
3. run `ARCH=x86_64 appimagetool .`
4. attempt to open the `.DirIcon` symlink

### expected result

either:

- `.DirIcon` links to `AppDir/usr/bin/icon.svg`
- fail the build with an error stating that the icon must be in the AppDir root

### actual result

symlink is broken because it links to non-existent `AppDir/icon.svg`

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.