From 04257f904212ead77ef32507a146e46dd660a7f1 Mon Sep 17 00:00:00 2001
From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com>
Date: Sat, 24 Aug 2024 18:48:24 +0300
Subject: [PATCH 1/4] feat: customizable downloads path
---
dist/translations/template.ts | 147 ++++++++++++++++++++-------------
src/dialogs/settingsdialog.cpp | 44 ++++++++++
src/dialogs/settingsdialog.h | 4 +
src/dialogs/settingsdialog.ui | 38 +++++++++
src/utils/configuration.cpp | 15 +++-
src/utils/configuration.h | 1 +
src/utils/dirmanager.cpp | 50 +++++------
src/utils/dirmanager.h | 2 +
8 files changed, 219 insertions(+), 82 deletions(-)
diff --git a/dist/translations/template.ts b/dist/translations/template.ts
index f5304994..670e1cd6 100644
--- a/dist/translations/template.ts
+++ b/dist/translations/template.ts
@@ -457,7 +457,7 @@
MainWindow
-
+
@@ -484,7 +484,7 @@
-
+
@@ -545,7 +545,7 @@
-
+
@@ -595,44 +595,44 @@
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
@@ -781,52 +781,52 @@
QuranPageBrowser
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -976,7 +976,7 @@
-
+
@@ -991,102 +991,112 @@
-
+
-
+
+
+
+
+
+
-
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1096,50 +1106,71 @@
-
+
-
+
-
-
-
-
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
-
+
-
+
@@ -1509,7 +1540,7 @@
-
+
diff --git a/src/dialogs/settingsdialog.cpp b/src/dialogs/settingsdialog.cpp
index f38a4039..16c8eeb5 100644
--- a/src/dialogs/settingsdialog.cpp
+++ b/src/dialogs/settingsdialog.cpp
@@ -5,6 +5,7 @@
#include "settingsdialog.h"
#include "ui_settingsdialog.h"
+#include
#include
#include
#include
@@ -27,6 +28,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, VersePlayer* vPlayerPtr)
ui->tableViewShortcuts->setModel(&m_shortcutsModel);
ui->tableViewShortcuts->horizontalHeader()->setStretchLastSection(true);
ui->tableViewShortcuts->setItemDelegate(new ShortcutDelegate);
+ ui->lbDownloadsPath->setText(m_downloadsDir.absolutePath());
fillLanguageCombobox();
setCurrentSettingsAsRef();
@@ -36,6 +38,10 @@ SettingsDialog::SettingsDialog(QWidget* parent, VersePlayer* vPlayerPtr)
void
SettingsDialog::setupConnections()
{
+ connect(ui->btnChangeDownloadsPath,
+ &QPushButton::clicked,
+ this,
+ &SettingsDialog::selectDownloadsDir);
connect(ui->buttonBox,
&QDialogButtonBox::clicked,
this,
@@ -149,6 +155,26 @@ SettingsDialog::checkShortcuts()
}
}
+void
+SettingsDialog::selectDownloadsDir()
+{
+ QString path = QFileDialog::getExistingDirectory(
+ this, tr("Select directory"), m_downloadsDir.absolutePath());
+ if (path.isEmpty())
+ return;
+
+ QFileInfo pathInfo(path);
+ if (!pathInfo.isWritable()) {
+ QMessageBox::warning(
+ this,
+ tr("Invalid path"),
+ tr("The chosen path is not valid. Please select a writable path."));
+ return;
+ }
+
+ ui->lbDownloadsPath->setText(path);
+}
+
void
SettingsDialog::updateTheme(int themeIdx)
{
@@ -179,6 +205,21 @@ SettingsDialog::updateLang(QLocale::Language lang)
m_restartReq = btn == QMessageBox::Yes;
}
+void
+SettingsDialog::updateDownloadsPath(QString path)
+{
+ m_config.settings().setValue("DownloadsDir", path);
+ if (m_restartReq)
+ return;
+
+ QMessageBox::StandardButton btn = QMessageBox::question(
+ this,
+ tr("Restart required"),
+ tr("Application downloads path was changed, restart now?"));
+
+ m_restartReq = btn == QMessageBox::Yes;
+}
+
void
SettingsDialog::updateDailyVerse(bool on)
{
@@ -311,6 +352,9 @@ SettingsDialog::applyAllChanges()
if (ui->cmbTheme->currentIndex() != m_config.themeId())
updateTheme(ui->cmbTheme->currentIndex());
+ if (ui->lbDownloadsPath->text() != m_downloadsDir.absolutePath())
+ updateDownloadsPath(ui->lbDownloadsPath->text());
+
if (ui->chkDailyVerse->isChecked() != m_votd)
updateDailyVerse(ui->chkDailyVerse->isChecked());
diff --git a/src/dialogs/settingsdialog.h b/src/dialogs/settingsdialog.h
index 9416041d..92b73850 100644
--- a/src/dialogs/settingsdialog.h
+++ b/src/dialogs/settingsdialog.h
@@ -70,6 +70,7 @@ public slots:
* @param lang - QLocale::Language enum value representing the new language
*/
void updateLang(QLocale::Language lang);
+ void updateDownloadsPath(QString path);
/**
* @brief Update daily verse option
* @param on - boolean flag representing the new setting value
@@ -214,6 +215,9 @@ public slots:
*/
void closeEvent(QCloseEvent* event);
+private slots:
+ void selectDownloadsDir();
+
private:
Ui::SettingsDialog* ui;
Configuration& m_config;
diff --git a/src/dialogs/settingsdialog.ui b/src/dialogs/settingsdialog.ui
index 4c10d3c2..100be22c 100644
--- a/src/dialogs/settingsdialog.ui
+++ b/src/dialogs/settingsdialog.ui
@@ -135,6 +135,44 @@
+ -
+
+
-
+
+
+ Downloads path
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ /path/to/downloads/dir
+
+
+
+ -
+
+
+ Change
+
+
+
+
+
diff --git a/src/utils/configuration.cpp b/src/utils/configuration.cpp
index 8f5e7ca4..5c8d0b7b 100644
--- a/src/utils/configuration.cpp
+++ b/src/utils/configuration.cpp
@@ -1,10 +1,10 @@
#include "configuration.h"
-#include "dirmanager.h"
#include
#include
#include
#include
#include
+#include
Configuration&
Configuration::getInstance()
@@ -19,6 +19,7 @@ Configuration::Configuration()
QSettings::IniFormat)
{
checkGroups();
+ setCustomPaths();
m_themeId = m_settings.value("Theme").toInt();
m_qcfVersion = m_settings.value("Reader/QCF").toInt();
m_language = qvariant_cast(m_settings.value("Language"));
@@ -26,6 +27,17 @@ Configuration::Configuration()
m_darkMode = m_themeId == 2;
}
+void
+Configuration::setCustomPaths()
+{
+ QString path = m_settings.value("DownloadsDir").toString();
+ if (!path.isEmpty()) {
+ QDir dir = QDir(path);
+ DirManager::getInstance().setDownloadsDir(dir);
+ }
+ DirManager::getInstance().createDirSkeleton();
+}
+
void
Configuration::checkGroups()
{
@@ -50,6 +62,7 @@ Configuration::checkConfGroup(int gId)
m_settings.setValue("VOTD", m_settings.value("VOTD", true));
m_settings.setValue("MissingFileWarning",
m_settings.value("MissingFileWarning", true));
+ m_settings.setValue("DownloadsDir", m_settings.value("DownloadsDir", ""));
break;
case 1:
m_settings.beginGroup("Reader");
diff --git a/src/utils/configuration.h b/src/utils/configuration.h
index 5bd840ad..84ec7439 100644
--- a/src/utils/configuration.h
+++ b/src/utils/configuration.h
@@ -42,6 +42,7 @@ class Configuration
private:
Configuration();
+ void setCustomPaths();
int m_themeId;
bool m_darkMode;
int m_qcfVersion;
diff --git a/src/utils/dirmanager.cpp b/src/utils/dirmanager.cpp
index 310171e6..a2a988f9 100644
--- a/src/utils/dirmanager.cpp
+++ b/src/utils/dirmanager.cpp
@@ -12,35 +12,16 @@ DirManager::getInstance()
DirManager::DirManager()
{
m_downloadsDir.setPath(
- QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation));
+ QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) +
+ QDir::separator() + "QuranCompanion");
m_configDir.setPath(
- QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));
+ QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) +
+ QDir::separator() + "QuranCompanion");
m_assetsDir.setPath(QApplication::applicationDirPath() + QDir::separator() +
"assets");
m_fontsDir.setPath(m_assetsDir.absoluteFilePath("fonts"));
m_basmallahDir.setPath(QApplication::applicationDirPath() +
QDir::separator() + "bismillah");
-
- // config & downloads
- if (!m_configDir.exists("QuranCompanion"))
- m_configDir.mkpath("QuranCompanion");
- m_configDir.cd("QuranCompanion");
-
- if (!m_downloadsDir.exists("QuranCompanion"))
- m_downloadsDir.mkpath("QuranCompanion");
- m_downloadsDir.cd("QuranCompanion");
-
- if (!m_downloadsDir.exists("recitations"))
- m_downloadsDir.mkpath("recitations");
-
- if (!m_downloadsDir.exists("QCFV2"))
- m_downloadsDir.mkpath("QCFV2");
-
- if (!m_downloadsDir.exists("tafasir"))
- m_downloadsDir.mkpath("tafasir");
-
- if (!m_downloadsDir.exists("translations"))
- m_downloadsDir.mkpath("translations");
}
void
@@ -102,3 +83,26 @@ DirManager::basmallahDir() const
{
return m_basmallahDir;
}
+
+void
+DirManager::createDirSkeleton() const
+{
+ // config & downloads
+ if (!m_configDir.exists())
+ m_configDir.mkpath(m_configDir.absolutePath());
+
+ if (!m_downloadsDir.exists())
+ m_downloadsDir.mkpath(m_downloadsDir.absolutePath());
+
+ if (!m_downloadsDir.exists("recitations"))
+ m_downloadsDir.mkpath("recitations");
+
+ if (!m_downloadsDir.exists("QCFV2"))
+ m_downloadsDir.mkpath("QCFV2");
+
+ if (!m_downloadsDir.exists("tafasir"))
+ m_downloadsDir.mkpath("tafasir");
+
+ if (!m_downloadsDir.exists("translations"))
+ m_downloadsDir.mkpath("translations");
+}
diff --git a/src/utils/dirmanager.h b/src/utils/dirmanager.h
index 1575716c..8f8606ee 100644
--- a/src/utils/dirmanager.h
+++ b/src/utils/dirmanager.h
@@ -21,6 +21,8 @@ class DirManager
const QDir& downloadsDir() const;
const QDir& basmallahDir() const;
+ void createDirSkeleton() const;
+
private:
DirManager();
QDir m_fontsDir;
From a8348f26cc5cb18746d804d7346486f1fab2794c Mon Sep 17 00:00:00 2001
From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com>
Date: Sat, 24 Aug 2024 18:51:45 +0300
Subject: [PATCH 2/4] fix: ci workflow status url
---
README-AR.md | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README-AR.md b/README-AR.md
index a8d040ac..5a19b03f 100644
--- a/README-AR.md
+++ b/README-AR.md
@@ -22,7 +22,7 @@
-
+
diff --git a/README.md b/README.md
index d05bf03b..dfd36bb8 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@
-
+
From f2f57c9a141e88d19e4c845746b71829ae7b7f39 Mon Sep 17 00:00:00 2001
From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com>
Date: Sat, 24 Aug 2024 19:02:37 +0300
Subject: [PATCH 3/4] New Crowdin updates (#91)
* crowdin: update Arabic translation
* crowdin: update Russian translation
* crowdin: update Turkish translation
* crowdin: update Arabic translation
---
dist/translations/out/qc_ar.ts | 147 ++++++++++++++++++++-------------
dist/translations/out/qc_ru.ts | 147 ++++++++++++++++++++-------------
dist/translations/out/qc_tr.ts | 147 ++++++++++++++++++++-------------
3 files changed, 267 insertions(+), 174 deletions(-)
diff --git a/dist/translations/out/qc_ar.ts b/dist/translations/out/qc_ar.ts
index fe060746..bc6530fa 100644
--- a/dist/translations/out/qc_ar.ts
+++ b/dist/translations/out/qc_ar.ts
@@ -457,7 +457,7 @@
MainWindow
-
+
رفيق القرآن
@@ -484,7 +484,7 @@
-
+
التصفح
@@ -545,7 +545,7 @@
-
+
عن كيوت
@@ -595,44 +595,44 @@
افتراضي
-
+
يقرأ الآن:
-
+
سورة
-
-
-
+
+
+
الملفات مفقودة
-
+
ملفات الخط المحدد مفقودة، هل ترغب في تحميلها؟
-
+
التفسير المحدد مفقود، هل ترغب في تحميله؟
-
+
الترجمة المحددة مفقود، هل ترغب في تحميله؟
-
+
التلاوة غير موجودة
-
+
ملفات التلاوة الخاصة بالسورة الحالية غير متوفرة، هل تود الذَّهاب إلى صفحة التحميل؟
@@ -781,52 +781,52 @@
QuranPageBrowser
-
+
تكبير
-
+
تصغير
-
+
نسخ نص الآية
-
+
اختر
-
+
قراءة
-
+
التفسير
-
+
الترجمة
-
+
خواطر
-
+
اضافة علامة
-
+
إزالة العلامة
@@ -976,7 +976,7 @@
-
+
المميزات
@@ -991,102 +991,112 @@
تحذير التلاوات المفقودة
-
+
القارئ
-
+
+
+ مسار التحميلات
+
+
+
صفحة القرآن
-
+
+
+ تغيير
+
+
+
تظليل النص
-
+
حجم خط تلقائي
-
+
وضع القراءة
-
+
صفحة
-
+
صفحتين
-
+
خط الصفحة
-
+
خط 1
-
+
خط 2
-
-
-
+
+
+
الحجم
-
+
خط الآيات
-
+
خط الصفحة
-
+
عثماني
-
+
عثماني (مرمز)
-
+
المحتوى الجانبي
-
+
نوع الخط
-
+
الترجمة
-
+
الاختصارات
@@ -1096,50 +1106,71 @@
التفسير
-
+
الوصف
-
+
المفتاح
-
-
-
-
+
+
+
+
+
مطلوب إعادة التشغيل
-
+
تم تغيير مظهر التطبيق، هل تريد إعادة التشغيل الآن؟
-
+
+
+ حدد المجلد
+
+
+
+
+ مسار غير صالح
+
+
+
+
+ المسار المختار غير صالح. الرجاء اختيار مسار قابل للكتابة.
+
+
+
تم تغيير لغة التطبيق، هل تريد إعادة التشغيل الآن؟
-
+
تم تغيير وضع القراءة، هل تريد إعادة التشغيل الآن؟
-
+
+
+ تم تغيير مسار تحميلات التطبيق، هل تريد إعادة التشغيل الآن؟
+
+
+
إعادة التشغيل مطلوبة لتحميل خط القرآن الجديد، هل تريد إعادة التشغيل الآن؟
-
+
طبّق
-
+
ألغِ
@@ -1509,7 +1540,7 @@
التكرارات
-
+
لا يمكن لآية النهاية أن تكون قبل آية البداية
diff --git a/dist/translations/out/qc_ru.ts b/dist/translations/out/qc_ru.ts
index 305802e9..089123b5 100644
--- a/dist/translations/out/qc_ru.ts
+++ b/dist/translations/out/qc_ru.ts
@@ -457,7 +457,7 @@
MainWindow
-
+
Компаньон Корана
@@ -484,7 +484,7 @@
-
+
Навигация
@@ -545,7 +545,7 @@
-
+
О платформе Qt
@@ -595,44 +595,44 @@
По умолчанию
-
+
Сейчас проигрывается:
-
+
Сура
-
-
-
+
+
+
Файл не найден
-
+
Файлы выбранного шрифта отсутствуют, вы хотите загрузить их?
-
+
Файлы выбранного тафсира отсутствуют, вы хотите загрузить его?
-
+
Файлы выбранного перевода отсутствуют, вы хотите загрузить их?
-
+
Чтец не найден
-
+
Файл чтения для текущей суры отсутствует, вы хотите скачать его?
@@ -781,52 +781,52 @@
QuranPageBrowser
-
+
Увеличить масштаб
-
+
Уменьшить масштаб
-
+
Копировать аят
-
+
Выбрать
-
+
Воспроизвести
-
+
Тафсир
-
+
Перевод
-
+
Мысли
-
+
Добавить закладку
-
+
Удалить закладку
@@ -976,7 +976,7 @@
-
+
Особенности
@@ -991,102 +991,112 @@
Отсутствует предупреждение о чтении
-
+
Читатель
-
+
+
+ Downloads path
+
+
+
Страница Корана
-
+
+
+ Change
+
+
+
Подсветка переднего плана
-
+
Адаптивный размер шрифта
-
+
Режим чтения
-
+
Одностраничный
-
+
Двойная страница
-
+
Шрифт страницы
-
+
QCF V1
-
+
QCF V2
-
-
-
+
+
+
размер
-
+
Шрифт аята
-
+
QCF
-
+
Uthmanic
-
+
Uthmanic (аннотированный)
-
+
Содержимое боковой панели
-
+
Семейство шрифта
-
+
Перевод
-
+
Сочетания клавиш
@@ -1096,50 +1106,71 @@
Тафсир
-
+
Описание
-
+
Клавиша
-
-
-
-
+
+
+
+
+
Требуется перезапуск
-
+
Тема приложения изменена, перезапустить сейчас?
-
+
+
+ Select directory
+
+
+
+
+ Invalid path
+
+
+
+
+ The chosen path is not valid. Please select a writable path.
+
+
+
Язык приложения изменён, перезапустить сейчас?
-
+
Режим чтения изменён, перезапустить сейчас?
-
+
+
+ Application downloads path was changed, restart now?
+
+
+
Перезапуск необходим для загрузки нового шрифта, перезапустить сейчас?
-
+
Применить
-
+
Отмена
@@ -1509,7 +1540,7 @@
Repetitions
-
+
End verse cannot be before start verse
diff --git a/dist/translations/out/qc_tr.ts b/dist/translations/out/qc_tr.ts
index a64dc8e1..a3951735 100644
--- a/dist/translations/out/qc_tr.ts
+++ b/dist/translations/out/qc_tr.ts
@@ -457,7 +457,7 @@
MainWindow
-
+
Kura-an'ı Kerim Arkadaşı
@@ -484,7 +484,7 @@
-
+
Gezinme
@@ -545,7 +545,7 @@
-
+
Qt Hakkında
@@ -595,44 +595,44 @@
Varsayılan
-
+
Şimdi oynatılıyor:
-
+
Sure
-
-
-
+
+
+
Files Missing
-
+
The selected font files are missing, would you like to download it?
-
+
The selected tafsir is missing, would you like to download it?
-
+
The selected translation is missing, would you like to download it?
-
+
Kıraat bulunamadı
-
+
Güncel Surenin kıraat dosyaları eksik, indirmek ister misiniz?
@@ -781,52 +781,52 @@
QuranPageBrowser
-
+
Yakınlaştır
-
+
Uzaklaştır
-
+
Ayeti kopyala
-
+
Seç
-
+
Oynat
-
+
Tefsir
-
+
Çeviri
-
+
Thoughts
-
+
Yer işareti Ekle
-
+
Yer imini kaldır
@@ -976,7 +976,7 @@
-
+
Özellikler
@@ -991,102 +991,112 @@
Eksik okuyucu uyarısı
-
+
Okuyucu
-
+
+
+ Downloads path
+
+
+
Kuran sayfası
-
+
+
+ Change
+
+
+
Ön Plan Vurgusu
-
+
Uyarlanabilir yazı tipi boyutu
-
+
Okuyucu modu
-
+
Tek sayfa
-
+
Çift sayfa
-
+
Page font
-
+
QCF V1
-
+
QCF V2
-
-
-
+
+
+
size
-
+
Verse font
-
+
QCF
-
+
Uthmanic
-
+
Uthmanic (annotated)
-
+
Yan içerik
-
+
Yazı Tipi Ailesi
-
+
Çeviri
-
+
Kısayollar
@@ -1096,50 +1106,71 @@
Tefsir
-
+
Açıklama
-
+
Tuş
-
-
-
-
+
+
+
+
+
Yeniden başlatma gerekli
-
+
Uygulama teması değiştirildi, şimdi yeniden başlatılsın mı?
-
+
+
+ Select directory
+
+
+
+
+ Invalid path
+
+
+
+
+ The chosen path is not valid. Please select a writable path.
+
+
+
Uygulama dili değiştirildi, şimdi yeniden başlatılsın mı?
-
+
Okuma modu değiştirildi, şimdi yeniden başlatılsın mı?
-
+
+
+ Application downloads path was changed, restart now?
+
+
+
Yeni Kuran yazı tipini yüklemek için yeniden başlatma gerekiyor, şimdi yeniden başlatılsın mı?
-
+
Uygula
-
+
Vazgeç
@@ -1509,7 +1540,7 @@
Repetitions
-
+
End verse cannot be before start verse
From ad684369bc3c9de592bae0255023220372ee5845 Mon Sep 17 00:00:00 2001
From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com>
Date: Sat, 24 Aug 2024 21:01:19 +0300
Subject: [PATCH 4/4] release: update sources
---
CHANGELOG.md | 4 ++--
CMakeLists.txt | 2 +-
README-AR.md | 4 ++--
README.md | 4 ++--
VERSION | 2 +-
.../io.github._0xzer0x.qurancompanion.metainfo.xml | 13 ++++++++++++-
snap/snapcraft.yaml | 6 +++---
src/main.cpp | 2 +-
8 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c9ceb15..be8ceb12 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,10 +2,10 @@
### التحديثات 💭
-- تصليح عطل في مكان ظهور نافذة التكرار
+- إضافة خاصية: تغيير مسار التحميلات (#88)
### What's Changed 💭
-- Bug fix in repeater widget positioning
+- Added feature: Customizable downloads path (#88)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b48678cc..a2814e9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22)
project(
quran-companion
LANGUAGES CXX
- VERSION 1.2.8
+ VERSION 1.2.9
DESCRIPTION "Quran reader and player"
HOMEPAGE_URL "https://0xzer0x.github.io/projects/quran-companion/")
diff --git a/README-AR.md b/README-AR.md
index 5a19b03f..744e3f95 100644
--- a/README-AR.md
+++ b/README-AR.md
@@ -138,7 +138,7 @@
-
+
@@ -329,4 +329,4 @@ cmake --build .
[win-installer]: https://github.com/0xzer0x/quran-companion/releases/download/v1.1.9/qc_online_installer_x64_win.exe
[translation-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Translations
[recitations-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Recitations
-[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.8/Quran_Companion-1.2.8-x86_64.dmg
+[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.9/Quran_Companion-1.2.9-x86_64.dmg
diff --git a/README.md b/README.md
index dfd36bb8..352582fd 100644
--- a/README.md
+++ b/README.md
@@ -135,7 +135,7 @@ The application can be downloaded in any of the available packages (snap, flatpa
-
+
@@ -311,4 +311,4 @@ Distributed under the [Waqf General Public License](https://ojuba.org/waqf-2.0:%
[win-installer]: https://github.com/0xzer0x/quran-companion/releases/download/v1.1.9/qc_online_installer_x64_win.exe
[translation-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Translations
[recitations-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Recitations
-[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.8/Quran_Companion-1.2.8-x86_64.dmg
+[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.9/Quran_Companion-1.2.9-x86_64.dmg
diff --git a/VERSION b/VERSION
index db6fb4a9..9d4f8239 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.2.8
+1.2.9
diff --git a/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml b/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml
index 469cbab3..6b89b558 100644
--- a/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml
+++ b/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml
@@ -2,7 +2,7 @@
io.github._0xzer0x.qurancompanion
Quran Companion
- Cross-platform Quran reader and player
+ Read and listen to the Quran
MIT
LGPL-3.0-or-later
@@ -15,6 +15,10 @@
Quran Companion is a cross-platform Quran reader and player with recitation download capabilities, verse highlighting, resizable quran font, and a variety of tafsir books and translations
+
+ #8ab4f8
+ #8ab4f8
+
Youssef Fathy
@@ -51,6 +55,13 @@
+
+
+
+ - Customizable downloads path
+
+
+
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 672f415b..98e9e6c0 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,11 +1,11 @@
name: quran-companion
base: core22
-version: '1.2.8'
+version: 1.2.9
title: Quran Companion
website: https://0xzer0x.github.io/projects/quran-companion
source-code: https://github.com/0xzer0x/quran-companion
-contact: youssefessamasu@gmail.com
-summary: Cross-platform Quran reader and player
+contact: https://0xzer0x.github.io/contact
+summary: Read and listen to the Quran
description: |
Quran Companion is a cross-platform Quran reader and player with recitation download capabilities, verse highlighting, re-sizable Quran font, and a variety of tafsir books and translations.
diff --git a/src/main.cpp b/src/main.cpp
index 86c8dccc..4bb07a04 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -28,7 +28,7 @@ main(int argc, char* argv[])
QApplication a(argc, argv);
QApplication::setApplicationName("Quran Companion");
QApplication::setOrganizationName("0xzer0x");
- QApplication::setApplicationVersion("1.2.8");
+ QApplication::setApplicationVersion("1.2.9");
QSplashScreen splash(QPixmap(":/resources/splash.png"));
splash.show();