chore: Avoiding binary conflicts with existing AM

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-08-30 13:11:15 +08:00
committed by Comix
parent 3df26e4fc2
commit 0896f845a6
7 changed files with 18 additions and 11 deletions

View File

@ -1,4 +1,4 @@
set(BIN_NAME dde-application-manager)
set(BIN_NAME dde-application-manager-reborn)
add_executable(${BIN_NAME} main.cpp utils.cpp)

View File

@ -10,7 +10,7 @@ bool registerObjectToDBus(QObject *o, const QString &path, const QString &interf
if (!con.registerObject(path, interface, o, QDBusConnection::RegisterOption::ExportAdaptors)) {
qCritical() << "register object failed:" << path << interface << con.lastError();
} else {
qInfo() << "register object:" << path << interface;
qDebug() << "register object:" << path << interface;
}
return true;
}
@ -19,5 +19,5 @@ void unregisterObjectFromDBus(const QString &path)
{
auto &con = ApplicationManager1DBus::instance().globalServerBus();
con.unregisterObject(path);
qInfo() << "unregister object:" << path;
qDebug() << "unregister object:" << path;
}