From 51feddba4037d23f1ebbb6f27f915e5b704050d8 Mon Sep 17 00:00:00 2001 From: Vitaly Gashkov Date: Sat, 23 Aug 2025 21:24:44 +0500 Subject: [PATCH] fix: add missing import, correct manifest path --- crextractor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crextractor.js b/crextractor.js index 417fc4c..e5dc01b 100644 --- a/crextractor.js +++ b/crextractor.js @@ -1,3 +1,4 @@ +const { execSync } = require('node:child_process'); const { join } = require('node:path'); const { readdir, readFile, writeFile, rm } = require('node:fs/promises'); const { download } = require('molnia'); @@ -65,7 +66,7 @@ const extractSecrets = async ({ output, cleanup = true } = {}) => { console.log('Searching for secrets...'); const sourcesDir = join(decompiledDir, 'sources'); - const manifest = require(join(sourcesDir, 'resources', 'manifest.json')); + const manifest = require(join(decompiledDir, 'resources', 'manifest.json')); const version = manifest.version_name; const configurationImpl = await findConfigurationImpl(sourcesDir); if (!configurationImpl) throw new Error('Could not find ConfigurationImpl.kt');