Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ SPDX-FileCopyrightText = "None"
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = ["misc/**.service", "misc/**.json"]
path = ["misc/**.service", "misc/**.json", "misc/**.desktop"]
precedence = "aggregate"
SPDX-FileCopyrightText = "None"
SPDX-License-Identifier = "CC0-1.0"
Expand Down
1 change: 1 addition & 0 deletions debian/dde-shell.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ usr/lib/*/qt6/qml/org/deepin/ds/notification/*
usr/lib/*/qt6/qml/org/deepin/ds/notificationcenter/*
usr/lib/systemd/*/dde-shell*.service
usr/lib/systemd/*/dde-shell-plugin*.service
usr/share/applications/*
usr/share/dde-dock/icons/dcc-setting/*.dci
usr/share/dde-shell/*/translations
usr/share/dde-shell/org.deepin.ds.dde-am*/
Expand Down
12 changes: 12 additions & 0 deletions misc/org.deepin.dde-shell.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Name=Deepin Desktop Shell
Comment=Deepin desktop shell service
Icon=dde-shell
Comment thread
18202781743 marked this conversation as resolved.
Exec=/bin/false
TryExec=/bin/false
DBusActivatable=true
NoDisplay=true
Terminal=false
StartupNotify=false
Categories=System;
5 changes: 4 additions & 1 deletion shell/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
# SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd.
#
# SPDX-License-Identifier: CC0-1.0

Expand All @@ -23,6 +23,7 @@ add_executable(dde-shell
treelandoutputwatcher.cpp
dde-shell.qrc
override_dtkdeclarative_qml.qrc
dde-shell-icons.qrc
)

qt_generate_wayland_protocol_client_sources(dde-shell
Expand Down Expand Up @@ -59,6 +60,8 @@ install(FILES ${CMAKE_SOURCE_DIR}/misc/deepin-debug-config/org.deepin.dde.shell.
DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-debug-config/deepin-debug-config.d)
install(FILES ${CMAKE_SOURCE_DIR}/misc/deepin-log-config/org.deepin.dde.shell.json
DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-log-viewer/deepin-log.conf.d)
install(FILES ${CMAKE_SOURCE_DIR}/misc/org.deepin.dde-shell.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)

install(TARGETS dde-shell DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

Expand Down
5 changes: 5 additions & 0 deletions shell/dde-shell-icons.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/dsg/built-in-icons">
<file alias="dde-shell.dci">icons/dde-shell.dci</file>
</qresource>
</RCC>
Binary file added shell/icons/dde-shell.dci
Binary file not shown.
3 changes: 2 additions & 1 deletion shell/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -107,6 +107,7 @@ int main(int argc, char *argv[])
QQuickWindow::setTextRenderType(QQuickWindow::NativeTextRendering);
a.setOrganizationName("deepin");
a.setApplicationName("org.deepin.dde-shell");
a.setDesktopFileName(QStringLiteral("org.deepin.dde-shell"));
a.setApplicationVersion(QT_STRINGIFY(DS_VERSION));

QCommandLineParser parser;
Expand Down
Loading