crextractor 1.3.2 → 1.3.3
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/crextractor.js +1 -1
- package/package.json +1 -1
package/crextractor.js
CHANGED
|
@@ -100,7 +100,7 @@ const extract = async ({ target = 'mobile', output, cleanup = false } = {}) => {
|
|
|
100
100
|
console.log('Downloading APK...');
|
|
101
101
|
const apkPath = target === 'tv' ? await downloadTvApk() : await downloadMobileApk();
|
|
102
102
|
|
|
103
|
-
if (existsSync(apkPath)) {
|
|
103
|
+
if (!existsSync(apkPath)) {
|
|
104
104
|
console.error('Unable to find APK (possibly a download error)');
|
|
105
105
|
return;
|
|
106
106
|
}
|