diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index eb50e9b..327dc6d 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: tag: - description: "Tag to create (e.g., v0.1.0)" + description: "Tag to create (e.g., v2.0.0)" required: true default: "v2.0.0" type: string @@ -123,14 +123,14 @@ jobs: shell: pwsh run: | $ErrorActionPreference = "Stop" - pyinstaller --noconfirm --onefile --name "ytpl-sync" --distpath "dist/pyinstaller" --workpath "build/pyinstaller" --specpath "build/pyinstaller" --paths "src" "ytpl-sync-entry.py" + pyinstaller --noconfirm --onefile --noconsole --name "ytpl-sync" --distpath "dist/pyinstaller" --workpath "build/pyinstaller" --specpath "build/pyinstaller" --paths "src" "ytpl-sync-entry.py" - name: Build binary (Linux) if: runner.os == 'Linux' shell: bash run: | set -euo pipefail - pyinstaller --noconfirm --onefile --name "ytpl-sync" --distpath "dist/pyinstaller" --workpath "build/pyinstaller" --specpath "build/pyinstaller" --paths "src" "ytpl-sync-entry.py" + pyinstaller --noconfirm --onefile --noconsole --name "ytpl-sync" --distpath "dist/pyinstaller" --workpath "build/pyinstaller" --specpath "build/pyinstaller" --paths "src" "ytpl-sync-entry.py" - name: Stage package shell: bash diff --git a/ytpl-sync-entry.py b/ytpl-sync-entry.py index 8d47515..c950221 100644 --- a/ytpl-sync-entry.py +++ b/ytpl-sync-entry.py @@ -1,8 +1,7 @@ from __future__ import annotations -from app.cli import main +from app.gui.main import main if __name__ == "__main__": raise SystemExit(main()) -