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

Commit

Permalink
v3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
GramingFoxTeam committed Aug 27, 2022
1 parent ffcb2d4 commit e1f654b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ ws.onmessage = (msg) => {
const message = JSON.parse(msg.data);
switch (message.event) {
case 'patchList': {
console.log(message);
for (let i = 0; i < message.patchList.length; i++) {
const patch = message.patchList[i];
document.getElementById('patchList').innerHTML += `<li>
Expand Down
2 changes: 0 additions & 2 deletions utils/checkJDKAndADB.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ module.exports = async function (ws) {
} else if (deviceIds && deviceIds[0]) {
global.jarNames.deviceID = deviceIds[0];
} else global.jarNames.deviceID = null;

console.log(global.jarNames.deviceID);
} catch (e) {
if (e.stderr.includes('java')) {
return ws.send(
Expand Down
2 changes: 1 addition & 1 deletion wsEvents/CheckForUpdates.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = async function (message, ws) {
await getDownloadLink({ owner: 'reisxd', repo: 'revanced-builder' })
).version;
// Well, there's no other good way to do this, so...
const currentVersion = 'v3.3.2';
const currentVersion = 'v3.3.3';

if (builderVersion !== currentVersion) {
return ws.send(
Expand Down
4 changes: 2 additions & 2 deletions wsEvents/GetPatches.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module.exports = async function (message, ws) {
const { name, description, pkg, versions } = match.groups;
const isRooted = rootedPatches.includes(name);
const isCompatible = pkg === global.jarNames.selectedApp;
if (isPatchDupe) continue;

if (isPatchDupe && name === 'client-spoof') continue;
if (name === 'client-spoof') isPatchDupe = true;

const versionsArr = versions.split(', ');
Expand Down
2 changes: 1 addition & 1 deletion wsEvents/PatchApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function reportSys(args, ws) {

module.exports = async function (message, ws) {
const args = [
'-Xmx4G',
'-Xmx2G',
'-jar',
global.jarNames.cli,
'-b',
Expand Down

0 comments on commit e1f654b

Please sign in to comment.