media-dl 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +4 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -241,8 +241,8 @@ async function startDownload() {
|
|
|
241
241
|
console.log(
|
|
242
242
|
`${C.red}❌ Error: Anda wajib menginstal FFmpeg untuk mengunduh audio.${C.reset}`
|
|
243
243
|
);
|
|
244
|
-
await askQuestion('
|
|
245
|
-
|
|
244
|
+
await askQuestion('Tekan Enter untuk kembali ke Menu Utama...');
|
|
245
|
+
mainMenu();
|
|
246
246
|
}
|
|
247
247
|
args.unshift('-x', '--audio-format', 'mp3');
|
|
248
248
|
} else {
|
|
@@ -274,6 +274,8 @@ async function startDownload() {
|
|
|
274
274
|
} else {
|
|
275
275
|
console.log(`\n${C.red}❌ Terjadi kesalahan saat mengunduh.${C.reset}`);
|
|
276
276
|
}
|
|
277
|
+
await askQuestion('Tekan Enter untuk kembali ke Menu Utama...');
|
|
278
|
+
mainMenu();
|
|
277
279
|
}
|
|
278
280
|
|
|
279
281
|
async function showSupport() {
|