diff --git a/crextractor.js b/crextractor.js index 7e2de97..41a1736 100644 --- a/crextractor.js +++ b/crextractor.js @@ -100,7 +100,7 @@ const extract = async ({ target = 'mobile', output, cleanup = false } = {}) => { console.log('Downloading APK...'); const apkPath = target === 'tv' ? await downloadTvApk() : await downloadMobileApk(); - if (existsSync(apkPath)) { + if (!existsSync(apkPath)) { console.error('Unable to find APK (possibly a download error)'); return; }