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

Commit

Permalink
Shrihan test your code next time pls (Fix #165)
Browse files Browse the repository at this point in the history
  • Loading branch information
reisxd committed Aug 6, 2022
1 parent 8436dfd commit 9af2e9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/checkJDKandAapt2.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ module.exports = async function (ws) {
await actualExec('unzip revanced/aapt2.zip');
switch (os.arch()) {
case 'arm64': {
await actualExec('cp revanced/arm64-v8a/aapt2 revanced/aapt2');
await actualExec('cp arm64-v8a/aapt2 revanced/aapt2');
await actualExec('chmod +x revanced/aapt2');
break;
}

case 'arm': {
await actualExec('cp revanced/armeabi-v7a/aapt2 revanced/aapt2');
await actualExec('cp armeabi-v7a/aapt2 revanced/aapt2');
await actualExec('chmod +x revanced/aapt2');
break;
}
}
await actualExec('rm -rf revanced/arm64-v8a revanced/armeabi-v7a revanced/x86 revanced/aapt2.zip');
await actualExec('rm -rf arm64-v8a armeabi-v7a x86 revanced/aapt2.zip');
}
};

0 comments on commit 9af2e9c

Please sign in to comment.