From df127871218b7f4453fc021eff4148d255aadf5b Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Fri, 6 Feb 2026 10:42:56 +0800 Subject: [PATCH] feat: update desktop file icon path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the Icon path in the desktop file from an absolute path to a simple icon name. The icon was previously pointing to /usr/share/deepin- unioncode/configures/icons/ide.svg but now uses a generic 'ide' name that will be resolved by the system's icon theme. This change makes the application more compliant with desktop entry specifications and allows for better theming support across different desktop environments. Log: Updated application icon reference in desktop file Influence: 1. Verify the application icon displays correctly in system application launcher 2. Test icon visibility in different desktop environments (GNOME, KDE, etc.) 3. Check if icon scales properly in various sizes 4. Verify icon theming works with system theme changes 5. Test application launch from desktop file still functions correctly feat: 更新桌面文件图标路径 将桌面文件中的图标路径从绝对路径改为简单的图标名称。之前图标指向 /usr/ share/deepin-unioncode/configures/icons/ide.svg,现在使用通用的 'ide' 名 称,将由系统的图标主题解析。此更改使应用程序更符合桌面条目规范,并支持在 不同桌面环境中获得更好的主题兼容性。 Log: 更新桌面文件中的应用程序图标引用 Influence: 1. 验证应用程序图标在系统应用启动器中正确显示 2. 在不同桌面环境(GNOME、KDE等)中测试图标可见性 3. 检查图标在各种尺寸下是否能正常缩放 4. 验证图标主题与系统主题更改时能正常工作 5. 测试从桌面文件启动应用程序功能是否正常 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