feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment
Some checks failed
CI Pipeline / Code Quality & Typecheck (push) Waiting to run
CI Pipeline / Test Suite (macos-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (ubuntu-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (windows-latest) (push) Blocked by required conditions
CI Pipeline / Build Validation (admin) (push) Blocked by required conditions
CI Pipeline / Build Validation (desktop) (push) Blocked by required conditions
Deploy Landing Page / deploy (push) Blocked by required conditions
Deploy Landing Page / build (push) Waiting to run
Release & Packaging Pipeline / Build & Publish Admin Docker Image (push) Failing after 8s
Release & Code Signing CA Pipeline / build-and-sign-windows (push) Failing after 1m51s
Build macOS / Build & Package (macOS) (push) Failing after 4s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s
Release & Code Signing CA Pipeline / build-and-sign-macos (push) Failing after 3s
Release & Packaging Pipeline / Package macOS Desktop App (push) Failing after 4s
Release & Packaging Pipeline / Package Windows Desktop App (push) Failing after 2m28s
Release & Packaging Pipeline / Publish Official GitHub Release (push) Has been skipped
Some checks failed
CI Pipeline / Code Quality & Typecheck (push) Waiting to run
CI Pipeline / Test Suite (macos-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (ubuntu-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (windows-latest) (push) Blocked by required conditions
CI Pipeline / Build Validation (admin) (push) Blocked by required conditions
CI Pipeline / Build Validation (desktop) (push) Blocked by required conditions
Deploy Landing Page / deploy (push) Blocked by required conditions
Deploy Landing Page / build (push) Waiting to run
Release & Packaging Pipeline / Build & Publish Admin Docker Image (push) Failing after 8s
Release & Code Signing CA Pipeline / build-and-sign-windows (push) Failing after 1m51s
Build macOS / Build & Package (macOS) (push) Failing after 4s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s
Release & Code Signing CA Pipeline / build-and-sign-macos (push) Failing after 3s
Release & Packaging Pipeline / Package macOS Desktop App (push) Failing after 4s
Release & Packaging Pipeline / Package Windows Desktop App (push) Failing after 2m28s
Release & Packaging Pipeline / Publish Official GitHub Release (push) Has been skipped
This commit is contained in:
parent
5cd1de6859
commit
708e20f747
406 changed files with 42464 additions and 6199 deletions
|
|
@ -10,6 +10,8 @@ import type { FileTranscriptionStartParams } from '@d3ro/core/types'
|
|||
|
||||
const logger = getLogger('file-transcription-handlers')
|
||||
|
||||
let isShowingFileTranscriptionDialog = false
|
||||
|
||||
export function registerFileTranscriptionHandlers(): void {
|
||||
ipcMain.handle(
|
||||
IPC_CHANNELS.FILE_TRANSCRIPTION.START,
|
||||
|
|
@ -19,22 +21,35 @@ export function registerFileTranscriptionHandlers(): void {
|
|||
|
||||
// filePath가 없으면 파일 선택 다이얼로그
|
||||
if (!filePath) {
|
||||
const result = await dialog.showOpenDialog({
|
||||
properties: ['openFile'],
|
||||
filters: [
|
||||
{
|
||||
name: 'Audio/Video',
|
||||
extensions: [
|
||||
'mp3', 'wav', 'm4a', 'ogg', 'flac', 'wma', 'aac',
|
||||
'mp4', 'mkv', 'webm', 'avi', 'mov',
|
||||
],
|
||||
},
|
||||
],
|
||||
})
|
||||
if (result.canceled || result.filePaths.length === 0) {
|
||||
return ipcError(ErrorCode.FileTranscriptionCancelled, 'File selection cancelled')
|
||||
if (isShowingFileTranscriptionDialog) {
|
||||
return ipcError(ErrorCode.FileTranscriptionCancelled, 'File selection dialog already active')
|
||||
}
|
||||
isShowingFileTranscriptionDialog = true
|
||||
try {
|
||||
const { getMainWindow } = await import('../windows/WindowManager')
|
||||
const mainWindow = getMainWindow()
|
||||
const dialogOptions = {
|
||||
properties: ['openFile'] as ('openFile')[],
|
||||
filters: [
|
||||
{
|
||||
name: 'Audio/Video',
|
||||
extensions: [
|
||||
'mp3', 'wav', 'm4a', 'ogg', 'flac', 'wma', 'aac',
|
||||
'mp4', 'mkv', 'webm', 'avi', 'mov',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
const result = mainWindow
|
||||
? await dialog.showOpenDialog(mainWindow, dialogOptions)
|
||||
: await dialog.showOpenDialog(dialogOptions)
|
||||
if (result.canceled || result.filePaths.length === 0) {
|
||||
return ipcError(ErrorCode.FileTranscriptionCancelled, 'File selection cancelled')
|
||||
}
|
||||
filePath = result.filePaths[0]
|
||||
} finally {
|
||||
isShowingFileTranscriptionDialog = false
|
||||
}
|
||||
filePath = result.filePaths[0]
|
||||
}
|
||||
|
||||
const service = getFileTranscriptionService()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue