Skip to content

Commit 91c5565

Browse files
building and release
1 parent 4e9884c commit 91c5565

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/linux-build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@ jobs:
3434
# 4) Build com PyInstaller
3535
- name: Build with PyInstaller
3636
run: |
37-
pyinstaller --onefile MarkViewDesktop/main.py --name markview
37+
# pyinstaller --onefile MarkViewDesktop/main.py --name markview
38+
pyinstaller --noconsole --name DocViewer --icon="MarkViewDesktop/icons_svg/doc_icon.ico" --add-data "MarkViewDesktop/ui_docV.py;." --add-data "MarkViewDesktop/icons_svg/*;icons" MarkViewDesktop/main.py
3839
ls dist
39-
40+
- name: Compressing files
41+
run: |
42+
tar -czvf dist/markview-linux.tar.gz dist/markview
43+
ls dist
4044
# 5) Criar ou atualizar uma Release no GitHub
4145
- name: Create GitHub Release
4246
id: create_release
4347
uses: actions/create-release@v1
4448
with:
4549
tag_name: v0.1.1
46-
release_name: "Linux Release v0.1.0"
50+
release_name: "Linux Release v0.1.1"
4751
draft: false
4852
prerelease: false
4953
env:
5.25 KB
Binary file not shown.

MarkViewDesktop/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
PyQt5
2+
PyQtWebEngine
23
markdown
34
PyInstaller

0 commit comments

Comments
 (0)