Playtube: eigenstaendiger YouTube/YouTube-Music-Player mit Discord RPC und Auto-Update
- PySide6/QtWebEngine mit persistentem Login-Profil (YouTube + YouTube Music Tabs) - Google-Login-Fix per Sec-CH-UA-Headern + Chrome-JS-Shim - Discord Rich Presence (eigener Thread, Titel/Fortschritt/Buttons) - Eigenes Branding (Taskmanager/Taskleiste) per AppUserModelID + PyInstaller-Packaging - Auto-Update ueber GitHub Releases (fojadrachi/Playtube) Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# PyInstaller-Spec fuer Playtube.
|
||||
# Bauen mit: pyinstaller packaging/playtube.spec --noconfirm
|
||||
# (aus dem Projekt-Root ausfuehren, oder packaging/build.ps1 benutzen)
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
block_cipher = None
|
||||
|
||||
ROOT = Path(SPECPATH).resolve().parent
|
||||
|
||||
a = Analysis(
|
||||
[str(ROOT / "main.py")],
|
||||
pathex=[str(ROOT)],
|
||||
binaries=[],
|
||||
datas=[
|
||||
(str(ROOT / "assets"), "assets"),
|
||||
(str(ROOT / "config.json"), "."),
|
||||
],
|
||||
hiddenimports=["pypresence"],
|
||||
hookspath=[],
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
)
|
||||
|
||||
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name="Playtube",
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=False,
|
||||
console=False,
|
||||
icon=str(ROOT / "assets" / "icon.ico"),
|
||||
version=str(ROOT / "packaging" / "version_info.txt"),
|
||||
)
|
||||
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=False,
|
||||
name="Playtube",
|
||||
)
|
||||
Reference in New Issue
Block a user