aurora_fixes #3
5 changed files with 6 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,8 +6,10 @@ moc_*.cpp
|
||||||
*.moc
|
*.moc
|
||||||
Makefile
|
Makefile
|
||||||
*.a
|
*.a
|
||||||
|
*.so
|
||||||
*.list
|
*.list
|
||||||
org.monich.harbour.books*.qm
|
org.monich.harbour.books*.qm
|
||||||
org.monich.harbour.books*.ts
|
org.monich.harbour.books*.ts
|
||||||
org.monich.harbour.books
|
org.monich.harbour.books
|
||||||
RPMS/
|
RPMS/
|
||||||
|
.DS_Store
|
||||||
|
|
|
@ -18,5 +18,5 @@ X-Nemo-Application-Type=silica-qt5
|
||||||
Permissions=Documents;Downloads;RemovableMedia;Audio
|
Permissions=Documents;Downloads;RemovableMedia;Audio
|
||||||
OrganizationName=org.monich
|
OrganizationName=org.monich
|
||||||
ApplicationName=harbour.books
|
ApplicationName=harbour.books
|
||||||
ExecDBus=/usr/bin/org.monich.harbour.books %u
|
ExecDBus=/usr/bin/org.monich.harbour.books
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
# define BOOKS_SETTINGS_MENU true
|
# define BOOKS_SETTINGS_MENU true
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BOOKS_SETTINGS_PATH "org.monich/harbour.books"
|
||||||
#define BOOKS_DBUS_SERVICE BOOKS_DBUS_INTERFACE
|
#define BOOKS_DBUS_SERVICE BOOKS_DBUS_INTERFACE
|
||||||
#define BOOKS_DCONF_ROOT "/apps/" BOOKS_APP_NAME "/"
|
#define BOOKS_DCONF_ROOT "/apps/" BOOKS_APP_NAME "/"
|
||||||
#define BOOKS_DATA_ROOT "usr/share/" BOOKS_APP_NAME
|
#define BOOKS_DATA_ROOT "usr/share/" BOOKS_APP_NAME
|
||||||
|
|
|
@ -104,6 +104,7 @@ BooksStorage::Private::Private(
|
||||||
{
|
{
|
||||||
QString cfgDir;
|
QString cfgDir;
|
||||||
cfgDir = QString::fromStdString(ZLibrary::ApplicationWritableDirectory());
|
cfgDir = QString::fromStdString(ZLibrary::ApplicationWritableDirectory());
|
||||||
|
cfgDir.replace(QString(BOOKS_APP_NAME),QString(BOOKS_SETTINGS_PATH));
|
||||||
if (!cfgDir.endsWith('/')) cfgDir += '/';
|
if (!cfgDir.endsWith('/')) cfgDir += '/';
|
||||||
QString subDir;
|
QString subDir;
|
||||||
switch (aType) {
|
switch (aType) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Name: org.monich.harbour.books
|
Name: org.monich.harbour.books
|
||||||
Summary: E-book reader
|
Summary: E-book reader
|
||||||
Version: 1.1.5
|
Version: 1.1.5
|
||||||
Release: 1
|
Release: 2
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: https://github.com/sprainbrains/harbour-books/tree/auroraos
|
URL: https://github.com/sprainbrains/harbour-books/tree/auroraos
|
||||||
|
|
Loading…
Reference in a new issue