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

Commit

Permalink
Fix rooted builds again
Browse files Browse the repository at this point in the history
  • Loading branch information
reis authored Aug 9, 2022
1 parent 085243c commit 6762063
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions wsEvents/GetAppVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,16 @@ module.exports = async function (message, ws) {
const deviceArch = await actualExec(
'adb shell getprop ro.product.cpu.abi'
);
global.apkInfo.version = appVersion;
global.apkInfo.arch = deviceArch.stdout.replace(os.EOL, '');
global.apkInfo = {
version: appVersion,
arch: deviceArch.stdout.replace(os.EOL, '');
};
return await downloadApp(ws);
} else {
global.apkInfo.version = appVersion;
global.apkInfo = {
version: appVersion,
arch: null;
};
return await downloadApp(ws);
}
}
Expand Down

0 comments on commit 6762063

Please sign in to comment.