From 4779ab269f5e4b77a77225bde7c130088b21eea8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 27 Aug 2025 21:42:31 +0300 Subject: [PATCH] Update Python version and remove unused constant Downgraded PYTHON_VERSION in build-windows.yml from 3.13.6 to 3.13.5. Removed SUBPROCESS_CREATIONFLAGS import and usage from ytsage_dialogs_custom.py as it was no longer needed. --- .github/workflows/build-windows.yml | 29 +------------------ .../ytsage_dialogs_custom.py | 3 +- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 2b9d392..88b1f06 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -9,7 +9,7 @@ permissions: contents: write env: - PYTHON_VERSION: '3.13.6' + PYTHON_VERSION: '3.13.5' jobs: build-windows: @@ -253,33 +253,6 @@ jobs: **Release Date**: ${{ github.event.head_commit.timestamp }} - ## Downloads - - ### Standard Version (ZIP) - - **YTSage-v${{ steps.get_version.outputs.VERSION }}-portable.zip** – Portable ZIP (downloads FFmpeg on first use if needed) - - ### FFmpeg Bundle Version (ZIP) - - **YTSage-v${{ steps.get_version.outputs.VERSION }}-ffmpeg-portable.zip** – Portable ZIP with FFmpeg included - - ## Installation / Usage - - 1. Download the `.zip` file you want. - 2. Right-click the ZIP, choose Properties, and if you see "Unblock", check it and Apply. - 3. Extract the ZIP to a folder (e.g., `C:\Apps\YTSage`). - 4. Run `YTSage-v${{ steps.get_version.outputs.VERSION }}.exe` inside the extracted folder. - - ## System Requirements - - - Windows 10/11 (64-bit) - - Internet connection for yt-dlp updates - - ## Notes - - - **Standard version**: Downloads FFmpeg automatically when needed. - - **FFmpeg bundle**: Includes FFmpeg binaries for offline use. - - --- - **Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ github.ref_name }} files: | artifacts/* diff --git a/src/gui/ytsage_gui_dialogs/ytsage_dialogs_custom.py b/src/gui/ytsage_gui_dialogs/ytsage_dialogs_custom.py index 0341db6..778fbc9 100644 --- a/src/gui/ytsage_gui_dialogs/ytsage_dialogs_custom.py +++ b/src/gui/ytsage_gui_dialogs/ytsage_dialogs_custom.py @@ -29,7 +29,7 @@ from PySide6.QtWidgets import ( ) from src.core.ytsage_yt_dlp import get_yt_dlp_path -from src.utils.ytsage_constants import YTDLP_DOCS_URL, SUBPROCESS_CREATIONFLAGS +from src.utils.ytsage_constants import YTDLP_DOCS_URL try: import yt_dlp @@ -85,7 +85,6 @@ class CommandWorker(QObject): text=True, encoding="utf-8", errors="replace", - creationflags=SUBPROCESS_CREATIONFLAGS, ) # Stream output