Skip to content

Commit 32c5935

Browse files
committed
Merge branch 'albayan_beta'
2 parents c2dd091 + a6cda51 commit 32c5935

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+2145
-529
lines changed

.github/workflows/albayan_beta.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# This workflow will install Python dependencies and build the Albayan application using cx-Freeze on Windows.
2+
3+
name: Albayan_beta
4+
5+
on:
6+
push:
7+
branches: [ "albayan_beta" ]
8+
pull_request:
9+
branches: [ "albayan_beta" ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
runs-on: windows-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: "3.12"
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install cx-Freeze
30+
if (Test-Path "requirements.txt") { pip install -r requirements.txt }
31+
32+
- name: Build with cx-Freeze
33+
run: |
34+
python setup.py build
35+
36+
- name: Rename main.exe to albayan.exe
37+
run: |
38+
Rename-Item -Path "albayan_build\main.exe" -NewName "albayan.exe"
39+
40+
- name: Download and install Inno Setup
41+
run: |
42+
Invoke-WebRequest -Uri https://jrsoftware.org/download.php/is.exe -OutFile is.exe
43+
Start-Process -Wait -FilePath .\is.exe -ArgumentList '/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/SP'
44+
45+
- name: Download Arabic and Vietnamese language files
46+
run: |
47+
Invoke-WebRequest -Uri https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Arabic.isl -OutFile "C:\Program Files (x86)\Inno Setup 6\Languages\Arabic.isl"
48+
Invoke-WebRequest -Uri https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Vietnamese.isl -OutFile "C:\Program Files (x86)\Inno Setup 6\Languages\Vietnamese.isl"
49+
50+
- name: Package with Inno Setup
51+
run: |
52+
Start-Process -Wait -FilePath "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" -ArgumentList "albayan.iss"
53+
54+
- name: Upload compressed build output
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: albayan-beta-build
58+
path: albayan_build\AlbayanSetup.exe

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore Python bytecode files
2+
__pycache__/
3+
4+
# Ignore virtual environment directory
5+
albayan_env/

Audio/basmala/1.OGG

35 Bytes
Binary file not shown.

Audio/basmala/10.OGG

-1.74 KB
Binary file not shown.

Audio/basmala/11.OGG

-30 KB
Binary file not shown.

Audio/basmala/12.OGG

16.4 KB
Binary file not shown.

Audio/basmala/13.OGG

-42.9 KB
Binary file not shown.

Audio/basmala/14.OGG

44.8 KB
Binary file not shown.

Audio/basmala/15.OGG

67.2 KB
Binary file not shown.

Audio/basmala/16.OGG

79 KB
Binary file not shown.

0 commit comments

Comments
 (0)