🛠️ Release GUI fix.

This commit is contained in:
Robert Honz
2023-12-20 11:48:27 +01:00
parent f4fcdb51c0
commit 7487c63859
3 changed files with 33 additions and 9 deletions
+30 -7
View File
@@ -72,6 +72,7 @@ jobs:
- name: Deploy documentation
run: poetry run mkdocs gh-deploy --force
compute:
# Workaround to be able to use variables in matrix.
runs-on: ubuntu-latest
outputs:
ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }}
@@ -81,7 +82,6 @@ jobs:
run: |
echo "ASSET_EXTENSION=${{ env.ASSET_EXTENSION }}" >> $GITHUB_OUTPUT
echo "OUT_NAME_FILE=${{ env.OUT_NAME_FILE }}" >> $GITHUB_OUTPUT
build-gui-and-upload-assets:
needs: ["publish", "compute"]
env:
@@ -98,12 +98,35 @@ jobs:
source .venv/bin/activate &&
poetry run make gui-macos &&
cd dist &&
pwd &&
echo zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store"
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store"
# - os: "windows-2019"
# TARGET: "windows-2019"
# CMD_BUILD: pyinstaller -F -w -n clipster -i resources/clipster.ico cli.py
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store" &&
cd ..
- os: "macos-13"
TARGET: "macos-13"
CMD_BUILD: >
brew install create-dmg &&
source .venv/bin/activate &&
poetry run make gui-macos &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg/ -x "*.DS_Store" &&
cd ..
- os: "ubuntu-20.04"
TARGET: "ubuntu-20.04"
CMD_BUILD: >
source .venv/bin/activate &&
poetry run make gui &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}} &&
cd ..
- os: "windows-2019"
TARGET: "windows-2019"
CMD_BUILD: >
choco feature enable -n=allowGlobalConfirmation
choco install zip make
source .venv/bin/activate &&
poetry run make gui &&
cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.exe &&
cd ..
runs-on: ${{ matrix.os }}
steps:
- name: Check out
+2 -2
View File
@@ -1,6 +1,6 @@
[project]
name = "tidal-dl-ng"
version = "0.4.18"
version = "0.4.19"
description = "TIDAL Medial Downloader Next Generation!"
authors = ["Robert Honz <cen.sored@gmail.com>"]
repository = "https://github.com/exislow/tidal-dl-ng"
@@ -13,7 +13,7 @@ packages = [
[tool.poetry]
name = "tidal-dl-ng"
authors = ["Robert Honz <cen.sored@gmail.com>"]
version = "0.4.18"
version = "0.4.19"
description = "TIDAL Medial Downloader Next Generation!"
repository = "https://github.com/exislow/tidal-dl-ng"
documentation = "https://exislow.github.io/tidal-dl-ng/"
+1
View File
@@ -25,6 +25,7 @@ from tidal_dl_ng.worker import Worker
# TODO: Make more use of Exceptions
# TODO: Add File -> Version
class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
settings: Settings = None
tidal: Tidal = None