mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-11-13 15:09:20 +01:00
feat: add auto-update option for yt-dlp in settings
This commit is contained in:
5
main.js
5
main.js
@@ -145,7 +145,12 @@ app.whenReady().then(async () => {
|
||||
if (!devMode && !checkNativeDependencies()) return;
|
||||
|
||||
const { userYtDlp } = require("./server/helpers/path.helpers");
|
||||
|
||||
if (configFeatures.autoUpdateYtDlp !== false) {
|
||||
updateYtDlp(userYtDlp);
|
||||
} else {
|
||||
logger.info("yt-dlp automatic updates skipped.");
|
||||
}
|
||||
|
||||
try {
|
||||
setSplashProgress(0); // Checking dependencies
|
||||
|
||||
Reference in New Issue
Block a user