bootstrap await import 수정: path/app을 최상위 import로 변경

This commit is contained in:
Yun Chan 2026-04-05 12:18:33 +09:00
parent 0b76b9c471
commit 74e027d058

View file

@ -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<void> {
// 이력 저장 (오디오 파일 경로 포함)
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`)