1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-01 19:47:01 +03:00

fix: change pyinstaller entrypoint from cli to gui

This commit is contained in:
2026-05-17 13:14:22 +03:00
parent 6e948f16f2
commit 5c6f4b92ef
2 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -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
+1 -2
View File
@@ -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())