mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-08 09:31:27 +03:00
Refactored youtube-dl updating, added tests
This commit is contained in:
@@ -670,7 +670,7 @@ async function getUrlInfos(url) {
|
||||
|
||||
async function startYoutubeDL() {
|
||||
// auto update youtube-dl
|
||||
youtubedl_api.verifyBinaryExistsLinux();
|
||||
youtubedl_api.verifyBinaryExists();
|
||||
const update_available = await youtubedl_api.checkForYoutubeDLUpdate();
|
||||
if (update_available) await youtubedl_api.updateYoutubeDL(update_available);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user