Compare commits

...

4 commits

5 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View file

@ -6,8 +6,10 @@ moc_*.cpp
*.moc
Makefile
*.a
*.so
*.list
org.monich.harbour.books*.qm
org.monich.harbour.books*.ts
org.monich.harbour.books
RPMS/
.DS_Store

View file

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

View file

@ -45,6 +45,7 @@
# define BOOKS_SETTINGS_MENU true
#endif
#define BOOKS_SETTINGS_PATH "org.monich/harbour.books"
#define BOOKS_DBUS_SERVICE BOOKS_DBUS_INTERFACE
#define BOOKS_DCONF_ROOT "/apps/" BOOKS_APP_NAME "/"
#define BOOKS_DATA_ROOT "usr/share/" BOOKS_APP_NAME

View file

@ -104,6 +104,7 @@ BooksStorage::Private::Private(
{
QString cfgDir;
cfgDir = QString::fromStdString(ZLibrary::ApplicationWritableDirectory());
cfgDir.replace(QString(BOOKS_APP_NAME),QString(BOOKS_SETTINGS_PATH));
if (!cfgDir.endsWith('/')) cfgDir += '/';
QString subDir;
switch (aType) {

View file

@ -1,7 +1,7 @@
Name: org.monich.harbour.books
Summary: E-book reader
Version: 1.1.5
Release: 1
Release: 2
License: BSD
Group: Applications/File
URL: https://github.com/sprainbrains/harbour-books/tree/auroraos