feat: add property installedTime,X-flatpak,X-linglong

Signed-off-by: black-desk <me@black-desk.cn>
This commit is contained in:
black-desk
2023-08-31 16:40:29 +08:00
committed by Comix
parent c99a1b5d6a
commit d1bdab899d
8 changed files with 49 additions and 12 deletions

View File

@ -36,7 +36,7 @@ public:
m_am = new ApplicationManager1Service{std::make_unique<CGroupsIdentifier>(), bus.globalServerBus()};
auto ptr = std::make_unique<QFile>(QString{"/usr/share/applications/test-Application.desktop"});
DesktopFile file{std::move(ptr), "test-Application", 0};
DesktopFile file{std::move(ptr), "test-Application", 0, 0};
QSharedPointer<ApplicationService> app = QSharedPointer<ApplicationService>::create(std::move(file), nullptr);
QSharedPointer<InstanceService> instance =
QSharedPointer<InstanceService>::create(InstancePath.path().split('/').last(), ApplicationPath.path(), QString{"/"});