Introduce a new UI for configuring FFmpeg, FFprobe, and FFplay paths with file selection and error handling. Add platform-specific logic for downloading and extracting FFmpeg binaries directly within the application, improving user experience.
14 lines
194 B
Go
14 lines
194 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package utils
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
func PrepareBackgroundCommand(cmd *exec.Cmd) {
|
|
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
|
}
|