mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-14 20:02:03 +08:00
fix: 修复样式载入问题、微调文档
This commit is contained in:
@@ -13,7 +13,8 @@ import {
|
||||
sendCaptionLog,
|
||||
setControls,
|
||||
sendControls,
|
||||
readConfig
|
||||
readConfig,
|
||||
writeConfig
|
||||
} from './utils/config'
|
||||
|
||||
class ControlWindow {
|
||||
@@ -52,6 +53,7 @@ class ControlWindow {
|
||||
|
||||
this.window.on('closed', () => {
|
||||
this.window = undefined
|
||||
writeConfig()
|
||||
})
|
||||
|
||||
this.window.webContents.setWindowOpenHandler((details) => {
|
||||
|
||||
Reference in New Issue
Block a user