feat: 音频缓存(支持离线)&音频代理

This commit is contained in:
lqtmcstudio
2026-02-04 10:30:28 +08:00
parent 935038cd93
commit d37f2e073e
5 changed files with 959 additions and 58 deletions

View File

@@ -4,6 +4,7 @@ import { fileURLToPath } from 'node:url'
import path from 'node:path'
import fs from 'node:fs'
import { MpvController } from './mpvController'
import { startProxyServer } from './proxyServer'
import { PluginSystem } from '../src/main/pluginSystem.ts'
// @ts-ignore
const require = createRequire(import.meta.url)
@@ -163,6 +164,9 @@ module.exports = {
Menu.setApplicationMenu(null)
createWindow()
// Start Proxy Server
startProxyServer()
// Start MPV
mpv = new MpvController()
mpv.start()