forked from miao-moe/QZMusic_PC
feat: 音频缓存(支持离线)&音频代理
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user