Name of desktop file in appdir root SHOULD match?

Đang mở
#17 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
linux
Lĩnh vực
documentation

Hướng nghiên cứu

So sánh phần “filesystem image” hiện tại của đặc tả với đặc tả AppDir được liên kết và hướng dẫn đặt tên tệp desktop-entry của XDG; ví dụ find_first_matching_file_nonrecursive của appimagetool cho thấy hành vi hiện tại. Cập nhật khuyến nghị và thêm các ví dụ ứng dụng có tiền tố TLD được yêu cầu, để cả hai đặc tả đều mô tả các tên tương thích.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The current section about "filesystem image" has this recommendation for the name of the desktop file in the root dir:

  • SHOULD contain exactly one $APPNAME.desktop file in its root directory with $APPNAME being the name of the payload application

This conflicts slightly with the fact that for existing applications which follow latest xdg recommendations the desktop file names these days have tld-prefixes (e.g. "org.kde.kdevelop.desktop", "org.kde.krita.desktop", "org.qt-project.qtcreator.desktop").

Also does it not match the AppDir specification at docs.appimage.org where it says:

The name of the file doesn’t matter, as long as it carries the .desktop extension.

The latter is reflected also by code like from the appimagetool which picks up whatever first desktop file there is gchar *desktop_file = find_first_matching_file_nonrecursive(source, "*.desktop");

So please sync the specs and extend it with some examples of applications that normally have a desktop file with a tld-prefixed name. That should help developers manually compiling appdir content to know what names are fine to use.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
94
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AppImage/AppImageSpec

Tất cả issue của AppImage/AppImageSpec

Issue tương tự

Thêm issue về Documentation

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.