diff --git a/assets/configures/CMakeLists.txt b/assets/configures/CMakeLists.txt index 4c233ce4d..df64bb8b0 100644 --- a/assets/configures/CMakeLists.txt +++ b/assets/configures/CMakeLists.txt @@ -1,7 +1,12 @@ file(GLOB SUPPORTFILES "${CMAKE_CURRENT_SOURCE_DIR}/*.support") file(GLOB DESKTOPFILES "${CMAKE_CURRENT_SOURCE_DIR}/*.desktop") -file(GLOB ICON "${CMAKE_CURRENT_SOURCE_DIR}/*.svg") + +# Icon installation according to freedesktop.org standards +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ide.svg" + DESTINATION "/usr/share/icons/hicolor/scalable/apps") +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ide_32px.svg" + DESTINATION "/usr/share/icons/hicolor/32x32/apps" + RENAME "ide.svg") install(FILES ${SUPPORTFILES} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures") install(FILES ${DESKTOPFILES} DESTINATION "/usr/share/applications") -install(FILES ${ICON} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures/icons") diff --git a/assets/configures/ide.svg b/assets/configures/ide.svg index 06834836b..bffd68c74 100644 --- a/assets/configures/ide.svg +++ b/assets/configures/ide.svg @@ -1,8 +1,8 @@ - app/ide/256px + apps/256/ide - + @@ -11,44 +11,33 @@ - - - + + + - - - + + + - - - + + + - - - - - - - - - - - - - - + + + - - - - - - - - + + + + + + + + - + \ No newline at end of file diff --git a/assets/configures/ide_32px.svg b/assets/configures/ide_32px.svg index 1756aa9ae..72f6280fd 100644 --- a/assets/configures/ide_32px.svg +++ b/assets/configures/ide_32px.svg @@ -1,8 +1,8 @@ - app/ide/32px + apps/32/ide - + @@ -11,53 +11,33 @@ - - - + + + - - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + + + + + + - + \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 9b5a95480..a1239cb79 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +deepin-unioncode (1.4.19) unstable; urgency=medium + + * feat: update IDE icon design and installation + + -- Liu Zhangjian Fri, 06 Feb 2026 18:00:55 +0800 + deepin-unioncode (1.4.18) unstable; urgency=medium * fix: python debugpy cannot connect diff --git a/debian/deepin-unioncode.install b/debian/deepin-unioncode.install index a10d94cbd..bc211b291 100644 --- a/debian/deepin-unioncode.install +++ b/debian/deepin-unioncode.install @@ -1,8 +1,8 @@ /usr/bin/deepin-unioncode /usr/share/icons/hicolor/scalable/apps/*.svg +/usr/share/icons/hicolor/32x32/apps/*.svg /usr/share/deepin-unioncode /usr/share/deepin-unioncode/configures/*.support -/usr/share/deepin-unioncode/configures/icons/*.svg /usr/share/deepin-unioncode/templates/* /usr/share/applications/*.desktop /usr/lib/*/deepin-unioncode/lib*.a* diff --git a/src/plugins/core/builtin/actions/ide_32px.svg b/src/plugins/core/builtin/actions/ide_32px.svg index 1756aa9ae..72f6280fd 100644 --- a/src/plugins/core/builtin/actions/ide_32px.svg +++ b/src/plugins/core/builtin/actions/ide_32px.svg @@ -1,8 +1,8 @@ - app/ide/32px + apps/32/ide - + @@ -11,53 +11,33 @@ - - - + + + - - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + + + + + + - + \ No newline at end of file