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: fix checker for edge-tts in windows
puji4810908cbe4e2f50
diff --git a/internal/deps/checker.go b/internal/deps/checker.goindex a2c3563c..867f5cf0 100644--- a/internal/deps/checker.go+++ b/internal/deps/checker.go@@ -608,12 +608,11 @@ func checkEdgeTts() error {log.GetLogger().Error("不支持你当前的操作系统", zap.String("当前系统", runtime.GOOS))return fmt.Errorf("unsupported OS: %s", runtime.GOOS)}- }else {+ } else {log.GetLogger().Error("不支持你当前的操作系统", zap.String("当前系统", runtime.GOOS))return fmt.Errorf("unsupported OS: %s", runtime.GOOS)}- edgettsDownloadPath := "./bin/edge-tts"- err = util.DownloadFile(downloadUrl, edgettsDownloadPath, config.Conf.App.Proxy)+ err = util.DownloadFile(downloadUrl, EdgeTtsBinFilePath, config.Conf.App.Proxy)if err != nil {log.GetLogger().Error("下载edge-tts失败", zap.Error(err))return err@@ -621,4 +620,4 @@ func checkEdgeTts() error {storage.EdgeTtsPath = EdgeTtsBinFilePathlog.GetLogger().Info("edge-tts安装完成", zap.String("路径", EdgeTtsBinFilePath))return nil-}+}\ No newline at end of file