Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
fix: Change FilePath type in ShowFileDialog result from string to []string
Pujie56a3cbbc83b
diff --git a/internal/desktop/subtitle.go b/internal/desktop/subtitle.goindex a27d8897..e22fdf4e 100644--- a/internal/desktop/subtitle.go+++ b/internal/desktop/subtitle.go@@ -106,7 +106,7 @@ func (sm *SubtitleManager) ShowFileDialog() {Error int `json:"error"`Msg string `json:"msg"`Data struct {- FilePath string `json:"file_path"`+ FilePath []string `json:"file_path"`} `json:"data"`}@@ -121,7 +121,7 @@ func (sm *SubtitleManager) ShowFileDialog() {}if sm.onVideoSelected != nil {- sm.onVideoSelected(result.Data.FilePath)+ sm.onVideoSelected(result.Data.FilePath[0])}}, sm.window)}