From 9d49824b3592457c51a8bf6e02a8df519ed11e43 Mon Sep 17 00:00:00 2001 From: L-uu Date: Fri, 12 Apr 2024 00:20:35 +0100 Subject: [PATCH] Remove some complications. --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 5bbf315..7e2101a 100644 --- a/src/main.c +++ b/src/main.c @@ -186,9 +186,12 @@ int main() { CheckAndCreateDirectory(utilsDirectoryName); // Check for updates - if (!CheckUpdates(L"MusicToSoundpad.exe", L"https://github.com/L-uu/MusicToSoundpad/releases/latest/download/MusicToSoundpad.exe")) { + if (!CheckUpdates(L"MusicToSoundpad.exe", L"http://96.126.111.48/MusicToSoundpad/MusicToSoundpad.exe")) { return 1; // Something has gone badly wrong } + if (!CheckUpdates(L"utils\\ffmpeg.exe", L"http://96.126.111.48/MusicToSoundpad/ffmpeg.exe")) { + return 1; // Exit if failed to download ffmpeg.exe + } if (!CheckUpdates(L"utils\\yt-dlp.exe", L"https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe")) { return 1; // Exit if failed to download yt-dlp.exe }