refactor(probe): 统一内嵌 ffprobe 为 Windows 版本
- 删除 macOS 和非 Windows 平台的内嵌 ffprobe 实现 - 移除 build.sh 中针对不同操作系统的构建逻辑 - 更新 README.md 中关于多平台 ffprobe 内嵌的说明 - 修改 SkipNames 列表,移除对 ffprobe_mac 的跳过配置 - 将内嵌的 ffprobe 统一为 Windows 版本 (ffprobe.exe)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
//go:build windows
|
||||
|
||||
package probe
|
||||
|
||||
import _ "embed"
|
||||
@@ -1,8 +0,0 @@
|
||||
//go:build darwin
|
||||
|
||||
package probe
|
||||
|
||||
import _ "embed"
|
||||
|
||||
//go:embed bin/ffprobe_mac
|
||||
var embeddedFFprobe []byte // macOS 版 ffprobe(未入库,见 .gitignore)
|
||||
@@ -1,6 +0,0 @@
|
||||
//go:build !darwin && !windows
|
||||
|
||||
package probe
|
||||
|
||||
// embeddedFFprobe 当前平台没有内嵌的 ffprobe
|
||||
var embeddedFFprobe []byte
|
||||
Reference in New Issue
Block a user