devicely 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/devicely.js +1 -105
- package/config/devices.conf +6 -22
- package/lib/androidDeviceDetection.js +1 -276
- package/lib/appMappings.js +1 -337
- package/lib/deviceDetection.js +1 -394
- package/lib/devices.js +1 -54
- package/lib/doctor.js +1 -94
- package/lib/encryption.js +1 -88
- package/lib/executor.js +1 -104
- package/lib/frontend/asset-manifest.json +3 -3
- package/lib/frontend/index.html +1 -1
- package/lib/frontend/static/css/main.23bd35c0.css.map +1 -0
- package/lib/frontend/static/js/{main.26a24c5c.js → main.4ff1ea70.js} +3 -3
- package/lib/frontend/static/js/main.4ff1ea70.js.map +1 -0
- package/lib/logger.js +1 -47
- package/lib/package-lock.json +1678 -0
- package/lib/package.json +30 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260205_225900.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260205_225942.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260205_231101.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260205_232911.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260208_095103.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhone17_20260208_095720.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115040.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115047.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115118.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115125.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115143.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120107.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120118.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120137.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120201.png +0 -0
- package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_134529.png +0 -0
- package/lib/scriptLoader.js +1 -13
- package/lib/server.js +1 -3546
- package/package.json +14 -3
- package/scripts/shell/android_device_control.enc +1 -1
- package/scripts/shell/connect_android_usb_multi_final.enc +1 -1
- package/scripts/shell/connect_android_wireless.enc +1 -1
- package/scripts/shell/connect_android_wireless_multi_final.enc +1 -1
- package/scripts/shell/connect_ios_usb_multi_final.enc +1 -1
- package/scripts/shell/connect_ios_wireless_multi_final.enc +1 -1
- package/scripts/shell/ios_device_control.enc +1 -1
- package/scripts/compile-shell-scripts.js +0 -208
- package/scripts/encrypt-shell-simple.js +0 -58
- package/scripts/obfuscate-shell.js +0 -160
- package/scripts/shell/apps_presets.conf +0 -271
- package/scripts/shell/devices.conf +0 -24
- /package/lib/frontend/static/js/{main.26a24c5c.js.LICENSE.txt → main.4ff1ea70.js.LICENSE.txt} +0 -0
package/lib/logger.js
CHANGED
|
@@ -1,47 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// Use environment variable or --debug flag to control debug output
|
|
3
|
-
|
|
4
|
-
const DEBUG_MODE = process.argv.includes('--debug') ||
|
|
5
|
-
process.env.DEBUG === 'true' ||
|
|
6
|
-
process.env.NODE_ENV === 'development';
|
|
7
|
-
|
|
8
|
-
class Logger {
|
|
9
|
-
constructor(module) {
|
|
10
|
-
this.module = module;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
debug(...args) {
|
|
14
|
-
if (DEBUG_MODE) {
|
|
15
|
-
console.log(`[DEBUG][${this.module}]`, ...args);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
info(...args) {
|
|
20
|
-
console.log(`[INFO][${this.module}]`, ...args);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
warn(...args) {
|
|
24
|
-
console.warn(`[WARN][${this.module}]`, ...args);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
error(...args) {
|
|
28
|
-
console.error(`[ERROR][${this.module}]`, ...args);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// Keep critical startup/connection messages
|
|
32
|
-
startup(...args) {
|
|
33
|
-
console.log(`✅ [${this.module}]`, ...args);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Show execution results (always visible)
|
|
37
|
-
result(...args) {
|
|
38
|
-
console.log(`📝 [${this.module}]`, ...args);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Show debug mode status on startup
|
|
43
|
-
if (DEBUG_MODE) {
|
|
44
|
-
console.log('🔧 DEBUG MODE ENABLED - Use devicely without --debug flag for quiet mode\n');
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
module.exports = Logger;
|
|
1
|
+
const _0x2dc2bd=_0x5a70;function _0x1a5d(){const _0x2b3e31=['nJy1ndG4u3f3seDY','8j+tNsbB','zgv2zwXVCg1LBNq','4PYfifS','mZi0nJK2mgDkqujWvq','mZC4mtiWoeLUA1bPtW','CMvZDwX0','zxjYB3i','ls1Kzwj1zW','mtu3odrQsu9AA2C','Bg9N','w0LorK9DwW','mZmZogz5z3PiCa','yxjNDG','mti1mxzdC0zOtG','otmWCxf6quvp','Bw9KDwXL','zxHWB3j0CW','w0rfqLvhxvS','D2fYBG','8j+uPYberujvrYbnt0rfievoqujmruqGlsbvC2uGzgv2AwnLBhKGD2L0Ag91DcaTlwrLyNvNigzSywCGzM9Yihf1Awv0ig1Vzguk','Aw5MBW','nJyWndC4mhjJvMTVAq','AhnbteC','nJKYmtbfsvHIrLa'];_0x1a5d=function(){return _0x2b3e31;};return _0x1a5d();}(function(_0x21320a,_0x48c4d5){const _0x5f1c65=_0x5a70,_0x5df0eb=_0x21320a();while(!![]){try{const _0x22e013=parseInt(_0x5f1c65(0x9e))/0x1+parseInt(_0x5f1c65(0xaa))/0x2*(-parseInt(_0x5f1c65(0xad))/0x3)+-parseInt(_0x5f1c65(0xa3))/0x4+parseInt(_0x5f1c65(0xa2))/0x5+parseInt(_0x5f1c65(0x9d))/0x6+parseInt(_0x5f1c65(0x9b))/0x7+-parseInt(_0x5f1c65(0xa7))/0x8*(parseInt(_0x5f1c65(0xac))/0x9);if(_0x22e013===_0x48c4d5)break;else _0x5df0eb['push'](_0x5df0eb['shift']());}catch(_0x33c52f){_0x5df0eb['push'](_0x5df0eb['shift']());}}}(_0x1a5d,0x82218));function _0x5a70(_0x5e4d26,_0x457713){_0x5e4d26=_0x5e4d26-0x9a;const _0x1a5d06=_0x1a5d();let _0x5a70ea=_0x1a5d06[_0x5e4d26];if(_0x5a70['bJyOux']===undefined){var _0x6ee41e=function(_0xce61b1){const _0x33bc80='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x246771='',_0x289ffe='';for(let _0xd59e1b=0x0,_0x520620,_0x32f2d1,_0x3f36e3=0x0;_0x32f2d1=_0xce61b1['charAt'](_0x3f36e3++);~_0x32f2d1&&(_0x520620=_0xd59e1b%0x4?_0x520620*0x40+_0x32f2d1:_0x32f2d1,_0xd59e1b++%0x4)?_0x246771+=String['fromCharCode'](0xff&_0x520620>>(-0x2*_0xd59e1b&0x6)):0x0){_0x32f2d1=_0x33bc80['indexOf'](_0x32f2d1);}for(let _0x2c2317=0x0,_0x21fdfb=_0x246771['length'];_0x2c2317<_0x21fdfb;_0x2c2317++){_0x289ffe+='%'+('00'+_0x246771['charCodeAt'](_0x2c2317)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x289ffe);};_0x5a70['Wjhefi']=_0x6ee41e,_0x5a70['WsrDCb']={},_0x5a70['bJyOux']=!![];}const _0x277bee=_0x1a5d06[0x0],_0x4e01fb=_0x5e4d26+_0x277bee,_0x1fb336=_0x5a70['WsrDCb'][_0x4e01fb];return!_0x1fb336?(_0x5a70ea=_0x5a70['Wjhefi'](_0x5a70ea),_0x5a70['WsrDCb'][_0x4e01fb]=_0x5a70ea):_0x5a70ea=_0x1fb336,_0x5a70ea;}const DEBUG_MODE=process[_0x2dc2bd(0xab)]['includes'](_0x2dc2bd(0xa6))||process.env.DEBUG==='true'||process.env.NODE_ENV===_0x2dc2bd(0xa0);class Logger{constructor(_0x13ff08){const _0x34268d=_0x2dc2bd;this[_0x34268d(0xae)]=_0x13ff08;}['debug'](..._0x4ee8cd){const _0x5c772d=_0x2dc2bd,_0x4b5345={};_0x4b5345[_0x5c772d(0x9c)]='fEOKC';const _0x4aebc1=_0x4b5345;DEBUG_MODE&&(_0x4aebc1[_0x5c772d(0x9c)]!==_0x4aebc1[_0x5c772d(0x9c)]?_0x5f203f[_0x5c772d(0xa8)](_0x5c772d(0xa1)+this[_0x5c772d(0xae)]+']',..._0x239672):console[_0x5c772d(0xa8)](_0x5c772d(0xb0)+this[_0x5c772d(0xae)]+']',..._0x4ee8cd));}[_0x2dc2bd(0x9a)](..._0x19a93a){const _0xb2c87e=_0x2dc2bd;console[_0xb2c87e(0xa8)](_0xb2c87e(0xa9)+this[_0xb2c87e(0xae)]+']',..._0x19a93a);}[_0x2dc2bd(0xb1)](..._0x14d04f){console['warn']('[WARN]['+this['module']+']',..._0x14d04f);}[_0x2dc2bd(0xa5)](..._0x357076){const _0x14e4fc=_0x2dc2bd;console[_0x14e4fc(0xa5)]('[ERROR]['+this[_0x14e4fc(0xae)]+']',..._0x357076);}['startup'](..._0x26fe82){const _0x469bdf=_0x2dc2bd;console['log'](_0x469bdf(0xa1)+this['module']+']',..._0x26fe82);}[_0x2dc2bd(0xa4)](..._0x3f6cc5){const _0x125943=_0x2dc2bd;console[_0x125943(0xa8)](_0x125943(0x9f)+this[_0x125943(0xae)]+']',..._0x3f6cc5);}}DEBUG_MODE&&console[_0x2dc2bd(0xa8)](_0x2dc2bd(0xb2));module[_0x2dc2bd(0xaf)]=Logger;
|