mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-04 12:11:30 +03:00
If no config exists, one will be auto generated from the default
This commit is contained in:
@@ -79,6 +79,9 @@ var validDownloadingAgents = [
|
||||
let writeConfigMode = process.env.write_ytdl_config;
|
||||
var config = null;
|
||||
|
||||
// checks if config exists, if not, a config is auto generated
|
||||
config_api.configExistsCheck();
|
||||
|
||||
if (writeConfigMode) {
|
||||
setAndLoadConfig();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user