Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Fix typo, fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reisxd committed Aug 12, 2022
1 parent 295a49c commit 219b977
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion utils/checkJDKandAapt2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { promisify } = require('util');
const { exec } = require('child_process');
const { dloadFromURL } = require('./FileDownlader.js');
const { dloadFromURL } = require('./FileDownloader.js');
const os = require('os');
const fs = require('fs');
const actualExec = promisify(exec);
Expand Down
2 changes: 1 addition & 1 deletion utils/downloadApp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fetchURL = require('node-fetch');
const { load } = require('cheerio');
const { dloadFromURL } = require('../utils/FileDownlader.js');
const { dloadFromURL } = require('./FileDownloader.js');

module.exports = async function (ws) {
const { version, arch } = global.apkInfo;
Expand Down
2 changes: 1 addition & 1 deletion wsEvents/PatchApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function mount (ws) {
}

async function afterBuild (ws) {
fs.rmdirSync('./revanced-cache', { recursive: true, force: true });
fs.rmSync('./revanced-cache', { recursive: true, force: true });
outputName();
fs.renameSync('./revanced/revanced.apk', `./revanced/${global.outputName}`);
if (!global.jarNames.isRooted && os.platform() === 'android') {
Expand Down
2 changes: 1 addition & 1 deletion wsEvents/UpdateFiles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require('fs');
const { downloadFiles } = require('../utils/FileDownlader.js');
const { downloadFiles } = require('../utils/FileDownloader.js');
const checkJDKandAapt2 = require('../utils/checkJDKandAapt2.js');
const checkJDkAndADB = require('../utils/checkJDKAndADB.js');
const os = require('os');
Expand Down

0 comments on commit 219b977

Please sign in to comment.