From 0416ee489fb87100153d1f9373bbf311a6bd8606 Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Fri, 6 Feb 2026 10:25:12 +0800 Subject: [PATCH] fix: update desktop file icon path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the Icon path from absolute path to simple icon name The absolute path /usr/share/deepin-unioncode/configures/icons/ide.svg was replaced with just 'ide' This follows desktop entry specifications for better icon theme compatibility Using icon names instead of absolute paths allows the system to find the appropriate icon based on the current icon theme and available sizes Log: Updated desktop file to use theme-compatible icon naming Influence: 1. Verify the application icon appears correctly in application launcher 2. Test with different icon themes to ensure proper icon display 3. Check that the icon scales appropriately in various sizes 4. Confirm the application still launches correctly from desktop file fix: 更新桌面文件图标路径 将图标路径从绝对路径改为简单的图标名称 绝对路径 /usr/share/deepin-unioncode/configures/icons/ide.svg 被替换 为 'ide' 这遵循桌面条目规范以获得更好的图标主题兼容性 使用图标名称而不是绝对路径允许系统根据当前图标主题 和可用尺寸找到合适的图标 Log: 更新桌面文件以使用主题兼容的图标命名 Influence: 1. 验证应用程序图标在启动器中正确显示 2. 使用不同的图标主题测试以确保图标正确显示 3. 检查图标在各种尺寸下是否适当缩放 4. 确认应用程序仍能从桌面文件正确启动 BUG: https://pms.uniontech.com/bug-view-350381.html BUG: https://pms.uniontech.com/bug-view-350385.html --- assets/configures/unioncode.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/configures/unioncode.desktop b/assets/configures/unioncode.desktop index 4d3c470ad..a141b5393 100644 --- a/assets/configures/unioncode.desktop +++ b/assets/configures/unioncode.desktop @@ -3,7 +3,7 @@ Categories=Utility;TextEditor;Development;IDE; Comment=Code Editing. Redefined. Exec=/usr/bin/deepin-unioncode GenericName=Deepin Union Code -Icon=/usr/share/deepin-unioncode/configures/icons/ide.svg +Icon=ide Keywords=deepin-unioncode; MimeType=text/plain;application/x-code-workspace; Name=Deepin Union Code