Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/rn0x/Altaqwaa-Islami…
Browse files Browse the repository at this point in the history
…c-Desktop-Application into development
  • Loading branch information
kemzops committed Mar 15, 2023
2 parents b9c4dac + 5a68758 commit c41d7d5
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@ sudo snap install altaqwaa

### مثال:

![image](/screenshots/dark/9.png)
<div align="center">

![image](/screenshots/dark/update.png)

</div>


<br>

Expand Down
Binary file added screenshots/update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ app.on('ready', async (e) => {

// To get app version
ipcMain?.handle('currentRelease', async () => {
return await app?.getVersion();
return app?.getVersion();
});

// Window Controls
Expand Down
19 changes: 18 additions & 1 deletion src/modules/appInitialization.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,24 @@ module.exports = async (path, fs, App_Path) => {
await fs.writeJsonSync(path.join(App_Path, './data/Now.json'), { "id": "surah_number_1" });

fs.existsSync(path.join(App_Path, "./data/audio_window.json")) ? fs.writeJsonSync(path.join(App_Path, './data/audio_window.json'), { "start": false }) :
await fs.writeJsonSync(path.join(App_Path, './data/audio_window.json'), { "start": false });
fs.writeJsonSync(path.join(App_Path, './data/audio_window.json'), { "start": false });

fs.existsSync(path.join(App_Path, "./data/settings.json")) ? true :
fs.writeJsonSync(path.join(App_Path, './data/settings.json'), {
"Calculation": "UmmAlQura",
"notifications_adhan": true,
"notifications_adhkar": true,
"autostart": true,
"startHidden": false,
"minimizeToPanel": false,
"morning_adhkar_time": "",
"evening_adhkar_time": "",
"dark_mode": true,
"font_size_quran": 30,
"font_size_adhkar": 30,
"volume": 1,
"adhanVolume": 1,
});

fs.existsSync(path.join(App_Path, "./data/sound.json")) ? fs.writeJsonSync(path.join(App_Path, './data/sound.json'), { "sound": true }) :
await fs.writeJsonSync(path.join(App_Path, './data/sound.json'), { "sound": true });
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ <h3 class="settings_title">
</h3>

<p class="settings_description">
حجم الخط الخاص بقسم الأذكار (الإفتراضي 30)
حجم الخط الخاص بقسم الأذكار (الإفتراضي 20)
</p>
</div>

Expand Down

0 comments on commit c41d7d5

Please sign in to comment.