Skip to content

Commit

Permalink
Remove some complications.
Browse files Browse the repository at this point in the history
  • Loading branch information
L-uu committed Apr 11, 2024
1 parent c738efd commit 9d49824
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9d49824

Please sign in to comment.