diff --git a/src/main/bootstrap.ts b/src/main/bootstrap.ts index fa3b23c..f1a7d17 100644 --- a/src/main/bootstrap.ts +++ b/src/main/bootstrap.ts @@ -1,5 +1,6 @@ // src/main/bootstrap.ts — 초기화 시퀀스 +import { join } from 'path' import { app, dialog, globalShortcut, ipcMain as ipcMainRef } from 'electron' import { initLoggerService, getLogger } from './services/LoggerService' import { initConfigService } from './services/ConfigService' @@ -139,8 +140,6 @@ async function initVoiceMode(): Promise { // 이력 저장 (오디오 파일 경로 포함) try { - const { join } = await import('path') - const { app } = await import('electron') const wordCount = finalText.split(/\s+/).filter((w) => w.length > 0).length const audioPath = join(app.getPath('userData'), 'recordings', `${session.id}.wav`)