AM used try to get the real path when the desktop file is a symbolic link and save the path to a map, but it use the path where symbolic link locate to check this desktop file is in that map or not. This mistake make removeDesktop() not to be executed when handling the event DFChanged. This "get realpath" behavior is useless, we have test these two cases: There is a symlink in /usr/share/applications/xxx.desktop pointer to /tmp/xxx.desktop 1. we remove the symlink; 2. we remove the real desktop file. whether we change the code or not, AM behavior in the same way: 1. it make launcher remove the item; 2. it cannot make launcher remove the item. case 2 is a bug. but we do not change that behavior in this commit. Log:
DDE Application Manager
DDE Application Manager is the app manager of Deepin Desktop Environment.
Dependencies
You can also check the "Depends" provided in the debian/control
file.
Build dependencies
You can also check the "Build-Depends" provided in the debian/control
file.
Installation
Build from source code
-
Make sure you have installed all dependencies.
-
Build:
$ cd dde-applications-manager
$ cmake -Bbuild .
$ cmake --build build -j`nproc`
- Install
sudo cmake --install build
Getting help
Getting involved
We encourage you to report issues and contribute changes
- Contribution guide for developers. (English)
- 开发者代码贡献指南 (中文)
License
dde-applications-manager is licensed under GPL-3.0-or-later.
Description
Languages
C++
94.3%
CMake
4.2%
Shell
1.5%