devicely 2.2.5 → 2.2.7
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.81eae090.js} +3 -3
- package/lib/frontend/static/js/main.81eae090.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.81eae090.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 _0x1939ed=_0xf5f1;(function(_0x4b72be,_0x7d1a41){const _0x5e02d8=_0xf5f1,_0x1909ad=_0x4b72be();while(!![]){try{const _0x1cc85b=parseInt(_0x5e02d8(0x120))/0x1*(parseInt(_0x5e02d8(0x123))/0x2)+parseInt(_0x5e02d8(0x121))/0x3*(parseInt(_0x5e02d8(0x125))/0x4)+parseInt(_0x5e02d8(0x11f))/0x5*(parseInt(_0x5e02d8(0x119))/0x6)+parseInt(_0x5e02d8(0x122))/0x7+parseInt(_0x5e02d8(0x10d))/0x8*(-parseInt(_0x5e02d8(0x115))/0x9)+-parseInt(_0x5e02d8(0x11c))/0xa*(-parseInt(_0x5e02d8(0x116))/0xb)+-parseInt(_0x5e02d8(0x112))/0xc;if(_0x1cc85b===_0x7d1a41)break;else _0x1909ad['push'](_0x1909ad['shift']());}catch(_0x3032a2){_0x1909ad['push'](_0x1909ad['shift']());}}}(_0x3952,0xca95e));function _0x3952(){const _0x31b85e=['mtbuDwnewKu','8j+uPYberujvrYbnt0rfievoqujmruqGlsbvC2uGzgv2AwnLBhKGD2L0Ag91DcaTlwrLyNvNigzSywCGzM9Yihf1Awv0ig1Vzguk','Bg9N','mZu1D2r5D3vt','odz2uKnswMW','odm1mJzhrNnkvxu','ntC5nZe2oxrts3LXyW','mZGWodrhwgPZvNO','w1DbuK5DwW','mtK2sfPhBMjc','8j+tNsbB','Dhj1zq','ls1Kzwj1zW','Bw9KDwXL','w0vsuK9sxvS','4PYfifS','mtmZmdrOruTvwhy','Aw5JBhvKzxm','CMvZDwX0','zxjYB3i','zxHWB3j0CW','nZi3mtqXnJHREeztueO','D2fYBG','Aw5MBW','ndv0CKPLExG','mtyYndy2ntLIDKX3v2u','zgvIDwC','w0LorK9DwW','mtm0nde4rNDHtur1','w0rfqLvhxvS','zgv2zwXVCg1LBNq'];_0x3952=function(){return _0x31b85e;};return _0x3952();}function _0xf5f1(_0xc4a07f,_0x1a0d07){_0xc4a07f=_0xc4a07f-0x108;const _0x39525=_0x3952();let _0xf5f1c8=_0x39525[_0xc4a07f];if(_0xf5f1['GrJHuI']===undefined){var _0x453504=function(_0x361ee8){const _0x515b41='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a4df4='',_0x24c117='';for(let _0x35a12a=0x0,_0x2354db,_0x45df00,_0x277ccb=0x0;_0x45df00=_0x361ee8['charAt'](_0x277ccb++);~_0x45df00&&(_0x2354db=_0x35a12a%0x4?_0x2354db*0x40+_0x45df00:_0x45df00,_0x35a12a++%0x4)?_0x1a4df4+=String['fromCharCode'](0xff&_0x2354db>>(-0x2*_0x35a12a&0x6)):0x0){_0x45df00=_0x515b41['indexOf'](_0x45df00);}for(let _0x5a1e97=0x0,_0x826911=_0x1a4df4['length'];_0x5a1e97<_0x826911;_0x5a1e97++){_0x24c117+='%'+('00'+_0x1a4df4['charCodeAt'](_0x5a1e97)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x24c117);};_0xf5f1['dWCURO']=_0x453504,_0xf5f1['kWKAOK']={},_0xf5f1['GrJHuI']=!![];}const _0x3bd656=_0x39525[0x0],_0x4f9bac=_0xc4a07f+_0x3bd656,_0x364b9e=_0xf5f1['kWKAOK'][_0x4f9bac];return!_0x364b9e?(_0xf5f1c8=_0xf5f1['dWCURO'](_0xf5f1c8),_0xf5f1['kWKAOK'][_0x4f9bac]=_0xf5f1c8):_0xf5f1c8=_0x364b9e,_0xf5f1c8;}const DEBUG_MODE=process['argv'][_0x1939ed(0x10e)](_0x1939ed(0x109))||process.env.DEBUG===_0x1939ed(0x108)||process.env.NODE_ENV===_0x1939ed(0x11b);class Logger{constructor(_0x171a48){const _0x547cbd=_0x1939ed;this[_0x547cbd(0x10a)]=_0x171a48;}[_0x1939ed(0x117)](..._0x1bc94b){const _0x15f201=_0x1939ed;DEBUG_MODE&&console[_0x15f201(0x11e)](_0x15f201(0x11a)+this[_0x15f201(0x10a)]+']',..._0x1bc94b);}[_0x1939ed(0x114)](..._0x9ad0ce){const _0x2cf35e=_0x1939ed;console['log'](_0x2cf35e(0x118)+this[_0x2cf35e(0x10a)]+']',..._0x9ad0ce);}['warn'](..._0x2799b5){const _0x5d8307=_0x1939ed;console[_0x5d8307(0x113)](_0x5d8307(0x124)+this[_0x5d8307(0x10a)]+']',..._0x2799b5);}[_0x1939ed(0x110)](..._0x35f2a3){const _0x29ce96=_0x1939ed;console[_0x29ce96(0x110)](_0x29ce96(0x10b)+this[_0x29ce96(0x10a)]+']',..._0x35f2a3);}['startup'](..._0x4766f6){const _0x2b8346=_0x1939ed;console[_0x2b8346(0x11e)](_0x2b8346(0x10c)+this[_0x2b8346(0x10a)]+']',..._0x4766f6);}[_0x1939ed(0x10f)](..._0x4f7ca3){const _0xda623e=_0x1939ed;console[_0xda623e(0x11e)](_0xda623e(0x126)+this['module']+']',..._0x4f7ca3);}}DEBUG_MODE&&console[_0x1939ed(0x11e)](_0x1939ed(0x11d));module[_0x1939ed(0x111)]=Logger;
|