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.
Files changed (2) hide show
  1. package/crextractor.js +1 -1
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crextractor",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Utility for extracting credentials from the Crunchyroll Android app",
5
5
  "main": "crextractor.js",
6
6
  "bin": {