fix: add X-Deepin-Singleton flag to desktop file (#392841)#211
Conversation
Add X-Deepin-Singleton=true to desktop file to mark the application as a singleton app. 为单例应用的desktop文件添加X-Deepin-Singleton=true标识。 Log: 添加单例应用标识 PMS: TASK-392841 Influence: AM能识别单例应用,Treeland不再为单例应用显示快速启动画面
Reviewer's guide (collapsed on small PRs)Reviewer's GuideMarks deepin-diskmanager as a singleton application by adding the X-Deepin-Singleton flag to its desktop entry, enabling the app manager and Treeland to treat it as a splashless singleton app. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 diff --git a/application/assets/deepin-diskmanager.desktop b/application/assets/deepin-diskmanager.desktop
index 06cbf404..c504e9fd 100644
--- a/application/assets/deepin-diskmanager.desktop
+++ b/application/assets/deepin-diskmanager.desktop
@@ -8,5 +8,6 @@ StartupNotify=true
TryExec=deepin-diskmanager
Type=Application
X-Deepin-Vendor=deepin
+X-Deepin-Singleton=true
# Automatically generate translations |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Add X-Deepin-Singleton=true to desktop file to mark the application as a singleton app. This allows AM to identify singleton apps and inform Treeland to skip the splash screen for these apps.
Refs: https://pms.uniontech.com/task-view-392841.html
Summary by Sourcery
Bug Fixes: