AppImage / AppImage/appimagetool

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

Đang mở
#126 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
426
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.