File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,26 +37,24 @@ jobs:
3737 with :
3838 python-version : ${{ env.pythonVersion }}
3939
40- - name : Install Qt dependencies (Linux)
40+ - name : Install Qt system dependencies (Linux)
4141 if : runner.os == 'Linux'
4242 run : |
4343 sudo apt update
4444 sudo apt install -y python3-pip python3-venv xvfb libxcb-cursor0 libxcb-xinerama0 libxkbcommon-x11-0
45-
46- - name : Install Python dependencies (Linux/MacOS)
47- if : runner.os != 'Windows'
48- run : |
49- python -m pip install --upgrade pip
50- pip install -r requirements.txt
5145
52- - name : Install Python dependencies (Windows)
53- if : runner.os == 'Windows'
46+ - name : Install Python dependencies (Windows/MacOS )
47+ if : runner.os != "Linux"
5448 run : |
5549 python -m pip install --upgrade pip
56- pip install -r requirements.txt
57-
50+ pip install -r python/requirements.txt
51+
52+ - name : Install Python dependencies (Linux)
53+ if : runner.os == 'Linux'
54+ run : pip install -r python/requirements-linux.txt
55+
5856 - name : Compile with PyInstaller
59- run : pyinstaller WhatsAnApp.spec
57+ run : pyinstaller python/ WhatsAnApp.spec
6058
6159 - name : Rename Build (Windows)
6260 if : runner.os == 'Windows'
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ venv/bin/pip install -r requirements.txt
5555venv/bin/python main.py
5656```
5757<details >
58- <summary>Screenshot Preview (By [ Daveberry](https://daveberry.netlify.app/) )</summary>
58+ <summary>Screenshot Preview (By Daveberry)</summary>
5959 <img src="readme/Linux (Daveberry).png"/>
6060</details >
6161
@@ -74,7 +74,7 @@ venv\Scripts\python main.py
7474 <p>No one yet. Maybe you could help?</p>
7575</details >
7676
77- In MacOS, here are the steps: (Confirmed by [ @TK50P ] ( https://github.com/tk50p ) )
77+ In MacOS, here are the steps: (Confirmed by [ @TK50P ] ( https://www.tk50piscool.kro.kr/ ) )
7878``` bash
7979git clone https://github.com/daveberrys/WhatsAnApp/
8080cd WhatsAnApp
Original file line number Diff line number Diff line change @@ -11,17 +11,27 @@ if sys.platform == "win32":
1111else :
1212 icon_file = "assets/WhatsAnApp.png"
1313
14+ if sys .platform == "linux" :
15+ hidimports = [
16+ 'pywebview' ,
17+ 'flask' ,
18+ 'qtpy' ,
19+ 'PyQT5' ,
20+ 'PyQT5.QtWebEngineWidgets'
21+ ]
22+ else :
23+ hidimports = [
24+ 'pywebview' ,
25+ 'flask'
26+ ]
27+
1428a = Analysis (
1529 ['main.py' ],
1630 pathex = [],
1731 binaries = binaries_wv ,
1832 datas = [('assets' , 'assets' )] + datas_wv ,
1933 hiddenimports = [
20- 'pywebview' ,
21- 'flask' ,
22- 'qtpy' ,
23- 'PyQt5' ,
24- 'PyQt5.QtWebEngineWidgets'
34+ hidimports
2535 ] + hiddenimports_wv ,
2636 hookspath = [],
2737 hooksconfig = {},
Original file line number Diff line number Diff line change 11flask
22pywebview
3- PyQt5
43pyinstaller
4+ PyQT5
55PyQtWebEngine
6+ qtpy
Original file line number Diff line number Diff line change 1+ flask
2+ pywebview
3+ pyinstaller
You can’t perform that action at this time.
0 commit comments