feat: initial Tauri desktop shell for BatchTube v1.0

This commit is contained in:
Agent Zero
2026-03-07 01:27:25 +01:00
commit a1853bb68a
25 changed files with 3665 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
# batchtube-server.spec
# PyInstaller spec to bundle the BatchTube FastAPI backend
# Run: pyinstaller batchtube-server.spec
import sys
from pathlib import Path
block_cipher = None
a = Analysis(
['api_server.py'],
pathex=[str(Path('.'). resolve())],
binaries=[],
datas=[
('web', 'web'),
('youtube_sipoc.db', '.'),
],
hiddenimports=[
'uvicorn.logging',
'uvicorn.loops',
'uvicorn.loops.auto',
'uvicorn.protocols',
'uvicorn.protocols.http',
'uvicorn.protocols.http.auto',
'uvicorn.protocols.websockets',
'uvicorn.protocols.websockets.auto',
'uvicorn.lifespan',
'uvicorn.lifespan.on',
'fastapi',
'yt_dlp',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='batchtube-server',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False, # No console window
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)