fix: add X-Deepin-Singleton flag to desktop file (#392841)#709
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds the X-Deepin-Singleton flag to the deepin-devicemanager desktop entry so AM can treat it as a singleton app and Treeland can skip the splash screen. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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不再为单例应用显示快速启动画面
c36f8fa to
5503560
Compare
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 diff --git a/deepin-devicemanager/assets/deepin-devicemanager.desktop b/deepin-devicemanager/assets/deepin-devicemanager.desktop
index 38c37703..7b3f39bb 100644
--- a/deepin-devicemanager/assets/deepin-devicemanager.desktop
+++ b/deepin-devicemanager/assets/deepin-devicemanager.desktop
@@ -10,6 +10,7 @@ Terminal=false
Type=Application
X-Ayatana-Desktop-Shortcuts=deepin-devicemanager
X-Deepin-Vendor=deepin
+X-Deepin-Singleton=true
# Translations:
# Do not manually modify! |
|
[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
Mark deepin-devicemanager as a singleton application via its desktop file to enable correct handling by the application manager and Treeland.
New Features:
Enhancements: