refactor(probe): 统一内嵌 ffprobe 为 Windows 版本

- 删除 macOS 和非 Windows 平台的内嵌 ffprobe 实现
- 移除 build.sh 中针对不同操作系统的构建逻辑
- 更新 README.md 中关于多平台 ffprobe 内嵌的说明
- 修改 SkipNames 列表,移除对 ffprobe_mac 的跳过配置
- 将内嵌的 ffprobe 统一为 Windows 版本 (ffprobe.exe)
This commit is contained in:
2025-04-04 21:08:45 +08:00
parent 13bb195e1d
commit b812abd345
6 changed files with 13 additions and 39 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func main() {
res, err := scanner.Scan(scanner.Options{
RootDir: rootDir,
SkipDir: pickerDir,
SkipNames: []string{store.DBFileName, probe.FFprobeExeName, "ffprobe_mac"},
SkipNames: []string{store.DBFileName, probe.FFprobeExeName},
})
if err != nil {
fmt.Println("=== 扫描失败:", err)