Changed ExexDBus call

Fixed incorrect app name in Setting which not allowed confiration app
This commit is contained in:
Nikolai Sinyov 2023-11-17 13:22:15 +03:00
parent 15a53cc34b
commit e612e679ec
2 changed files with 3 additions and 4 deletions

View file

@ -18,6 +18,5 @@ X-Nemo-Application-Type=silica-qt5
Permissions=Documents;Downloads;RemovableMedia;Audio
OrganizationName=org.monich
ApplicationName=harbour.books
ExportDBusInterfaces=org.monich.harbour.books
ExecDBus=/usr/bin/invoker --type=silica-qt5 --desktop-file=org.monich.harbour.books.desktop -n -d 5 /usr/bin/org.monich.harbour.books
ExecDBus=/usr/bin/org.monich.harbour.books %u

View file

@ -64,11 +64,11 @@ Page {
var parts = Qt.resolvedUrl("dummy").split('/')
if (parts.length > 2) {
var name = parts[parts.length-3]
if (name.indexOf("-books") >= 0) {
if (name.indexOf(".books") >= 0) {
return name
}
}
return "harbour-books"
return "org.monich.harbour.books"
}
Loader {