From 7dc9cc19f6fbb372927d4b528992d011ed2981a1 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 4 Nov 2024 12:39:25 +0100 Subject: [PATCH] fix imports --- internal/logic/ffmpeg_windows.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/logic/ffmpeg_windows.go b/internal/logic/ffmpeg_windows.go index 16348e9..3cabb2f 100644 --- a/internal/logic/ffmpeg_windows.go +++ b/internal/logic/ffmpeg_windows.go @@ -5,7 +5,11 @@ package logic import ( "fmt" + "io" + "net/http" + "os" "os/exec" + "path/filepath" "runtime" ffstatic_windows_amd64 "github.com/go-ffstatic/windows-amd64" ) @@ -22,7 +26,7 @@ func getFFmpegPath() (string, error) { ffmpegURL := "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip" // Download ZIP file - err := downloadFile(ffmpegURL, zipPath) + err := downloadFFmpeg(ffmpegURL, zipPath) if err != nil { return "", fmt.Errorf("failed to download FFmpeg: %v", err) }