feat: adaptive bitrate support, engine improvements, demo updates, and electron preload

This commit is contained in:
2026-06-12 17:15:30 +08:00
parent 6575b0be0f
commit b6231e4efd
17 changed files with 139 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ execSync('npx vite build', { cwd: root, stdio: 'inherit' })
// 3. Copy public assets into dist
console.log('📁 Copying assets...')
;['videos', 'audio', 'images', 'scenes', 'subtitles'].forEach((dir) => {
;['audio', 'images', 'scenes', 'subtitles'].forEach((dir) => {
const src = path.join(root, 'public', dir)
const dest = path.join(dist, dir)
if (fs.existsSync(src)) {