@picoxr/web-cli-core
Version:
Core Library to generate, build and sign TWA projects
1 lines • 2.11 kB
JavaScript
;const _0x2e8d2f=_0x4462;function _0x4462(_0x2b86ef,_0x3c9c63){const _0x9a0088=_0x9a00();return _0x4462=function(_0x446211,_0x1908a9){_0x446211=_0x446211-0x1c5;let _0x565e1c=_0x9a0088[_0x446211];return _0x565e1c;},_0x4462(_0x2b86ef,_0x3c9c63);}(function(_0x5a42b9,_0x297a14){const _0x26bf34=_0x4462,_0x122b0e=_0x5a42b9();while(!![]){try{const _0x14e6a0=-parseInt(_0x26bf34(0x1d1))/0x1*(-parseInt(_0x26bf34(0x1d3))/0x2)+-parseInt(_0x26bf34(0x1d2))/0x3+parseInt(_0x26bf34(0x1c7))/0x4+parseInt(_0x26bf34(0x1db))/0x5*(-parseInt(_0x26bf34(0x1d4))/0x6)+parseInt(_0x26bf34(0x1cc))/0x7+-parseInt(_0x26bf34(0x1c5))/0x8*(-parseInt(_0x26bf34(0x1d9))/0x9)+-parseInt(_0x26bf34(0x1de))/0xa;if(_0x14e6a0===_0x297a14)break;else _0x122b0e['push'](_0x122b0e['shift']());}catch(_0x3d152a){_0x122b0e['push'](_0x122b0e['shift']());}}}(_0x9a00,0x91871));Object[_0x2e8d2f(0x1df)](exports,_0x2e8d2f(0x1d5),{'value':!![]}),exports[_0x2e8d2f(0x1ce)]=void 0x0;const util_1=require(_0x2e8d2f(0x1c9)),JARSIGNER_CMD=_0x2e8d2f(0x1d0),SIGNATURE_ALGORITHM=_0x2e8d2f(0x1d6),DIGEST_ALGORITHM=_0x2e8d2f(0x1ca);class JarSigner{constructor(_0xb21c09){const _0xb8ff03=_0x2e8d2f;this[_0xb8ff03(0x1dd)]=_0xb21c09;}async[_0x2e8d2f(0x1da)](_0x566825,_0x455175,_0x9a9ff1,_0x49990a,_0x198045){const _0x50f774=_0x2e8d2f,_0x170f12=this[_0x50f774(0x1dd)][_0x50f774(0x1cb)]();await(0x0,util_1[_0x50f774(0x1d7)])(JARSIGNER_CMD,['-verbose',_0x50f774(0x1d8),SIGNATURE_ALGORITHM,_0x50f774(0x1cf),DIGEST_ALGORITHM,'-keystore',_0x566825[_0x50f774(0x1c6)],_0x49990a,_0x566825['alias'],_0x50f774(0x1dc),_0x455175,_0x50f774(0x1cd),_0x9a9ff1,_0x50f774(0x1c8),_0x198045],_0x170f12);}}exports[_0x2e8d2f(0x1ce)]=JarSigner;function _0x9a00(){const _0x346750=['6082850xwzhqc','defineProperty','439832RjuxqQ','path','3359852ciyXeD','-signedjar','../util','SHA-256','getEnv','2212147kkLYTd','-keypass','JarSigner','-digestalg','jarsigner','381413Mtgoao','3049866gsjVcC','2oSkuXO','125526tLJZNc','__esModule','SHA256withRSA','executeFile','-sigalg','153snWlku','sign','60ImuBbC','-storepass','jdkHelper'];_0x9a00=function(){return _0x346750;};return _0x9a00();}