Skip to content

Commit 8180621

Browse files
committed
fix: 适配2.0
1 parent 8f097a3 commit 8180621

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/maa.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { handleDebug } from './customMaa/debugType'
1414
import { BASE_RES_PATH, INTERFACE_PATH } from './reszip'
1515

1616
maa.Global.log_dir = path.join(BASE_RES_PATH, 'logs')
17-
maa.Global.debug_message = true
17+
maa.Global.debug_mode = true
1818

1919
let tskr: maa.Tasker
2020
let win: BrowserWindow
@@ -170,7 +170,7 @@ ipcMain.handle('maa-get-interface', () => getInterface())
170170
ipcMain.handle('maa-query-recognition-detail', (_, recoId) => queryRecognitionDetail(recoId))
171171

172172
ipcMain.on('maa-debug', (_, isDebug: boolean) => {
173-
maa.Global.debug_message = isDebug
173+
maa.Global.debug_mode = isDebug
174174
})
175175

176176
export default (_win: BrowserWindow) => {

0 commit comments

Comments
 (0)