jjb-cmd 2.1.27 → 2.1.29

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/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.29</p>
6
+ <div>修复已知问题</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.28</p>
10
+ <div>修复已知问题</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.27</p>
6
14
  <div>修复提取配置信息规则</div>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
4
  "env": "prod",
5
- "version": "2.1.27",
5
+ "version": "2.1.29",
6
6
  "description": "jjb脚手架工具",
7
7
  "main": "index.js",
8
8
  "scripts": {
@@ -1 +1 @@
1
- function a0_0x2966(){const _0xdb2283=['9LaYmSn','38tDRfBC','existsSync','1422076nZznhP','Auth\x20NetWork\x20Fail!','2458870eylqKF','Auth\x20Success!','6514500nWcBqk','15QFiPHU','3907470GOdYvR','4182654dlwdIF','50003tGzgEd','../../../.auth','unlinkSync','axios','data','join','log','5846776PeOwyf','writeFileSync','catch','status','then','/api/auth'];a0_0x2966=function(){return _0xdb2283;};return a0_0x2966();}const a0_0x28f25c=a0_0x7e3b;(function(_0xdc3fbe,_0x2177ec){const _0x2ab885=a0_0x7e3b,_0x2d68b2=_0xdc3fbe();while(!![]){try{const _0x19b4a7=parseInt(_0x2ab885(0xbe))/0x1*(parseInt(_0x2ab885(0xb4))/0x2)+parseInt(_0x2ab885(0xbc))/0x3+parseInt(_0x2ab885(0xb6))/0x4*(parseInt(_0x2ab885(0xbb))/0x5)+-parseInt(_0x2ab885(0xba))/0x6+-parseInt(_0x2ab885(0xbd))/0x7+-parseInt(_0x2ab885(0xc5))/0x8+parseInt(_0x2ab885(0xb3))/0x9*(-parseInt(_0x2ab885(0xb8))/0xa);if(_0x19b4a7===_0x2177ec)break;else _0x2d68b2['push'](_0x2d68b2['shift']());}catch(_0x596f8){_0x2d68b2['push'](_0x2d68b2['shift']());}}}(a0_0x2966,0xa0e9a));function a0_0x7e3b(_0x228b84,_0x44d140){const _0x2966f2=a0_0x2966();return a0_0x7e3b=function(_0x7e3b4b,_0x161faa){_0x7e3b4b=_0x7e3b4b-0xb3;let _0x4004ce=_0x2966f2[_0x7e3b4b];return _0x4004ce;},a0_0x7e3b(_0x228b84,_0x44d140);}const axios=require(a0_0x28f25c(0xc1)),fs=require('fs'),path=require('path'),{getApiHost}=require('../cmd.install/config');module['exports']=_0x5c306c=>{const _0x236228=a0_0x28f25c;console[_0x236228(0xc4)](_0x5c306c);const [_0x3ea5ce,_0x53aa70]=_0x5c306c;axios['post'](getApiHost()+_0x236228(0xca),{'username':_0x3ea5ce,'password':_0x53aa70})[_0x236228(0xc9)](_0x51b66f=>{const _0x485f7d=_0x236228,_0x26be03=path[_0x485f7d(0xc3)](__dirname,_0x485f7d(0xbf));_0x51b66f[_0x485f7d(0xc2)][_0x485f7d(0xc8)]?(console[_0x485f7d(0xc4)](_0x485f7d(0xb9)),fs[_0x485f7d(0xc6)](_0x26be03,_0x3ea5ce+'/'+_0x53aa70)):(console['log']('Auth\x20Fail!'),fs[_0x485f7d(0xb5)](_0x26be03)&&fs[_0x485f7d(0xc0)](_0x26be03));})[_0x236228(0xc7)](_0x317ef4=>{const _0xdd62d7=_0x236228;console[_0xdd62d7(0xc4)](_0xdd62d7(0xb7));});};
1
+ function a0_0x483e(_0x4b5fbe,_0x2e0296){const _0x9a3e=a0_0x9a3e();return a0_0x483e=function(_0x483e4d,_0x1c74bb){_0x483e4d=_0x483e4d-0xf6;let _0x19a467=_0x9a3e[_0x483e4d];return _0x19a467;},a0_0x483e(_0x4b5fbe,_0x2e0296);}const a0_0x286838=a0_0x483e;(function(_0x1e98b6,_0x5457f5){const _0xdce8be=a0_0x483e,_0x4db83d=_0x1e98b6();while(!![]){try{const _0x3d9901=parseInt(_0xdce8be(0xf7))/0x1+-parseInt(_0xdce8be(0x106))/0x2+parseInt(_0xdce8be(0x103))/0x3+-parseInt(_0xdce8be(0x109))/0x4*(-parseInt(_0xdce8be(0xf9))/0x5)+-parseInt(_0xdce8be(0x105))/0x6*(-parseInt(_0xdce8be(0x10b))/0x7)+-parseInt(_0xdce8be(0xf8))/0x8*(parseInt(_0xdce8be(0xfe))/0x9)+-parseInt(_0xdce8be(0x108))/0xa*(-parseInt(_0xdce8be(0xfa))/0xb);if(_0x3d9901===_0x5457f5)break;else _0x4db83d['push'](_0x4db83d['shift']());}catch(_0x4430b3){_0x4db83d['push'](_0x4db83d['shift']());}}}(a0_0x9a3e,0xa567b));function a0_0x9a3e(){const _0x389248=['108afKiXL','1928530TIvbrC','join','5245630EcMEfD','44xJSjNG','data','525826FBHLlp','Auth\x20Fail!','../cmd.install/config','catch','Auth\x20NetWork\x20Fail!','unlinkSync','29077qsReFT','9736NFdNoP','26930LRpPTF','11FgWBfx','then','writeFileSync','existsSync','4203ZeWAVE','../../../.auth','path','axios','exports','735279wTyzlB','log'];a0_0x9a3e=function(){return _0x389248;};return a0_0x9a3e();}const axios=require(a0_0x286838(0x101)),fs=require('fs'),path=require(a0_0x286838(0x100)),{getApiHost}=require(a0_0x286838(0x10d));module[a0_0x286838(0x102)]=_0x132bce=>{const _0x19127c=a0_0x286838;console[_0x19127c(0x104)](_0x132bce);const [_0x3dfa33,_0x26c71b]=_0x132bce;axios['post'](getApiHost()+'/api/auth',{'username':_0x3dfa33,'password':_0x26c71b})[_0x19127c(0xfb)](_0x14ebcf=>{const _0x232c07=_0x19127c,_0x5990eb=path[_0x232c07(0x107)](__dirname,_0x232c07(0xff));_0x14ebcf[_0x232c07(0x10a)]['status']?(console[_0x232c07(0x104)]('Auth\x20Success!'),fs[_0x232c07(0xfc)](_0x5990eb,_0x3dfa33+'/'+_0x26c71b)):(console['log'](_0x232c07(0x10c)),fs[_0x232c07(0xfd)](_0x5990eb)&&fs[_0x232c07(0xf6)](_0x5990eb));})[_0x19127c(0x10e)](_0x121131=>{const _0x472071=_0x19127c;console['log'](_0x472071(0x10f));});};
@@ -1 +1 @@
1
- const a1_0x49f14e=a1_0x5982;(function(_0x2a1635,_0x38db66){const _0x4319de=a1_0x5982,_0x1cbe0e=_0x2a1635();while(!![]){try{const _0x20d0aa=-parseInt(_0x4319de(0x9b))/0x1+parseInt(_0x4319de(0xaf))/0x2+parseInt(_0x4319de(0xa1))/0x3*(parseInt(_0x4319de(0x90))/0x4)+parseInt(_0x4319de(0x9e))/0x5*(-parseInt(_0x4319de(0xa5))/0x6)+parseInt(_0x4319de(0x91))/0x7*(parseInt(_0x4319de(0xba))/0x8)+parseInt(_0x4319de(0x98))/0x9+-parseInt(_0x4319de(0x95))/0xa;if(_0x20d0aa===_0x38db66)break;else _0x1cbe0e['push'](_0x1cbe0e['shift']());}catch(_0xeae56a){_0x1cbe0e['push'](_0x1cbe0e['shift']());}}}(a1_0x3590,0x7a315));const fs=require('fs'),os=require('os'),path=require(a1_0x49f14e(0xb0)),request=require(a1_0x49f14e(0x94)),utils=require(a1_0x49f14e(0xa8)),compressing=require(a1_0x49f14e(0xb6)),readline=require('readline'),io=readline['createInterface']({'input':process[a1_0x49f14e(0xb4)],'output':process[a1_0x49f14e(0xae)]}),child_process=require(a1_0x49f14e(0xb3)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x49f14e(0x9c));module[a1_0x49f14e(0xb7)]=_0x1336a2=>{const _0x475522=a1_0x49f14e,_0x4f0aa1=path[_0x475522(0xa4)]('./'),_0x6a0575=CLOUD_PROJECT[_0x1336a2]||undefined;if(_0x6a0575){const _0x8b5379=os[_0x475522(0x8f)](),_0x26d830=_0x8b5379+'/'+GIT_TEMP_DIR+'/'+_0x1336a2+_0x475522(0xac),_0x3e735a=_0x8b5379+'/'+GIT_TEMP_DIR+_0x475522(0xaa);utils[_0x475522(0xb5)](_0x8b5379+'/'+GIT_TEMP_DIR,()=>{const _0x164270=_0x475522;fs['mkdirSync'](_0x8b5379+'/'+GIT_TEMP_DIR);let _0x3bf76c=fs[_0x164270(0x99)](_0x26d830);request(GIT_HOST+'/api/v4/projects/'+_0x6a0575['projectId']+'/repository/archive.zip?private_token='+_0x6a0575[_0x164270(0x93)]+_0x164270(0xa3))[_0x164270(0x96)](_0x3bf76c)['on']('close',()=>{const _0x3b8608=_0x164270;fs[_0x3b8608(0xa0)](_0x3e735a),compressing[_0x3b8608(0xbb)][_0x3b8608(0x9d)](_0x26d830,_0x3e735a)[_0x3b8608(0xa2)](()=>{setTimeout(()=>{const _0x252878=a1_0x5982;fs[_0x252878(0xa9)](_0x3e735a)[_0x252878(0xab)](_0x187bef=>{const _0x588bf1=_0x252878;_0x187bef['indexOf'](_0x588bf1(0xad))!==-0x1&&utils['CopyFolder'](_0x3e735a+_0x187bef,_0x4f0aa1,()=>{const _0x29ff60=_0x588bf1;io[_0x29ff60(0x9a)]('初始化完成?请选择安装方式![yarn/npm]:',function(_0xa30274){const _0x4ea12a=_0x29ff60;['yarn',_0x4ea12a(0xbc)][_0x4ea12a(0xb1)](_0xa30274[_0x4ea12a(0xb2)]())?(console[_0x4ea12a(0x9f)](_0x4ea12a(0xa6)),child_process['execSync'](_0x4ea12a(0xb9)+_0xa30274[_0x4ea12a(0xb2)](),{'cwd':_0x4f0aa1}),console[_0x4ea12a(0x9f)](_0x4ea12a(0x97)),process[_0x4ea12a(0x92)](0x0)):(console[_0x4ea12a(0x9f)](_0x4ea12a(0xb8)),process[_0x4ea12a(0x92)](0x0));});});});},0x7d0);});});});}else console[_0x475522(0x9f)](_0x475522(0xa7)+_0x1336a2+'不存在。');};function a1_0x5982(_0x338541,_0x2e5c31){const _0x3590f3=a1_0x3590();return a1_0x5982=function(_0x5982e2,_0x393334){_0x5982e2=_0x5982e2-0x8f;let _0x3b97f1=_0x3590f3[_0x5982e2];return _0x3b97f1;},a1_0x5982(_0x338541,_0x2e5c31);}function a1_0x3590(){const _0x55fa59=['path','includes','trim','child_process','stdin','DeleteDirAllFile','compressing','exports','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','jjb-cmd\x20install.app\x20','40CZhuZJ','zip','npm','tmpdir','40rWdndA','1289365OChnSZ','exit','token','request','14324620rpyjjU','pipe','安装完成,祝您愉快编码!','5214303jClfhr','createWriteStream','question','227642IUIKgH','../cmd.install/config','uncompress','765vDSmjt','log','mkdirSync','190896buqgVy','then','&ref=master','resolve','21546OtODdl','安装中,请耐心等待...','【Error】:初始化失败,','../../old/util','readdirSync','/unzip/','forEach','.zip','-master-','stdout','1146732UuSHzs'];a1_0x3590=function(){return _0x55fa59;};return a1_0x3590();}
1
+ function a1_0x2512(_0x46e5b6,_0x505cd4){const _0x1c2419=a1_0x1c24();return a1_0x2512=function(_0x251256,_0x501e20){_0x251256=_0x251256-0x75;let _0x20c8a8=_0x1c2419[_0x251256];return _0x20c8a8;},a1_0x2512(_0x46e5b6,_0x505cd4);}function a1_0x1c24(){const _0x30410c=['then','DeleteDirAllFile','question','989817GkNmSo','10nALPDt','/repository/archive.zip?private_token=','不存在。','stdout','172mTCSYh','安装中,请耐心等待...','../cmd.install/config','&ref=master','execSync','168049fmQtDR','pipe','forEach','uncompress','stdin','1693TuqhUv','npm','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','20234258HNuiVo','close','761595gphBob','token','3387996jSkDYh','/api/v4/projects/','jjb-cmd\x20install.app\x20','zip','3075528EmmWPd','trim','resolve','exit','log','36LePtYX','mkdirSync','compressing','4rxwBNV','includes','CopyFolder','tmpdir','yarn','【Error】:初始化失败,','createWriteStream','projectId','readdirSync'];a1_0x1c24=function(){return _0x30410c;};return a1_0x1c24();}const a1_0x41d2d5=a1_0x2512;(function(_0x1d3329,_0x344ea1){const _0x237ac9=a1_0x2512,_0x165768=_0x1d3329();while(!![]){try{const _0x4de230=-parseInt(_0x237ac9(0xa1))/0x1*(parseInt(_0x237ac9(0x97))/0x2)+-parseInt(_0x237ac9(0x92))/0x3+-parseInt(_0x237ac9(0x86))/0x4*(parseInt(_0x237ac9(0x78))/0x5)+-parseInt(_0x237ac9(0x83))/0x6*(parseInt(_0x237ac9(0x9c))/0x7)+-parseInt(_0x237ac9(0x7e))/0x8+-parseInt(_0x237ac9(0x7a))/0x9+parseInt(_0x237ac9(0x93))/0xa*(parseInt(_0x237ac9(0x76))/0xb);if(_0x4de230===_0x344ea1)break;else _0x165768['push'](_0x165768['shift']());}catch(_0x145f2e){_0x165768['push'](_0x165768['shift']());}}}(a1_0x1c24,0x4ae07));const fs=require('fs'),os=require('os'),path=require('path'),request=require('request'),utils=require('../../old/util'),compressing=require(a1_0x41d2d5(0x85)),readline=require('readline'),io=readline['createInterface']({'input':process[a1_0x41d2d5(0xa0)],'output':process[a1_0x41d2d5(0x96)]}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x41d2d5(0x99));module['exports']=_0x35972b=>{const _0x538263=a1_0x41d2d5,_0x490ac2=path[_0x538263(0x80)]('./'),_0x2786a4=CLOUD_PROJECT[_0x35972b]||undefined;if(_0x2786a4){const _0x3a9a4a=os[_0x538263(0x89)](),_0x32a5e2=_0x3a9a4a+'/'+GIT_TEMP_DIR+'/'+_0x35972b+'.zip',_0x1bccd5=_0x3a9a4a+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x538263(0x90)](_0x3a9a4a+'/'+GIT_TEMP_DIR,()=>{const _0x1f0271=_0x538263;fs[_0x1f0271(0x84)](_0x3a9a4a+'/'+GIT_TEMP_DIR);let _0x143b59=fs[_0x1f0271(0x8c)](_0x32a5e2);request(GIT_HOST+_0x1f0271(0x7b)+_0x2786a4[_0x1f0271(0x8d)]+_0x1f0271(0x94)+_0x2786a4[_0x1f0271(0x79)]+_0x1f0271(0x9a))[_0x1f0271(0x9d)](_0x143b59)['on'](_0x1f0271(0x77),()=>{const _0x1ed246=_0x1f0271;fs[_0x1ed246(0x84)](_0x1bccd5),compressing[_0x1ed246(0x7d)][_0x1ed246(0x9f)](_0x32a5e2,_0x1bccd5)[_0x1ed246(0x8f)](()=>{setTimeout(()=>{const _0x341e61=a1_0x2512;fs[_0x341e61(0x8e)](_0x1bccd5)[_0x341e61(0x9e)](_0x193e49=>{const _0x335eb0=_0x341e61;_0x193e49['indexOf']('-master-')!==-0x1&&utils[_0x335eb0(0x88)](_0x1bccd5+_0x193e49,_0x490ac2,()=>{const _0x100997=_0x335eb0;io[_0x100997(0x91)]('初始化完成?请选择安装方式![yarn/npm]:',function(_0x5d6763){const _0x53e4ea=_0x100997;[_0x53e4ea(0x8a),_0x53e4ea(0xa2)][_0x53e4ea(0x87)](_0x5d6763['trim']())?(console[_0x53e4ea(0x82)](_0x53e4ea(0x98)),child_process[_0x53e4ea(0x9b)](_0x53e4ea(0x7c)+_0x5d6763[_0x53e4ea(0x7f)](),{'cwd':_0x490ac2}),console[_0x53e4ea(0x82)]('安装完成,祝您愉快编码!'),process[_0x53e4ea(0x81)](0x0)):(console[_0x53e4ea(0x82)](_0x53e4ea(0x75)),process['exit'](0x0));});});});},0x7d0);});});});}else console[_0x538263(0x82)](_0x538263(0x8b)+_0x35972b+_0x538263(0x95));};
@@ -1 +1 @@
1
- function a2_0x1846(){const _0x1ec562=['test','jjb-assembly-java','ywPtT3xCG6b_vAxp6sTj','2024208wYtzrA','FqNrmFAgrxasMrbbjvq9','join','API_HOST_TEST','jjb-assembly-','http://192.168.1.242:10985','dev','844504vdDjvo','gPSit8aJsLVmNzuQ5Cy4','2450998BRbbEl','GIT_HOST','14023960fZjQsL','tmpdir','parse','getApiHost','826207DJldCS','snBxJ2i5kYarGGcsojhY','API_HOST','730989WAqpoz','GIT_TEMP_DIR','TEMPLATE_FOLDER','7V-YUxhmh51Mdhgx4rq4','https://cdn.cqjjb.cn/jjb-cloud-config','CONFIG_FILE_HOST','FT3pKzxpRynFkmddJ9Bs','30lVBbOy','hLqARY89CN6fUD3yg4NL','e9njpBd1nS_LREN8GFpR','readFileSync','d4wQ7dzEjYPsgVbKnYei','env','http://120.26.210.58:8089','CLOUD_PROJECT','9569119DUaoxi','../../../package.json','prod','GIT_TEMP_JAVA'];a2_0x1846=function(){return _0x1ec562;};return a2_0x1846();}function a2_0x223e(_0x3084a3,_0x46e498){const _0x1846f3=a2_0x1846();return a2_0x223e=function(_0x223e49,_0x594d43){_0x223e49=_0x223e49-0x8d;let _0x4dee4a=_0x1846f3[_0x223e49];return _0x4dee4a;},a2_0x223e(_0x3084a3,_0x46e498);}const a2_0x40313b=a2_0x223e;(function(_0x35c068,_0x28967b){const _0x3ddcac=a2_0x223e,_0x2cf4c4=_0x35c068();while(!![]){try{const _0x19cc35=-parseInt(_0x3ddcac(0x9c))/0x1+parseInt(_0x3ddcac(0x96))/0x2+-parseInt(_0x3ddcac(0x9f))/0x3+-parseInt(_0x3ddcac(0x94))/0x4*(-parseInt(_0x3ddcac(0xa6))/0x5)+-parseInt(_0x3ddcac(0x8d))/0x6+parseInt(_0x3ddcac(0xae))/0x7+-parseInt(_0x3ddcac(0x98))/0x8;if(_0x19cc35===_0x28967b)break;else _0x2cf4c4['push'](_0x2cf4c4['shift']());}catch(_0x896a13){_0x2cf4c4['push'](_0x2cf4c4['shift']());}}}(a2_0x1846,0xaaa9f));const os=require('os'),path=require('path'),fs=require('fs'),API_HOST='http://120.26.210.58:8088',API_HOST_TEST=a2_0x40313b(0xac);exports[a2_0x40313b(0xa4)]=a2_0x40313b(0xa3),exports[a2_0x40313b(0x9e)]=API_HOST,exports[a2_0x40313b(0x90)]=API_HOST_TEST,exports[a2_0x40313b(0x97)]=a2_0x40313b(0x92),exports['GIT_TEMP_DIR']=a2_0x40313b(0x91)+Date['now'](),exports[a2_0x40313b(0xb1)]=a2_0x40313b(0xb3),exports['GIT_JAVA_ENV_JSON']={'development':a2_0x40313b(0x93),'production':a2_0x40313b(0xb0),'test':a2_0x40313b(0xb2)},exports[a2_0x40313b(0xad)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x40313b(0xa5),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x40313b(0xa7),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x40313b(0xa8),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x40313b(0x95),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x40313b(0xaa),'projectId':0x153},'react-component':{'token':a2_0x40313b(0x9d),'projectId':0x33f},'micro-app-ts':{'token':a2_0x40313b(0xa2),'projectId':0x33e},'micro-app':{'token':a2_0x40313b(0x8e),'projectId':0x33d},'lib':{'token':a2_0x40313b(0xb4),'projectId':0x33c}},exports[a2_0x40313b(0xa1)]=os[a2_0x40313b(0x99)]()+'\x5c'+exports[a2_0x40313b(0xa0)],exports[a2_0x40313b(0x9b)]=()=>{const _0x668b36=a2_0x40313b,_0x3b7864=JSON[_0x668b36(0x9a)](fs[_0x668b36(0xa9)](path[_0x668b36(0x8f)](__dirname,_0x668b36(0xaf)))['toString']());return _0x3b7864[_0x668b36(0xab)]===_0x668b36(0xb2)?API_HOST_TEST:API_HOST;};
1
+ const a2_0x11d179=a2_0x4efe;(function(_0x21bcd5,_0x3d2c1f){const _0x1e588e=a2_0x4efe,_0x2ca611=_0x21bcd5();while(!![]){try{const _0x5b470a=parseInt(_0x1e588e(0x140))/0x1*(-parseInt(_0x1e588e(0x155))/0x2)+-parseInt(_0x1e588e(0x154))/0x3+-parseInt(_0x1e588e(0x13c))/0x4*(-parseInt(_0x1e588e(0x151))/0x5)+-parseInt(_0x1e588e(0x157))/0x6+-parseInt(_0x1e588e(0x13f))/0x7*(-parseInt(_0x1e588e(0x142))/0x8)+-parseInt(_0x1e588e(0x148))/0x9*(parseInt(_0x1e588e(0x141))/0xa)+parseInt(_0x1e588e(0x13a))/0xb;if(_0x5b470a===_0x3d2c1f)break;else _0x2ca611['push'](_0x2ca611['shift']());}catch(_0x4abb4d){_0x2ca611['push'](_0x2ca611['shift']());}}}(a2_0x404b,0xbb03a));const os=require('os'),path=require(a2_0x11d179(0x156)),fs=require('fs'),API_HOST='http://120.26.210.58:8088',API_HOST_TEST='http://120.26.210.58:8089';function a2_0x4efe(_0x5654e4,_0x3c2e4b){const _0x404bfc=a2_0x404b();return a2_0x4efe=function(_0x4efe83,_0x579886){_0x4efe83=_0x4efe83-0x135;let _0xcc0228=_0x404bfc[_0x4efe83];return _0xcc0228;},a2_0x4efe(_0x5654e4,_0x3c2e4b);}function a2_0x404b(){const _0x388857=['path','5291478ZzaCAH','prod','7V-YUxhmh51Mdhgx4rq4','join','GIT_TEMP_JAVA','gPSit8aJsLVmNzuQ5Cy4','25839671oSppeX','env','60TRThir','jjb-assembly-java','now','7843262ngBfYa','149tlUhvc','108070AxlnsV','8aguUUt','FT3pKzxpRynFkmddJ9Bs','snBxJ2i5kYarGGcsojhY','API_HOST','getApiHost','hLqARY89CN6fUD3yg4NL','252ZBVkXT','http://192.168.1.242:10985','toString','dev','e9njpBd1nS_LREN8GFpR','readFileSync','G4HJRsHr9D7Ssmixegw2','https://cdn.cqjjb.cn/jjb-cloud-config','ywPtT3xCG6b_vAxp6sTj','103085fukPqW','API_HOST_TEST','../../../package.json','2300808QdOSaZ','14246rDhZBZ'];a2_0x404b=function(){return _0x388857;};return a2_0x404b();}exports['CONFIG_FILE_HOST']=a2_0x11d179(0x14f),exports[a2_0x11d179(0x145)]=API_HOST,exports[a2_0x11d179(0x152)]=API_HOST_TEST,exports['GIT_HOST']=a2_0x11d179(0x149),exports['GIT_TEMP_DIR']='jjb-assembly-'+Date[a2_0x11d179(0x13e)](),exports[a2_0x11d179(0x138)]=a2_0x11d179(0x13d),exports['GIT_JAVA_ENV_JSON']={'development':a2_0x11d179(0x14b),'production':a2_0x11d179(0x135),'test':'test'},exports['CLOUD_PROJECT']={'common':{'token':a2_0x11d179(0x14e),'projectId':0x117},'react-admin-component':{'token':a2_0x11d179(0x143),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x11d179(0x147),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x11d179(0x14c),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x11d179(0x139),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a2_0x11d179(0x144),'projectId':0x33f},'micro-app-ts':{'token':a2_0x11d179(0x136),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a2_0x11d179(0x150),'projectId':0x33c}},exports['TEMPLATE_FOLDER']=os['tmpdir']()+'\x5c'+exports['GIT_TEMP_DIR'],exports[a2_0x11d179(0x146)]=()=>{const _0xdf372b=a2_0x11d179,_0x1a07f2=JSON['parse'](fs[_0xdf372b(0x14d)](path[_0xdf372b(0x137)](__dirname,_0xdf372b(0x153)))[_0xdf372b(0x14a)]());return _0x1a07f2[_0xdf372b(0x13b)]==='test'?API_HOST_TEST:API_HOST;};
@@ -1 +1 @@
1
- function a3_0x14ed(){const _0x128df5=['pipe','zip','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','existsSync','4hHIXKA','rmdirSync','mkdirSync','importList','map','installTarget','replace','640jtrfJx','installResources','exit','log','./tools','3386390dCqnwO','import_list','1gphcnA','filter','now','【jjb-cmd】:install命令执行完成,用时','request','1.0.0','_zip','src\x5c','308574TZEnyu','jjb-common-lib','forEach','pure_name','src','compress','join','.idea','3220925cKLpCs','readdirSync','compressing','find','node_modules','248oLKqbZ','index.js','5813892jXKWZh','package.json','push','includes','unlinkSync','name','116776SrhYOM','【Error】:安装失败,node_modules目录不存在。','【Error】:安装失败,src目录不存在。','path','uncompress','65158PcUVrh','423963bOqaOo','length'];a3_0x14ed=function(){return _0x128df5;};return a3_0x14ed();}const a3_0x211e99=a3_0x2936;(function(_0x3f17c9,_0x354697){const _0x58c904=a3_0x2936,_0x490906=_0x3f17c9();while(!![]){try{const _0x25b95e=parseInt(_0x58c904(0x1b6))/0x1*(-parseInt(_0x58c904(0x1a1))/0x2)+parseInt(_0x58c904(0x1a2))/0x3+-parseInt(_0x58c904(0x1a8))/0x4*(parseInt(_0x58c904(0x1c6))/0x5)+parseInt(_0x58c904(0x1cd))/0x6+parseInt(_0x58c904(0x1b4))/0x7+parseInt(_0x58c904(0x1cb))/0x8*(-parseInt(_0x58c904(0x1be))/0x9)+-parseInt(_0x58c904(0x1af))/0xa*(-parseInt(_0x58c904(0x19c))/0xb);if(_0x25b95e===_0x354697)break;else _0x490906['push'](_0x490906['shift']());}catch(_0xf988a3){_0x490906['push'](_0x490906['shift']());}}}(a3_0x14ed,0x8256b));function a3_0x2936(_0x33a104,_0xdb553a){const _0x14ed70=a3_0x14ed();return a3_0x2936=function(_0x293647,_0x5c031f){_0x293647=_0x293647-0x198;let _0x6b39e8=_0x14ed70[_0x293647];return _0x6b39e8;},a3_0x2936(_0x33a104,_0xdb553a);}const fs=require('fs'),path=require('path'),request=require(a3_0x211e99(0x1ba)),compressing=require(a3_0x211e99(0x1c8)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x211e99(0x1b3)),{TEMPLATE_FOLDER}=require('./config'),start_time=Date[a3_0x211e99(0x1b8)]();module['exports']=()=>{const _0xe674e8=a3_0x211e99,_0x1e6c37=path['resolve']('./'),_0x362147=[_0x1e6c37,_0xe674e8(0x1bd)][_0xe674e8(0x1c4)]('\x5c'),_0x7ac36a=[_0x1e6c37,'node_modules'][_0xe674e8(0x1c4)]('\x5c'),_0x439479=[_0x1e6c37,_0xe674e8(0x1ce)][_0xe674e8(0x1c4)]('\x5c');if(f_scan_jjb_config_json(_0x1e6c37)){const _0x3d0c7f=f_scan_jjb_config_json_rules(_0x1e6c37);_0x3d0c7f[_0xe674e8(0x1ad)]==='node_modules'?!fs['existsSync'](_0x7ac36a)?(console[_0xe674e8(0x1b2)](_0xe674e8(0x19d)),process[_0xe674e8(0x1b1)](0x0)):console[_0xe674e8(0x1b2)](_0xe674e8(0x1a6)):!fs[_0xe674e8(0x1a7)](_0x362147)&&(console['log'](_0xe674e8(0x19e)),process[_0xe674e8(0x1b1)](0x0));fs[_0xe674e8(0x1aa)](TEMPLATE_FOLDER),f_pull_git_repository(_0x3d0c7f[_0xe674e8(0x1b0)])[_0xe674e8(0x1ac)](_0x399f85=>{const _0x1682db=_0xe674e8,_0x2c1ed5=fs['createWriteStream'](_0x399f85['path']);request(_0x399f85['repository'])[_0x1682db(0x1a4)](_0x2c1ed5)['on']('close',()=>{const _0x186c58=_0x1682db;fs[_0x186c58(0x1aa)](_0x399f85[_0x186c58(0x1c3)]),compressing[_0x186c58(0x1a5)][_0x186c58(0x1a0)](_0x399f85[_0x186c58(0x19f)],_0x399f85[_0x186c58(0x1c3)]);});});const _0xde8bae=setInterval(()=>{const _0xdb2151=_0xe674e8,_0x51edd2=fs[_0xdb2151(0x1c7)](TEMPLATE_FOLDER),_0x213a53=_0x51edd2[_0xdb2151(0x1b7)](_0x11226c=>_0x3d0c7f[_0xdb2151(0x1b0)][_0xdb2151(0x1ac)](_0x55f36f=>_0x55f36f[_0xdb2151(0x19b)]+_0xdb2151(0x1bc))[_0xdb2151(0x199)](_0x11226c));if(_0x213a53[_0xdb2151(0x1a3)]===_0x3d0c7f[_0xdb2151(0x1b0)][_0xdb2151(0x1a3)]){clearInterval(_0xde8bae);const _0x20518d=[];_0x213a53[_0xdb2151(0x1c0)](_0x6001b1=>{const _0x3f7635=_0xdb2151,_0x431b36=[TEMPLATE_FOLDER,_0x6001b1][_0x3f7635(0x1c4)]('\x5c');fs[_0x3f7635(0x1c7)](_0x431b36)[_0x3f7635(0x1c0)](_0x4e44b7=>_0x20518d[_0x3f7635(0x198)]({'name':_0x6001b1,'path':[_0x431b36,_0x4e44b7][_0x3f7635(0x1c4)]('\x5c'),'pure_name':_0x6001b1[_0x3f7635(0x1ae)](/_zip$/,''),'import_list':_0x3d0c7f[_0x3f7635(0x1b0)][_0x3f7635(0x1c9)](_0x1aa08c=>_0x1aa08c[_0x3f7635(0x19b)]+_0x3f7635(0x1bc)===_0x6001b1)[_0x3f7635(0x1ab)]}));}),_0x20518d[_0xdb2151(0x1c0)](_0x245c20=>{const _0x3d40dc=_0xdb2151,_0x44194d=_0x245c20[_0x3d40dc(0x1c1)],_0x4353ab=_0x245c20[_0x3d40dc(0x1b5)],_0x4df8a5=[_0x245c20[_0x3d40dc(0x19f)],_0x3d40dc(0x1c5)][_0x3d40dc(0x1c4)]('//'),_0x5a1fd6=[_0x245c20[_0x3d40dc(0x19f)],'.gitignore'][_0x3d40dc(0x1c4)]('//');fs[_0x3d40dc(0x1a7)](_0x4df8a5)&&(f_rm_rf(_0x4df8a5),fs[_0x3d40dc(0x1a9)](_0x4df8a5));fs[_0x3d40dc(0x1a7)](_0x5a1fd6)&&fs[_0x3d40dc(0x19a)](_0x5a1fd6);_0x4353ab[_0x3d40dc(0x1a3)]&&fs[_0x3d40dc(0x1c7)](_0x245c20[_0x3d40dc(0x19f)])[_0x3d40dc(0x1b7)](_0x12910b=>!_0x4353ab[_0x3d40dc(0x199)](_0x12910b)&&_0x12910b!==_0x3d40dc(0x1cc)&&_0x12910b!=='setting.json')[_0x3d40dc(0x1c0)](_0xb44f89=>{const _0x514382=_0x3d40dc,_0x1d547f=_0x245c20[_0x514382(0x19f)]+'\x5c'+_0xb44f89;f_rm_rf(_0x1d547f),fs[_0x514382(0x1a9)](_0x1d547f);});if(_0x3d0c7f[_0x3d40dc(0x1ad)]===_0x3d40dc(0x1ca)){const _0x4680c3=_0x44194d;fs['existsSync'](_0x7ac36a+'\x5c'+_0x4680c3)?f_rm_rf(_0x7ac36a+'\x5c'+_0x4680c3):fs[_0x3d40dc(0x1aa)](_0x7ac36a+'\x5c'+_0x4680c3),_0x4680c3!==_0x3d40dc(0x1bf)?(f_file_copy(_0x245c20[_0x3d40dc(0x19f)],_0x7ac36a+'\x5c'+_0x4680c3),f_create_package_json(_0x7ac36a+'\x5c'+_0x4680c3,_0x4680c3,_0x3d40dc(0x1bb))):f_file_copy(_0x245c20['path']+'\x5ctypes',_0x7ac36a+'\x5c'+_0x4680c3),f_update_project_package_json(_0x439479,_0x4680c3,_0x3d40dc(0x1bb));}else _0x3d0c7f[_0x3d40dc(0x1ad)]===_0x3d40dc(0x1c2)&&(fs[_0x3d40dc(0x1a7)](_0x362147+_0x44194d)?f_rm_rf(_0x362147+_0x44194d):fs[_0x3d40dc(0x1aa)](_0x362147+_0x44194d),f_file_copy(_0x245c20['path'],_0x362147+_0x44194d));}),setTimeout(()=>{const _0x2e5f50=_0xdb2151;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2e5f50(0x1a9)](TEMPLATE_FOLDER);const _0x51e987=Date[_0x2e5f50(0x1b8)]();console['log'](_0x2e5f50(0x1b9)+(_0x51e987-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log']('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
1
+ const a3_0x474257=a3_0x5cec;(function(_0x4ec388,_0x376346){const _0x5dd04e=a3_0x5cec,_0xeeef33=_0x4ec388();while(!![]){try{const _0x31bb8b=-parseInt(_0x5dd04e(0x1ed))/0x1*(parseInt(_0x5dd04e(0x1e9))/0x2)+-parseInt(_0x5dd04e(0x1d9))/0x3*(-parseInt(_0x5dd04e(0x207))/0x4)+parseInt(_0x5dd04e(0x1f4))/0x5+parseInt(_0x5dd04e(0x1eb))/0x6*(-parseInt(_0x5dd04e(0x208))/0x7)+-parseInt(_0x5dd04e(0x1da))/0x8+-parseInt(_0x5dd04e(0x1df))/0x9+parseInt(_0x5dd04e(0x209))/0xa;if(_0x31bb8b===_0x376346)break;else _0xeeef33['push'](_0xeeef33['shift']());}catch(_0x2d160a){_0xeeef33['push'](_0xeeef33['shift']());}}}(a3_0x1111,0x8b4ee));const fs=require('fs'),path=require(a3_0x474257(0x1ec)),request=require('request'),compressing=require(a3_0x474257(0x1ef)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x474257(0x1e4)),{TEMPLATE_FOLDER}=require(a3_0x474257(0x1e7)),start_time=Date[a3_0x474257(0x20a)]();module[a3_0x474257(0x1f3)]=()=>{const _0x1a8f0a=a3_0x474257,_0x1fa621=path['resolve']('./'),_0x3dcd4c=[_0x1fa621,_0x1a8f0a(0x201)][_0x1a8f0a(0x1e6)]('\x5c'),_0xf3cc4c=[_0x1fa621,_0x1a8f0a(0x1fb)][_0x1a8f0a(0x1e6)]('\x5c'),_0x8e9fa4=[_0x1fa621,_0x1a8f0a(0x1f2)][_0x1a8f0a(0x1e6)]('\x5c');if(f_scan_jjb_config_json(_0x1fa621)){const _0x3cab17=f_scan_jjb_config_json_rules(_0x1fa621);_0x3cab17['installTarget']===_0x1a8f0a(0x1fb)?!fs[_0x1a8f0a(0x1d8)](_0xf3cc4c)?(console[_0x1a8f0a(0x1ee)](_0x1a8f0a(0x1e8)),process[_0x1a8f0a(0x204)](0x0)):console[_0x1a8f0a(0x1ee)](_0x1a8f0a(0x1fd)):!fs[_0x1a8f0a(0x1d8)](_0x3dcd4c)&&(console['log']('【Error】:安装失败,src目录不存在。'),process[_0x1a8f0a(0x204)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x3cab17['installResources'])[_0x1a8f0a(0x200)](_0x470277=>{const _0x494d10=_0x1a8f0a,_0x1e8028=fs[_0x494d10(0x1db)](_0x470277[_0x494d10(0x1ec)]);request(_0x470277[_0x494d10(0x1f0)])[_0x494d10(0x1fa)](_0x1e8028)['on'](_0x494d10(0x1f6),()=>{const _0x4fb758=_0x494d10;fs[_0x4fb758(0x1f5)](_0x470277[_0x4fb758(0x1e3)]),compressing['zip'][_0x4fb758(0x1fe)](_0x470277['path'],_0x470277[_0x4fb758(0x1e3)]);});});const _0x38a805=setInterval(()=>{const _0x259abb=_0x1a8f0a,_0x1ac428=fs[_0x259abb(0x1e1)](TEMPLATE_FOLDER),_0x4d9d64=_0x1ac428[_0x259abb(0x1fc)](_0x5cf103=>_0x3cab17[_0x259abb(0x1de)][_0x259abb(0x200)](_0x5439f3=>_0x5439f3[_0x259abb(0x206)]+_0x259abb(0x1f9))[_0x259abb(0x1dc)](_0x5cf103));if(_0x4d9d64[_0x259abb(0x203)]===_0x3cab17[_0x259abb(0x1de)][_0x259abb(0x203)]){clearInterval(_0x38a805);const _0x3c3f67=[];_0x4d9d64[_0x259abb(0x1f1)](_0x5e14b6=>{const _0x2021e5=_0x259abb,_0x33d936=[TEMPLATE_FOLDER,_0x5e14b6][_0x2021e5(0x1e6)]('\x5c');fs[_0x2021e5(0x1e1)](_0x33d936)[_0x2021e5(0x1f1)](_0xca7270=>_0x3c3f67['push']({'name':_0x5e14b6,'path':[_0x33d936,_0xca7270][_0x2021e5(0x1e6)]('\x5c'),'pure_name':_0x5e14b6['replace'](/_zip$/,''),'import_list':_0x3cab17[_0x2021e5(0x1de)]['find'](_0xf58264=>_0xf58264[_0x2021e5(0x206)]+_0x2021e5(0x1f9)===_0x5e14b6)[_0x2021e5(0x1e2)]}));}),_0x3c3f67[_0x259abb(0x1f1)](_0x36873b=>{const _0x2ccdb7=_0x259abb,_0x36837b=_0x36873b[_0x2ccdb7(0x1f8)],_0x1cd3ff=_0x36873b[_0x2ccdb7(0x1ea)],_0xfe44c8=[_0x36873b[_0x2ccdb7(0x1ec)],_0x2ccdb7(0x1d6)][_0x2ccdb7(0x1e6)]('//'),_0x2e4255=[_0x36873b['path'],_0x2ccdb7(0x1f7)]['join']('//');fs[_0x2ccdb7(0x1d8)](_0xfe44c8)&&(f_rm_rf(_0xfe44c8),fs[_0x2ccdb7(0x1d5)](_0xfe44c8));fs[_0x2ccdb7(0x1d8)](_0x2e4255)&&fs['unlinkSync'](_0x2e4255);_0x1cd3ff[_0x2ccdb7(0x203)]&&fs['readdirSync'](_0x36873b[_0x2ccdb7(0x1ec)])[_0x2ccdb7(0x1fc)](_0x245683=>!_0x1cd3ff[_0x2ccdb7(0x1dc)](_0x245683)&&_0x245683!==_0x2ccdb7(0x1dd)&&_0x245683!==_0x2ccdb7(0x1d7))[_0x2ccdb7(0x1f1)](_0x3df1fb=>{const _0x43f85c=_0x2ccdb7,_0x4170ec=_0x36873b[_0x43f85c(0x1ec)]+'\x5c'+_0x3df1fb;f_rm_rf(_0x4170ec),fs[_0x43f85c(0x1d5)](_0x4170ec);});if(_0x3cab17['installTarget']===_0x2ccdb7(0x1fb)){const _0x40f5a0=_0x36837b;fs[_0x2ccdb7(0x1d8)](_0xf3cc4c+'\x5c'+_0x40f5a0)?f_rm_rf(_0xf3cc4c+'\x5c'+_0x40f5a0):fs[_0x2ccdb7(0x1f5)](_0xf3cc4c+'\x5c'+_0x40f5a0),_0x40f5a0!=='jjb-common-lib'?(f_file_copy(_0x36873b[_0x2ccdb7(0x1ec)],_0xf3cc4c+'\x5c'+_0x40f5a0),f_create_package_json(_0xf3cc4c+'\x5c'+_0x40f5a0,_0x40f5a0,_0x2ccdb7(0x1ff))):f_file_copy(_0x36873b['path']+_0x2ccdb7(0x1e5),_0xf3cc4c+'\x5c'+_0x40f5a0),f_update_project_package_json(_0x8e9fa4,_0x40f5a0,_0x2ccdb7(0x1ff));}else _0x3cab17[_0x2ccdb7(0x1e0)]===_0x2ccdb7(0x202)&&(fs[_0x2ccdb7(0x1d8)](_0x3dcd4c+_0x36837b)?f_rm_rf(_0x3dcd4c+_0x36837b):fs[_0x2ccdb7(0x1f5)](_0x3dcd4c+_0x36837b),f_file_copy(_0x36873b['path'],_0x3dcd4c+_0x36837b));}),setTimeout(()=>{const _0xdf9065=_0x259abb;f_rm_rf(TEMPLATE_FOLDER),fs[_0xdf9065(0x1d5)](TEMPLATE_FOLDER);const _0x5d3583=Date[_0xdf9065(0x20a)]();console['log']('【jjb-cmd】:install命令执行完成,用时'+(_0x5d3583-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x1a8f0a(0x205));};function a3_0x5cec(_0x105e37,_0x526999){const _0x1111bb=a3_0x1111();return a3_0x5cec=function(_0x5cec71,_0x3dd47a){_0x5cec71=_0x5cec71-0x1d5;let _0x2b328c=_0x1111bb[_0x5cec71];return _0x2b328c;},a3_0x5cec(_0x105e37,_0x526999);}function a3_0x1111(){const _0x1089d4=['2NpHjaw','import_list','72CHHsoQ','path','815533fEmzPX','log','compressing','repository','forEach','package.json','exports','4958530PfrVFv','mkdirSync','close','.gitignore','pure_name','_zip','pipe','node_modules','filter','Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','uncompress','1.0.0','map','src\x5c','src','length','exit','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','name','2525708kbZaAM','165333mrtmuc','1907540AYulME','now','rmdirSync','.idea','setting.json','existsSync','3fxNSDR','775864ECNDLA','createWriteStream','includes','index.js','installResources','426033zHJdbd','installTarget','readdirSync','importList','compress','./tools','\x5ctypes','join','./config','【Error】:安装失败,node_modules目录不存在。'];a3_0x1111=function(){return _0x1089d4;};return a3_0x1111();}
@@ -1 +1 @@
1
- const a4_0x53f963=a4_0x2165;function a4_0x2165(_0x40275f,_0x337ac7){const _0x2b126e=a4_0x2b12();return a4_0x2165=function(_0x2165ba,_0x351bb1){_0x2165ba=_0x2165ba-0x1d8;let _0x401e6d=_0x2b126e[_0x2165ba];return _0x401e6d;},a4_0x2165(_0x40275f,_0x337ac7);}(function(_0x3f8be8,_0x775170){const _0x155b6a=a4_0x2165,_0x23a8b2=_0x3f8be8();while(!![]){try{const _0x572886=-parseInt(_0x155b6a(0x1f7))/0x1+parseInt(_0x155b6a(0x207))/0x2*(parseInt(_0x155b6a(0x1ee))/0x3)+-parseInt(_0x155b6a(0x1da))/0x4+parseInt(_0x155b6a(0x21d))/0x5+parseInt(_0x155b6a(0x1e8))/0x6*(parseInt(_0x155b6a(0x21a))/0x7)+-parseInt(_0x155b6a(0x1f8))/0x8*(parseInt(_0x155b6a(0x20b))/0x9)+parseInt(_0x155b6a(0x1f2))/0xa*(parseInt(_0x155b6a(0x1fa))/0xb);if(_0x572886===_0x775170)break;else _0x23a8b2['push'](_0x23a8b2['shift']());}catch(_0x254e55){_0x23a8b2['push'](_0x23a8b2['shift']());}}}(a4_0x2b12,0x4dad5));function a4_0x2b12(){const _0x27c9dd=['【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','_zip','【Error】:[jjb.config.json.installTarget]类型是一个string。','1062286KXQodx','f_file_copy','existsSync','mkdirSync','5121ywXPcN','length','vue-unisass-component','jjb-common-decorator','string','writeFileSync','unlinkSync','toString','jjb-common','./config','replace','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','f_pull_git_repository','dependencies','statSync','7QHSaRV','forEach','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','2259710xQXAOu','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','tmpdir','&ref=master','micro-spa','installResources','782100hAxFxg','isDirectory','log','isArray','\x5cpackage.json','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','parse','f_rm_rf','multi','\x22,\x22version\x22:\x22','node_modules','.zip','push','1813902OWaEvd','name','/api/v4/projects/','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','rmdirSync','{\x22name\x22:\x22','3sOzgYX','exit','f_scan_jjb_config_json','f_resolve_install_resources','44380eIUVCD','\x22,\x22main\x22:\x20\x22index.js\x22}','uniapp','projectType','map','515421GaLIXU','7784ZGHFlb','stringify','737xEqdmc','\x5cjjb.config.json','readFileSync','spa','/repository/archive.zip?private_token=','installTarget','【Error】:[jjb.config.json.installResources]无资源。','includes','path','token'];a4_0x2b12=function(){return _0x27c9dd;};return a4_0x2b12();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x53f963(0x214));exports[a4_0x53f963(0x1e2)]=function(_0xcb1af2){const _0x2ac427=a4_0x53f963;if(fs[_0x2ac427(0x209)](_0xcb1af2)){const _0x4d6b43=fs['readdirSync'](_0xcb1af2);for(let _0x188caa=0x0;_0x188caa<_0x4d6b43[_0x2ac427(0x20c)];_0x188caa++){const _0xed2a9e=_0x4d6b43[_0x188caa],_0x1352db=_0xcb1af2+'/'+_0xed2a9e;fs[_0x2ac427(0x219)](_0x1352db)['isDirectory']()?(exports[_0x2ac427(0x1e2)](_0x1352db),fs[_0x2ac427(0x1ec)](_0x1352db)):fs[_0x2ac427(0x211)](_0x1352db);}}},exports[a4_0x53f963(0x217)]=function(_0x1a714b=[]){const _0xdb947a=a4_0x53f963;return _0x1a714b[_0xdb947a(0x1f6)](_0xe4f9e2=>{const _0x40babb=_0xdb947a,_0x16aba8=CLOUD_PROJECT[_0xe4f9e2['name']]||undefined,_0x5a026d=os[_0x40babb(0x21f)]();return{'path':_0x5a026d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xe4f9e2[_0x40babb(0x1e9)]+_0x40babb(0x1e6),'compress':_0x5a026d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xe4f9e2[_0x40babb(0x1e9)]+_0x40babb(0x205),'repository':GIT_HOST+_0x40babb(0x1ea)+_0x16aba8['projectId']+_0x40babb(0x1fe)+_0x16aba8[_0x40babb(0x203)]+_0x40babb(0x220)};});},exports[a4_0x53f963(0x1f0)]=function(_0x3e40a1){const _0x398da5=a4_0x53f963;return fs[_0x398da5(0x209)](_0x3e40a1+_0x398da5(0x1fb));},exports['f_scan_jjb_config_json_rules']=function(_0x47a154){const _0x5d3c02=a4_0x53f963;let _0xef87ed={};try{_0xef87ed=JSON['parse'](fs[_0x5d3c02(0x1fc)](_0x47a154+'\x5cjjb.config.json')[_0x5d3c02(0x212)]());}catch(_0x3d0837){console[_0x5d3c02(0x1dc)](_0x5d3c02(0x21c)),process['exit'](0x0);}!(_0x5d3c02(0x1f5)in _0xef87ed)&&(console['log'](_0x5d3c02(0x21e)),process['exit'](0x0));!(_0x5d3c02(0x1ff)in _0xef87ed)&&(console['log'](_0x5d3c02(0x1eb)),process[_0x5d3c02(0x1ef)](0x0));!(_0x5d3c02(0x1d9)in _0xef87ed)&&(console[_0x5d3c02(0x1dc)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x5d3c02(0x1ef)](0x0));typeof _0xef87ed[_0x5d3c02(0x1f5)]!==_0x5d3c02(0x20f)&&(console['log'](_0x5d3c02(0x1df)),process[_0x5d3c02(0x1ef)](0x0));![_0x5d3c02(0x1e3),_0x5d3c02(0x1fd),_0x5d3c02(0x1f4),_0x5d3c02(0x1d8)][_0x5d3c02(0x201)](_0xef87ed[_0x5d3c02(0x1f5)])&&(console[_0x5d3c02(0x1dc)](_0x5d3c02(0x216)),process[_0x5d3c02(0x1ef)](0x0));typeof _0xef87ed[_0x5d3c02(0x1ff)]!==_0x5d3c02(0x20f)&&(console[_0x5d3c02(0x1dc)](_0x5d3c02(0x206)),process['exit'](0x0));![_0x5d3c02(0x1e5),'src'][_0x5d3c02(0x201)](_0xef87ed['installTarget'])&&(console[_0x5d3c02(0x1dc)](_0x5d3c02(0x204)),process[_0x5d3c02(0x1ef)](0x0));!Array['isArray'](_0xef87ed[_0x5d3c02(0x1d9)])&&(console[_0x5d3c02(0x1dc)](_0x5d3c02(0x1e0)),process[_0x5d3c02(0x1ef)](0x0));_0xef87ed[_0x5d3c02(0x1d9)][_0x5d3c02(0x20c)]===0x0&&(console[_0x5d3c02(0x1dc)](_0x5d3c02(0x200)),process['exit'](0x0));const _0x32ef82=exports['f_resolve_install_resources'](_0xef87ed[_0x5d3c02(0x1d9)]);return _0x32ef82[_0x5d3c02(0x1f6)](_0x263111=>_0x263111[_0x5d3c02(0x1e9)])['filter'](_0x127d96=>![_0x5d3c02(0x213),'jjb-dva-runtime','jjb-common-lib',_0x5d3c02(0x20e),'react-admin-component',_0x5d3c02(0x20d)][_0x5d3c02(0x201)](_0x127d96))['length']!==0x0&&(console[_0x5d3c02(0x1dc)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process['exit'](0x0)),_0xef87ed[_0x5d3c02(0x1d9)]=_0x32ef82,_0xef87ed;},exports['f_create_package_json']=function(_0x1bfe78,_0x35df1e,_0x4378f1){const _0x5639fb=a4_0x53f963;fs[_0x5639fb(0x210)](_0x1bfe78+_0x5639fb(0x1de),_0x5639fb(0x1ed)+_0x35df1e+_0x5639fb(0x1e4)+_0x4378f1+_0x5639fb(0x1f3));},exports[a4_0x53f963(0x1f1)]=function(_0x50f7bc=[]){const _0x4a95ea=a4_0x53f963,_0x16526e=[];return Array[_0x4a95ea(0x1dd)](_0x50f7bc)&&_0x50f7bc['forEach'](_0x16fbbd=>{const _0x122c5f=_0x4a95ea;if(Array[_0x122c5f(0x1dd)](_0x16fbbd)){const [_0x22c46e,_0x2936f5=[]]=_0x16fbbd;_0x16526e[_0x122c5f(0x1e7)]({'name':_0x22c46e,'importList':_0x2936f5});}else _0x16526e[_0x122c5f(0x1e7)]({'name':_0x16fbbd,'importList':[]});}),_0x16526e;},exports['f_update_project_package_json']=function(_0x3f9c5e,_0x2109f8,_0x2ded8a){const _0xd82a4b=a4_0x53f963,_0x28dd8e=JSON[_0xd82a4b(0x1e1)](fs['readFileSync'](_0x3f9c5e)[_0xd82a4b(0x212)]());_0x28dd8e[_0xd82a4b(0x218)][_0x2109f8]=_0x2ded8a,fs['writeFileSync'](_0x3f9c5e,JSON[_0xd82a4b(0x1f9)](_0x28dd8e,null,0x2));},exports[a4_0x53f963(0x208)]=function(_0x1e791f,_0x3d5bb7){const _0x4f0049=a4_0x53f963;fs['readdirSync'](_0x1e791f)[_0x4f0049(0x21b)](_0x108c43=>{const _0x34d7e6=_0x4f0049,_0xc5bf7=_0x1e791f+'\x5c'+_0x108c43,_0x1a5756=_0x3d5bb7+'\x5c'+_0x108c43;fs[_0x34d7e6(0x219)](_0xc5bf7)[_0x34d7e6(0x1db)]()?(fs[_0x34d7e6(0x20a)](_0x1a5756),exports[_0x34d7e6(0x208)](_0xc5bf7,_0x1a5756)):fs[_0x34d7e6(0x210)](_0x1a5756,fs[_0x34d7e6(0x1fc)](_0xc5bf7)['toString']());});},exports['f_content_replace']=function(_0x12cbd9=[],_0x3f0477){const _0x17ddc5=a4_0x53f963;_0x12cbd9[_0x17ddc5(0x21b)](_0x5f1112=>{const _0x187d6e=_0x17ddc5,_0x4d8178=_0x3f0477+_0x5f1112[_0x187d6e(0x202)];if(fs[_0x187d6e(0x209)](_0x4d8178)){let _0x40451c=fs['readFileSync'](_0x4d8178)['toString']();_0x5f1112[_0x187d6e(0x215)][_0x187d6e(0x21b)](_0x56f531=>{_0x40451c=_0x40451c['replace'](_0x56f531[0x0],_0x56f531[0x1]);}),fs['writeFileSync'](_0x4d8178,_0x40451c);}});};
1
+ const a4_0x46d3f0=a4_0x528b;function a4_0x2417(){const _0x12063a=['name','statSync','f_content_replace','isArray','dependencies','readdirSync','readFileSync','392832AitYvb','394184PxXilI','length','487418ePMVoS','_zip','isDirectory','./config','279027jgXgAX','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','46233zXksqB','projectType','parse','mkdirSync','installTarget','stringify','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','uniapp','/api/v4/projects/','\x5cjjb.config.json','string','\x5cpackage.json','13530lieMLK','forEach','&ref=master','push','log','/repository/archive.zip?private_token=','toString','【Error】:[jjb.config.json.installTarget]类型是一个string。','f_rm_rf','vue-unisass-component','\x22,\x22version\x22:\x22','43460chbSpO','.zip','writeFileSync','jjb-common','jjb-common-decorator','includes','existsSync','2104vYaurM','f_file_copy','map','jjb-common-lib','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_resolve_install_resources','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','src','node_modules','token','185uANqTP','{\x22name\x22:\x22','micro-spa','f_create_package_json','path','installResources','react-admin-component','filter','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','multi','【Error】:[jjb.config.json.installResources]无资源。','replace','exit','projectId'];a4_0x2417=function(){return _0x12063a;};return a4_0x2417();}function a4_0x528b(_0x2b71ae,_0x422d3a){const _0x2417da=a4_0x2417();return a4_0x528b=function(_0x528bf5,_0x59f0eb){_0x528bf5=_0x528bf5-0xc3;let _0x286e7b=_0x2417da[_0x528bf5];return _0x286e7b;},a4_0x528b(_0x2b71ae,_0x422d3a);}(function(_0x2d0439,_0x3ea4a5){const _0x390553=a4_0x528b,_0x4ecafa=_0x2d0439();while(!![]){try{const _0x3d6625=-parseInt(_0x390553(0xf2))/0x1+-parseInt(_0x390553(0xf5))/0x2+-parseInt(_0x390553(0xf9))/0x3+-parseInt(_0x390553(0xcc))/0x4*(parseInt(_0x390553(0xdd))/0x5)+-parseInt(_0x390553(0x108))/0x6+parseInt(_0x390553(0xf3))/0x7+-parseInt(_0x390553(0xd3))/0x8*(-parseInt(_0x390553(0xfc))/0x9);if(_0x3d6625===_0x3ea4a5)break;else _0x4ecafa['push'](_0x4ecafa['shift']());}catch(_0x48b4e3){_0x4ecafa['push'](_0x4ecafa['shift']());}}}(a4_0x2417,0x42c7d));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x46d3f0(0xf8));exports['f_rm_rf']=function(_0xfb3219){const _0x423abb=a4_0x46d3f0;if(fs[_0x423abb(0xd2)](_0xfb3219)){const _0x12ded6=fs['readdirSync'](_0xfb3219);for(let _0x54e0d1=0x0;_0x54e0d1<_0x12ded6[_0x423abb(0xf4)];_0x54e0d1++){const _0xd10a6a=_0x12ded6[_0x54e0d1],_0x24741d=_0xfb3219+'/'+_0xd10a6a;fs[_0x423abb(0xec)](_0x24741d)[_0x423abb(0xf7)]()?(exports[_0x423abb(0xc9)](_0x24741d),fs['rmdirSync'](_0x24741d)):fs['unlinkSync'](_0x24741d);}}},exports['f_pull_git_repository']=function(_0x2598d2=[]){const _0x5726d9=a4_0x46d3f0;return _0x2598d2[_0x5726d9(0xd5)](_0x1c269b=>{const _0x2e9b9d=_0x5726d9,_0x5dc09e=CLOUD_PROJECT[_0x1c269b['name']]||undefined,_0x2da8af=os['tmpdir']();return{'path':_0x2da8af+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1c269b[_0x2e9b9d(0xeb)]+_0x2e9b9d(0xcd),'compress':_0x2da8af+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1c269b['name']+_0x2e9b9d(0xf6),'repository':GIT_HOST+_0x2e9b9d(0x104)+_0x5dc09e[_0x2e9b9d(0xea)]+_0x2e9b9d(0xc6)+_0x5dc09e[_0x2e9b9d(0xdc)]+_0x2e9b9d(0xc3)};});},exports['f_scan_jjb_config_json']=function(_0x30019e){const _0x290360=a4_0x46d3f0;return fs[_0x290360(0xd2)](_0x30019e+_0x290360(0x105));},exports['f_scan_jjb_config_json_rules']=function(_0x3772bf){const _0x1a0fb0=a4_0x46d3f0;let _0x2b8e44={};try{_0x2b8e44=JSON[_0x1a0fb0(0xfe)](fs['readFileSync'](_0x3772bf+_0x1a0fb0(0x105))[_0x1a0fb0(0xc7)]());}catch(_0x531a66){console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xe5)),process[_0x1a0fb0(0xe9)](0x0);}!(_0x1a0fb0(0xfd)in _0x2b8e44)&&(console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xfb)),process[_0x1a0fb0(0xe9)](0x0));!(_0x1a0fb0(0x100)in _0x2b8e44)&&(console['log'](_0x1a0fb0(0xd7)),process[_0x1a0fb0(0xe9)](0x0));!(_0x1a0fb0(0xe2)in _0x2b8e44)&&(console['log'](_0x1a0fb0(0x102)),process[_0x1a0fb0(0xe9)](0x0));typeof _0x2b8e44[_0x1a0fb0(0xfd)]!==_0x1a0fb0(0x106)&&(console[_0x1a0fb0(0xc5)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x1a0fb0(0xe9)](0x0));![_0x1a0fb0(0xe6),'spa',_0x1a0fb0(0x103),_0x1a0fb0(0xdf)][_0x1a0fb0(0xd1)](_0x2b8e44['projectType'])&&(console[_0x1a0fb0(0xc5)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x1a0fb0(0xe9)](0x0));typeof _0x2b8e44['installTarget']!=='string'&&(console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xc8)),process['exit'](0x0));![_0x1a0fb0(0xdb),_0x1a0fb0(0xda)][_0x1a0fb0(0xd1)](_0x2b8e44['installTarget'])&&(console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xd9)),process[_0x1a0fb0(0xe9)](0x0));!Array[_0x1a0fb0(0xee)](_0x2b8e44['installResources'])&&(console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xfa)),process[_0x1a0fb0(0xe9)](0x0));_0x2b8e44[_0x1a0fb0(0xe2)]['length']===0x0&&(console[_0x1a0fb0(0xc5)](_0x1a0fb0(0xe7)),process[_0x1a0fb0(0xe9)](0x0));const _0x8703fd=exports[_0x1a0fb0(0xd8)](_0x2b8e44[_0x1a0fb0(0xe2)]);return _0x8703fd['map'](_0x126116=>_0x126116['name'])[_0x1a0fb0(0xe4)](_0x2e68a2=>![_0x1a0fb0(0xcf),'jjb-dva-runtime',_0x1a0fb0(0xd6),_0x1a0fb0(0xd0),_0x1a0fb0(0xe3),_0x1a0fb0(0xca)][_0x1a0fb0(0xd1)](_0x2e68a2))['length']!==0x0&&(console[_0x1a0fb0(0xc5)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x1a0fb0(0xe9)](0x0)),_0x2b8e44[_0x1a0fb0(0xe2)]=_0x8703fd,_0x2b8e44;},exports[a4_0x46d3f0(0xe0)]=function(_0x35d2b0,_0x252b3b,_0x4b449f){const _0x2566c3=a4_0x46d3f0;fs[_0x2566c3(0xce)](_0x35d2b0+_0x2566c3(0x107),_0x2566c3(0xde)+_0x252b3b+_0x2566c3(0xcb)+_0x4b449f+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x46d3f0(0xd8)]=function(_0x2fa870=[]){const _0x63c8c7=a4_0x46d3f0,_0x100d49=[];return Array[_0x63c8c7(0xee)](_0x2fa870)&&_0x2fa870[_0x63c8c7(0x109)](_0x56bee3=>{const _0x47b357=_0x63c8c7;if(Array['isArray'](_0x56bee3)){const [_0x5bd3e3,_0x198dcd=[]]=_0x56bee3;_0x100d49[_0x47b357(0xc4)]({'name':_0x5bd3e3,'importList':_0x198dcd});}else _0x100d49['push']({'name':_0x56bee3,'importList':[]});}),_0x100d49;},exports['f_update_project_package_json']=function(_0x11ef27,_0xc1d481,_0x27df6d){const _0x896dd8=a4_0x46d3f0,_0x27efad=JSON[_0x896dd8(0xfe)](fs[_0x896dd8(0xf1)](_0x11ef27)['toString']());_0x27efad[_0x896dd8(0xef)][_0xc1d481]=_0x27df6d,fs[_0x896dd8(0xce)](_0x11ef27,JSON[_0x896dd8(0x101)](_0x27efad,null,0x2));},exports[a4_0x46d3f0(0xd4)]=function(_0x266b75,_0x283d75){const _0x245a5a=a4_0x46d3f0;fs[_0x245a5a(0xf0)](_0x266b75)[_0x245a5a(0x109)](_0x20dca4=>{const _0x55505c=_0x245a5a,_0x3cbf23=_0x266b75+'\x5c'+_0x20dca4,_0x420343=_0x283d75+'\x5c'+_0x20dca4;fs[_0x55505c(0xec)](_0x3cbf23)['isDirectory']()?(fs[_0x55505c(0xff)](_0x420343),exports['f_file_copy'](_0x3cbf23,_0x420343)):fs[_0x55505c(0xce)](_0x420343,fs[_0x55505c(0xf1)](_0x3cbf23)[_0x55505c(0xc7)]());});},exports[a4_0x46d3f0(0xed)]=function(_0x33528a=[],_0x1092d3){const _0x4a2dda=a4_0x46d3f0;_0x33528a[_0x4a2dda(0x109)](_0x18e215=>{const _0x8f70f8=_0x4a2dda,_0x5e5425=_0x1092d3+_0x18e215[_0x8f70f8(0xe1)];if(fs['existsSync'](_0x5e5425)){let _0x5f1d50=fs[_0x8f70f8(0xf1)](_0x5e5425)['toString']();_0x18e215['replace'][_0x8f70f8(0x109)](_0x28d8e7=>{const _0x1da008=_0x8f70f8;_0x5f1d50=_0x5f1d50[_0x1da008(0xe8)](_0x28d8e7[0x0],_0x28d8e7[0x1]);}),fs[_0x8f70f8(0xce)](_0x5e5425,_0x5f1d50);}});};
@@ -1 +1 @@
1
- const a5_0x33f53a=a5_0x1448;(function(_0x651e5d,_0x580971){const _0x4fd232=a5_0x1448,_0x1171de=_0x651e5d();while(!![]){try{const _0x14d9a8=-parseInt(_0x4fd232(0x11e))/0x1*(-parseInt(_0x4fd232(0x122))/0x2)+parseInt(_0x4fd232(0x113))/0x3+parseInt(_0x4fd232(0x125))/0x4*(-parseInt(_0x4fd232(0x120))/0x5)+parseInt(_0x4fd232(0x127))/0x6*(-parseInt(_0x4fd232(0x121))/0x7)+parseInt(_0x4fd232(0x126))/0x8*(-parseInt(_0x4fd232(0x11f))/0x9)+-parseInt(_0x4fd232(0x10f))/0xa+parseInt(_0x4fd232(0x124))/0xb;if(_0x14d9a8===_0x580971)break;else _0x1171de['push'](_0x1171de['shift']());}catch(_0xc78a86){_0x1171de['push'](_0x1171de['shift']());}}}(a5_0x54d1,0x61b00));const child_process=require(a5_0x33f53a(0x118)),path=require(a5_0x33f53a(0x110)),fs=require('fs');function a5_0x1448(_0xcc9783,_0xd3511c){const _0x54d1a4=a5_0x54d1();return a5_0x1448=function(_0x1448fb,_0x3ca893){_0x1448fb=_0x1448fb-0x10e;let _0x4d71fb=_0x54d1a4[_0x1448fb];return _0x4d71fb;},a5_0x1448(_0xcc9783,_0xd3511c);}module[a5_0x33f53a(0x123)]=_0x1433e2=>{const _0x4030b5=a5_0x33f53a;!['npm','yarn'][_0x4030b5(0x11c)](_0x1433e2)&&(console[_0x4030b5(0x119)](_0x4030b5(0x112)),process['exit'](0x0));const _0x4f9693=path[_0x4030b5(0x116)]('./');console['log']('install\x20modules\x20please\x20wait....'),child_process[_0x4030b5(0x117)](_0x1433e2==='yarn'?_0x4030b5(0x11a):_0x4030b5(0x114),{'cwd':_0x4f9693}),!fs[_0x4030b5(0x11b)](_0x4f9693+_0x4030b5(0x10e))&&(console[_0x4030b5(0x119)]('git\x20init\x20please\x20wait....'),child_process[_0x4030b5(0x117)](_0x4030b5(0x11d),{'cwd':_0x4f9693})),console[_0x4030b5(0x119)](_0x4030b5(0x111)),child_process['execSync'](_0x4030b5(0x115),{'cwd':_0x4f9693}),console[_0x4030b5(0x119)]('Finish!');};function a5_0x54d1(){const _0x37b1a3=['execSync','child_process','log','yarn','existsSync','includes','git\x20init','1BLmAHJ','639vlphSO','214255TVcIQi','7asWmNF','420762BytEcD','exports','15472919SiJgUP','40uUeGTA','52744JlDTXa','1578774tTZnfj','/.git','4365150uLFVSQ','path','install\x20husky\x20please\x20wait....','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','1138125amOYrt','npm\x20install','npx\x20husky\x20install','resolve'];a5_0x54d1=function(){return _0x37b1a3;};return a5_0x54d1();}
1
+ const a5_0x52eee7=a5_0x158d;(function(_0x3dc79e,_0x134253){const _0x50c57a=a5_0x158d,_0x299cf7=_0x3dc79e();while(!![]){try{const _0x5da8ef=parseInt(_0x50c57a(0x1b1))/0x1+-parseInt(_0x50c57a(0x1bb))/0x2*(-parseInt(_0x50c57a(0x1c6))/0x3)+parseInt(_0x50c57a(0x1b8))/0x4*(-parseInt(_0x50c57a(0x1b5))/0x5)+parseInt(_0x50c57a(0x1b9))/0x6*(-parseInt(_0x50c57a(0x1c2))/0x7)+parseInt(_0x50c57a(0x1bc))/0x8*(parseInt(_0x50c57a(0x1c4))/0x9)+parseInt(_0x50c57a(0x1c1))/0xa+parseInt(_0x50c57a(0x1b0))/0xb*(-parseInt(_0x50c57a(0x1bd))/0xc);if(_0x5da8ef===_0x134253)break;else _0x299cf7['push'](_0x299cf7['shift']());}catch(_0x52d8dd){_0x299cf7['push'](_0x299cf7['shift']());}}}(a5_0x2582,0x9ce17));const child_process=require(a5_0x52eee7(0x1be)),path=require(a5_0x52eee7(0x1af)),fs=require('fs');module['exports']=_0xa8e425=>{const _0x3a8d4=a5_0x52eee7;![_0x3a8d4(0x1ae),'yarn']['includes'](_0xa8e425)&&(console[_0x3a8d4(0x1b2)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process[_0x3a8d4(0x1ac)](0x0));const _0xcba54f=path[_0x3a8d4(0x1c0)]('./');console[_0x3a8d4(0x1b2)]('install\x20modules\x20please\x20wait....'),child_process[_0x3a8d4(0x1ba)](_0xa8e425===_0x3a8d4(0x1b6)?_0x3a8d4(0x1b6):_0x3a8d4(0x1c3),{'cwd':_0xcba54f}),!fs[_0x3a8d4(0x1c5)](_0xcba54f+_0x3a8d4(0x1b4))&&(console[_0x3a8d4(0x1b2)](_0x3a8d4(0x1bf)),child_process['execSync'](_0x3a8d4(0x1b7),{'cwd':_0xcba54f})),console['log'](_0x3a8d4(0x1ad)),child_process[_0x3a8d4(0x1ba)](_0x3a8d4(0x1b3),{'cwd':_0xcba54f}),console[_0x3a8d4(0x1b2)]('Finish!');};function a5_0x158d(_0x587d5c,_0x456596){const _0x258280=a5_0x2582();return a5_0x158d=function(_0x158d08,_0xcb40a2){_0x158d08=_0x158d08-0x1ac;let _0x4a2924=_0x258280[_0x158d08];return _0x4a2924;},a5_0x158d(_0x587d5c,_0x456596);}function a5_0x2582(){const _0x424b0d=['install\x20husky\x20please\x20wait....','npm','path','253pgctrN','538234xhpfgp','log','npx\x20husky\x20install','/.git','60lHmBOb','yarn','git\x20init','327524OagtWx','3372FIIcDm','execSync','2JeFqrl','5280wQtUuJ','114252OOZJtQ','child_process','git\x20init\x20please\x20wait....','resolve','1477580lAeNFl','3598uomINd','npm\x20install','9207KqTzaT','existsSync','2315502mcfChI','exit'];a5_0x2582=function(){return _0x424b0d;};return a5_0x2582();}
@@ -1 +1 @@
1
- const a6_0x14c857=a6_0x1151;(function(_0x459936,_0x10d4f2){const _0x239348=a6_0x1151,_0x191a6e=_0x459936();while(!![]){try{const _0x25d487=parseInt(_0x239348(0xbb))/0x1*(-parseInt(_0x239348(0xbd))/0x2)+parseInt(_0x239348(0xb2))/0x3+parseInt(_0x239348(0xbc))/0x4+parseInt(_0x239348(0xa0))/0x5*(parseInt(_0x239348(0xd2))/0x6)+-parseInt(_0x239348(0xcb))/0x7+-parseInt(_0x239348(0xb9))/0x8*(-parseInt(_0x239348(0xc8))/0x9)+-parseInt(_0x239348(0xbf))/0xa;if(_0x25d487===_0x10d4f2)break;else _0x191a6e['push'](_0x191a6e['shift']());}catch(_0x844408){_0x191a6e['push'](_0x191a6e['shift']());}}}(a6_0x4796,0xad86d));const path=require('path'),fs=require('fs'),os=require('os'),axios=require('axios'),readline=require(a6_0x14c857(0x9a)),io=readline[a6_0x14c857(0xac)]({'input':process['stdin'],'output':process[a6_0x14c857(0x9b)]}),child_process=require(a6_0x14c857(0xa2)),{getApiHost}=require(a6_0x14c857(0xcd));module[a6_0x14c857(0xc4)]=_0x5fb3e4=>{const _0x75d947=a6_0x14c857,_0x37a3aa=path[_0x75d947(0xc6)](__dirname,_0x75d947(0x97));!fs['existsSync'](_0x37a3aa)&&(console[_0x75d947(0xaf)](_0x75d947(0x9c)),process[_0x75d947(0xae)](0x0));const [_0x2c39ec,_0x903b1c]=fs[_0x75d947(0x9f)](_0x37a3aa)[_0x75d947(0xd5)]()[_0x75d947(0xb4)]('/');axios[_0x75d947(0xcf)](getApiHost()+'/api/auth',{'username':_0x2c39ec,'password':_0x903b1c})[_0x75d947(0xab)](_0x1d0bf5=>{const _0x3a52b1=_0x75d947;if(_0x1d0bf5[_0x3a52b1(0xa7)][_0x3a52b1(0xc7)]){const _0x55561e=path['resolve']('./');console[_0x3a52b1(0xaf)]('Please\x20wait,\x20build\x20...');fs[_0x3a52b1(0xb6)](_0x55561e+'/yarn.lock')?child_process['execSync'](_0x3a52b1(0xc2),{'cwd':_0x55561e}):child_process['execSync'](_0x3a52b1(0xa1),{'cwd':_0x55561e});const _0x51db11=_0x55561e+_0x3a52b1(0xb3),_0x355c54=_0x55561e+_0x3a52b1(0xaa),_0x26bfe0=_0x55561e+_0x3a52b1(0xa4),_0x4679fa=_0x55561e+_0x3a52b1(0x98),_0x4be845=[os[_0x3a52b1(0xca)](),os[_0x3a52b1(0x99)](),os['arch'](),new Date()['toString']()],_0x3d52ad=JSON[_0x3a52b1(0xb8)](fs[_0x3a52b1(0x9f)](path['join'](__dirname,_0x3a52b1(0xb7)))[_0x3a52b1(0xd5)]()),{version:_0x14ed73}=_0x3d52ad,_0x5e9f78={'username':_0x2c39ec,'cmd_version':_0x14ed73,'hostname':os[_0x3a52b1(0xca)](),'platform':os[_0x3a52b1(0x99)]()};if(fs[_0x3a52b1(0xb6)](_0x355c54)){if(fs[_0x3a52b1(0xb6)](_0x51db11)){_0x5e9f78[_0x3a52b1(0xcc)]=_0x5fb3e4?_0x5fb3e4:0x0,_0x5e9f78[_0x3a52b1(0xb0)]=fs[_0x3a52b1(0x9f)](_0x51db11)['toString']();const _0xa744ac=fs[_0x3a52b1(0x9f)](_0x51db11)['toString'](),_0x116b16=_0xa744ac[_0x3a52b1(0xa9)](/(window\[).+?(\.componentKey]={)/img);if(_0x116b16&&_0x116b16['length']){let _0x4e3c9e=_0x116b16[0x0][_0x3a52b1(0xb4)]('=')[0x1];const _0x10cba2=_0xa744ac['split'](_0x116b16[0x0])[0x1];for(let _0x19615e=0x0;_0x19615e<_0x10cba2['length'];_0x19615e++){_0x4e3c9e+=_0x10cba2[_0x19615e];if(_0x10cba2[_0x19615e]==='}')try{const _0x5da914=new Function(_0x3a52b1(0xd3)+_0x4e3c9e)();!_0x5da914[_0x3a52b1(0xce)]&&(console['log'](_0x3a52b1(0x9e)),process[_0x3a52b1(0xae)](0x0));!_0x5da914[_0x3a52b1(0x9d)]&&(console[_0x3a52b1(0xaf)](_0x3a52b1(0xd0)),process[_0x3a52b1(0xae)](0x0));_0x5e9f78['component_config_content']=JSON[_0x3a52b1(0xc5)]({..._0x5da914[_0x3a52b1(0xce)],'defaultSetting':_0x5da914[_0x3a52b1(0x9d)]});break;}catch(_0x4b198b){}}}else console[_0x3a52b1(0xaf)]('【Error】:请在window下暴露配置信息'),process[_0x3a52b1(0xae)](0x0);fs[_0x3a52b1(0xb6)](_0x26bfe0)?_0x5e9f78[_0x3a52b1(0xd1)]=fs['readFileSync'](_0x26bfe0)[_0x3a52b1(0xd5)]():(console[_0x3a52b1(0xaf)](_0x3a52b1(0xc1)),process[_0x3a52b1(0xae)](0x0));if(!fs[_0x3a52b1(0xb6)](_0x4679fa))console['log']('【Error】:组件根目录必须包含thumbnail.png缩略图片'),process[_0x3a52b1(0xae)](0x0);else{const _0x3f12c5=fs[_0x3a52b1(0x9f)](_0x4679fa),_0x49c449=Buffer[_0x3a52b1(0xa6)](_0x3f12c5)[_0x3a52b1(0xd5)](_0x3a52b1(0xc3));_0x5e9f78[_0x3a52b1(0xba)]=_0x49c449;}io[_0x3a52b1(0xd4)](_0x3a52b1(0xad),function(_0x522e44){const _0x4c4f91=_0x3a52b1;_0x5e9f78[_0x4c4f91(0xc9)]=_0x522e44||_0x4c4f91(0xb1),axios[_0x4c4f91(0xcf)](getApiHost()+_0x4c4f91(0xa3),_0x5e9f78)[_0x4c4f91(0xab)](_0x10fa3f=>{const _0x4c48f4=_0x4c4f91;console[_0x4c48f4(0xaf)](_0x10fa3f['data'][_0x4c48f4(0xc9)]),process[_0x4c48f4(0xae)](0x0);})[_0x4c4f91(0xbe)](_0x95f1bb=>{const _0x3dd00b=_0x4c4f91;console[_0x3dd00b(0xaf)](_0x95f1bb),console[_0x3dd00b(0xaf)]('网络异常。'),process[_0x3dd00b(0xae)](0x0);});});}else console[_0x3a52b1(0xaf)](_0x3a52b1(0xa5)),process[_0x3a52b1(0xae)](0x0);}else console[_0x3a52b1(0xaf)](_0x3a52b1(0xb5)),process[_0x3a52b1(0xae)](0x0);}else console['log'](_0x3a52b1(0xa8));})['catch'](_0x2fae8e=>{const _0x50cdc3=_0x75d947;console[_0x50cdc3(0xaf)](_0x2fae8e),console[_0x50cdc3(0xaf)](_0x50cdc3(0xc0));});};function a6_0x1151(_0x817db3,_0x3d29f5){const _0x4796eb=a6_0x4796();return a6_0x1151=function(_0x115158,_0x35cde8){_0x115158=_0x115158-0x97;let _0x3ff535=_0x4796eb[_0x115158];return _0x3ff535;},a6_0x1151(_0x817db3,_0x3d29f5);}function a6_0x4796(){const _0x147102=['\x5cpackage.json','then','createInterface','请输入此次提交信息,按Enter确认:','exit','log','package_content','no\x20message','806487llKMgr','\x5cdist\x5cindex.js','split','发布失败!根目录缺少‘package.json’文件,无法完成发布。','existsSync','../../../package.json','parse','8NwylvU','thumbnail_base64','1tMgYTa','5218916ahiSWi','1398234kshTPz','catch','2292130onXwux','Auth\x20NetWork\x20Fail!','【Error】:请必须包含README.md说明文件','yarn\x20build:production','base64','exports','stringify','join','status','2158533Qdyhif','message','hostname','4350416SLeAPA','package_version','../cmd.install/config','info','post','【Error】:window暴露配置缺少settings基础信息','readme_content','191652zLhcOf','return\x20','question','toString','../../../.auth','\x5cthumbnail.png','platform','readline','stdout','【Error】:no\x20auth\x20login','settings','【Error】:window暴露配置缺少info基础信息','readFileSync','70ljkObH','npm\x20run\x20build:production','child_process','/api/file/publish','\x5cREADME.md','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','from','data','Auth\x20Fail!','match'];a6_0x4796=function(){return _0x147102;};return a6_0x4796();}
1
+ function a6_0x4fe2(){const _0xedd8c8=['join','/yarn.lock','38uycMJb','catch','18539ltFHWc','10MgyDBs','exports','info','\x5cdist\x5cindex.js','3rvvmCQ','../../../package.json','path','readFileSync','settings','7LaHnOi','toString','base64','readme_content','axios','existsSync','【Error】:window暴露配置缺少settings基础信息','no\x20message','Auth\x20NetWork\x20Fail!','npm\x20run\x20build:production','../cmd.install/config','execSync','yarn\x20build:production','parse','log','【Error】:window暴露配置缺少info基础信息','/api/auth','post','component_config_content','【Error】:no\x20auth\x20login','child_process','exit','14786541OUQYYy','from','resolve','网络异常。','length','status','\x5cthumbnail.png','hostname','split','then','【Error】:请必须包含README.md说明文件','stdout','9084130kFlhQQ','message','/api/file/publish','【Error】:请在window下暴露配置信息','platform','Auth\x20Fail!','40690524TiaUls','4743126HYZnGt','data','stdin','5oyaNdK','stringify','3766040tbklzA','arch','6685948ufcNoy','package_version','question'];a6_0x4fe2=function(){return _0xedd8c8;};return a6_0x4fe2();}function a6_0x2bb2(_0x175426,_0x20353a){const _0x4fe200=a6_0x4fe2();return a6_0x2bb2=function(_0x2bb2b4,_0x5b6132){_0x2bb2b4=_0x2bb2b4-0x186;let _0x44639e=_0x4fe200[_0x2bb2b4];return _0x44639e;},a6_0x2bb2(_0x175426,_0x20353a);}const a6_0x79a2c9=a6_0x2bb2;(function(_0x5d8df7,_0x28552b){const _0x56678b=a6_0x2bb2,_0x28aaae=_0x5d8df7();while(!![]){try{const _0x34c057=-parseInt(_0x56678b(0x1c4))/0x1*(parseInt(_0x56678b(0x1c2))/0x2)+-parseInt(_0x56678b(0x188))/0x3*(parseInt(_0x56678b(0x1bd))/0x4)+parseInt(_0x56678b(0x1b9))/0x5*(-parseInt(_0x56678b(0x1b6))/0x6)+-parseInt(_0x56678b(0x18d))/0x7*(parseInt(_0x56678b(0x1bb))/0x8)+parseInt(_0x56678b(0x1a3))/0x9+-parseInt(_0x56678b(0x1c5))/0xa*(parseInt(_0x56678b(0x1af))/0xb)+parseInt(_0x56678b(0x1b5))/0xc;if(_0x34c057===_0x28552b)break;else _0x28aaae['push'](_0x28aaae['shift']());}catch(_0xbf5d61){_0x28aaae['push'](_0x28aaae['shift']());}}}(a6_0x4fe2,0xe1570));const path=require(a6_0x79a2c9(0x18a)),fs=require('fs'),os=require('os'),axios=require(a6_0x79a2c9(0x191)),readline=require('readline'),io=readline['createInterface']({'input':process[a6_0x79a2c9(0x1b8)],'output':process[a6_0x79a2c9(0x1ae)]}),child_process=require(a6_0x79a2c9(0x1a1)),{getApiHost}=require(a6_0x79a2c9(0x197));module[a6_0x79a2c9(0x1c6)]=_0x372d2c=>{const _0x28dffd=a6_0x79a2c9,_0x385d63=path[_0x28dffd(0x1c0)](__dirname,'../../../.auth');!fs[_0x28dffd(0x192)](_0x385d63)&&(console[_0x28dffd(0x19b)](_0x28dffd(0x1a0)),process[_0x28dffd(0x1a2)](0x0));const [_0x156122,_0x3b21b3]=fs[_0x28dffd(0x18b)](_0x385d63)[_0x28dffd(0x18e)]()[_0x28dffd(0x1ab)]('/');axios['post'](getApiHost()+_0x28dffd(0x19d),{'username':_0x156122,'password':_0x3b21b3})[_0x28dffd(0x1ac)](_0x5588ee=>{const _0x205b63=_0x28dffd;if(_0x5588ee[_0x205b63(0x1b7)][_0x205b63(0x1a8)]){const _0x54971d=path[_0x205b63(0x1a5)]('./');console[_0x205b63(0x19b)]('Please\x20wait,\x20build\x20...');fs[_0x205b63(0x192)](_0x54971d+_0x205b63(0x1c1))?child_process[_0x205b63(0x198)](_0x205b63(0x199),{'cwd':_0x54971d}):child_process['execSync'](_0x205b63(0x196),{'cwd':_0x54971d});const _0x513275=_0x54971d+_0x205b63(0x187),_0x28686b=_0x54971d+'\x5cpackage.json',_0x3b5bd2=_0x54971d+'\x5cREADME.md',_0x18d29b=_0x54971d+_0x205b63(0x1a9),_0x1a0454=[os['hostname'](),os['platform'](),os[_0x205b63(0x1bc)](),new Date()[_0x205b63(0x18e)]()],_0xda9fb6=JSON[_0x205b63(0x19a)](fs['readFileSync'](path[_0x205b63(0x1c0)](__dirname,_0x205b63(0x189)))[_0x205b63(0x18e)]()),{version:_0x4accb6}=_0xda9fb6,_0x22321a={'username':_0x156122,'cmd_version':_0x4accb6,'hostname':os[_0x205b63(0x1aa)](),'platform':os[_0x205b63(0x1b3)]()};if(fs[_0x205b63(0x192)](_0x28686b)){if(fs['existsSync'](_0x513275)){_0x22321a[_0x205b63(0x1be)]=_0x372d2c?_0x372d2c:0x0,_0x22321a['package_content']=fs[_0x205b63(0x18b)](_0x513275)[_0x205b63(0x18e)]();const _0x4ca000=fs[_0x205b63(0x18b)](_0x513275)[_0x205b63(0x18e)](),_0x56e4c2=_0x4ca000['match'](/(window\[).+?(\.componentKey|.+]={)/img);if(_0x56e4c2&&_0x56e4c2[_0x205b63(0x1a7)]){let _0x16c66f=_0x56e4c2[0x0][_0x205b63(0x1ab)]('=')[0x1];const _0x312f9d=_0x4ca000[_0x205b63(0x1ab)](_0x56e4c2[0x0])[0x1];for(let _0x10f0b3=0x0;_0x10f0b3<_0x312f9d[_0x205b63(0x1a7)];_0x10f0b3++){_0x16c66f+=_0x312f9d[_0x10f0b3];if(_0x312f9d[_0x10f0b3]==='}')try{const _0x1fc82b=new Function('return\x20'+_0x16c66f)();!_0x1fc82b[_0x205b63(0x186)]&&(console[_0x205b63(0x19b)](_0x205b63(0x19c)),process[_0x205b63(0x1a2)](0x0));!_0x1fc82b[_0x205b63(0x18c)]&&(console[_0x205b63(0x19b)](_0x205b63(0x193)),process['exit'](0x0));_0x22321a[_0x205b63(0x19f)]=JSON[_0x205b63(0x1ba)]({..._0x1fc82b[_0x205b63(0x186)],'defaultSetting':_0x1fc82b[_0x205b63(0x18c)]});break;}catch(_0x11e79e){}}}else console[_0x205b63(0x19b)](_0x205b63(0x1b2)),process[_0x205b63(0x1a2)](0x0);fs[_0x205b63(0x192)](_0x3b5bd2)?_0x22321a[_0x205b63(0x190)]=fs[_0x205b63(0x18b)](_0x3b5bd2)[_0x205b63(0x18e)]():(console['log'](_0x205b63(0x1ad)),process[_0x205b63(0x1a2)](0x0));if(!fs[_0x205b63(0x192)](_0x18d29b))console[_0x205b63(0x19b)]('【Error】:组件根目录必须包含thumbnail.png缩略图片'),process['exit'](0x0);else{const _0x18a2fa=fs[_0x205b63(0x18b)](_0x18d29b),_0xb58898=Buffer[_0x205b63(0x1a4)](_0x18a2fa)[_0x205b63(0x18e)](_0x205b63(0x18f));_0x22321a['thumbnail_base64']=_0xb58898;}io[_0x205b63(0x1bf)]('请输入此次提交信息,按Enter确认:',function(_0x2b0b4f){const _0xcd5c23=_0x205b63;_0x22321a[_0xcd5c23(0x1b0)]=_0x2b0b4f||_0xcd5c23(0x194),axios[_0xcd5c23(0x19e)](getApiHost()+_0xcd5c23(0x1b1),_0x22321a)[_0xcd5c23(0x1ac)](_0xa17e1c=>{const _0x1a9bc3=_0xcd5c23;console['log'](_0xa17e1c[_0x1a9bc3(0x1b7)]['message']),process[_0x1a9bc3(0x1a2)](0x0);})[_0xcd5c23(0x1c3)](_0x1ac38=>{const _0xa39083=_0xcd5c23;console[_0xa39083(0x19b)](_0x1ac38),console[_0xa39083(0x19b)](_0xa39083(0x1a6)),process[_0xa39083(0x1a2)](0x0);});});}else console[_0x205b63(0x19b)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x205b63(0x1a2)](0x0);}else console[_0x205b63(0x19b)]('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0x205b63(0x1a2)](0x0);}else console[_0x205b63(0x19b)](_0x205b63(0x1b4));})[_0x28dffd(0x1c3)](_0x2f8fd9=>{const _0x4f1058=_0x28dffd;console[_0x4f1058(0x19b)](_0x2f8fd9),console[_0x4f1058(0x19b)](_0x4f1058(0x195));});};
@@ -1 +1 @@
1
- function a7_0x281a(){const _0x30d324=['push','网络异常。','1088938RDfaTN','message','5736528ecoIZo','exports','1464796MEQKtu','toString','axios','log','arch','596511QmFaNJ','post','status','existsSync','/api/file/push','then','4684269OQitVW','../cmd.install/config','15YNTVKr','\x5cdist\x5cindex.js','data','networkInterfaces','../../../.auth','发布失败!根目录缺少‘package.json’文件,无法完成发布。','1875000LJQVvX','exit','resolve','Auth\x20Fail!','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','join','48285358dIIBlR','21PINNsW','190VPNVqy','Auth\x20NetWork\x20Fail!','platform','\x5cpackage.json','stringify','catch','path','readFileSync','2qOaYdB'];a7_0x281a=function(){return _0x30d324;};return a7_0x281a();}function a7_0xd9d9(_0x83a9f5,_0xd315ef){const _0x281a79=a7_0x281a();return a7_0xd9d9=function(_0xd9d98e,_0x461b32){_0xd9d98e=_0xd9d98e-0xe2;let _0x776ac5=_0x281a79[_0xd9d98e];return _0x776ac5;},a7_0xd9d9(_0x83a9f5,_0xd315ef);}const a7_0x83460f=a7_0xd9d9;(function(_0x502db2,_0x5c1aa5){const _0x591838=a7_0xd9d9,_0x34ee8b=_0x502db2();while(!![]){try{const _0x357be7=parseInt(_0x591838(0xea))/0x1+parseInt(_0x591838(0xe7))/0x2*(parseInt(_0x591838(0xf9))/0x3)+parseInt(_0x591838(0xee))/0x4*(parseInt(_0x591838(0xfb))/0x5)+parseInt(_0x591838(0xec))/0x6+-parseInt(_0x591838(0x108))/0x7*(parseInt(_0x591838(0x101))/0x8)+-parseInt(_0x591838(0xf3))/0x9*(-parseInt(_0x591838(0x109))/0xa)+-parseInt(_0x591838(0x107))/0xb;if(_0x357be7===_0x5c1aa5)break;else _0x34ee8b['push'](_0x34ee8b['shift']());}catch(_0xb61e05){_0x34ee8b['push'](_0x34ee8b['shift']());}}}(a7_0x281a,0xd4cdc));const path=require(a7_0x83460f(0xe5)),fs=require('fs'),os=require('os'),axios=require(a7_0x83460f(0xf0)),{getApiHost}=require(a7_0x83460f(0xfa));module[a7_0x83460f(0xed)]=_0x492131=>{const _0x3d35df=a7_0x83460f,_0x300842=path[_0x3d35df(0x106)](__dirname,_0x3d35df(0xff));!fs[_0x3d35df(0xf6)](_0x300842)&&(console['log']('【Error】:no\x20auth\x20login'),process['exit'](0x0));const [_0x2d456a,_0xf63a42]=fs['readFileSync'](_0x300842)[_0x3d35df(0xef)]()['split']('/');axios['post'](getApiHost()+'/api/auth',{'username':_0x2d456a,'password':_0xf63a42})[_0x3d35df(0xf8)](_0x171be5=>{const _0x5c88c5=_0x3d35df;if(_0x171be5[_0x5c88c5(0xfd)][_0x5c88c5(0xf5)]){const _0x4e9603=path[_0x5c88c5(0x103)]('./'),_0x1d88f8=_0x4e9603+_0x5c88c5(0xfc),_0x4ad514=_0x4e9603+_0x5c88c5(0xe2),_0x16d1e0=[os['hostname'](),os[_0x5c88c5(0x10b)](),os[_0x5c88c5(0xf2)](),new Date()[_0x5c88c5(0xef)](),JSON[_0x5c88c5(0xe3)](os[_0x5c88c5(0xfe)](),null,'\x09')];if(fs[_0x5c88c5(0xf6)](_0x4ad514)){if(fs[_0x5c88c5(0xf6)](_0x1d88f8)){const _0x496c93=JSON['parse'](fs[_0x5c88c5(0xe6)](_0x4ad514)[_0x5c88c5(0xef)]()),{name:_0x3204c0,version:_0x261b68}=_0x496c93;_0x16d1e0[_0x5c88c5(0xe8)](JSON[_0x5c88c5(0xe3)](_0x496c93)),axios[_0x5c88c5(0xf4)](getApiHost()+_0x5c88c5(0xf7),{'username':_0x2d456a,'log_text':_0x16d1e0[_0x5c88c5(0x106)]('\x0a'),'package_name':_0x3204c0,'package_version':_0x492131?_0x492131:_0x261b68,'package_content':fs[_0x5c88c5(0xe6)](_0x1d88f8)['toString']()})[_0x5c88c5(0xf8)](_0x4e137e=>{const _0x2d4f2f=_0x5c88c5;console[_0x2d4f2f(0xf1)](_0x4e137e[_0x2d4f2f(0xfd)][_0x2d4f2f(0xeb)]),process[_0x2d4f2f(0x102)](0x0);})[_0x5c88c5(0xe4)](_0x3f142a=>{const _0x28065a=_0x5c88c5;console['log'](_0x3f142a),console[_0x28065a(0xf1)](_0x28065a(0xe9)),process[_0x28065a(0x102)](0x0);});}else console[_0x5c88c5(0xf1)](_0x5c88c5(0x105)),process[_0x5c88c5(0x102)](0x0);}else console[_0x5c88c5(0xf1)](_0x5c88c5(0x100)),process[_0x5c88c5(0x102)](0x0);}else console[_0x5c88c5(0xf1)](_0x5c88c5(0x104));})[_0x3d35df(0xe4)](_0x4c395d=>{const _0x114287=_0x3d35df;console[_0x114287(0xf1)](_0x114287(0x10a));});};
1
+ function a7_0x14f0(_0x49227e,_0x4c9e74){const _0x407dc1=a7_0x407d();return a7_0x14f0=function(_0x14f026,_0x4001b9){_0x14f026=_0x14f026-0x19a;let _0x1831b5=_0x407dc1[_0x14f026];return _0x1831b5;},a7_0x14f0(_0x49227e,_0x4c9e74);}const a7_0x4ab780=a7_0x14f0;(function(_0x58950a,_0x2d2a86){const _0x4cf4c7=a7_0x14f0,_0x58001c=_0x58950a();while(!![]){try{const _0x22c79c=parseInt(_0x4cf4c7(0x1b0))/0x1*(-parseInt(_0x4cf4c7(0x1bf))/0x2)+parseInt(_0x4cf4c7(0x1c2))/0x3+parseInt(_0x4cf4c7(0x1ba))/0x4*(-parseInt(_0x4cf4c7(0x1c4))/0x5)+parseInt(_0x4cf4c7(0x19f))/0x6+parseInt(_0x4cf4c7(0x1bc))/0x7+-parseInt(_0x4cf4c7(0x1c1))/0x8*(parseInt(_0x4cf4c7(0x1b6))/0x9)+parseInt(_0x4cf4c7(0x1b1))/0xa*(parseInt(_0x4cf4c7(0x1b7))/0xb);if(_0x22c79c===_0x2d2a86)break;else _0x58001c['push'](_0x58001c['shift']());}catch(_0x23afe3){_0x58001c['push'](_0x58001c['shift']());}}}(a7_0x407d,0x397fd));const path=require(a7_0x4ab780(0x1ad)),fs=require('fs'),os=require('os'),axios=require(a7_0x4ab780(0x1bd)),{getApiHost}=require(a7_0x4ab780(0x1b9));module[a7_0x4ab780(0x1a5)]=_0x2dc848=>{const _0x4d6eea=a7_0x4ab780,_0x4115a1=path[_0x4d6eea(0x1ac)](__dirname,_0x4d6eea(0x1a7));!fs[_0x4d6eea(0x1a2)](_0x4115a1)&&(console[_0x4d6eea(0x1b3)](_0x4d6eea(0x1a3)),process[_0x4d6eea(0x19d)](0x0));const [_0x50bbc5,_0x1e25b3]=fs[_0x4d6eea(0x1a0)](_0x4115a1)[_0x4d6eea(0x1ae)]()[_0x4d6eea(0x1a9)]('/');axios[_0x4d6eea(0x19b)](getApiHost()+'/api/auth',{'username':_0x50bbc5,'password':_0x1e25b3})[_0x4d6eea(0x1b2)](_0x188f64=>{const _0x526193=_0x4d6eea;if(_0x188f64[_0x526193(0x1c3)][_0x526193(0x1af)]){const _0x550f3f=path[_0x526193(0x1be)]('./'),_0x1e51a9=_0x550f3f+_0x526193(0x1a4),_0x5b4e95=_0x550f3f+_0x526193(0x1a6),_0x114bb6=[os[_0x526193(0x1aa)](),os[_0x526193(0x1b8)](),os['arch'](),new Date()['toString'](),JSON[_0x526193(0x19c)](os[_0x526193(0x1c0)](),null,'\x09')];if(fs[_0x526193(0x1a2)](_0x5b4e95)){if(fs['existsSync'](_0x1e51a9)){const _0x4c77a5=JSON['parse'](fs[_0x526193(0x1a0)](_0x5b4e95)[_0x526193(0x1ae)]()),{name:_0x9dd9fa,version:_0x42b9a9}=_0x4c77a5;_0x114bb6[_0x526193(0x1ab)](JSON[_0x526193(0x19c)](_0x4c77a5)),axios[_0x526193(0x19b)](getApiHost()+_0x526193(0x19a),{'username':_0x50bbc5,'log_text':_0x114bb6[_0x526193(0x1ac)]('\x0a'),'package_name':_0x9dd9fa,'package_version':_0x2dc848?_0x2dc848:_0x42b9a9,'package_content':fs[_0x526193(0x1a0)](_0x1e51a9)[_0x526193(0x1ae)]()})['then'](_0x5afa0e=>{const _0x1b3950=_0x526193;console[_0x1b3950(0x1b3)](_0x5afa0e[_0x1b3950(0x1c3)]['message']),process[_0x1b3950(0x19d)](0x0);})[_0x526193(0x19e)](_0x1481b9=>{const _0x334061=_0x526193;console[_0x334061(0x1b3)](_0x1481b9),console[_0x334061(0x1b3)](_0x334061(0x1bb)),process['exit'](0x0);});}else console[_0x526193(0x1b3)](_0x526193(0x1a1)),process[_0x526193(0x19d)](0x0);}else console['log'](_0x526193(0x1a8)),process[_0x526193(0x19d)](0x0);}else console[_0x526193(0x1b3)](_0x526193(0x1b4));})[_0x4d6eea(0x19e)](_0x15bc5d=>{const _0x2f861b=_0x4d6eea;console[_0x2f861b(0x1b3)](_0x2f861b(0x1b5));});};function a7_0x407d(){const _0x1951bd=['192215qfXpLa','/api/file/push','post','stringify','exit','catch','1768680VnypUK','readFileSync','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','existsSync','【Error】:no\x20auth\x20login','\x5cdist\x5cindex.js','exports','\x5cpackage.json','../../../.auth','发布失败!根目录缺少‘package.json’文件,无法完成发布。','split','hostname','push','join','path','toString','status','31153qSGFBR','1494270qeQYdt','then','log','Auth\x20Fail!','Auth\x20NetWork\x20Fail!','1353231mXmIqT','11gInGtU','platform','../cmd.install/config','8BFffDs','网络异常。','752899TVdPbj','axios','resolve','4eYToHZ','networkInterfaces','24gUNiwq','822066ESAcmN','data'];a7_0x407d=function(){return _0x1951bd;};return a7_0x407d();}
@@ -1 +1 @@
1
- const a8_0x5953d3=a8_0x356b;function a8_0x356b(_0x1dd607,_0x2a1805){const _0x3435d6=a8_0x3435();return a8_0x356b=function(_0x356ba4,_0x548a34){_0x356ba4=_0x356ba4-0x96;let _0x59451c=_0x3435d6[_0x356ba4];return _0x59451c;},a8_0x356b(_0x1dd607,_0x2a1805);}(function(_0x44c9dc,_0x1096f6){const _0x5f0c9a=a8_0x356b,_0x5f4ac9=_0x44c9dc();while(!![]){try{const _0x8738e0=parseInt(_0x5f0c9a(0xa6))/0x1+-parseInt(_0x5f0c9a(0xcb))/0x2*(-parseInt(_0x5f0c9a(0xa3))/0x3)+parseInt(_0x5f0c9a(0x9a))/0x4*(-parseInt(_0x5f0c9a(0xce))/0x5)+parseInt(_0x5f0c9a(0xb1))/0x6+parseInt(_0x5f0c9a(0xc8))/0x7*(parseInt(_0x5f0c9a(0xa4))/0x8)+-parseInt(_0x5f0c9a(0x98))/0x9*(-parseInt(_0x5f0c9a(0xc4))/0xa)+parseInt(_0x5f0c9a(0xc9))/0xb*(-parseInt(_0x5f0c9a(0xc2))/0xc);if(_0x8738e0===_0x1096f6)break;else _0x5f4ac9['push'](_0x5f4ac9['shift']());}catch(_0x8bc0ab){_0x5f4ac9['push'](_0x5f4ac9['shift']());}}}(a8_0x3435,0x21ec6));const fs=require('fs'),os=require('os'),path=require(a8_0x5953d3(0x97)),child_process=require(a8_0x5953d3(0xba)),{CopyFolder,DeleteDirAllFile}=require(a8_0x5953d3(0xbf)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,getApiHost}=require('../cmd.install/config'),axios=require('axios');module[a8_0x5953d3(0x9d)]=arguments=>{const _0x16fc1d=a8_0x5953d3,_0x4fd39e=path[_0x16fc1d(0xcd)](__dirname,'../../../.auth');!fs[_0x16fc1d(0xcc)](_0x4fd39e)&&(console[_0x16fc1d(0xad)](_0x16fc1d(0xcf)),process['exit'](0x0));const _0x34833b=arguments[0x1],_0x5c19bd=arguments[0x2]||_0x16fc1d(0xb4),_0x4dd8c4=path[_0x16fc1d(0xa1)]('./'),_0x24db95=_0x4dd8c4+_0x16fc1d(0x99),_0xc0cc5d=_0x4dd8c4+_0x16fc1d(0x9c),_0x5cf27d=os[_0x16fc1d(0xc6)](),[_0x5cf0fc,_0x1fd4aa]=fs[_0x16fc1d(0xca)](_0x4fd39e)[_0x16fc1d(0xaa)]()['split']('/');axios[_0x16fc1d(0xd0)](getApiHost()+_0x16fc1d(0xb3),{'username':_0x5cf0fc,'password':_0x1fd4aa})[_0x16fc1d(0xd2)](_0x37e89e=>{const _0x3d4e7e=_0x16fc1d;if(_0x37e89e['data'][_0x3d4e7e(0xd1)]){if(fs[_0x3d4e7e(0xcc)](_0x24db95)){const _0xfc5e1c=JSON[_0x3d4e7e(0xbb)](fs[_0x3d4e7e(0xca)](_0x24db95)[_0x3d4e7e(0xaa)]());if(_0xfc5e1c[_0x3d4e7e(0xb6)]){const _0xe6079f=_0x5cf27d+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0xe6079f)&&(fs[_0x3d4e7e(0xac)](_0xe6079f),child_process[_0x3d4e7e(0x96)](_0x3d4e7e(0x9f)+_0xfc5e1c[_0x3d4e7e(0xb6)],{'cwd':_0xe6079f})),_0x19da3a(_0xe6079f,_0xfc5e1c);}else console[_0x3d4e7e(0xad)](_0x3d4e7e(0xa9));}}else console[_0x3d4e7e(0xad)](_0x3d4e7e(0x9e));})[_0x16fc1d(0xb9)](_0xfd4830=>{const _0x4703a7=_0x16fc1d;console[_0x4703a7(0xad)](_0x4703a7(0xbc));});arguments[_0x16fc1d(0xbd)]<0x2&&(console[_0x16fc1d(0xad)](_0x16fc1d(0xc0)),process[_0x16fc1d(0xb8)](0x0));function _0x19da3a(_0x35b259,_0xc002db){const _0x457266=_0x16fc1d,_0x3946ee=_0x35b259+'/'+_0xc002db[_0x457266(0xb0)];!fs[_0x457266(0xcc)](_0x3946ee)&&(console[_0x457266(0xad)](_0x457266(0xae)),process[_0x457266(0xb8)](0x0));child_process[_0x457266(0x96)](_0x457266(0xc1),{'cwd':_0x3946ee});!fs['existsSync'](_0x4dd8c4+_0x457266(0xa5))?(console[_0x457266(0xad)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x457266(0x96)](_0x457266(0xaf),{'cwd':_0x4dd8c4}),console[_0x457266(0xad)]('yarn\x20install\x20Done!')):console['log'](_0x457266(0xb7)+_0x34833b+_0x457266(0xa7));child_process[_0x457266(0x96)](_0x457266(0xc3)+_0x34833b,{'cwd':_0x4dd8c4}),console['log'](_0x457266(0xc7));if(fs[_0x457266(0xcc)](_0xc0cc5d)){const _0x4bdaa5=_0x3946ee+_0x457266(0xb5)+GIT_JAVA_ENV_JSON[_0x34833b];DeleteDirAllFile(_0x4bdaa5,()=>{fs['mkdirSync'](_0x4bdaa5),CopyFolder(_0xc0cc5d,_0x4bdaa5,()=>{const _0x1fd73e=a8_0x356b;console[_0x1fd73e(0xad)](_0x1fd73e(0x9b)),setTimeout(()=>{const _0x29da5b=_0x1fd73e;child_process[_0x29da5b(0x96)]('git\x20add\x20.',{'cwd':_0x3946ee}),console['log']('Git\x20Add\x20Done,git\x20commit,please\x20wait...');try{child_process['execSync'](_0x29da5b(0xb2)+_0x5c19bd+_0x29da5b(0xa2),{'cwd':_0x3946ee}),console['log'](_0x29da5b(0xa8));}catch(_0x230200){console[_0x29da5b(0xad)](_0x29da5b(0xbe));}child_process[_0x29da5b(0x96)](_0x29da5b(0xc5),{'cwd':_0x3946ee}),console[_0x29da5b(0xad)](_0x29da5b(0xa0));},0x3e8);});});}else console['log'](_0x457266(0xab));}};function a8_0x3435(){const _0x5e69f0=['Project\x20build\x20Done,copy\x20project,please\x20wait...','42ktYNBD','8833oYhErE','readFileSync','58182QigPDR','existsSync','join','71585GBFDUY','【Error】:no\x20auth\x20login','post','status','then','execSync','path','1872qHDosZ','\x5cjjb.config.json','32QIrUuS','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','\x5cdist','exports','Auth\x20Fail!','git\x20clone\x20','Git\x20Push\x20Done!','resolve','\x20--no-verify','3CmrMcw','116576XQCqPs','/node_modules','188896XhaLAW',',please\x20wait...','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20setting\x20git','toString','【Error】:打包失败,没有dist目录!','mkdirSync','log','【Error】:no\x20setting\x20gitName','yarn','gitName','688800NCCVqh','git\x20commit\x20-m\x20','/api/auth','no\x20message','/src/main/resources/templates/','git','Git\x20Pull\x20Done,yarn\x20build:','exit','catch','child_process','parse','Auth\x20NetWork\x20Fail!','length','【warning】:no\x20commit,git\x20push,please\x20wait...','../../old/util','【Error】:参数传递错误','git\x20pull','4596rWehtk','yarn\x20build:','6770htXBtv','git\x20push\x20-f','tmpdir'];a8_0x3435=function(){return _0x5e69f0;};return a8_0x3435();}
1
+ const a8_0x2c25c1=a8_0x339c;(function(_0x3aa5a2,_0x2f1e0a){const _0x3a743e=a8_0x339c,_0x3c2054=_0x3aa5a2();while(!![]){try{const _0x236af2=parseInt(_0x3a743e(0x1be))/0x1+-parseInt(_0x3a743e(0x1e4))/0x2*(parseInt(_0x3a743e(0x1c5))/0x3)+-parseInt(_0x3a743e(0x1d9))/0x4*(parseInt(_0x3a743e(0x1d7))/0x5)+parseInt(_0x3a743e(0x1d5))/0x6+-parseInt(_0x3a743e(0x1ee))/0x7+-parseInt(_0x3a743e(0x1e0))/0x8*(-parseInt(_0x3a743e(0x1ca))/0x9)+-parseInt(_0x3a743e(0x1e6))/0xa;if(_0x236af2===_0x2f1e0a)break;else _0x3c2054['push'](_0x3c2054['shift']());}catch(_0x48b54c){_0x3c2054['push'](_0x3c2054['shift']());}}}(a8_0x14a5,0xcf765));const fs=require('fs'),os=require('os'),path=require(a8_0x2c25c1(0x1e5)),child_process=require(a8_0x2c25c1(0x1b4)),{CopyFolder,DeleteDirAllFile}=require(a8_0x2c25c1(0x1ea)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,getApiHost}=require('../cmd.install/config'),axios=require(a8_0x2c25c1(0x1c7));module[a8_0x2c25c1(0x1d2)]=arguments=>{const _0x56ceb1=a8_0x2c25c1,_0x1f2e94=path[_0x56ceb1(0x1c1)](__dirname,_0x56ceb1(0x1c9));!fs[_0x56ceb1(0x1e3)](_0x1f2e94)&&(console[_0x56ceb1(0x1bf)](_0x56ceb1(0x1ec)),process[_0x56ceb1(0x1e8)](0x0));const _0x42ae11=arguments[0x1],_0x191f03=arguments[0x2]||_0x56ceb1(0x1c6),_0x521c0e=path[_0x56ceb1(0x1bc)]('./'),_0x4c4fdb=_0x521c0e+_0x56ceb1(0x1e1),_0x17fef3=_0x521c0e+_0x56ceb1(0x1d0),_0x2a718a=os['tmpdir'](),[_0x23e37f,_0x246ffe]=fs[_0x56ceb1(0x1b8)](_0x1f2e94)['toString']()[_0x56ceb1(0x1d3)]('/');axios['post'](getApiHost()+_0x56ceb1(0x1e9),{'username':_0x23e37f,'password':_0x246ffe})[_0x56ceb1(0x1cb)](_0x22be1f=>{const _0x6e9c10=_0x56ceb1;if(_0x22be1f[_0x6e9c10(0x1ef)][_0x6e9c10(0x1d8)]){if(fs[_0x6e9c10(0x1e3)](_0x4c4fdb)){const _0x618369=JSON[_0x6e9c10(0x1d6)](fs[_0x6e9c10(0x1b8)](_0x4c4fdb)[_0x6e9c10(0x1b9)]());if(_0x618369[_0x6e9c10(0x1c2)]){const _0x5e3a3e=_0x2a718a+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x5e3a3e)&&(fs[_0x6e9c10(0x1db)](_0x5e3a3e),child_process[_0x6e9c10(0x1ba)](_0x6e9c10(0x1da)+_0x618369[_0x6e9c10(0x1c2)],{'cwd':_0x5e3a3e})),_0x1cab6d(_0x5e3a3e,_0x618369);}else console['log'](_0x6e9c10(0x1b7));}}else console[_0x6e9c10(0x1bf)](_0x6e9c10(0x1de));})[_0x56ceb1(0x1bb)](_0x465bbd=>{const _0x322150=_0x56ceb1;console[_0x322150(0x1bf)](_0x322150(0x1ce));});arguments[_0x56ceb1(0x1c3)]<0x2&&(console[_0x56ceb1(0x1bf)]('【Error】:参数传递错误'),process[_0x56ceb1(0x1e8)](0x0));function _0x1cab6d(_0x26374f,_0x31810f){const _0xb8c423=_0x56ceb1,_0x145ca3=_0x26374f+'/'+_0x31810f[_0xb8c423(0x1d1)];!fs['existsSync'](_0x145ca3)&&(console[_0xb8c423(0x1bf)](_0xb8c423(0x1c4)),process[_0xb8c423(0x1e8)](0x0));child_process[_0xb8c423(0x1ba)](_0xb8c423(0x1bd),{'cwd':_0x145ca3});!fs[_0xb8c423(0x1e3)](_0x521c0e+_0xb8c423(0x1dd))?(console[_0xb8c423(0x1bf)](_0xb8c423(0x1ed)),child_process[_0xb8c423(0x1ba)](_0xb8c423(0x1c8),{'cwd':_0x521c0e}),console[_0xb8c423(0x1bf)](_0xb8c423(0x1cd))):console[_0xb8c423(0x1bf)](_0xb8c423(0x1b6)+_0x42ae11+',please\x20wait...');child_process[_0xb8c423(0x1ba)](_0xb8c423(0x1df)+_0x42ae11,{'cwd':_0x521c0e}),console[_0xb8c423(0x1bf)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0xb8c423(0x1e3)](_0x17fef3)){const _0x41b855=_0x145ca3+_0xb8c423(0x1e7)+GIT_JAVA_ENV_JSON[_0x42ae11];DeleteDirAllFile(_0x41b855,()=>{fs['mkdirSync'](_0x41b855),CopyFolder(_0x17fef3,_0x41b855,()=>{const _0x303b07=a8_0x339c;console[_0x303b07(0x1bf)](_0x303b07(0x1d4)),setTimeout(()=>{const _0x1f81ae=_0x303b07;child_process[_0x1f81ae(0x1ba)](_0x1f81ae(0x1cf),{'cwd':_0x145ca3}),console[_0x1f81ae(0x1bf)](_0x1f81ae(0x1b5));try{child_process[_0x1f81ae(0x1ba)](_0x1f81ae(0x1dc)+_0x191f03+_0x1f81ae(0x1c0),{'cwd':_0x145ca3}),console[_0x1f81ae(0x1bf)](_0x1f81ae(0x1eb));}catch(_0x37ee8e){console['log'](_0x1f81ae(0x1f0));}child_process['execSync'](_0x1f81ae(0x1e2),{'cwd':_0x145ca3}),console[_0x1f81ae(0x1bf)]('Git\x20Push\x20Done!');},0x3e8);});});}else console[_0xb8c423(0x1bf)](_0xb8c423(0x1cc));}};function a8_0x339c(_0x3b0518,_0x2bd0a5){const _0x14a53f=a8_0x14a5();return a8_0x339c=function(_0x339cb2,_0x1c667f){_0x339cb2=_0x339cb2-0x1b4;let _0x5697ca=_0x14a53f[_0x339cb2];return _0x5697ca;},a8_0x339c(_0x3b0518,_0x2bd0a5);}function a8_0x14a5(){const _0x3e1f4c=['3645768ieOsDC','data','【warning】:no\x20commit,git\x20push,please\x20wait...','child_process','Git\x20Add\x20Done,git\x20commit,please\x20wait...','Git\x20Pull\x20Done,yarn\x20build:','【Error】:no\x20setting\x20git','readFileSync','toString','execSync','catch','resolve','git\x20pull','457065gVmXky','log','\x20--no-verify','join','git','length','【Error】:no\x20setting\x20gitName','258tSiqVL','no\x20message','axios','yarn','../../../.auth','13161438teWikd','then','【Error】:打包失败,没有dist目录!','yarn\x20install\x20Done!','Auth\x20NetWork\x20Fail!','git\x20add\x20.','\x5cdist','gitName','exports','split','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','8531166XBYziF','parse','90yPmVnw','status','182384UecHyq','git\x20clone\x20','mkdirSync','git\x20commit\x20-m\x20','/node_modules','Auth\x20Fail!','yarn\x20build:','8zpInsn','\x5cjjb.config.json','git\x20push\x20-f','existsSync','24742miAKnQ','path','860850mYBNrT','/src/main/resources/templates/','exit','/api/auth','../../old/util','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'];a8_0x14a5=function(){return _0x3e1f4c;};return a8_0x14a5();}
@@ -1 +1 @@
1
- const a9_0x35b46d=a9_0x3b54;(function(_0xf8f78e,_0x969c36){const _0x18d59f=a9_0x3b54,_0x226bc0=_0xf8f78e();while(!![]){try{const _0x5c57cb=-parseInt(_0x18d59f(0x19d))/0x1*(-parseInt(_0x18d59f(0x196))/0x2)+parseInt(_0x18d59f(0x177))/0x3+-parseInt(_0x18d59f(0x190))/0x4*(-parseInt(_0x18d59f(0x185))/0x5)+-parseInt(_0x18d59f(0x192))/0x6+parseInt(_0x18d59f(0x193))/0x7+-parseInt(_0x18d59f(0x179))/0x8+-parseInt(_0x18d59f(0x195))/0x9;if(_0x5c57cb===_0x969c36)break;else _0x226bc0['push'](_0x226bc0['shift']());}catch(_0x268bc7){_0x226bc0['push'](_0x226bc0['shift']());}}}(a9_0x4eaa,0xa1a9f));function a9_0x4eaa(){const _0x38b360=['https','remoteDir','jjb.script','eslint','3BfemAn','path','.prettierrc.js','173310kGvasa','exports','23616lNBcZD','join','server.js','.eslintrc.js','keys','end','writeFileSync','babel','\x20file\x20Success!','config.js','localDir','http\x20error\x20','79835eEikzd','utils.js','.babelrc','log','.eslintignore','getTime','micro.app.package.json','\x20file,\x20available:[','data','All\x20Finish!','length','8yXFTHB','build.js','4907250iLHWXj','7674772UPKHca','files','5629356OtNgGq','614924nWkPnt','error','?v='];a9_0x4eaa=function(){return _0x38b360;};return a9_0x4eaa();}const https=require(a9_0x35b46d(0x199)),fs=require('fs'),path=require(a9_0x35b46d(0x19e)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a9_0x35b46d(0x19c),'files':[a9_0x35b46d(0x17c),a9_0x35b46d(0x189)]},'prettier':{'remoteDir':'prettier','files':[a9_0x35b46d(0x176),'.prettierignore']},'jjb_script':{'remoteDir':'jjb.script','localDir':a9_0x35b46d(0x19b),'files':[a9_0x35b46d(0x191),a9_0x35b46d(0x182),'proxy.js',a9_0x35b46d(0x17b),a9_0x35b46d(0x186)]},'babel':{'remoteDir':a9_0x35b46d(0x180),'files':[a9_0x35b46d(0x187)]},'microAppPackage':{'remoteDir':a9_0x35b46d(0x18b),'files':['package.json']}},root_path=path['resolve']('./');function recursion(_0x1728ce,_0x4a921e,_0x186023){const _0x261c24=a9_0x35b46d,_0x2944e2=_0x1728ce[_0x261c24(0x194)][_0x4a921e];https['get'](CONFIG_FILE_HOST+'/'+(_0x1728ce[_0x261c24(0x19a)]?_0x1728ce['remoteDir']+'/':'')+_0x2944e2+_0x261c24(0x198)+new Date()[_0x261c24(0x18a)](),_0x24bc57=>{const _0x52aeaf=_0x261c24;let _0x2f52f1='';_0x24bc57['on'](_0x52aeaf(0x18d),_0x54e7f5=>{_0x2f52f1+=_0x54e7f5;}),_0x24bc57['on'](_0x52aeaf(0x17e),()=>{const _0x48d1eb=_0x52aeaf;_0x2f52f1&&(fs[_0x48d1eb(0x17f)](root_path+'/'+(_0x1728ce[_0x48d1eb(0x183)]?_0x1728ce[_0x48d1eb(0x183)]+'/':'')+_0x2944e2,_0x2f52f1),console['log'](_0x2944e2+_0x48d1eb(0x181)),_0x4a921e<_0x1728ce[_0x48d1eb(0x194)][_0x48d1eb(0x18f)]-0x1?(_0x4a921e++,recursion(_0x1728ce,_0x4a921e,_0x186023)):(console[_0x48d1eb(0x188)](_0x48d1eb(0x18e)),_0x186023&&_0x186023()));})['on'](_0x52aeaf(0x197),_0x58dd5d=>{const _0x3aa150=_0x52aeaf;console[_0x3aa150(0x188)](_0x3aa150(0x184),_0x58dd5d);});});}function a9_0x3b54(_0xabb6a,_0x47ed2f){const _0x4eaa28=a9_0x4eaa();return a9_0x3b54=function(_0x3b54b5,_0x545a32){_0x3b54b5=_0x3b54b5-0x176;let _0x55a532=_0x4eaa28[_0x3b54b5];return _0x55a532;},a9_0x3b54(_0xabb6a,_0x47ed2f);}module[a9_0x35b46d(0x178)]=_0xc4e572=>{const _0xa179f8=a9_0x35b46d;!Object[_0xa179f8(0x17d)](REGISTRY)['includes'](_0xc4e572)&&(console[_0xa179f8(0x188)]('【Error】:no\x20'+_0xc4e572+_0xa179f8(0x18c)+Object[_0xa179f8(0x17d)](REGISTRY)[_0xa179f8(0x17a)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0xc4e572],0x0);};
1
+ const a9_0x5f3478=a9_0x59d7;function a9_0x59d7(_0x1542cd,_0x53917e){const _0x13116c=a9_0x1311();return a9_0x59d7=function(_0x59d7a7,_0x4e9672){_0x59d7a7=_0x59d7a7-0x1ce;let _0x11baf5=_0x13116c[_0x59d7a7];return _0x11baf5;},a9_0x59d7(_0x1542cd,_0x53917e);}function a9_0x1311(){const _0x1722c3=['.eslintrc.js','【Error】:no\x20','exit','proxy.js','111512sfxXbS','11636DORXFf','server.js','All\x20Finish!','micro.app.package.json','resolve','exports','keys','371plNaCj','5904ssoFyH','http\x20error\x20','getTime','411VlQJkS','build.js','852735eZahAL','2179816LoxYBx','log','147740OGSPAQ','error','join','path','jjb.script','\x20file,\x20available:[','config.js','includes','files','localDir','get','writeFileSync','472272gHCOok','180djTyAY','length','https','remoteDir','package.json','.babelrc','utils.js','.prettierrc.js'];a9_0x1311=function(){return _0x1722c3;};return a9_0x1311();}(function(_0x234422,_0x137159){const _0x43f12d=a9_0x59d7,_0xdf234c=_0x234422();while(!![]){try{const _0x4201c5=-parseInt(_0x43f12d(0x1de))/0x1+-parseInt(_0x43f12d(0x1d1))/0x2+parseInt(_0x43f12d(0x1ea))/0x3*(parseInt(_0x43f12d(0x1df))/0x4)+parseInt(_0x43f12d(0x1ec))/0x5+parseInt(_0x43f12d(0x1e7))/0x6*(parseInt(_0x43f12d(0x1e6))/0x7)+-parseInt(_0x43f12d(0x1ed))/0x8+-parseInt(_0x43f12d(0x1d2))/0x9*(-parseInt(_0x43f12d(0x1ef))/0xa);if(_0x4201c5===_0x137159)break;else _0xdf234c['push'](_0xdf234c['shift']());}catch(_0xb207b2){_0xdf234c['push'](_0xdf234c['shift']());}}}(a9_0x1311,0x4868b));const https=require(a9_0x5f3478(0x1d4)),fs=require('fs'),path=require(a9_0x5f3478(0x1f2)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':'eslint','files':[a9_0x5f3478(0x1da),'.eslintignore']},'prettier':{'remoteDir':'prettier','files':[a9_0x5f3478(0x1d9),'.prettierignore']},'jjb_script':{'remoteDir':a9_0x5f3478(0x1f3),'localDir':a9_0x5f3478(0x1f3),'files':[a9_0x5f3478(0x1eb),a9_0x5f3478(0x1f5),a9_0x5f3478(0x1dd),a9_0x5f3478(0x1e0),a9_0x5f3478(0x1d8)]},'babel':{'remoteDir':'babel','files':[a9_0x5f3478(0x1d7)]},'microAppPackage':{'remoteDir':a9_0x5f3478(0x1e2),'files':[a9_0x5f3478(0x1d6)]}},root_path=path[a9_0x5f3478(0x1e3)]('./');function recursion(_0x19fa32,_0x9d3dda,_0x357293){const _0x44f851=a9_0x5f3478,_0x1c1d3b=_0x19fa32[_0x44f851(0x1f7)][_0x9d3dda];https[_0x44f851(0x1cf)](CONFIG_FILE_HOST+'/'+(_0x19fa32['remoteDir']?_0x19fa32[_0x44f851(0x1d5)]+'/':'')+_0x1c1d3b+'?v='+new Date()[_0x44f851(0x1e9)](),_0x1214c6=>{const _0x39ad76=_0x44f851;let _0x51cedd='';_0x1214c6['on']('data',_0x36a821=>{_0x51cedd+=_0x36a821;}),_0x1214c6['on']('end',()=>{const _0x3fa183=a9_0x59d7;_0x51cedd&&(fs[_0x3fa183(0x1d0)](root_path+'/'+(_0x19fa32[_0x3fa183(0x1ce)]?_0x19fa32[_0x3fa183(0x1ce)]+'/':'')+_0x1c1d3b,_0x51cedd),console[_0x3fa183(0x1ee)](_0x1c1d3b+'\x20file\x20Success!'),_0x9d3dda<_0x19fa32[_0x3fa183(0x1f7)][_0x3fa183(0x1d3)]-0x1?(_0x9d3dda++,recursion(_0x19fa32,_0x9d3dda,_0x357293)):(console[_0x3fa183(0x1ee)](_0x3fa183(0x1e1)),_0x357293&&_0x357293()));})['on'](_0x39ad76(0x1f0),_0x2af374=>{const _0x100287=_0x39ad76;console[_0x100287(0x1ee)](_0x100287(0x1e8),_0x2af374);});});}module[a9_0x5f3478(0x1e4)]=_0x4de00a=>{const _0x5e1a74=a9_0x5f3478;!Object[_0x5e1a74(0x1e5)](REGISTRY)[_0x5e1a74(0x1f6)](_0x4de00a)&&(console[_0x5e1a74(0x1ee)](_0x5e1a74(0x1db)+_0x4de00a+_0x5e1a74(0x1f4)+Object[_0x5e1a74(0x1e5)](REGISTRY)[_0x5e1a74(0x1f1)]('/')+']'),process[_0x5e1a74(0x1dc)](0x0)),recursion(REGISTRY[_0x4de00a],0x0);};
@@ -1 +1 @@
1
- const a10_0x458235=a10_0x3d98;function a10_0x4ca1(){const _0x3ba3b6=['2192hqXRaT','exports','axios','data','then','exit','2185014itohwu','post','4454376OLjOAX','../cmd.install/config','网络异常。','status','1305105BYeOKk','538410ZyrtCU','2357434FkcOxV','host','log','components','25074162grscPl','4eiPIiI','27041DcRLmt','server'];a10_0x4ca1=function(){return _0x3ba3b6;};return a10_0x4ca1();}(function(_0x310c58,_0x3b15be){const _0x31680e=a10_0x3d98,_0x195cd7=_0x310c58();while(!![]){try{const _0x388bf9=parseInt(_0x31680e(0x1be))/0x1+-parseInt(_0x31680e(0x1bf))/0x2+parseInt(_0x31680e(0x1cd))/0x3*(parseInt(_0x31680e(0x1c4))/0x4)+-parseInt(_0x31680e(0x1bd))/0x5+-parseInt(_0x31680e(0x1b9))/0x6+parseInt(_0x31680e(0x1c5))/0x7*(-parseInt(_0x31680e(0x1c7))/0x8)+parseInt(_0x31680e(0x1c3))/0x9;if(_0x388bf9===_0x3b15be)break;else _0x195cd7['push'](_0x195cd7['shift']());}catch(_0x870599){_0x195cd7['push'](_0x195cd7['shift']());}}}(a10_0x4ca1,0xc648a));const axios=require(a10_0x458235(0x1c9)),{getApiHost}=require(a10_0x458235(0x1ba));function a10_0x3d98(_0x2c71a2,_0x3dbc5d){const _0x4ca171=a10_0x4ca1();return a10_0x3d98=function(_0x3d9821,_0x5870b7){_0x3d9821=_0x3d9821-0x1b8;let _0x1a247d=_0x4ca171[_0x3d9821];return _0x1a247d;},a10_0x3d98(_0x2c71a2,_0x3dbc5d);}module[a10_0x458235(0x1c8)]=_0x45c140=>{const _0x1b914e=a10_0x458235;axios[_0x1b914e(0x1b8)](getApiHost()+'/api/file/config')[_0x1b914e(0x1cb)](_0x24f965=>{const _0x42abda=_0x1b914e;if(_0x24f965[_0x42abda(0x1ca)][_0x42abda(0x1bc)]){const _0x35f3f5=_0x24f965[_0x42abda(0x1ca)]['data'];_0x45c140===_0x42abda(0x1c6)&&(console[_0x42abda(0x1c1)](_0x35f3f5[_0x42abda(0x1c0)]),console[_0x42abda(0x1c1)](_0x35f3f5['port'])),_0x45c140===_0x42abda(0x1c2)&&console[_0x42abda(0x1c1)](_0x35f3f5[_0x42abda(0x1c2)]);}else console['log'](_0x24f965['data']['message']);process[_0x42abda(0x1cc)](0x0);})['catch'](()=>{const _0x26a3e1=_0x1b914e;console[_0x26a3e1(0x1c1)](_0x26a3e1(0x1bb)),process[_0x26a3e1(0x1cc)](0x0);});};
1
+ function a10_0x1803(_0x2ead7d,_0xb4178e){const _0x5c5d47=a10_0x5c5d();return a10_0x1803=function(_0x180392,_0x2c353f){_0x180392=_0x180392-0x189;let _0x1c9c2c=_0x5c5d47[_0x180392];return _0x1c9c2c;},a10_0x1803(_0x2ead7d,_0xb4178e);}const a10_0x25bf43=a10_0x1803;(function(_0x57661a,_0x5d27be){const _0x391078=a10_0x1803,_0x59f4b4=_0x57661a();while(!![]){try{const _0x46fe9b=parseInt(_0x391078(0x19b))/0x1+parseInt(_0x391078(0x196))/0x2+parseInt(_0x391078(0x192))/0x3*(-parseInt(_0x391078(0x1a4))/0x4)+-parseInt(_0x391078(0x197))/0x5*(-parseInt(_0x391078(0x19d))/0x6)+-parseInt(_0x391078(0x193))/0x7*(parseInt(_0x391078(0x190))/0x8)+-parseInt(_0x391078(0x18e))/0x9*(parseInt(_0x391078(0x18f))/0xa)+parseInt(_0x391078(0x18a))/0xb*(parseInt(_0x391078(0x1a0))/0xc);if(_0x46fe9b===_0x5d27be)break;else _0x59f4b4['push'](_0x59f4b4['shift']());}catch(_0x24136e){_0x59f4b4['push'](_0x59f4b4['shift']());}}}(a10_0x5c5d,0x8d6c9));function a10_0x5c5d(){const _0x3d1b2b=['1344354minwhH','6720259KLdGDj','host','port','284352XtZzXv','480bIPWVb','data','/api/file/config','components','847883mUlxCY','网络异常。','67758SJFNnC','post','status','8289012PuCqLf','catch','then','log','8iRkyfI','server','11wcbrxM','message','axios','../cmd.install/config','18EixXQf','1646960HDPzCg','8kNDcyE','exit'];a10_0x5c5d=function(){return _0x3d1b2b;};return a10_0x5c5d();}const axios=require(a10_0x25bf43(0x18c)),{getApiHost}=require(a10_0x25bf43(0x18d));module['exports']=_0x464ee8=>{const _0x219c3d=a10_0x25bf43;axios[_0x219c3d(0x19e)](getApiHost()+_0x219c3d(0x199))[_0x219c3d(0x1a2)](_0x570262=>{const _0x2887cd=_0x219c3d;if(_0x570262[_0x2887cd(0x198)][_0x2887cd(0x19f)]){const _0x3a7747=_0x570262[_0x2887cd(0x198)][_0x2887cd(0x198)];_0x464ee8===_0x2887cd(0x189)&&(console[_0x2887cd(0x1a3)](_0x3a7747[_0x2887cd(0x194)]),console['log'](_0x3a7747[_0x2887cd(0x195)])),_0x464ee8===_0x2887cd(0x19a)&&console['log'](_0x3a7747[_0x2887cd(0x19a)]);}else console[_0x2887cd(0x1a3)](_0x570262[_0x2887cd(0x198)][_0x2887cd(0x18b)]);process[_0x2887cd(0x191)](0x0);})[_0x219c3d(0x1a1)](()=>{const _0x34d969=_0x219c3d;console[_0x34d969(0x1a3)](_0x34d969(0x19c)),process['exit'](0x0);});};
@@ -1 +1 @@
1
- const a11_0x539c2d=a11_0x4410;function a11_0x4410(_0x339945,_0x54fd82){const _0x39d9ad=a11_0x39d9();return a11_0x4410=function(_0x4410a7,_0x5e2169){_0x4410a7=_0x4410a7-0x19d;let _0x167661=_0x39d9ad[_0x4410a7];return _0x167661;},a11_0x4410(_0x339945,_0x54fd82);}(function(_0x2a4190,_0x373776){const _0x296880=a11_0x4410,_0xc0c9ec=_0x2a4190();while(!![]){try{const _0x3277ab=parseInt(_0x296880(0x1b5))/0x1+parseInt(_0x296880(0x1af))/0x2+-parseInt(_0x296880(0x1ae))/0x3*(-parseInt(_0x296880(0x1b4))/0x4)+-parseInt(_0x296880(0x1aa))/0x5*(-parseInt(_0x296880(0x1a3))/0x6)+-parseInt(_0x296880(0x1ac))/0x7+-parseInt(_0x296880(0x1b3))/0x8*(parseInt(_0x296880(0x19d))/0x9)+parseInt(_0x296880(0x1a5))/0xa*(-parseInt(_0x296880(0x1a1))/0xb);if(_0x3277ab===_0x373776)break;else _0xc0c9ec['push'](_0xc0c9ec['shift']());}catch(_0x5deb6c){_0xc0c9ec['push'](_0xc0c9ec['shift']());}}}(a11_0x39d9,0xe7d83));const fs=require('fs'),path=require(a11_0x539c2d(0x1b0)),readline=require(a11_0x539c2d(0x1a2)),io=readline['createInterface']({'input':process['stdin'],'output':process['stdout']});let f_total=0x0;module['exports']=function(){const _0x11b104=a11_0x539c2d,_0x934174=path['resolve']('./');io['question'](_0x11b104(0x19f),function(_0x14150b){const _0x57c495=_0x11b104;if(_0x14150b[_0x57c495(0x1a8)]()==='y')console[_0x57c495(0x1b1)](_0x57c495(0x19e)),setTimeout(()=>{setTimeout(()=>{const _0x34822e=a11_0x4410;console[_0x34822e(0x1ad)](),exec(_0x934174),setTimeout(()=>{const _0x4cc0cf=_0x34822e;console[_0x4cc0cf(0x1b1)]('删除完成。'),console['clear'](),process[_0x4cc0cf(0x1a6)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x14150b[_0x57c495(0x1a8)]()==='n'?(console[_0x57c495(0x1b1)](_0x57c495(0x1b2)),process[_0x57c495(0x1a6)](0x0)):(console[_0x57c495(0x1b1)]('无效操作。'),process[_0x57c495(0x1a6)](0x0));});};function a11_0x39d9(){const _0x2121e3=['删除异常:','1990QjSIVm','exit','删除文件:','trim','statSync','306940MvPUGR','rmdirSync','11128005LijhfE','clear','4444899dYeyBl','3402690hAYIAy','path','log','取消删除。','344zbgEkb','4MGjYYY','1428071MxnCMd','length','109611AHHLUp','正在计算项目数,请稍等...','是否确认删除?删除后不可恢复![y/n]:','删除文件夹:','163614HjiCgS','readline','138nFgcOD'];a11_0x39d9=function(){return _0x2121e3;};return a11_0x39d9();}function exec(_0xfae6a4){const _0x4c21bb=a11_0x539c2d;if(fs['existsSync'](_0xfae6a4)){const _0x29a696=fs['readdirSync'](_0xfae6a4);for(let _0x44802d=0x0;_0x44802d<_0x29a696[_0x4c21bb(0x1b6)];_0x44802d++){const _0xbd83a6=_0x29a696[_0x44802d],_0x846c43=_0xfae6a4+'/'+_0xbd83a6;try{fs[_0x4c21bb(0x1a9)](_0x846c43)['isDirectory']()?(exec(_0x846c43),fs[_0x4c21bb(0x1ab)](_0x846c43,{'recursive':!![]}),console[_0x4c21bb(0x1b1)](_0x4c21bb(0x1a0)+_0x846c43)):(fs['unlinkSync'](_0x846c43),console[_0x4c21bb(0x1b1)](_0x4c21bb(0x1a7)+_0x846c43));}catch(_0x2547c3){console[_0x4c21bb(0x1b1)](_0x4c21bb(0x1a4)+_0x846c43);}}}}
1
+ const a11_0x588138=a11_0x29b1;(function(_0x533e33,_0x22ec63){const _0x3d66a2=a11_0x29b1,_0x326fc6=_0x533e33();while(!![]){try{const _0x277ab5=-parseInt(_0x3d66a2(0xbb))/0x1+-parseInt(_0x3d66a2(0xbd))/0x2+parseInt(_0x3d66a2(0xc3))/0x3*(-parseInt(_0x3d66a2(0xd3))/0x4)+parseInt(_0x3d66a2(0xc8))/0x5*(-parseInt(_0x3d66a2(0xc5))/0x6)+parseInt(_0x3d66a2(0xbc))/0x7+parseInt(_0x3d66a2(0xd0))/0x8+parseInt(_0x3d66a2(0xc4))/0x9*(parseInt(_0x3d66a2(0xc7))/0xa);if(_0x277ab5===_0x22ec63)break;else _0x326fc6['push'](_0x326fc6['shift']());}catch(_0x2e8766){_0x326fc6['push'](_0x326fc6['shift']());}}}(a11_0x44ee,0xbe3f6));const fs=require('fs'),path=require(a11_0x588138(0xd5)),readline=require('readline'),io=readline[a11_0x588138(0xd1)]({'input':process[a11_0x588138(0xcb)],'output':process['stdout']});let f_total=0x0;module[a11_0x588138(0xd6)]=function(){const _0x3a8316=a11_0x588138,_0x2525c1=path[_0x3a8316(0xca)]('./');io[_0x3a8316(0xcc)](_0x3a8316(0xc6),function(_0x28c180){const _0x572e4f=_0x3a8316;if(_0x28c180[_0x572e4f(0xcd)]()==='y')console[_0x572e4f(0xcf)](_0x572e4f(0xd4)),setTimeout(()=>{setTimeout(()=>{const _0x1391a0=a11_0x29b1;console[_0x1391a0(0xbf)](),exec(_0x2525c1),setTimeout(()=>{const _0x81fdc3=_0x1391a0;console[_0x81fdc3(0xcf)](_0x81fdc3(0xd9)),console[_0x81fdc3(0xbf)](),process[_0x81fdc3(0xc2)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x28c180[_0x572e4f(0xcd)]()==='n'?(console['log']('取消删除。'),process['exit'](0x0)):(console['log'](_0x572e4f(0xce)),process[_0x572e4f(0xc2)](0x0));});};function a11_0x29b1(_0x411d9e,_0x549b09){const _0x44eeb5=a11_0x44ee();return a11_0x29b1=function(_0x29b1c0,_0x1c1d02){_0x29b1c0=_0x29b1c0-0xbb;let _0x51d0be=_0x44eeb5[_0x29b1c0];return _0x51d0be;},a11_0x29b1(_0x411d9e,_0x549b09);}function a11_0x44ee(){const _0x58a98b=['resolve','stdin','question','trim','无效操作。','log','6520864GyidYt','createInterface','readdirSync','1500sYyZKY','正在计算项目数,请稍等...','path','exports','existsSync','删除文件:','删除完成。','1027043ookZLC','6753264cjenmK','1891126mBSPkT','statSync','clear','删除文件夹:','unlinkSync','exit','9450dtMacC','27JwFQjx','3414pbIFun','是否确认删除?删除后不可恢复![y/n]:','11957100DSavZA','12600XXyZEI','删除异常:'];a11_0x44ee=function(){return _0x58a98b;};return a11_0x44ee();}function exec(_0x4bf0c1){const _0x34254b=a11_0x588138;if(fs[_0x34254b(0xd7)](_0x4bf0c1)){const _0x2b0a27=fs[_0x34254b(0xd2)](_0x4bf0c1);for(let _0x33061f=0x0;_0x33061f<_0x2b0a27['length'];_0x33061f++){const _0x47cbd2=_0x2b0a27[_0x33061f],_0x70b976=_0x4bf0c1+'/'+_0x47cbd2;try{fs[_0x34254b(0xbe)](_0x70b976)['isDirectory']()?(exec(_0x70b976),fs['rmdirSync'](_0x70b976,{'recursive':!![]}),console['log'](_0x34254b(0xc0)+_0x70b976)):(fs[_0x34254b(0xc1)](_0x70b976),console[_0x34254b(0xcf)](_0x34254b(0xd8)+_0x70b976));}catch(_0x10b870){console['log'](_0x34254b(0xc9)+_0x70b976);}}}}
@@ -1 +1 @@
1
- const a12_0x4c1162=a12_0x2dfa;(function(_0x354ac3,_0x1682f5){const _0x519dce=a12_0x2dfa,_0x3cb69c=_0x354ac3();while(!![]){try{const _0x41612f=parseInt(_0x519dce(0x13d))/0x1*(-parseInt(_0x519dce(0x14d))/0x2)+-parseInt(_0x519dce(0x14f))/0x3+parseInt(_0x519dce(0x143))/0x4*(-parseInt(_0x519dce(0x152))/0x5)+parseInt(_0x519dce(0x138))/0x6+parseInt(_0x519dce(0x14b))/0x7+parseInt(_0x519dce(0x150))/0x8*(parseInt(_0x519dce(0x13f))/0x9)+parseInt(_0x519dce(0x148))/0xa;if(_0x41612f===_0x1682f5)break;else _0x3cb69c['push'](_0x3cb69c['shift']());}catch(_0x7dd9d8){_0x3cb69c['push'](_0x3cb69c['shift']());}}}(a12_0x4dd7,0xc7cd5));function a12_0x2dfa(_0xf86f9e,_0x401cf8){const _0x4dd733=a12_0x4dd7();return a12_0x2dfa=function(_0x2dfa1b,_0x132754){_0x2dfa1b=_0x2dfa1b-0x136;let _0x52d25b=_0x4dd733[_0x2dfa1b];return _0x52d25b;},a12_0x2dfa(_0xf86f9e,_0x401cf8);}function a12_0x4dd7(){const _0x5658ab=['网络异常。','existsSync','axios','3341iWizon','path','9ZklXwb','exit','../cmd.install/config','catch','180348bfPkIq','post','then','log','toString','18176070WNmIuI','readFileSync','exports','7609819TzdoHz','resolve','806vruXyk','status','3657642lyQkVZ','1421800KLddJk','/api/file/version','135HbyTDn','parse','data','查询失败!根目录缺少‘package.json’文件,无法完成查询。','9113556CmQOUW','message'];a12_0x4dd7=function(){return _0x5658ab;};return a12_0x4dd7();}const path=require(a12_0x4c1162(0x13e)),fs=require('fs'),axios=require(a12_0x4c1162(0x13c)),{getApiHost}=require(a12_0x4c1162(0x141));module[a12_0x4c1162(0x14a)]=()=>{const _0x473683=a12_0x4c1162,_0x56fea4=path[_0x473683(0x14c)]('./'),_0x508897=_0x56fea4+'\x5cpackage.json';if(fs[_0x473683(0x13b)](_0x508897)){const _0x1aa74c=JSON[_0x473683(0x153)](fs[_0x473683(0x149)](_0x508897)[_0x473683(0x147)]()),{name:_0xf64a03}=_0x1aa74c;axios[_0x473683(0x144)](getApiHost()+_0x473683(0x151),{'package_name':_0xf64a03})[_0x473683(0x145)](_0x33baf3=>{const _0x4e3317=_0x473683;_0x33baf3[_0x4e3317(0x136)][_0x4e3317(0x14e)]?console[_0x4e3317(0x146)](_0x33baf3[_0x4e3317(0x136)][_0x4e3317(0x136)]):console[_0x4e3317(0x146)](_0x33baf3['data'][_0x4e3317(0x139)]),process['exit'](0x0);})[_0x473683(0x142)](()=>{const _0x51e708=_0x473683;console['log'](_0x51e708(0x13a)),process[_0x51e708(0x140)](0x0);});}else console['log'](_0x473683(0x137)),process[_0x473683(0x140)](0x0);};
1
+ const a12_0x22f7e5=a12_0x3db0;function a12_0x3db0(_0x58c6a8,_0x2ec281){const _0x595d5e=a12_0x595d();return a12_0x3db0=function(_0x3db03f,_0xb44527){_0x3db03f=_0x3db03f-0xba;let _0x3ce634=_0x595d5e[_0x3db03f];return _0x3ce634;},a12_0x3db0(_0x58c6a8,_0x2ec281);}(function(_0x2e0bbb,_0x5cd5cf){const _0x38d39f=a12_0x3db0,_0x31043c=_0x2e0bbb();while(!![]){try{const _0x57ee96=parseInt(_0x38d39f(0xd1))/0x1*(parseInt(_0x38d39f(0xc6))/0x2)+-parseInt(_0x38d39f(0xce))/0x3*(-parseInt(_0x38d39f(0xc5))/0x4)+-parseInt(_0x38d39f(0xcf))/0x5*(-parseInt(_0x38d39f(0xd8))/0x6)+-parseInt(_0x38d39f(0xc3))/0x7+parseInt(_0x38d39f(0xc0))/0x8*(-parseInt(_0x38d39f(0xbc))/0x9)+-parseInt(_0x38d39f(0xd2))/0xa*(parseInt(_0x38d39f(0xc4))/0xb)+-parseInt(_0x38d39f(0xc8))/0xc*(-parseInt(_0x38d39f(0xd3))/0xd);if(_0x57ee96===_0x5cd5cf)break;else _0x31043c['push'](_0x31043c['shift']());}catch(_0x3dd16e){_0x31043c['push'](_0x31043c['shift']());}}}(a12_0x595d,0xb53f3));const path=require(a12_0x22f7e5(0xc2)),fs=require('fs'),axios=require(a12_0x22f7e5(0xd6)),{getApiHost}=require(a12_0x22f7e5(0xbb));module[a12_0x22f7e5(0xc1)]=()=>{const _0x19adb4=a12_0x22f7e5,_0x265e10=path[_0x19adb4(0xca)]('./'),_0x54ca92=_0x265e10+_0x19adb4(0xbf);if(fs['existsSync'](_0x54ca92)){const _0x36c7c1=JSON[_0x19adb4(0xbd)](fs[_0x19adb4(0xbe)](_0x54ca92)['toString']()),{name:_0x1f385d}=_0x36c7c1;axios[_0x19adb4(0xd4)](getApiHost()+_0x19adb4(0xba),{'package_name':_0x1f385d})[_0x19adb4(0xc7)](_0x811acf=>{const _0x47cc29=_0x19adb4;_0x811acf[_0x47cc29(0xcc)][_0x47cc29(0xd0)]?console[_0x47cc29(0xcb)](_0x811acf[_0x47cc29(0xcc)][_0x47cc29(0xcc)]):console[_0x47cc29(0xcb)](_0x811acf[_0x47cc29(0xcc)][_0x47cc29(0xc9)]),process[_0x47cc29(0xd7)](0x0);})['catch'](()=>{const _0x15c4ff=_0x19adb4;console[_0x15c4ff(0xcb)](_0x15c4ff(0xd5)),process[_0x15c4ff(0xd7)](0x0);});}else console[_0x19adb4(0xcb)](_0x19adb4(0xcd)),process[_0x19adb4(0xd7)](0x0);};function a12_0x595d(){const _0x2942e4=['axios','exit','6gvseLg','/api/file/version','../cmd.install/config','49851RLRcrv','parse','readFileSync','\x5cpackage.json','760BQiOwa','exports','path','3247391lWOJLH','11hMOVTE','4qIAgVr','2kimtgl','then','1550832bfiDSs','message','resolve','log','data','查询失败!根目录缺少‘package.json’文件,无法完成查询。','4402617aLzYBc','6373715rQoHvc','status','100366Vhthod','13686150csNbgK','26cBoDPe','post','网络异常。'];a12_0x595d=function(){return _0x2942e4;};return a12_0x595d();}
@@ -1 +1 @@
1
- function a13_0x118d(_0x227f14,_0x54036c){const _0x4b929d=a13_0x4b92();return a13_0x118d=function(_0x118d4b,_0x58c93b){_0x118d4b=_0x118d4b-0x103;let _0x588da5=_0x4b929d[_0x118d4b];return _0x588da5;},a13_0x118d(_0x227f14,_0x54036c);}const a13_0x372e1f=a13_0x118d;(function(_0xc0bf6d,_0x48b3af){const _0x38a26e=a13_0x118d,_0x2d4be6=_0xc0bf6d();while(!![]){try{const _0x4722b1=-parseInt(_0x38a26e(0x109))/0x1+parseInt(_0x38a26e(0x105))/0x2*(parseInt(_0x38a26e(0x10c))/0x3)+-parseInt(_0x38a26e(0x106))/0x4*(-parseInt(_0x38a26e(0x110))/0x5)+parseInt(_0x38a26e(0x119))/0x6+-parseInt(_0x38a26e(0x112))/0x7*(parseInt(_0x38a26e(0x117))/0x8)+-parseInt(_0x38a26e(0x103))/0x9*(-parseInt(_0x38a26e(0x113))/0xa)+-parseInt(_0x38a26e(0x10d))/0xb;if(_0x4722b1===_0x48b3af)break;else _0x2d4be6['push'](_0x2d4be6['shift']());}catch(_0x2ddd52){_0x2d4be6['push'](_0x2d4be6['shift']());}}}(a13_0x4b92,0x1ed25));const path=require(a13_0x372e1f(0x118)),readline=require(a13_0x372e1f(0x116)),{f_file_copy}=require(a13_0x372e1f(0x111)),fs=require('fs');module[a13_0x372e1f(0x104)]=()=>{const _0x394f9e=a13_0x372e1f,_0x2d4c7d=path['resolve']('./');!fs['existsSync'](_0x2d4c7d+'\x5cjjb.script')&&!fs[_0x394f9e(0x115)](_0x2d4c7d+_0x394f9e(0x10a))&&!fs[_0x394f9e(0x115)](_0x2d4c7d+'\x5cjjb.config.json')&&!fs['existsSync'](_0x2d4c7d+_0x394f9e(0x10b))&&!fs[_0x394f9e(0x115)](_0x2d4c7d+_0x394f9e(0x107))?(f_file_copy(__dirname+_0x394f9e(0x11a),_0x2d4c7d),console[_0x394f9e(0x114)](_0x394f9e(0x10e)),process[_0x394f9e(0x10f)](0x0)):(console[_0x394f9e(0x114)](_0x394f9e(0x108)),process[_0x394f9e(0x10f)](0x0));};function a13_0x4b92(){const _0x3ed41e=['339vijKQL','2928607DDaKar','初始化完成!','exit','215295SpHomi','./cli.install/tools','610225uaneGs','1087670SVCFkl','log','existsSync','readline','8ScgNBi','path','1307328mgjeNb','\x5ccli.init','9OIXyMZ','exports','3742PcPeYn','12vHcYaK','\x5cwebstorm.config.js','初始化失败,文件已存在!','187598RcaaEn','\x5cpublic','\x5cpackage.json'];a13_0x4b92=function(){return _0x3ed41e;};return a13_0x4b92();}
1
+ const a13_0x90968e=a13_0x2868;function a13_0x2868(_0x4db40b,_0x31ae37){const _0x141af2=a13_0x141a();return a13_0x2868=function(_0x2868b3,_0x46e816){_0x2868b3=_0x2868b3-0x109;let _0x4c7e91=_0x141af2[_0x2868b3];return _0x4c7e91;},a13_0x2868(_0x4db40b,_0x31ae37);}(function(_0x35d387,_0x272c73){const _0x1961aa=a13_0x2868,_0x2e4d3a=_0x35d387();while(!![]){try{const _0x27e205=parseInt(_0x1961aa(0x118))/0x1+parseInt(_0x1961aa(0x110))/0x2*(parseInt(_0x1961aa(0x115))/0x3)+parseInt(_0x1961aa(0x10d))/0x4*(parseInt(_0x1961aa(0x114))/0x5)+parseInt(_0x1961aa(0x11e))/0x6*(parseInt(_0x1961aa(0x119))/0x7)+-parseInt(_0x1961aa(0x113))/0x8*(-parseInt(_0x1961aa(0x112))/0x9)+-parseInt(_0x1961aa(0x10f))/0xa*(-parseInt(_0x1961aa(0x10c))/0xb)+-parseInt(_0x1961aa(0x11c))/0xc;if(_0x27e205===_0x272c73)break;else _0x2e4d3a['push'](_0x2e4d3a['shift']());}catch(_0xaa0d5c){_0x2e4d3a['push'](_0x2e4d3a['shift']());}}}(a13_0x141a,0xba7ab));function a13_0x141a(){const _0x407a8f=['resolve','exit','56314248YJsXFx','\x5cpackage.json','6KtRetz','初始化完成!','初始化失败,文件已存在!','exports','log','existsSync','22YlIWoR','807328hjjHQU','path','862340mibCLX','2HyKmDt','\x5cpublic','9wCjADd','11839832pAXhff','35aqahkf','505131oEVVVX','\x5cjjb.script','./cli.install/tools','1264668gYKGXm','6708499QksATB'];a13_0x141a=function(){return _0x407a8f;};return a13_0x141a();}const path=require(a13_0x90968e(0x10e)),readline=require('readline'),{f_file_copy}=require(a13_0x90968e(0x117)),fs=require('fs');module[a13_0x90968e(0x109)]=()=>{const _0x229ea3=a13_0x90968e,_0x41707e=path[_0x229ea3(0x11a)]('./');!fs[_0x229ea3(0x10b)](_0x41707e+_0x229ea3(0x116))&&!fs['existsSync'](_0x41707e+_0x229ea3(0x111))&&!fs[_0x229ea3(0x10b)](_0x41707e+'\x5cjjb.config.json')&&!fs[_0x229ea3(0x10b)](_0x41707e+_0x229ea3(0x11d))&&!fs[_0x229ea3(0x10b)](_0x41707e+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+'\x5ccli.init',_0x41707e),console['log'](_0x229ea3(0x11f)),process['exit'](0x0)):(console[_0x229ea3(0x10a)](_0x229ea3(0x120)),process[_0x229ea3(0x11b)](0x0));};
@@ -1 +1 @@
1
- const a14_0x277c14=a14_0x1fc0;function a14_0x1fc0(_0x1bd765,_0x1f5d6f){const _0x244ec1=a14_0x244e();return a14_0x1fc0=function(_0x1fc0c1,_0x12b603){_0x1fc0c1=_0x1fc0c1-0x118;let _0x158ac=_0x244ec1[_0x1fc0c1];return _0x158ac;},a14_0x1fc0(_0x1bd765,_0x1f5d6f);}(function(_0x1c458e,_0x45f304){const _0x4ed272=a14_0x1fc0,_0x421d6a=_0x1c458e();while(!![]){try{const _0x464b11=-parseInt(_0x4ed272(0x14b))/0x1*(-parseInt(_0x4ed272(0x14d))/0x2)+parseInt(_0x4ed272(0x139))/0x3*(-parseInt(_0x4ed272(0x11b))/0x4)+parseInt(_0x4ed272(0x131))/0x5+parseInt(_0x4ed272(0x135))/0x6+-parseInt(_0x4ed272(0x14f))/0x7*(-parseInt(_0x4ed272(0x14a))/0x8)+parseInt(_0x4ed272(0x12c))/0x9+-parseInt(_0x4ed272(0x133))/0xa;if(_0x464b11===_0x45f304)break;else _0x421d6a['push'](_0x421d6a['shift']());}catch(_0xc30ba5){_0x421d6a['push'](_0x421d6a['shift']());}}}(a14_0x244e,0xe2f3e));const os=require('os');exports[a14_0x277c14(0x14c)]=a14_0x277c14(0x136),exports[a14_0x277c14(0x11c)]=a14_0x277c14(0x132)+Date[a14_0x277c14(0x12e)](),exports[a14_0x277c14(0x137)]={'common':{'token':a14_0x277c14(0x124),'projectId':0x117},'react-admin-component':{'token':a14_0x277c14(0x119),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x277c14(0x146),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a14_0x277c14(0x13f),'projectId':0x153}},exports[a14_0x277c14(0x148)]=os[a14_0x277c14(0x149)]()+'\x5c'+exports[a14_0x277c14(0x11c)],exports['CLI_DVA_ROUTER_SPA']=__dirname+a14_0x277c14(0x12d),exports['CLI_DVA_ROUTER_SAAS']=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a14_0x277c14(0x12a)]=__dirname+a14_0x277c14(0x120),exports[a14_0x277c14(0x121)]=__dirname+a14_0x277c14(0x141),exports[a14_0x277c14(0x130)]=a14_0x277c14(0x142),exports[a14_0x277c14(0x145)]='\x5cdva\x5cautomatic\x5cregister.js',exports[a14_0x277c14(0x126)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x277c14(0x127),'jjb-react-admin-component']]},{'path':a14_0x277c14(0x147),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a14_0x277c14(0x127),a14_0x277c14(0x13e)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x277c14(0x125),a14_0x277c14(0x122)]]}],exports[a14_0x277c14(0x138)]=[{'path':a14_0x277c14(0x11d),'replace':[[a14_0x277c14(0x125),a14_0x277c14(0x11a)]]}],exports[a14_0x277c14(0x11f)]=[{'path':a14_0x277c14(0x11e),'replace':[[a14_0x277c14(0x13a),a14_0x277c14(0x144)],[a14_0x277c14(0x134),a14_0x277c14(0x143)],['common/tools',a14_0x277c14(0x129)]]},{'path':a14_0x277c14(0x140),'replace':[[a14_0x277c14(0x118),a14_0x277c14(0x13c)]]},{'path':a14_0x277c14(0x13d),'replace':[[a14_0x277c14(0x128),a14_0x277c14(0x129)]]},{'path':a14_0x277c14(0x12b),'replace':[[a14_0x277c14(0x13a),a14_0x277c14(0x144)],['common/tools',a14_0x277c14(0x129)]]},{'path':a14_0x277c14(0x12f),'replace':[[a14_0x277c14(0x13a),a14_0x277c14(0x144)],[a14_0x277c14(0x128),a14_0x277c14(0x129)]]},{'path':a14_0x277c14(0x14e),'replace':[[a14_0x277c14(0x13a),a14_0x277c14(0x144)],[a14_0x277c14(0x128),a14_0x277c14(0x129)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a14_0x277c14(0x118),a14_0x277c14(0x13c)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a14_0x277c14(0x128),'jjb-common/tools']]},{'path':a14_0x277c14(0x13b),'replace':[['common/website',a14_0x277c14(0x123)],[a14_0x277c14(0x128),a14_0x277c14(0x129)]]}];function a14_0x244e(){const _0x5534e4=['CLI_DVA_ROUTER_PATH','5459815dXBluT','jjbAssembly_','39559780BvfbtS','common/crypto','3576666fKoiDJ','http://192.168.1.242:10985','CLOUD_PROJECT','COMMON_CONTENT_MICRO_REPLACE','15CvWvIB','common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','jjb-common/color','\x5cRouterMenu\x5cindex.js','jjb-react-admin-component','d4wQ7dzEjYPsgVbKnYei','\x5cRejectText\x5cindex.js','\x5c..\x5ccli.dva.register.saas.txt','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/crypto','jjb-common/http','CLI_DVA_REGISTER_PATH','hLqARY89CN6fUD3yg4NL','\x5cwebsite\x5cindex.js','TEMPLATE_FOLDER','tmpdir','187888LPfHUc','14615TQIuPt','GIT_HOST','254pqyZIp','\x5cImageUploader\x5cindex.js','455QIrnrl','common/color','FT3pKzxpRynFkmddJ9Bs','return\x20process.env.app;','440056wndgVw','GIT_TEMP_DIR','\x5ctools\x5cindex.js','\x5cEditor\x5cindex.js','COMPONENTS_CONTENT_REPLACE','\x5c..\x5ccli.dva.register.spa.txt','CLI_DVA_REGISTER_SAAS','return\x20process.env;','jjb-common/website','G4HJRsHr9D7Ssmixegw2','return\x20__planA();','COMMON_CONTENT_NOR_REPLACE','components','common/tools','jjb-common/tools','CLI_DVA_REGISTER_SPA','\x5cFileUploader\x5cindex.js','3283893hiTXbQ','\x5c..\x5ccli.dva.router.spa.txt','now','\x5cImageCropper\x5cindex.js'];a14_0x244e=function(){return _0x5534e4;};return a14_0x244e();}
1
+ function a14_0x3b70(_0x4cd519,_0x403b6f){const _0x5838bc=a14_0x5838();return a14_0x3b70=function(_0x3b70db,_0x741f71){_0x3b70db=_0x3b70db-0x16a;let _0x32b738=_0x5838bc[_0x3b70db];return _0x32b738;},a14_0x3b70(_0x4cd519,_0x403b6f);}function a14_0x5838(){const _0x1e367e=['const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5ctools\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','\x5cwebsite\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','87252MEEaFG','\x5cRouterMenu\x5cindex.js','GIT_HOST','COMMON_CONTENT_MICRO_REPLACE','common/color','e9njpBd1nS_LREN8GFpR','440270vPjJxs','TEMPLATE_FOLDER','jjb-common/color','23677470djGKcH','\x5cRejectText\x5cindex.js','common/http','1097331luwzTX','5577710nlzwHV','CLI_DVA_REGISTER_SAAS','jjb-common/tools','\x5cdva\x5cautomatic\x5cregister.js','now','return\x20__planA();','\x5cFileUploader\x5cindex.js','3419214pirTgB','jjb-react-admin-component','\x5cdva\x5cautomatic\x5crouter.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','4902264kyJdNK','tmpdir','27ueoRar','CLI_DVA_REGISTER_PATH','return\x20process.env;','jjb-common/website','http://192.168.1.242:10985','jjb-common/crypto','\x5cRouterContainer\x5cindex.js','CLI_DVA_ROUTER_PATH','\x5cPageHeaderBar\x5cindex.js','jjb-common/http','CLOUD_PROJECT','common/tools','7JCPmiO','CLI_DVA_ROUTER_SPA','\x5c..\x5ccli.dva.register.saas.txt','COMMON_CONTENT_SPA_REPLACE','gPSit8aJsLVmNzuQ5Cy4','\x5cEditor\x5cindex.js','COMPONENTS_CONTENT_REPLACE','\x5cImageCropper\x5cindex.js','G4HJRsHr9D7Ssmixegw2','\x5c..\x5ccli.dva.router.saas.txt','\x5c..\x5ccli.dva.router.spa.txt'];a14_0x5838=function(){return _0x1e367e;};return a14_0x5838();}const a14_0x236288=a14_0x3b70;(function(_0x59fe77,_0x494fee){const _0x274e0c=a14_0x3b70,_0x6e9caa=_0x59fe77();while(!![]){try{const _0x3f050e=parseInt(_0x274e0c(0x17b))/0x1+-parseInt(_0x274e0c(0x175))/0x2+-parseInt(_0x274e0c(0x189))/0x3*(-parseInt(_0x274e0c(0x16f))/0x4)+parseInt(_0x274e0c(0x17c))/0x5+parseInt(_0x274e0c(0x183))/0x6*(parseInt(_0x274e0c(0x195))/0x7)+parseInt(_0x274e0c(0x187))/0x8+-parseInt(_0x274e0c(0x178))/0x9;if(_0x3f050e===_0x494fee)break;else _0x6e9caa['push'](_0x6e9caa['shift']());}catch(_0x9f22da){_0x6e9caa['push'](_0x6e9caa['shift']());}}}(a14_0x5838,0xb4e0d));const os=require('os');exports[a14_0x236288(0x171)]=a14_0x236288(0x18d),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a14_0x236288(0x180)](),exports[a14_0x236288(0x193)]={'common':{'token':a14_0x236288(0x19d),'projectId':0x117},'react-admin-component':{'token':a14_0x236288(0x16c),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a14_0x236288(0x174),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x236288(0x199),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x236288(0x16e),'projectId':0x153}},exports[a14_0x236288(0x176)]=os[a14_0x236288(0x188)]()+'\x5c'+exports['GIT_TEMP_DIR'],exports[a14_0x236288(0x196)]=__dirname+a14_0x236288(0x19f),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a14_0x236288(0x19e),exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports[a14_0x236288(0x17d)]=__dirname+a14_0x236288(0x197),exports[a14_0x236288(0x190)]=a14_0x236288(0x185),exports[a14_0x236288(0x18a)]=a14_0x236288(0x17f),exports['COMMON_CONTENT_NOR_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a14_0x236288(0x184)]]},{'path':a14_0x236288(0x16d),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x236288(0x16a)],['components','jjb-react-admin-component']]}],exports[a14_0x236288(0x198)]=[{'path':a14_0x236288(0x16b),'replace':[[a14_0x236288(0x181),a14_0x236288(0x18b)]]}],exports[a14_0x236288(0x172)]=[{'path':a14_0x236288(0x16b),'replace':[[a14_0x236288(0x181),'return\x20process.env.app;']]}],exports[a14_0x236288(0x19b)]=[{'path':a14_0x236288(0x19a),'replace':[[a14_0x236288(0x17a),a14_0x236288(0x192)],['common/crypto',a14_0x236288(0x18e)],[a14_0x236288(0x194),a14_0x236288(0x17e)]]},{'path':a14_0x236288(0x179),'replace':[['common/color',a14_0x236288(0x177)]]},{'path':a14_0x236288(0x170),'replace':[[a14_0x236288(0x194),a14_0x236288(0x17e)]]},{'path':a14_0x236288(0x182),'replace':[[a14_0x236288(0x17a),a14_0x236288(0x192)],[a14_0x236288(0x194),a14_0x236288(0x17e)]]},{'path':a14_0x236288(0x19c),'replace':[[a14_0x236288(0x17a),a14_0x236288(0x192)],['common/tools',a14_0x236288(0x17e)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a14_0x236288(0x17a),a14_0x236288(0x192)],['common/tools',a14_0x236288(0x17e)]]},{'path':a14_0x236288(0x191),'replace':[[a14_0x236288(0x173),a14_0x236288(0x177)]]},{'path':a14_0x236288(0x18f),'replace':[[a14_0x236288(0x194),a14_0x236288(0x17e)]]},{'path':a14_0x236288(0x186),'replace':[['common/website',a14_0x236288(0x18c)],['common/tools',a14_0x236288(0x17e)]]}];
@@ -1 +1 @@
1
- function a15_0x9a58(_0x57fb2f,_0x3394a9){const _0x35448f=a15_0x3544();return a15_0x9a58=function(_0x9a5888,_0x520a4d){_0x9a5888=_0x9a5888-0x10e;let _0x246e4a=_0x35448f[_0x9a5888];return _0x246e4a;},a15_0x9a58(_0x57fb2f,_0x3394a9);}const a15_0x1fff7b=a15_0x9a58;(function(_0x52e95d,_0x45190b){const _0x3d99fa=a15_0x9a58,_0x22fef3=_0x52e95d();while(!![]){try{const _0x1fbf92=-parseInt(_0x3d99fa(0x125))/0x1+-parseInt(_0x3d99fa(0x144))/0x2*(parseInt(_0x3d99fa(0x136))/0x3)+parseInt(_0x3d99fa(0x124))/0x4*(-parseInt(_0x3d99fa(0x132))/0x5)+parseInt(_0x3d99fa(0x123))/0x6+parseInt(_0x3d99fa(0x14c))/0x7*(-parseInt(_0x3d99fa(0x13c))/0x8)+-parseInt(_0x3d99fa(0x13f))/0x9*(-parseInt(_0x3d99fa(0x119))/0xa)+parseInt(_0x3d99fa(0x12b))/0xb;if(_0x1fbf92===_0x45190b)break;else _0x22fef3['push'](_0x22fef3['shift']());}catch(_0x4adc07){_0x22fef3['push'](_0x22fef3['shift']());}}}(a15_0x3544,0x8c23b));function a15_0x3544(){const _0x1b2b24=['22751839jChHIN','exports','_zip','path','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','request','493645GvoxaW','setting.json','export\x20{\x20default\x20as\x20','includes','649569eXuawj','【Error】:安装失败,node_modules目录不存在。','installTarget','projectType','installResources','importList','624bGAosJ','spa','resolve','9jfawXg','createWriteStream','multi','writeFileSync','./config','4oJtuqS','forEach','replace','filter','name','node_modules','package.json','join','99246LjDHGK','rmdirSync','readdirSync','pipe','index.js','compressing','mkdirSync','./tools','map','toString','\x5cdva\x5cautomatic','log','push','.idea','\x20}\x20from\x20\x27./','close','readFileSync','src','【Error】:安装失败,src目录不存在。','10419230pIxuuE','zip','react-admin-component','now','.gitignore','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','existsSync','micro-spa','pure_name','compress','1968126oAuzGp','12yCSEoc','1029165AkzXbN','exit','src\x5c','1.0.0','length','repository'];a15_0x3544=function(){return _0x1b2b24;};return a15_0x3544();}const fs=require('fs'),path=require(a15_0x1fff7b(0x12e)),request=require(a15_0x1fff7b(0x131)),compressing=require(a15_0x1fff7b(0x151)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0x1fff7b(0x153)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0x1fff7b(0x143)),start_time=Date[a15_0x1fff7b(0x11c)]();module[a15_0x1fff7b(0x12c)]=()=>{const _0x2b11d5=a15_0x1fff7b,_0x5db23c=path[_0x2b11d5(0x13e)]('./'),_0xad170a=[_0x5db23c,_0x2b11d5(0x127)]['join']('\x5c'),_0x2354e1=[_0x5db23c,'node_modules']['join']('\x5c'),_0x2603b1=[_0x5db23c,_0x2b11d5(0x14a)]['join']('\x5c');if(f_scan_jjb_config_json(_0x5db23c)){const _0x415c99=f_scan_jjb_config_json_rules(_0x5db23c);_0x415c99[_0x2b11d5(0x138)]===_0x2b11d5(0x149)?!fs[_0x2b11d5(0x11f)](_0x2354e1)?(console[_0x2b11d5(0x111)](_0x2b11d5(0x137)),process[_0x2b11d5(0x126)](0x0)):console[_0x2b11d5(0x111)](_0x2b11d5(0x12f)):!fs[_0x2b11d5(0x11f)](_0xad170a)&&(console[_0x2b11d5(0x111)](_0x2b11d5(0x118)),process[_0x2b11d5(0x126)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x415c99['installResources'])[_0x2b11d5(0x10e)](_0x133b08=>{const _0x1a723f=_0x2b11d5,_0x2b2fb0=fs[_0x1a723f(0x140)](_0x133b08[_0x1a723f(0x12e)]);request(_0x133b08[_0x1a723f(0x12a)])[_0x1a723f(0x14f)](_0x2b2fb0)['on'](_0x1a723f(0x115),()=>{const _0x4a8f6b=_0x1a723f;fs[_0x4a8f6b(0x152)](_0x133b08[_0x4a8f6b(0x122)]),compressing[_0x4a8f6b(0x11a)]['uncompress'](_0x133b08[_0x4a8f6b(0x12e)],_0x133b08[_0x4a8f6b(0x122)]);});});const _0x56198b=setInterval(()=>{const _0xd7919a=_0x2b11d5,_0x4f3db9=fs[_0xd7919a(0x14e)](TEMPLATE_FOLDER),_0x494cd3=_0x4f3db9['filter'](_0x2b0bef=>_0x415c99[_0xd7919a(0x13a)][_0xd7919a(0x10e)](_0x49f9d8=>_0x49f9d8[_0xd7919a(0x148)]+_0xd7919a(0x12d))[_0xd7919a(0x135)](_0x2b0bef));if(_0x494cd3[_0xd7919a(0x129)]===_0x415c99[_0xd7919a(0x13a)][_0xd7919a(0x129)]){clearInterval(_0x56198b);const _0xe61b40=[];_0x494cd3[_0xd7919a(0x145)](_0xdd17f1=>{const _0x900a2c=_0xd7919a,_0x8f1df5=[TEMPLATE_FOLDER,_0xdd17f1][_0x900a2c(0x14b)]('\x5c');fs['readdirSync'](_0x8f1df5)[_0x900a2c(0x145)](_0xeaaa3d=>_0xe61b40['push']({'name':_0xdd17f1,'path':[_0x8f1df5,_0xeaaa3d][_0x900a2c(0x14b)]('\x5c'),'pure_name':_0xdd17f1[_0x900a2c(0x146)](/_zip$/,''),'import_list':_0x415c99[_0x900a2c(0x13a)]['find'](_0x19e35a=>_0x19e35a[_0x900a2c(0x148)]+_0x900a2c(0x12d)===_0xdd17f1)[_0x900a2c(0x13b)]}));}),_0xe61b40['forEach'](_0x12d509=>{const _0x359fd0=_0xd7919a,_0x3f4996=_0x12d509[_0x359fd0(0x121)],_0x4d57a7=_0x12d509['import_list'],_0x55a080=[_0x12d509['path'],_0x359fd0(0x113)][_0x359fd0(0x14b)]('//'),_0x52d8d7=[_0x12d509[_0x359fd0(0x12e)],_0x359fd0(0x11d)][_0x359fd0(0x14b)]('//');fs['existsSync'](_0x55a080)&&(f_rm_rf(_0x55a080),fs['rmdirSync'](_0x55a080));fs[_0x359fd0(0x11f)](_0x52d8d7)&&fs['unlinkSync'](_0x52d8d7);if(_0x4d57a7[_0x359fd0(0x129)]){fs[_0x359fd0(0x14e)](_0x12d509[_0x359fd0(0x12e)])[_0x359fd0(0x147)](_0x1de7cd=>!_0x4d57a7[_0x359fd0(0x135)](_0x1de7cd)&&_0x1de7cd!==_0x359fd0(0x150)&&_0x1de7cd!==_0x359fd0(0x133))[_0x359fd0(0x145)](_0x17dc69=>{const _0x5cdd07=_0x12d509['path']+'\x5c'+_0x17dc69;f_rm_rf(_0x5cdd07),fs['rmdirSync'](_0x5cdd07);});if(_0x3f4996===_0x359fd0(0x11b)){const _0x585d8c=[];fs[_0x359fd0(0x14e)](_0x12d509[_0x359fd0(0x12e)])[_0x359fd0(0x147)](_0xab3d7a=>_0xab3d7a!==_0x359fd0(0x150))[_0x359fd0(0x145)](_0x1ab1d2=>{const _0x2d0ccc=_0x359fd0;_0x1ab1d2==='RouterContainer'?_0x585d8c[_0x2d0ccc(0x112)](_0x2d0ccc(0x130)):_0x585d8c[_0x2d0ccc(0x112)](_0x2d0ccc(0x134)+_0x1ab1d2+_0x2d0ccc(0x114)+_0x1ab1d2+'\x27;');}),fs[_0x359fd0(0x142)](_0x12d509['path']+'\x5cindex.js',_0x585d8c[_0x359fd0(0x14b)]('\x0a'));}}if(_0x3f4996==='jjb-common'){const _0x18ac47=[_0x12d509[_0x359fd0(0x12e)],_0x359fd0(0x110)][_0x359fd0(0x14b)]('\x5c');if([_0x359fd0(0x13d),_0x359fd0(0x120)][_0x359fd0(0x135)](_0x415c99['projectType']))fs[_0x359fd0(0x11f)](_0x18ac47)&&(f_content_replace(_0x415c99['projectType']===_0x359fd0(0x13d)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x12d509[_0x359fd0(0x12e)]),fs[_0x359fd0(0x142)](_0x12d509[_0x359fd0(0x12e)]+CLI_DVA_ROUTER_PATH,fs[_0x359fd0(0x116)](_0x415c99['projectType']===_0x359fd0(0x13d)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x359fd0(0x10f)]()),fs['writeFileSync'](_0x12d509[_0x359fd0(0x12e)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x415c99[_0x359fd0(0x139)]===_0x359fd0(0x13d)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x359fd0(0x10f)]()));else _0x415c99['projectType']===_0x359fd0(0x141)&&(fs[_0x359fd0(0x11f)](_0x18ac47)&&(f_rm_rf(_0x18ac47),fs[_0x359fd0(0x14d)](_0x18ac47)));}else{if(_0x3f4996===_0x359fd0(0x11b))_0x415c99[_0x359fd0(0x139)]===_0x359fd0(0x120)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x12d509[_0x359fd0(0x12e)]);else{if(_0x3f4996==='vue-unisass-component'){}}}if(_0x415c99[_0x359fd0(0x138)]===_0x359fd0(0x149)){const _0x2e3ba7=_0x3f4996;fs[_0x359fd0(0x11f)](_0x2354e1+'\x5c'+_0x2e3ba7)?f_rm_rf(_0x2354e1+'\x5c'+_0x2e3ba7):fs[_0x359fd0(0x152)](_0x2354e1+'\x5c'+_0x2e3ba7),f_file_copy(_0x12d509[_0x359fd0(0x12e)],_0x2354e1+'\x5c'+_0x2e3ba7),f_create_package_json(_0x2354e1+'\x5c'+_0x2e3ba7,_0x2e3ba7,_0x359fd0(0x128)),f_update_project_package_json(_0x2603b1,_0x2e3ba7,_0x359fd0(0x128));}else{if(_0x415c99[_0x359fd0(0x138)]===_0x359fd0(0x117)){const _0xc23891=_0x359fd0(0x11b);fs[_0x359fd0(0x11f)](_0xad170a+_0xc23891)?f_rm_rf(_0xad170a+_0xc23891):fs[_0x359fd0(0x152)](_0xad170a+_0xc23891),f_file_copy(_0x12d509[_0x359fd0(0x12e)],_0xad170a+_0xc23891);}}}),setTimeout(()=>{const _0x2b3216=_0xd7919a;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2b3216(0x14d)](TEMPLATE_FOLDER);const _0x53b1f4=Date[_0x2b3216(0x11c)]();console[_0x2b3216(0x111)]('【jjb-cmd】:install命令执行完成,用时'+(_0x53b1f4-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x2b11d5(0x111)](_0x2b11d5(0x11e));};
1
+ const a15_0x44847c=a15_0x10ae;(function(_0x573206,_0x9de8a){const _0x114b9f=a15_0x10ae,_0x278b87=_0x573206();while(!![]){try{const _0x2385c0=parseInt(_0x114b9f(0x1b4))/0x1*(-parseInt(_0x114b9f(0x18a))/0x2)+-parseInt(_0x114b9f(0x1ac))/0x3*(-parseInt(_0x114b9f(0x195))/0x4)+parseInt(_0x114b9f(0x198))/0x5+parseInt(_0x114b9f(0x1bc))/0x6*(-parseInt(_0x114b9f(0x1b8))/0x7)+parseInt(_0x114b9f(0x186))/0x8*(parseInt(_0x114b9f(0x17a))/0x9)+parseInt(_0x114b9f(0x177))/0xa*(parseInt(_0x114b9f(0x1bd))/0xb)+-parseInt(_0x114b9f(0x191))/0xc;if(_0x2385c0===_0x9de8a)break;else _0x278b87['push'](_0x278b87['shift']());}catch(_0x5a805f){_0x278b87['push'](_0x278b87['shift']());}}}(a15_0xa4e3,0xcd1f7));function a15_0xa4e3(){const _0x27380e=['5667780vGOUOk','readFileSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','length','648PDqpAJ','index.js','writeFileSync','1153125jGPMhx','_zip','package.json','log','existsSync','RouterContainer','\x5cdva\x5cautomatic','pure_name','.idea','repository','toString','importList','path','map','【Error】:安装失败,node_modules目录不存在。','vue-unisass-component','multi','forEach','【Error】:安装失败,src目录不存在。','exit','23445XqQgpY','\x20}\x20from\x20\x27./','export\x20{\x20default\x20as\x20','createWriteStream','replace','join','./tools','zip','90928jvWwZt','installResources','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','request','11721311mAEWoN','exports','react-admin-component','mkdirSync','6eHIOFh','14195874dbUARb','installTarget','spa','jjb-common','includes','10uHWGRh','push','name','18MYuicb','uncompress','node_modules','close','projectType','unlinkSync','setting.json','\x5cindex.js','compress','now','readdirSync','filter','1526552DEiYMa','compressing','pipe','rmdirSync','4DZpExB','1.0.0','import_list','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','micro-spa','resolve','src\x5c'];a15_0xa4e3=function(){return _0x27380e;};return a15_0xa4e3();}const fs=require('fs'),path=require(a15_0x44847c(0x1a4)),request=require(a15_0x44847c(0x1b7)),compressing=require(a15_0x44847c(0x187)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0x44847c(0x1b2)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date['now']();function a15_0x10ae(_0x23e078,_0x58fec0){const _0xa4e3a=a15_0xa4e3();return a15_0x10ae=function(_0x10ae47,_0x384c08){_0x10ae47=_0x10ae47-0x173;let _0x441dd7=_0xa4e3a[_0x10ae47];return _0x441dd7;},a15_0x10ae(_0x23e078,_0x58fec0);}module[a15_0x44847c(0x1b9)]=()=>{const _0x1b8016=a15_0x44847c,_0x5a2e61=path[_0x1b8016(0x18f)]('./'),_0x3b1c0a=[_0x5a2e61,_0x1b8016(0x190)][_0x1b8016(0x1b1)]('\x5c'),_0x3d1aca=[_0x5a2e61,'node_modules'][_0x1b8016(0x1b1)]('\x5c'),_0x2edc01=[_0x5a2e61,_0x1b8016(0x19a)][_0x1b8016(0x1b1)]('\x5c');if(f_scan_jjb_config_json(_0x5a2e61)){const _0x27e8fc=f_scan_jjb_config_json_rules(_0x5a2e61);_0x27e8fc[_0x1b8016(0x173)]===_0x1b8016(0x17c)?!fs['existsSync'](_0x3d1aca)?(console[_0x1b8016(0x19b)](_0x1b8016(0x1a6)),process[_0x1b8016(0x1ab)](0x0)):console[_0x1b8016(0x19b)](_0x1b8016(0x193)):!fs[_0x1b8016(0x19c)](_0x3b1c0a)&&(console[_0x1b8016(0x19b)](_0x1b8016(0x1aa)),process[_0x1b8016(0x1ab)](0x0));fs[_0x1b8016(0x1bb)](TEMPLATE_FOLDER),f_pull_git_repository(_0x27e8fc[_0x1b8016(0x1b5)])['map'](_0x41c34=>{const _0x22c2a5=_0x1b8016,_0xf3e917=fs[_0x22c2a5(0x1af)](_0x41c34[_0x22c2a5(0x1a4)]);request(_0x41c34[_0x22c2a5(0x1a1)])[_0x22c2a5(0x188)](_0xf3e917)['on'](_0x22c2a5(0x17d),()=>{const _0x34f68f=_0x22c2a5;fs['mkdirSync'](_0x41c34[_0x34f68f(0x182)]),compressing[_0x34f68f(0x1b3)][_0x34f68f(0x17b)](_0x41c34['path'],_0x41c34['compress']);});});const _0x163b47=setInterval(()=>{const _0x3e9982=_0x1b8016,_0x4eec46=fs[_0x3e9982(0x184)](TEMPLATE_FOLDER),_0x35385d=_0x4eec46[_0x3e9982(0x185)](_0x2c66d8=>_0x27e8fc[_0x3e9982(0x1b5)][_0x3e9982(0x1a5)](_0x567f35=>_0x567f35['name']+_0x3e9982(0x199))['includes'](_0x2c66d8));if(_0x35385d[_0x3e9982(0x194)]===_0x27e8fc[_0x3e9982(0x1b5)][_0x3e9982(0x194)]){clearInterval(_0x163b47);const _0x29fb8d=[];_0x35385d[_0x3e9982(0x1a9)](_0x3ef09a=>{const _0x4217ad=_0x3e9982,_0x24cfb9=[TEMPLATE_FOLDER,_0x3ef09a][_0x4217ad(0x1b1)]('\x5c');fs[_0x4217ad(0x184)](_0x24cfb9)[_0x4217ad(0x1a9)](_0x50bec4=>_0x29fb8d[_0x4217ad(0x178)]({'name':_0x3ef09a,'path':[_0x24cfb9,_0x50bec4][_0x4217ad(0x1b1)]('\x5c'),'pure_name':_0x3ef09a[_0x4217ad(0x1b0)](/_zip$/,''),'import_list':_0x27e8fc['installResources']['find'](_0x1c7079=>_0x1c7079[_0x4217ad(0x179)]+_0x4217ad(0x199)===_0x3ef09a)[_0x4217ad(0x1a3)]}));}),_0x29fb8d[_0x3e9982(0x1a9)](_0x49a4e5=>{const _0x2dede6=_0x3e9982,_0x45808d=_0x49a4e5[_0x2dede6(0x19f)],_0x38a550=_0x49a4e5[_0x2dede6(0x18c)],_0x69834a=[_0x49a4e5[_0x2dede6(0x1a4)],_0x2dede6(0x1a0)][_0x2dede6(0x1b1)]('//'),_0x5db427=[_0x49a4e5[_0x2dede6(0x1a4)],'.gitignore']['join']('//');fs[_0x2dede6(0x19c)](_0x69834a)&&(f_rm_rf(_0x69834a),fs[_0x2dede6(0x189)](_0x69834a));fs['existsSync'](_0x5db427)&&fs[_0x2dede6(0x17f)](_0x5db427);if(_0x38a550['length']){fs[_0x2dede6(0x184)](_0x49a4e5[_0x2dede6(0x1a4)])[_0x2dede6(0x185)](_0x20df09=>!_0x38a550['includes'](_0x20df09)&&_0x20df09!==_0x2dede6(0x196)&&_0x20df09!==_0x2dede6(0x180))['forEach'](_0x5a5ba3=>{const _0x5398dd=_0x2dede6,_0x236ad2=_0x49a4e5['path']+'\x5c'+_0x5a5ba3;f_rm_rf(_0x236ad2),fs[_0x5398dd(0x189)](_0x236ad2);});if(_0x45808d===_0x2dede6(0x1ba)){const _0x3d0f40=[];fs[_0x2dede6(0x184)](_0x49a4e5[_0x2dede6(0x1a4)])[_0x2dede6(0x185)](_0x8ddb85=>_0x8ddb85!=='index.js')[_0x2dede6(0x1a9)](_0x1a4deb=>{const _0x2d1126=_0x2dede6;_0x1a4deb===_0x2d1126(0x19d)?_0x3d0f40['push'](_0x2d1126(0x18d)):_0x3d0f40[_0x2d1126(0x178)](_0x2d1126(0x1ae)+_0x1a4deb+_0x2d1126(0x1ad)+_0x1a4deb+'\x27;');}),fs[_0x2dede6(0x197)](_0x49a4e5[_0x2dede6(0x1a4)]+_0x2dede6(0x181),_0x3d0f40[_0x2dede6(0x1b1)]('\x0a'));}}if(_0x45808d===_0x2dede6(0x175)){const _0x32de97=[_0x49a4e5[_0x2dede6(0x1a4)],_0x2dede6(0x19e)]['join']('\x5c');if(['spa',_0x2dede6(0x18e)][_0x2dede6(0x176)](_0x27e8fc[_0x2dede6(0x17e)]))fs['existsSync'](_0x32de97)&&(f_content_replace(_0x27e8fc['projectType']===_0x2dede6(0x174)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x49a4e5[_0x2dede6(0x1a4)]),fs[_0x2dede6(0x197)](_0x49a4e5[_0x2dede6(0x1a4)]+CLI_DVA_ROUTER_PATH,fs[_0x2dede6(0x192)](_0x27e8fc['projectType']===_0x2dede6(0x174)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x2dede6(0x1a2)]()),fs[_0x2dede6(0x197)](_0x49a4e5[_0x2dede6(0x1a4)]+CLI_DVA_REGISTER_PATH,fs[_0x2dede6(0x192)](_0x27e8fc[_0x2dede6(0x17e)]===_0x2dede6(0x174)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x27e8fc[_0x2dede6(0x17e)]===_0x2dede6(0x1a8)&&(fs[_0x2dede6(0x19c)](_0x32de97)&&(f_rm_rf(_0x32de97),fs[_0x2dede6(0x189)](_0x32de97)));}else{if(_0x45808d===_0x2dede6(0x1ba))_0x27e8fc[_0x2dede6(0x17e)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x49a4e5[_0x2dede6(0x1a4)]);else{if(_0x45808d===_0x2dede6(0x1a7)){}}}if(_0x27e8fc['installTarget']===_0x2dede6(0x17c)){const _0x4c8617=_0x45808d;fs['existsSync'](_0x3d1aca+'\x5c'+_0x4c8617)?f_rm_rf(_0x3d1aca+'\x5c'+_0x4c8617):fs['mkdirSync'](_0x3d1aca+'\x5c'+_0x4c8617),f_file_copy(_0x49a4e5[_0x2dede6(0x1a4)],_0x3d1aca+'\x5c'+_0x4c8617),f_create_package_json(_0x3d1aca+'\x5c'+_0x4c8617,_0x4c8617,_0x2dede6(0x18b)),f_update_project_package_json(_0x2edc01,_0x4c8617,_0x2dede6(0x18b));}else{if(_0x27e8fc[_0x2dede6(0x173)]==='src'){const _0x344a5a='react-admin-component';fs[_0x2dede6(0x19c)](_0x3b1c0a+_0x344a5a)?f_rm_rf(_0x3b1c0a+_0x344a5a):fs['mkdirSync'](_0x3b1c0a+_0x344a5a),f_file_copy(_0x49a4e5[_0x2dede6(0x1a4)],_0x3b1c0a+_0x344a5a);}}}),setTimeout(()=>{const _0x2189b3=_0x3e9982;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2189b3(0x189)](TEMPLATE_FOLDER);const _0x767fa8=Date[_0x2189b3(0x183)]();console[_0x2189b3(0x19b)]('【jjb-cmd】:install命令执行完成,用时'+(_0x767fa8-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x1b8016(0x19b)](_0x1b8016(0x1b6));};
@@ -1 +1 @@
1
- const a16_0x1160dc=a16_0x28cc;function a16_0x131a(){const _0x2dde3f=['writeFileSync','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','uniapp','log','readdirSync','_zip','/api/v4/projects/','43WainMR','1206dIKfLZ','.zip','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','f_file_copy','installResources','f_rm_rf','6502968SckUxv','includes','f_scan_jjb_config_json','jjb-common-decorator','rmdirSync','spa','map','stringify','f_create_package_json','dependencies','【Error】:[jjb.config.json.projectType]类型是一个string。','14FHVuLG','jjb-common-lib','f_pull_git_repository','toString','name','【Error】:[jjb.config.json.installTarget]类型是一个string。','9cVyJEs','11370bYvCcJ','\x22,\x22version\x22:\x22','filter','length','unlinkSync','\x5cjjb.config.json','statSync','/repository/archive.zip?private_token=','6890299CRzHAk','f_update_project_package_json','isArray','2929077ukvYRr','micro-spa','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','tmpdir','{\x22name\x22:\x22','60SwEcZj','【Error】:[jjb.config.json.installResources]无资源。','./config','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','\x5cpackage.json','parse','path','token','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','projectId','push','readFileSync','node_modules','replace','20834rUhOFX','exit','5206960kUsjTH','10XbSvau','forEach','multi','&ref=master','mkdirSync','react-admin-component','src','installTarget','32588jqWHOW','existsSync','f_resolve_install_resources','projectType','string','jjb-common','vue-unisass-component'];a16_0x131a=function(){return _0x2dde3f;};return a16_0x131a();}(function(_0x459b55,_0x26b2d9){const _0x2f4612=a16_0x28cc,_0x465fb0=_0x459b55();while(!![]){try{const _0x3edf91=parseInt(_0x2f4612(0x143))/0x1*(-parseInt(_0x2f4612(0x12a))/0x2)+parseInt(_0x2f4612(0x10a))/0x3*(-parseInt(_0x2f4612(0x135))/0x4)+-parseInt(_0x2f4612(0x10b))/0x5*(-parseInt(_0x2f4612(0x144))/0x6)+parseInt(_0x2f4612(0x104))/0x7*(-parseInt(_0x2f4612(0xf9))/0x8)+-parseInt(_0x2f4612(0x116))/0x9*(-parseInt(_0x2f4612(0x12d))/0xa)+-parseInt(_0x2f4612(0x12c))/0xb+parseInt(_0x2f4612(0x11b))/0xc*(parseInt(_0x2f4612(0x113))/0xd);if(_0x3edf91===_0x26b2d9)break;else _0x465fb0['push'](_0x465fb0['shift']());}catch(_0x19ca7f){_0x465fb0['push'](_0x465fb0['shift']());}}}(a16_0x131a,0xd23f0));function a16_0x28cc(_0x212478,_0x1997d9){const _0x131acc=a16_0x131a();return a16_0x28cc=function(_0x28cc58,_0x6570f4){_0x28cc58=_0x28cc58-0xf8;let _0x5dd437=_0x131acc[_0x28cc58];return _0x5dd437;},a16_0x28cc(_0x212478,_0x1997d9);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x1160dc(0x11d));exports['f_rm_rf']=function(_0x411f13){const _0x1960ce=a16_0x1160dc;if(fs[_0x1960ce(0x136)](_0x411f13)){const _0x464e39=fs['readdirSync'](_0x411f13);for(let _0x333bd4=0x0;_0x333bd4<_0x464e39['length'];_0x333bd4++){const _0x2f86a2=_0x464e39[_0x333bd4],_0x1bedad=_0x411f13+'/'+_0x2f86a2;fs['statSync'](_0x1bedad)['isDirectory']()?(exports[_0x1960ce(0xf8)](_0x1bedad),fs[_0x1960ce(0xfd)](_0x1bedad)):fs[_0x1960ce(0x10f)](_0x1bedad);}}},exports[a16_0x1160dc(0x106)]=function(_0x182951=[]){const _0xd2ca95=a16_0x1160dc;return _0x182951[_0xd2ca95(0xff)](_0x5b5d9f=>{const _0x31f0bd=_0xd2ca95,_0x49a94d=CLOUD_PROJECT[_0x5b5d9f[_0x31f0bd(0x108)]]||undefined,_0x394931=os[_0x31f0bd(0x119)]();return{'path':_0x394931+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5b5d9f[_0x31f0bd(0x108)]+_0x31f0bd(0x145),'compress':_0x394931+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5b5d9f[_0x31f0bd(0x108)]+_0x31f0bd(0x141),'repository':GIT_HOST+_0x31f0bd(0x142)+_0x49a94d[_0x31f0bd(0x125)]+_0x31f0bd(0x112)+_0x49a94d[_0x31f0bd(0x122)]+_0x31f0bd(0x130)};});},exports[a16_0x1160dc(0xfb)]=function(_0x89ff66){const _0x2af603=a16_0x1160dc;return fs[_0x2af603(0x136)](_0x89ff66+_0x2af603(0x110));},exports['f_scan_jjb_config_json_rules']=function(_0xabde88){const _0x131b50=a16_0x1160dc;let _0x281fa8={};try{_0x281fa8=JSON[_0x131b50(0x120)](fs[_0x131b50(0x127)](_0xabde88+_0x131b50(0x110))[_0x131b50(0x107)]());}catch(_0x198c6a){console['log'](_0x131b50(0x13d)),process[_0x131b50(0x12b)](0x0);}!(_0x131b50(0x138)in _0x281fa8)&&(console[_0x131b50(0x13f)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x131b50(0x12b)](0x0));!('installTarget'in _0x281fa8)&&(console[_0x131b50(0x13f)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process['exit'](0x0));!(_0x131b50(0x148)in _0x281fa8)&&(console[_0x131b50(0x13f)](_0x131b50(0x118)),process[_0x131b50(0x12b)](0x0));typeof _0x281fa8[_0x131b50(0x138)]!==_0x131b50(0x139)&&(console[_0x131b50(0x13f)](_0x131b50(0x103)),process[_0x131b50(0x12b)](0x0));![_0x131b50(0x12f),_0x131b50(0xfe),_0x131b50(0x13e),_0x131b50(0x117)][_0x131b50(0xfa)](_0x281fa8[_0x131b50(0x138)])&&(console[_0x131b50(0x13f)](_0x131b50(0x123)),process[_0x131b50(0x12b)](0x0));typeof _0x281fa8[_0x131b50(0x134)]!==_0x131b50(0x139)&&(console[_0x131b50(0x13f)](_0x131b50(0x109)),process[_0x131b50(0x12b)](0x0));![_0x131b50(0x128),_0x131b50(0x133)][_0x131b50(0xfa)](_0x281fa8[_0x131b50(0x134)])&&(console['log'](_0x131b50(0x11e)),process['exit'](0x0));!Array[_0x131b50(0x115)](_0x281fa8['installResources'])&&(console[_0x131b50(0x13f)](_0x131b50(0x124)),process[_0x131b50(0x12b)](0x0));_0x281fa8['installResources'][_0x131b50(0x10e)]===0x0&&(console[_0x131b50(0x13f)](_0x131b50(0x11c)),process[_0x131b50(0x12b)](0x0));const _0x1618d6=exports['f_resolve_install_resources'](_0x281fa8[_0x131b50(0x148)]);return _0x1618d6['map'](_0x8c9db4=>_0x8c9db4[_0x131b50(0x108)])[_0x131b50(0x10d)](_0x44814a=>![_0x131b50(0x13a),'jjb-dva-runtime',_0x131b50(0x105),_0x131b50(0xfc),_0x131b50(0x132),_0x131b50(0x13b)]['includes'](_0x44814a))[_0x131b50(0x10e)]!==0x0&&(console[_0x131b50(0x13f)](_0x131b50(0x146)),process[_0x131b50(0x12b)](0x0)),_0x281fa8['installResources']=_0x1618d6,_0x281fa8;},exports[a16_0x1160dc(0x101)]=function(_0x25a8f3,_0x3a8fb1,_0x2fc61b){const _0xc2418d=a16_0x1160dc;fs['writeFileSync'](_0x25a8f3+_0xc2418d(0x11f),_0xc2418d(0x11a)+_0x3a8fb1+_0xc2418d(0x10c)+_0x2fc61b+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a16_0x1160dc(0x137)]=function(_0x5f06c4=[]){const _0x3367c0=a16_0x1160dc,_0x3c9874=[];return Array[_0x3367c0(0x115)](_0x5f06c4)&&_0x5f06c4[_0x3367c0(0x12e)](_0x52a13e=>{const _0x112539=_0x3367c0;if(Array['isArray'](_0x52a13e)){const [_0x5ec4ef,_0xad4ca0=[]]=_0x52a13e;_0x3c9874[_0x112539(0x126)]({'name':_0x5ec4ef,'importList':_0xad4ca0});}else _0x3c9874[_0x112539(0x126)]({'name':_0x52a13e,'importList':[]});}),_0x3c9874;},exports[a16_0x1160dc(0x114)]=function(_0x10c085,_0x96e51e,_0x4cc903){const _0x446176=a16_0x1160dc,_0xaed5bc=JSON[_0x446176(0x120)](fs['readFileSync'](_0x10c085)[_0x446176(0x107)]());_0xaed5bc[_0x446176(0x102)][_0x96e51e]=_0x4cc903,fs['writeFileSync'](_0x10c085,JSON[_0x446176(0x100)](_0xaed5bc,null,0x2));},exports[a16_0x1160dc(0x147)]=function(_0xf0b9db,_0x3f84a4){const _0x23471b=a16_0x1160dc;fs[_0x23471b(0x140)](_0xf0b9db)[_0x23471b(0x12e)](_0x5cb7b8=>{const _0x9d2240=_0x23471b,_0x1f3118=_0xf0b9db+'\x5c'+_0x5cb7b8,_0x33e715=_0x3f84a4+'\x5c'+_0x5cb7b8;fs[_0x9d2240(0x111)](_0x1f3118)['isDirectory']()?(fs[_0x9d2240(0x131)](_0x33e715),exports[_0x9d2240(0x147)](_0x1f3118,_0x33e715)):fs[_0x9d2240(0x13c)](_0x33e715,fs[_0x9d2240(0x127)](_0x1f3118)[_0x9d2240(0x107)]());});},exports['f_content_replace']=function(_0x73de8f=[],_0x105bf1){const _0x318cdd=a16_0x1160dc;_0x73de8f[_0x318cdd(0x12e)](_0x2d772f=>{const _0xd03654=_0x318cdd,_0x1cde22=_0x105bf1+_0x2d772f[_0xd03654(0x121)];if(fs[_0xd03654(0x136)](_0x1cde22)){let _0x72a598=fs[_0xd03654(0x127)](_0x1cde22)[_0xd03654(0x107)]();_0x2d772f[_0xd03654(0x129)]['forEach'](_0x2a2cb0=>{const _0x24f16d=_0xd03654;_0x72a598=_0x72a598[_0x24f16d(0x129)](_0x2a2cb0[0x0],_0x2a2cb0[0x1]);}),fs[_0xd03654(0x13c)](_0x1cde22,_0x72a598);}});};
1
+ const a16_0x37dd1b=a16_0x4d4c;function a16_0x4d4c(_0x4a7eb1,_0xe758d8){const _0x32c2a5=a16_0x32c2();return a16_0x4d4c=function(_0x4d4c18,_0x3a7083){_0x4d4c18=_0x4d4c18-0x14b;let _0x3cc6fc=_0x32c2a5[_0x4d4c18];return _0x3cc6fc;},a16_0x4d4c(_0x4a7eb1,_0xe758d8);}(function(_0x5cd730,_0x38495f){const _0x20b884=a16_0x4d4c,_0x1d88b7=_0x5cd730();while(!![]){try{const _0x258993=-parseInt(_0x20b884(0x151))/0x1+-parseInt(_0x20b884(0x157))/0x2+parseInt(_0x20b884(0x197))/0x3*(parseInt(_0x20b884(0x18e))/0x4)+parseInt(_0x20b884(0x190))/0x5+-parseInt(_0x20b884(0x164))/0x6*(-parseInt(_0x20b884(0x160))/0x7)+-parseInt(_0x20b884(0x18c))/0x8*(-parseInt(_0x20b884(0x178))/0x9)+-parseInt(_0x20b884(0x183))/0xa*(parseInt(_0x20b884(0x14e))/0xb);if(_0x258993===_0x38495f)break;else _0x1d88b7['push'](_0x1d88b7['shift']());}catch(_0x5732cc){_0x1d88b7['push'](_0x1d88b7['shift']());}}}(a16_0x32c2,0xe8a75));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x37dd1b(0x14d));exports[a16_0x37dd1b(0x158)]=function(_0x124e26){const _0x252618=a16_0x37dd1b;if(fs[_0x252618(0x15e)](_0x124e26)){const _0x102e70=fs[_0x252618(0x16f)](_0x124e26);for(let _0x5ea0cf=0x0;_0x5ea0cf<_0x102e70[_0x252618(0x182)];_0x5ea0cf++){const _0x2e494e=_0x102e70[_0x5ea0cf],_0xaafcf3=_0x124e26+'/'+_0x2e494e;fs[_0x252618(0x15f)](_0xaafcf3)[_0x252618(0x169)]()?(exports[_0x252618(0x158)](_0xaafcf3),fs[_0x252618(0x185)](_0xaafcf3)):fs[_0x252618(0x18b)](_0xaafcf3);}}},exports[a16_0x37dd1b(0x18d)]=function(_0x40f3b4=[]){const _0x844038=a16_0x37dd1b;return _0x40f3b4[_0x844038(0x194)](_0x1b0757=>{const _0x433bc5=_0x844038,_0x202783=CLOUD_PROJECT[_0x1b0757[_0x433bc5(0x173)]]||undefined,_0x2ef3e4=os[_0x433bc5(0x166)]();return{'path':_0x2ef3e4+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1b0757['name']+_0x433bc5(0x16a),'compress':_0x2ef3e4+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1b0757[_0x433bc5(0x173)]+_0x433bc5(0x170),'repository':GIT_HOST+_0x433bc5(0x162)+_0x202783['projectId']+_0x433bc5(0x189)+_0x202783[_0x433bc5(0x163)]+_0x433bc5(0x172)};});},exports[a16_0x37dd1b(0x17b)]=function(_0x2111b2){return fs['existsSync'](_0x2111b2+'\x5cjjb.config.json');},exports[a16_0x37dd1b(0x188)]=function(_0x50561f){const _0x59a066=a16_0x37dd1b;let _0x2cab37={};try{_0x2cab37=JSON[_0x59a066(0x159)](fs[_0x59a066(0x17f)](_0x50561f+_0x59a066(0x177))[_0x59a066(0x192)]());}catch(_0x2e9139){console[_0x59a066(0x15d)](_0x59a066(0x181)),process[_0x59a066(0x168)](0x0);}!(_0x59a066(0x17a)in _0x2cab37)&&(console[_0x59a066(0x15d)](_0x59a066(0x15c)),process[_0x59a066(0x168)](0x0));!(_0x59a066(0x14f)in _0x2cab37)&&(console[_0x59a066(0x15d)](_0x59a066(0x193)),process[_0x59a066(0x168)](0x0));!(_0x59a066(0x16e)in _0x2cab37)&&(console[_0x59a066(0x15d)](_0x59a066(0x18a)),process[_0x59a066(0x168)](0x0));typeof _0x2cab37['projectType']!==_0x59a066(0x196)&&(console['log'](_0x59a066(0x152)),process[_0x59a066(0x168)](0x0));![_0x59a066(0x153),_0x59a066(0x161),_0x59a066(0x179),_0x59a066(0x187)][_0x59a066(0x18f)](_0x2cab37[_0x59a066(0x17a)])&&(console[_0x59a066(0x15d)](_0x59a066(0x195)),process['exit'](0x0));typeof _0x2cab37[_0x59a066(0x14f)]!==_0x59a066(0x196)&&(console[_0x59a066(0x15d)](_0x59a066(0x186)),process['exit'](0x0));!['node_modules','src'][_0x59a066(0x18f)](_0x2cab37[_0x59a066(0x14f)])&&(console['log'](_0x59a066(0x150)),process[_0x59a066(0x168)](0x0));!Array[_0x59a066(0x16d)](_0x2cab37[_0x59a066(0x16e)])&&(console['log'](_0x59a066(0x176)),process[_0x59a066(0x168)](0x0));_0x2cab37['installResources'][_0x59a066(0x182)]===0x0&&(console[_0x59a066(0x15d)](_0x59a066(0x171)),process[_0x59a066(0x168)](0x0));const _0x33050d=exports[_0x59a066(0x165)](_0x2cab37[_0x59a066(0x16e)]);return _0x33050d[_0x59a066(0x194)](_0x20ac19=>_0x20ac19[_0x59a066(0x173)])[_0x59a066(0x14b)](_0x4cdc0e=>!['jjb-common','jjb-dva-runtime',_0x59a066(0x184),_0x59a066(0x156),_0x59a066(0x15a),_0x59a066(0x155)][_0x59a066(0x18f)](_0x4cdc0e))[_0x59a066(0x182)]!==0x0&&(console['log']('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process['exit'](0x0)),_0x2cab37['installResources']=_0x33050d,_0x2cab37;},exports[a16_0x37dd1b(0x167)]=function(_0xfa5971,_0x5adf28,_0xf0151c){const _0x281ef6=a16_0x37dd1b;fs[_0x281ef6(0x17e)](_0xfa5971+_0x281ef6(0x180),_0x281ef6(0x154)+_0x5adf28+'\x22,\x22version\x22:\x22'+_0xf0151c+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a16_0x37dd1b(0x165)]=function(_0x131544=[]){const _0x1e9e44=a16_0x37dd1b,_0x432d56=[];return Array[_0x1e9e44(0x16d)](_0x131544)&&_0x131544[_0x1e9e44(0x16b)](_0x173fd4=>{const _0x3619da=_0x1e9e44;if(Array[_0x3619da(0x16d)](_0x173fd4)){const [_0x14af4e,_0x391fdd=[]]=_0x173fd4;_0x432d56[_0x3619da(0x17d)]({'name':_0x14af4e,'importList':_0x391fdd});}else _0x432d56[_0x3619da(0x17d)]({'name':_0x173fd4,'importList':[]});}),_0x432d56;},exports[a16_0x37dd1b(0x15b)]=function(_0x4750e1,_0x12c217,_0x14b0e8){const _0x21457d=a16_0x37dd1b,_0x1c939d=JSON['parse'](fs[_0x21457d(0x17f)](_0x4750e1)['toString']());_0x1c939d[_0x21457d(0x16c)][_0x12c217]=_0x14b0e8,fs[_0x21457d(0x17e)](_0x4750e1,JSON[_0x21457d(0x14c)](_0x1c939d,null,0x2));},exports['f_file_copy']=function(_0x48758b,_0x4fad85){const _0x4b4270=a16_0x37dd1b;fs[_0x4b4270(0x16f)](_0x48758b)['forEach'](_0x1e4f30=>{const _0x5032c3=_0x4b4270,_0x5eb7ae=_0x48758b+'\x5c'+_0x1e4f30,_0x3135f5=_0x4fad85+'\x5c'+_0x1e4f30;fs[_0x5032c3(0x15f)](_0x5eb7ae)[_0x5032c3(0x169)]()?(fs[_0x5032c3(0x17c)](_0x3135f5),exports[_0x5032c3(0x191)](_0x5eb7ae,_0x3135f5)):fs[_0x5032c3(0x17e)](_0x3135f5,fs[_0x5032c3(0x17f)](_0x5eb7ae)[_0x5032c3(0x192)]());});},exports['f_content_replace']=function(_0xa9f4c2=[],_0x40bc32){const _0x4089b0=a16_0x37dd1b;_0xa9f4c2[_0x4089b0(0x16b)](_0x3b0edd=>{const _0x32e65e=_0x4089b0,_0x3e60ac=_0x40bc32+_0x3b0edd[_0x32e65e(0x174)];if(fs[_0x32e65e(0x15e)](_0x3e60ac)){let _0x29b4e2=fs['readFileSync'](_0x3e60ac)[_0x32e65e(0x192)]();_0x3b0edd[_0x32e65e(0x175)][_0x32e65e(0x16b)](_0x1d47ce=>{const _0x1e3b09=_0x32e65e;_0x29b4e2=_0x29b4e2[_0x1e3b09(0x175)](_0x1d47ce[0x0],_0x1d47ce[0x1]);}),fs[_0x32e65e(0x17e)](_0x3e60ac,_0x29b4e2);}});};function a16_0x32c2(){const _0x301cd9=['f_resolve_install_resources','tmpdir','f_create_package_json','exit','isDirectory','.zip','forEach','dependencies','isArray','installResources','readdirSync','_zip','【Error】:[jjb.config.json.installResources]无资源。','&ref=master','name','path','replace','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x5cjjb.config.json','3705894nlpsec','uniapp','projectType','f_scan_jjb_config_json','mkdirSync','push','writeFileSync','readFileSync','\x5cpackage.json','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','length','71430UvStDB','jjb-common-lib','rmdirSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','micro-spa','f_scan_jjb_config_json_rules','/repository/archive.zip?private_token=','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','unlinkSync','24uiRKYA','f_pull_git_repository','5437684wxGOYV','includes','7615280tnPNZa','f_file_copy','toString','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','map','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','string','3lVPvkg','filter','stringify','./config','2321IAZDXa','installTarget','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','822185BuggaE','【Error】:[jjb.config.json.projectType]类型是一个string。','multi','{\x22name\x22:\x22','vue-unisass-component','jjb-common-decorator','2643212OtQoiN','f_rm_rf','parse','react-admin-component','f_update_project_package_json','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','log','existsSync','statSync','21TqAhfi','spa','/api/v4/projects/','token','972276ynNbTT'];a16_0x32c2=function(){return _0x301cd9;};return a16_0x32c2();}
@@ -1 +1 @@
1
- function a17_0x3059(_0x31b98e,_0x1ab5b3){const _0x1ea64b=a17_0x1ea6();return a17_0x3059=function(_0x305907,_0x5aca08){_0x305907=_0x305907-0xc5;let _0x3a90af=_0x1ea64b[_0x305907];return _0x3a90af;},a17_0x3059(_0x31b98e,_0x1ab5b3);}const a17_0x304fcf=a17_0x3059;(function(_0x117aa5,_0x5169b8){const _0x24d121=a17_0x3059,_0x52d2ec=_0x117aa5();while(!![]){try{const _0x1a7341=-parseInt(_0x24d121(0xe4))/0x1+parseInt(_0x24d121(0xd1))/0x2+parseInt(_0x24d121(0xe5))/0x3*(parseInt(_0x24d121(0xc8))/0x4)+parseInt(_0x24d121(0xd7))/0x5+-parseInt(_0x24d121(0xe2))/0x6*(parseInt(_0x24d121(0xd2))/0x7)+-parseInt(_0x24d121(0xcd))/0x8+-parseInt(_0x24d121(0xce))/0x9*(-parseInt(_0x24d121(0xd8))/0xa);if(_0x1a7341===_0x5169b8)break;else _0x52d2ec['push'](_0x52d2ec['shift']());}catch(_0x1043b6){_0x52d2ec['push'](_0x52d2ec['shift']());}}}(a17_0x1ea6,0x5aaca));const fs=require('fs'),path=require(a17_0x304fcf(0xc9)),utils=require(a17_0x304fcf(0xdf));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a17_0x1ea6(){const _0x3962fb=['concat','split','resolve','length','map','28GTlawT','path','exports','slice','router','1261808fzEYrr','27bUCsoU','application','writeFileSync','168700zKfBAD','1021342HHXUfw','CreatePaths','toString','./project','pathAdr','215865PaBJCn','3005670BCtXVe','routerConfig','parse','region','\x27,\x20component:\x20()\x20=>\x20import(\x27','file','{\x20path:\x20\x27','./util.js','then','readFileSync','24IxEMrM','items','129895KBkzck','91467Qpbzzm','push','forEach','/application','from','fileType'];a17_0x1ea6=function(){return _0x3962fb;};return a17_0x1ea6();}module[a17_0x304fcf(0xca)]=(_0x29ffc9,_0x1c6f13)=>{const _0xa5b123=a17_0x304fcf;commandArr=_0x29ffc9[_0xa5b123(0xec)](':'),projectPath=path[_0xa5b123(0xc5)](_0xa5b123(0xd5)),vesselPath=path[_0xa5b123(0xc5)]('./vessel/src');let _0x4c1945=vesselPath;_0x1c6f13==='mp'&&(_0x4c1945=vesselPath+_0xa5b123(0xe8),utils[_0xa5b123(0xd3)](vesselPath,[_0xa5b123(0xcf)]));const _0x5cd330=commandArr[0x1],_0x32d462=JSON[_0xa5b123(0xda)](fs[_0xa5b123(0xe1)](projectPath+'/'+_0x5cd330+'/setting.json')[_0xa5b123(0xd4)]());TileItems(_0x32d462[_0xa5b123(0xe3)],()=>{const _0xbad069=_0xa5b123;fromFileData[_0xbad069(0xcc)][_0xbad069(0xe7)](_0x4a4436=>{const _0x10103d=_0xbad069,_0x5b1f8e=_0x4a4436[_0x10103d(0xd6)]['split'](_0x4a4436[_0x10103d(0xdb)]),_0x54ee10=_0x5b1f8e[0x1][_0x10103d(0xec)]('/'),_0xbb2ffe=_0x54ee10[0x1];!applicationJson[_0xbb2ffe]&&(applicationJson[_0xbb2ffe]={'routerConfig':[],'routerPath':[]});applicationJson[_0xbb2ffe][_0x10103d(0xd9)]['push'](_0x10103d(0xde)+_0x4a4436['path']+_0x10103d(0xdc)+_0x4a4436[_0x10103d(0xdd)]+'\x27)\x20}'),applicationJson[_0xbb2ffe]['routerPath'][_0x10103d(0xe6)](_0x4a4436[_0x10103d(0xc9)]);let _0x54bf83=_0x54ee10['join']('/');const _0x30437a=_0x54bf83[_0x10103d(0xec)]('/');utils['CreatePaths'](_0x4c1945,_0x30437a[_0x10103d(0xcb)](0x0,_0x30437a[_0x10103d(0xc6)]-0x1))[_0x10103d(0xe0)](()=>{const _0x3dd71f=_0x10103d,_0x18f3be=fs['readFileSync'](_0x4a4436[_0x3dd71f(0xd6)])[_0x3dd71f(0xd4)]();fs[_0x3dd71f(0xd0)](vesselPath+'/'+_0x54bf83,_0x18f3be);});});});};function TileItems(_0x4efa95,_0x2326bc){const _0x28a8e0=a17_0x304fcf;_0x4efa95[_0x28a8e0(0xe7)]((_0x574d8d,_0x2586fb)=>{const _0x25096c=_0x28a8e0,_0x107a94=_0x574d8d[_0x25096c(0xdb)];_0x574d8d[_0x25096c(0xe9)][_0x25096c(0xe7)]((_0x3e247a,_0x395194)=>{const _0x6eb989=_0x25096c,_0x2a4bca=[];utils['DeepScanner'](projectPath+'/'+_0x107a94+'/'+_0x3e247a[_0x6eb989(0xdd)],_0x2a4bca);const _0x4bb9cc=_0x2a4bca[_0x6eb989(0xc7)](_0x1184b4=>({'region':_0x107a94,'pathAdr':_0x1184b4,..._0x3e247a}));!fromFileData[_0x3e247a[_0x6eb989(0xea)]]?fromFileData[_0x3e247a[_0x6eb989(0xea)]]=_0x4bb9cc:fromFileData[_0x3e247a[_0x6eb989(0xea)]]=fromFileData[_0x3e247a[_0x6eb989(0xea)]][_0x6eb989(0xeb)](_0x4bb9cc),_0x2586fb===_0x4efa95['length']-0x1&&_0x395194===_0x574d8d[_0x6eb989(0xe9)]['length']-0x1&&_0x2326bc();});});}
1
+ const a17_0x95626a=a17_0x3482;function a17_0x3607(){const _0x167140=['2732400GIHbSw','then','slice','exports','router','routerPath','1633037lVqBeu','concat','from','/setting.json','470301HOcXKD','writeFileSync','path','/application','CreatePaths','./project','forEach','141944bAJpms','646130nUQzxS','\x27,\x20component:\x20()\x20=>\x20import(\x27','push','split','734eLZWxZ','length','fileType','readFileSync','DeepScanner','file','parse','90QAzHNB','resolve','3129vIPPyq','region','482020SUqNRe','join','pathAdr','toString','./util.js','{\x20path:\x20\x27'];a17_0x3607=function(){return _0x167140;};return a17_0x3607();}(function(_0x4ab64c,_0x55c576){const _0x524356=a17_0x3482,_0x32674f=_0x4ab64c();while(!![]){try{const _0x2b9a17=parseInt(_0x524356(0x1c6))/0x1+parseInt(_0x524356(0x1d2))/0x2*(parseInt(_0x524356(0x1db))/0x3)+parseInt(_0x524356(0x1dd))/0x4+parseInt(_0x524356(0x1ce))/0x5+-parseInt(_0x524356(0x1e3))/0x6+-parseInt(_0x524356(0x1e9))/0x7+-parseInt(_0x524356(0x1cd))/0x8*(parseInt(_0x524356(0x1d9))/0x9);if(_0x2b9a17===_0x55c576)break;else _0x32674f['push'](_0x32674f['shift']());}catch(_0x37415d){_0x32674f['push'](_0x32674f['shift']());}}}(a17_0x3607,0x39c94));const fs=require('fs'),path=require(a17_0x95626a(0x1c8)),utils=require(a17_0x95626a(0x1e1));let projectPath='',vesselPath='',commandArr=[];function a17_0x3482(_0x289a27,_0x55511d){const _0x360752=a17_0x3607();return a17_0x3482=function(_0x348292,_0x5b60cf){_0x348292=_0x348292-0x1c4;let _0x12e65b=_0x360752[_0x348292];return _0x12e65b;},a17_0x3482(_0x289a27,_0x55511d);}const fromFileData={},applicationJson={};module[a17_0x95626a(0x1e6)]=(_0x432e9,_0x1ade22)=>{const _0x2e072c=a17_0x95626a;commandArr=_0x432e9[_0x2e072c(0x1d1)](':'),projectPath=path['resolve'](_0x2e072c(0x1cb)),vesselPath=path[_0x2e072c(0x1da)]('./vessel/src');let _0x435bcd=vesselPath;_0x1ade22==='mp'&&(_0x435bcd=vesselPath+_0x2e072c(0x1c9),utils[_0x2e072c(0x1ca)](vesselPath,['application']));const _0x31c511=commandArr[0x1],_0x2cd238=JSON[_0x2e072c(0x1d8)](fs['readFileSync'](projectPath+'/'+_0x31c511+_0x2e072c(0x1c5))[_0x2e072c(0x1e0)]());TileItems(_0x2cd238['items'],()=>{const _0x5e8033=_0x2e072c;fromFileData[_0x5e8033(0x1e7)]['forEach'](_0x5f2d90=>{const _0x5cf347=_0x5e8033,_0x15e2cb=_0x5f2d90[_0x5cf347(0x1df)]['split'](_0x5f2d90[_0x5cf347(0x1dc)]),_0x30675c=_0x15e2cb[0x1][_0x5cf347(0x1d1)]('/'),_0x5ee066=_0x30675c[0x1];!applicationJson[_0x5ee066]&&(applicationJson[_0x5ee066]={'routerConfig':[],'routerPath':[]});applicationJson[_0x5ee066]['routerConfig']['push'](_0x5cf347(0x1e2)+_0x5f2d90[_0x5cf347(0x1c8)]+_0x5cf347(0x1cf)+_0x5f2d90['file']+'\x27)\x20}'),applicationJson[_0x5ee066][_0x5cf347(0x1e8)][_0x5cf347(0x1d0)](_0x5f2d90[_0x5cf347(0x1c8)]);let _0x588774=_0x30675c[_0x5cf347(0x1de)]('/');const _0x58e720=_0x588774[_0x5cf347(0x1d1)]('/');utils[_0x5cf347(0x1ca)](_0x435bcd,_0x58e720[_0x5cf347(0x1e5)](0x0,_0x58e720['length']-0x1))[_0x5cf347(0x1e4)](()=>{const _0x212372=_0x5cf347,_0x1ac5c9=fs[_0x212372(0x1d5)](_0x5f2d90[_0x212372(0x1df)])[_0x212372(0x1e0)]();fs[_0x212372(0x1c7)](vesselPath+'/'+_0x588774,_0x1ac5c9);});});});};function TileItems(_0x3c56d8,_0x1f762c){const _0x589410=a17_0x95626a;_0x3c56d8[_0x589410(0x1cc)]((_0xf89c4d,_0x1d0585)=>{const _0x25c7e1=_0x589410,_0x3b9d7e=_0xf89c4d[_0x25c7e1(0x1dc)];_0xf89c4d['from'][_0x25c7e1(0x1cc)]((_0x3265ae,_0x2dc5f6)=>{const _0x4fdd33=_0x25c7e1,_0x2ebde9=[];utils[_0x4fdd33(0x1d6)](projectPath+'/'+_0x3b9d7e+'/'+_0x3265ae[_0x4fdd33(0x1d7)],_0x2ebde9);const _0x134310=_0x2ebde9['map'](_0xc76466=>({'region':_0x3b9d7e,'pathAdr':_0xc76466,..._0x3265ae}));!fromFileData[_0x3265ae['fileType']]?fromFileData[_0x3265ae['fileType']]=_0x134310:fromFileData[_0x3265ae['fileType']]=fromFileData[_0x3265ae[_0x4fdd33(0x1d4)]][_0x4fdd33(0x1ea)](_0x134310),_0x1d0585===_0x3c56d8['length']-0x1&&_0x2dc5f6===_0xf89c4d[_0x4fdd33(0x1c4)][_0x4fdd33(0x1d3)]-0x1&&_0x1f762c();});});}
@@ -1 +1 @@
1
- 'use strict';const a18_0x135538=a18_0x4e07;(function(_0x1deb42,_0x3bb8ca){const _0x459d0e=a18_0x4e07,_0x59743f=_0x1deb42();while(!![]){try{const _0x56c764=-parseInt(_0x459d0e(0x134))/0x1+-parseInt(_0x459d0e(0x127))/0x2+-parseInt(_0x459d0e(0x125))/0x3*(-parseInt(_0x459d0e(0x110))/0x4)+parseInt(_0x459d0e(0x10c))/0x5+-parseInt(_0x459d0e(0x12c))/0x6*(parseInt(_0x459d0e(0x10a))/0x7)+-parseInt(_0x459d0e(0x109))/0x8+-parseInt(_0x459d0e(0x11f))/0x9*(-parseInt(_0x459d0e(0x10b))/0xa);if(_0x56c764===_0x3bb8ca)break;else _0x59743f['push'](_0x59743f['shift']());}catch(_0x4d436b){_0x59743f['push'](_0x59743f['shift']());}}}(a18_0x1268,0xd58d3));function a18_0x4e07(_0x510d7e,_0x2ddc58){const _0x1268a9=a18_0x1268();return a18_0x4e07=function(_0x4e07cd,_0xd3e40d){_0x4e07cd=_0x4e07cd-0x108;let _0x599473=_0x1268a9[_0x4e07cd];return _0x599473;},a18_0x4e07(_0x510d7e,_0x2ddc58);}const fs=require('fs'),os=require('os'),path=require(a18_0x135538(0x122)),utils=require(a18_0x135538(0x10f)),request=require('request'),compressing=require('compressing'),GIT_TEMP_DIR=a18_0x135538(0x116),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a18_0x135538(0x123),'projectId':0x117,'localName':a18_0x135538(0x119)},'react-admin-component':{'token':a18_0x135538(0x137),'projectId':0x154,'localName':a18_0x135538(0x113)}};function a18_0x1268(){const _0x1db11f=['replace','close','common','exports','existsSync','error','application','\x5csrc','4996170KnpcHS','forEach','\x5ccli.dva.register.spa.txt','path','G4HJRsHr9D7Ssmixegw2','\x5ccli.dva.router.spa.txt','4175694qHAjlO','DeleteDirAllFile','979612rmBzDS','-文件下载完毕','common\x5cdva\x5cautomatic\x5c','projectId','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','6600216JImEkr','localName','.zip','createWriteStream','common\x5cdva\x5cautomatic','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','CopyFolder','&ref=master','1120021KLlpBN','/unzip/','statSync','FT3pKzxpRynFkmddJ9Bs','/api/v4/projects/','toString','readdirSync','mkdirSync','common\x5cwebsite\x5cindex.js','readFileSync','token','5148672MAOwHX','7lXLwDd','20hkTtLN','8629980KMUuCm','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','./util','4VkmOkV','writeFileSync','rmdirSync','components','tmpdir','uncompress','jjbAssembly'];a18_0x1268=function(){return _0x1db11f;};return a18_0x1268();}module[a18_0x135538(0x11a)]=_0x4de388=>{const _0x12fdb7=a18_0x135538,_0x61691e=_0x4de388,_0x353411=path['resolve']('./');try{if(fs[_0x12fdb7(0x136)](_0x353411+_0x12fdb7(0x11e))){const _0x10ec92=_0x353411+_0x12fdb7(0x11e),_0x186412=CLOUD_PROJECT[_0x61691e]||undefined;if(_0x186412){const _0x599b87=os[_0x12fdb7(0x114)](),_0x24f243=_0x599b87+('/'+GIT_TEMP_DIR+'/'+_0x61691e+_0x12fdb7(0x12e)),_0x27cb94=_0x599b87+'/'+GIT_TEMP_DIR+_0x12fdb7(0x135);utils['DeleteDirAllFile'](_0x599b87+'/'+GIT_TEMP_DIR,()=>{const _0x5d2751=_0x12fdb7;fs['mkdirSync'](_0x599b87+'/'+GIT_TEMP_DIR);let _0x12a969=fs[_0x5d2751(0x12f)](_0x24f243);request(GIT_HOST+_0x5d2751(0x138)+_0x186412[_0x5d2751(0x12a)]+'/repository/archive.zip?private_token='+_0x186412[_0x5d2751(0x108)]+_0x5d2751(0x133))['pipe'](_0x12a969)['on'](_0x5d2751(0x118),()=>{const _0xd66947=_0x5d2751;fs[_0xd66947(0x13b)](_0x27cb94),compressing['zip'][_0xd66947(0x115)](_0x24f243,_0x27cb94)['then'](()=>{setTimeout(()=>{const _0x26a393=a18_0x4e07,_0x3b9284=fs[_0x26a393(0x13a)](_0x27cb94);_0x3b9284['forEach'](_0x3c4380=>{const _0x183415=_0x26a393;if(_0x3c4380[_0x183415(0x10d)]('-master-')!==-0x1){const _0x461bb4=_0x10ec92+'\x5c'+_0x186412[_0x183415(0x12d)];utils[_0x183415(0x126)](_0x461bb4,()=>{const _0x4f340d=_0x183415;fs[_0x4f340d(0x13b)](_0x461bb4),utils[_0x4f340d(0x132)](_0x27cb94+_0x3c4380,_0x461bb4),setTimeout(()=>{const _0x113cc7=_0x4f340d,_0x49bb2a=fs[_0x113cc7(0x11b)](_0x10ec92+'\x5c'+_0x113cc7(0x11d));if(!_0x49bb2a){const _0x353c87=_0x10ec92+'\x5c'+'common\x5ctools\x5cindex.js',_0x1966c6=_0x10ec92+'\x5c'+_0x113cc7(0x13c);let _0x122e1d=fs[_0x113cc7(0x13d)](_0x353c87)[_0x113cc7(0x139)](),_0x1d5c35=fs['readFileSync'](_0x1966c6)[_0x113cc7(0x139)]();_0x122e1d=_0x122e1d[_0x113cc7(0x117)]('return\x20__planA();','return\x20process.env;'),_0x1d5c35=_0x1d5c35[_0x113cc7(0x117)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x113cc7(0x111)](_0x353c87,_0x122e1d),fs['writeFileSync'](_0x1966c6,_0x1d5c35),fs['writeFileSync'](_0x10ec92+_0x113cc7(0x12b),fs['readFileSync'](__dirname+_0x113cc7(0x124))['toString']()),fs['writeFileSync'](_0x10ec92+_0x113cc7(0x10e),fs[_0x113cc7(0x13d)](__dirname+_0x113cc7(0x121))[_0x113cc7(0x139)]());}else fs['exists'](_0x10ec92+'\x5c'+'common\x5cdva\x5cautomatic\x5cindex.js',_0x4044ed=>{const _0x1892d4=_0x113cc7;_0x4044ed&&(fs[_0x1892d4(0x13a)](_0x10ec92+'\x5c'+_0x1892d4(0x130))[_0x1892d4(0x120)](_0xee252e=>{const _0xd9ddcc=_0x1892d4;fs['unlinkSync'](_0x10ec92+'\x5c'+_0xd9ddcc(0x129)+_0xee252e);}),fs[_0x1892d4(0x112)](_0x10ec92+'\x5c'+_0x1892d4(0x130)));});},0x3e8);});}}),console['log'](_0x61691e+_0x26a393(0x128));},0x7d0);});});});}else console[_0x12fdb7(0x11c)]('【Error】:\x20未获取到项目\x20'+_0x61691e);}}catch(_0x47582d){console[_0x12fdb7(0x11c)](_0x12fdb7(0x131));}};
1
+ 'use strict';function a18_0x5147(){const _0x12bf6c=['components','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','DeleteDirAllFile','11AEEuAB','86346tQwxGe','compressing','/api/v4/projects/','common\x5cdva\x5cautomatic','504oXnvdJ','3962043HMZQAL','replace','common\x5ctools\x5cindex.js','CopyFolder','common\x5cdva\x5cautomatic\x5c','zip','-master-','readFileSync','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','25gfimrA','rmdirSync','\x5csrc','/unzip/','\x5ccli.dva.register.spa.txt','mkdirSync','token','31592GlJaqY','common\x5cdva\x5cautomatic\x5cindex.js','uncompress','3383720BRqOCf','&ref=master','readdirSync','close','/repository/archive.zip?private_token=','localName','resolve','forEach','indexOf','15902crrknk','projectId','FT3pKzxpRynFkmddJ9Bs','then','writeFileSync','【Error】:\x20未获取到项目\x20','unlinkSync','12377570wvtgeX','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','common\x5cwebsite\x5cindex.js','toString','return\x20process.env;','error','tmpdir','path','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','118pjDovB','log','pipe','57792nqOPlO','request'];a18_0x5147=function(){return _0x12bf6c;};return a18_0x5147();}const a18_0x544415=a18_0x316f;(function(_0x39449c,_0x1bb307){const _0x4cdd18=a18_0x316f,_0x2ac122=_0x39449c();while(!![]){try{const _0x7b6a96=-parseInt(_0x4cdd18(0x105))/0x1*(-parseInt(_0x4cdd18(0x115))/0x2)+parseInt(_0x4cdd18(0x11e))/0x3+-parseInt(_0x4cdd18(0xf9))/0x4*(parseInt(_0x4cdd18(0x12c))/0x5)+parseInt(_0x4cdd18(0x118))/0x6*(-parseInt(_0x4cdd18(0x122))/0x7)+-parseInt(_0x4cdd18(0xfc))/0x8+-parseInt(_0x4cdd18(0x123))/0x9+parseInt(_0x4cdd18(0x10c))/0xa*(parseInt(_0x4cdd18(0x11d))/0xb);if(_0x7b6a96===_0x1bb307)break;else _0x2ac122['push'](_0x2ac122['shift']());}catch(_0xc63388){_0x2ac122['push'](_0x2ac122['shift']());}}}(a18_0x5147,0x9493b));function a18_0x316f(_0x26978e,_0x368d83){const _0x5147b0=a18_0x5147();return a18_0x316f=function(_0x316f99,_0x46a078){_0x316f99=_0x316f99-0xf8;let _0x1fdcfc=_0x5147b0[_0x316f99];return _0x1fdcfc;},a18_0x316f(_0x26978e,_0x368d83);}const fs=require('fs'),os=require('os'),path=require(a18_0x544415(0x113)),utils=require('./util'),request=require(a18_0x544415(0x119)),compressing=require(a18_0x544415(0x11f)),GIT_TEMP_DIR='jjbAssembly',GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':'common'},'react-admin-component':{'token':a18_0x544415(0x107),'projectId':0x154,'localName':a18_0x544415(0x11a)}};module['exports']=_0x62dd92=>{const _0x39c855=a18_0x544415,_0x47185b=_0x62dd92,_0x3c1fe5=path[_0x39c855(0x102)]('./');try{if(fs['statSync'](_0x3c1fe5+'\x5csrc')){const _0x35b0b3=_0x3c1fe5+_0x39c855(0x12e),_0x5eaaf1=CLOUD_PROJECT[_0x47185b]||undefined;if(_0x5eaaf1){const _0x205153=os[_0x39c855(0x112)](),_0x4dff5e=_0x205153+('/'+GIT_TEMP_DIR+'/'+_0x47185b+'.zip'),_0x387b9c=_0x205153+'/'+GIT_TEMP_DIR+_0x39c855(0x12f);utils[_0x39c855(0x11c)](_0x205153+'/'+GIT_TEMP_DIR,()=>{const _0xa52fb8=_0x39c855;fs[_0xa52fb8(0x131)](_0x205153+'/'+GIT_TEMP_DIR);let _0x471b85=fs['createWriteStream'](_0x4dff5e);request(GIT_HOST+_0xa52fb8(0x120)+_0x5eaaf1[_0xa52fb8(0x106)]+_0xa52fb8(0x100)+_0x5eaaf1[_0xa52fb8(0xf8)]+_0xa52fb8(0xfd))[_0xa52fb8(0x117)](_0x471b85)['on'](_0xa52fb8(0xff),()=>{const _0xe675e1=_0xa52fb8;fs[_0xe675e1(0x131)](_0x387b9c),compressing[_0xe675e1(0x128)][_0xe675e1(0xfb)](_0x4dff5e,_0x387b9c)[_0xe675e1(0x108)](()=>{setTimeout(()=>{const _0x2dcea1=a18_0x316f,_0x44f5cf=fs[_0x2dcea1(0xfe)](_0x387b9c);_0x44f5cf[_0x2dcea1(0x103)](_0x1f3042=>{const _0x4ff4a8=_0x2dcea1;if(_0x1f3042[_0x4ff4a8(0x104)](_0x4ff4a8(0x129))!==-0x1){const _0x2a4161=_0x35b0b3+'\x5c'+_0x5eaaf1[_0x4ff4a8(0x101)];utils[_0x4ff4a8(0x11c)](_0x2a4161,()=>{const _0x5c5759=_0x4ff4a8;fs['mkdirSync'](_0x2a4161),utils[_0x5c5759(0x126)](_0x387b9c+_0x1f3042,_0x2a4161),setTimeout(()=>{const _0x3a2a04=_0x5c5759,_0x2cf3ee=fs['existsSync'](_0x35b0b3+'\x5c'+'application');if(!_0x2cf3ee){const _0x300978=_0x35b0b3+'\x5c'+_0x3a2a04(0x125),_0x4a1276=_0x35b0b3+'\x5c'+_0x3a2a04(0x10e);let _0x2cb0f8=fs[_0x3a2a04(0x12a)](_0x300978)[_0x3a2a04(0x10f)](),_0x2464a6=fs[_0x3a2a04(0x12a)](_0x4a1276)[_0x3a2a04(0x10f)]();_0x2cb0f8=_0x2cb0f8[_0x3a2a04(0x124)]('return\x20__planA();',_0x3a2a04(0x110)),_0x2464a6=_0x2464a6[_0x3a2a04(0x124)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x3a2a04(0x11b)),fs[_0x3a2a04(0x109)](_0x300978,_0x2cb0f8),fs[_0x3a2a04(0x109)](_0x4a1276,_0x2464a6),fs[_0x3a2a04(0x109)](_0x35b0b3+_0x3a2a04(0x12b),fs[_0x3a2a04(0x12a)](__dirname+'\x5ccli.dva.router.spa.txt')['toString']()),fs[_0x3a2a04(0x109)](_0x35b0b3+_0x3a2a04(0x114),fs[_0x3a2a04(0x12a)](__dirname+_0x3a2a04(0x130))[_0x3a2a04(0x10f)]());}else fs['exists'](_0x35b0b3+'\x5c'+_0x3a2a04(0xfa),_0x45174b=>{const _0x5c90ec=_0x3a2a04;_0x45174b&&(fs[_0x5c90ec(0xfe)](_0x35b0b3+'\x5c'+_0x5c90ec(0x121))[_0x5c90ec(0x103)](_0x1556a5=>{const _0x25a038=_0x5c90ec;fs[_0x25a038(0x10b)](_0x35b0b3+'\x5c'+_0x25a038(0x127)+_0x1556a5);}),fs[_0x5c90ec(0x12d)](_0x35b0b3+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console[_0x2dcea1(0x116)](_0x47185b+'-文件下载完毕');},0x7d0);});});});}else console[_0x39c855(0x111)](_0x39c855(0x10a)+_0x47185b);}}catch(_0x56c632){console[_0x39c855(0x111)](_0x39c855(0x10d));}};
@@ -1 +1 @@
1
- 'use strict';function a19_0x4104(_0x53566f,_0x30b6f6){const _0x48e259=a19_0x48e2();return a19_0x4104=function(_0x4104f9,_0x4d0500){_0x4104f9=_0x4104f9-0xfe;let _0x45b8a2=_0x48e259[_0x4104f9];return _0x45b8a2;},a19_0x4104(_0x53566f,_0x30b6f6);}const a19_0x2a719d=a19_0x4104;(function(_0x122ba0,_0x8d6250){const _0x4f3533=a19_0x4104,_0x53a90f=_0x122ba0();while(!![]){try{const _0x88eaff=-parseInt(_0x4f3533(0x108))/0x1*(-parseInt(_0x4f3533(0x143))/0x2)+parseInt(_0x4f3533(0x12f))/0x3*(-parseInt(_0x4f3533(0x106))/0x4)+parseInt(_0x4f3533(0x14f))/0x5+parseInt(_0x4f3533(0x121))/0x6+-parseInt(_0x4f3533(0x128))/0x7+parseInt(_0x4f3533(0x11f))/0x8*(parseInt(_0x4f3533(0x109))/0x9)+parseInt(_0x4f3533(0x120))/0xa*(-parseInt(_0x4f3533(0x149))/0xb);if(_0x88eaff===_0x8d6250)break;else _0x53a90f['push'](_0x53a90f['shift']());}catch(_0x15c2b4){_0x53a90f['push'](_0x53a90f['shift']());}}}(a19_0x48e2,0x94653));const fs=require('fs'),os=require('os'),path=require(a19_0x2a719d(0x14b)),utils=require(a19_0x2a719d(0x10a)),request=require('request'),compressing=require(a19_0x2a719d(0x13f)),GIT_HOST=a19_0x2a719d(0x12b),GIT_TEMP_DIR=a19_0x2a719d(0x12d),CLOUD_PROJECT={'common':{'token':a19_0x2a719d(0x110),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a19_0x2a719d(0x159)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x2a719d(0x127),'replace':[['components','jjb-react-admin-component']]},{'path':a19_0x2a719d(0x12a),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],['components',a19_0x2a719d(0x12c)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x2a719d(0x127),'replace':[['return\x20__planA();','return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a19_0x2a719d(0x15e),a19_0x2a719d(0x132)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x2a719d(0x13c),'replace':[[a19_0x2a719d(0x117),a19_0x2a719d(0x116)],[a19_0x2a719d(0x113),a19_0x2a719d(0x140)],['common/tools',a19_0x2a719d(0x13a)]]},{'path':a19_0x2a719d(0x142),'replace':[['common/color',a19_0x2a719d(0x111)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools',a19_0x2a719d(0x13a)]]},{'path':a19_0x2a719d(0x122),'replace':[[a19_0x2a719d(0x117),a19_0x2a719d(0x116)],[a19_0x2a719d(0x11a),a19_0x2a719d(0x13a)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a19_0x2a719d(0x117),'jjb-common/http'],[a19_0x2a719d(0x11a),'jjb-common/tools']]},{'path':a19_0x2a719d(0x147),'replace':[[a19_0x2a719d(0x117),a19_0x2a719d(0x116)],['common/tools',a19_0x2a719d(0x13a)]]},{'path':a19_0x2a719d(0x11e),'replace':[['common/color','jjb-common/color']]},{'path':a19_0x2a719d(0x13e),'replace':[[a19_0x2a719d(0x11a),'jjb-common/tools']]},{'path':a19_0x2a719d(0x11c),'replace':[[a19_0x2a719d(0x141),a19_0x2a719d(0x123)],[a19_0x2a719d(0x11a),a19_0x2a719d(0x13a)]]}];function uid(){const _0x7d42f0=a19_0x2a719d;return Math[_0x7d42f0(0x11d)]()[_0x7d42f0(0x148)]()[_0x7d42f0(0x124)](0x2);}module[a19_0x2a719d(0x10b)]=_0x3392ed=>{const _0x382eed=a19_0x2a719d,_0x4b43a6=path[_0x382eed(0x10c)]('./'),_0x4d18bc=_0x382eed(0x114)+_0x3392ed,_0x15e85c=_0x382eed(0xff),_0x13cd86=_0x4b43a6+_0x382eed(0x144),_0x3521a5=_0x382eed(0x12e)+uid(),_0x1cdf19=__dirname+'\x5c'+_0x3521a5,_0x2466dd=_0x4b43a6+_0x382eed(0x126),_0x2a4cdb=_0x4b43a6+'\x5cnode_modules\x5cjjb-'+_0x3392ed;try{if(fs['existsSync'](_0x13cd86)){const _0x45d331=CLOUD_PROJECT[_0x3392ed]||undefined;if(_0x45d331){const _0x5d77b4=os[_0x382eed(0xfe)](),_0x300a83=_0x5d77b4+'/'+GIT_TEMP_DIR+'/'+_0x3392ed+_0x382eed(0x125),_0x598e9b=_0x5d77b4+'/'+GIT_TEMP_DIR+_0x382eed(0x101);utils['DeleteDirAllFile'](_0x5d77b4+'/'+GIT_TEMP_DIR,()=>{const _0xe41262=_0x382eed;fs[_0xe41262(0x13b)](_0x5d77b4+'/'+GIT_TEMP_DIR);const _0xa3f0ad=fs[_0xe41262(0x133)](_0x300a83);request(GIT_HOST+_0xe41262(0x13d)+_0x45d331['projectId']+'/repository/archive.zip?private_token='+_0x45d331[_0xe41262(0x10e)]+_0xe41262(0x150))[_0xe41262(0x15c)](_0xa3f0ad)['on']('close',()=>{const _0x243e36=_0xe41262;fs['mkdirSync'](_0x598e9b),compressing[_0x243e36(0x14d)][_0x243e36(0x135)](_0x300a83,_0x598e9b)['then'](()=>{setTimeout(()=>{const _0x3986aa=a19_0x4104;fs['readdirSync'](_0x598e9b)[_0x3986aa(0x146)](_0x542004=>{const _0x2ce747=_0x3986aa;_0x542004[_0x2ce747(0x154)](_0x2ce747(0x14e))!==-0x1&&utils['DeleteDirAllFile'](_0x13cd86+'\x5c'+_0x45d331[_0x2ce747(0x119)],()=>{const _0x1262b5=_0x2ce747;fs[_0x1262b5(0x13b)](_0x1cdf19),utils[_0x1262b5(0x156)](_0x598e9b+_0x542004,_0x1cdf19),setTimeout(()=>{const _0x1f4c2f=_0x1262b5;if(_0x3392ed===_0x1f4c2f(0x100)){const _0x1cc392=fs[_0x1f4c2f(0x158)](_0x13cd86+_0x1f4c2f(0x131));if(_0x1cc392)rm_rf(_0x1cdf19+'\x5cdva\x5cautomatic'),fs[_0x1f4c2f(0x15d)](_0x1cdf19+_0x1f4c2f(0x11b));else{if(get_project_type(_0x2466dd)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x1cdf19),fs[_0x1f4c2f(0x130)](_0x1cdf19+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x1f4c2f(0x103)](__dirname+_0x1f4c2f(0x138))['toString']()),fs[_0x1f4c2f(0x130)](_0x1cdf19+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x1f4c2f(0x103)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x1f4c2f(0x148)]());else get_project_type(_0x2466dd)===_0x1f4c2f(0x102)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x1cdf19),fs[_0x1f4c2f(0x130)](_0x1cdf19+_0x1f4c2f(0x157),fs[_0x1f4c2f(0x103)](__dirname+_0x1f4c2f(0x129))[_0x1f4c2f(0x148)]()),fs[_0x1f4c2f(0x130)](_0x1cdf19+_0x1f4c2f(0x104),fs[_0x1f4c2f(0x103)](__dirname+'\x5ccli.dva.register.saas.txt')[_0x1f4c2f(0x148)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x1cdf19);}_0x3392ed===_0x1f4c2f(0x155)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x1cdf19),rm_rf(_0x1cdf19+_0x1f4c2f(0x118)),fs['existsSync'](_0x1cdf19+'\x5c.idea')&&fs[_0x1f4c2f(0x15d)](_0x1cdf19+'\x5c.idea'),fs['existsSync'](_0x1cdf19+_0x1f4c2f(0x152))&&fs[_0x1f4c2f(0x151)](_0x1cdf19+_0x1f4c2f(0x152)),!fs[_0x1f4c2f(0x158)](_0x2a4cdb)?fs[_0x1f4c2f(0x13b)](_0x2a4cdb):rm_rf(_0x2a4cdb),utils[_0x1f4c2f(0x156)](_0x1cdf19,_0x2a4cdb,()=>{const _0xce97bf=_0x1f4c2f;rm_rf(_0x1cdf19),fs[_0xce97bf(0x15d)](_0x1cdf19),create_package_json(_0x2a4cdb,_0x4d18bc,_0x15e85c),update_project_package_json(_0x2466dd,_0x4d18bc,_0x15e85c),console[_0xce97bf(0x153)](_0xce97bf(0x10f)+_0x4d18bc+'\x20v'+_0x15e85c);});},0x3e8);});});},0x7d0);});});});}else console[_0x382eed(0x107)](_0x382eed(0x14a)+_0x3392ed);}}catch(_0x27f79f){console[_0x382eed(0x107)](_0x382eed(0x10d));}};function rm_rf(_0x1cee4c){const _0x53a9cd=a19_0x2a719d;if(fs[_0x53a9cd(0x158)](_0x1cee4c)){const _0x2bbd85=fs[_0x53a9cd(0x136)](_0x1cee4c);for(let _0x54d4f5=0x0;_0x54d4f5<_0x2bbd85[_0x53a9cd(0x115)];_0x54d4f5++){const _0x22da74=_0x2bbd85[_0x54d4f5],_0x3e4e58=_0x1cee4c+'/'+_0x22da74;fs[_0x53a9cd(0x105)](_0x3e4e58)[_0x53a9cd(0x14c)]()?(rm_rf(_0x3e4e58),fs[_0x53a9cd(0x15d)](_0x3e4e58)):fs[_0x53a9cd(0x151)](_0x3e4e58);}}}function create_package_json(_0x4bcde0,_0x4bdf32,_0x485e99){const _0x2f25c5=a19_0x2a719d;fs[_0x2f25c5(0x130)](_0x4bcde0+_0x2f25c5(0x126),_0x2f25c5(0x15b)+_0x4bdf32+_0x2f25c5(0x112)+_0x485e99+'\x22,\x22main\x22:\x20\x22index.js\x22}');}function get_project_type(_0x212ffe){const _0x2b9e70=a19_0x2a719d,_0x321cd7=JSON[_0x2b9e70(0x145)](fs[_0x2b9e70(0x103)](_0x212ffe)['toString']());return _0x321cd7[_0x2b9e70(0x139)];}function a19_0x48e2(){const _0x3ab4a7=['\x5cpackage.json','\x5ctools\x5cindex.js','4952871AIKjDE','\x5ccli.dva.router.saas.txt','\x5cwebsite\x5cindex.js','http://192.168.1.242:10985','jjb-react-admin-component','jjbAssembly','template_','503199HLJXbO','writeFileSync','\x5capplication','return\x20process.env.app;','createWriteStream','dependencies','uncompress','readdirSync','replace','\x5ccli.dva.router.spa.txt','projectType','jjb-common/tools','mkdirSync','\x5cEditor\x5cindex.js','/api/v4/projects/','\x5cRouterContainer\x5cindex.js','compressing','jjb-common/crypto','common/website','\x5cRejectText\x5cindex.js','1884478GIJDXr','\x5csrc','parse','forEach','\x5cImageUploader\x5cindex.js','toString','17002139swbsUw','【Error】:\x20未获取到项目\x20','path','isDirectory','zip','-master-','5941075bIopVa','&ref=master','unlinkSync','\x5c.gitignore','log','indexOf','react-admin-component','CopyFolder','\x5cdva\x5cautomatic\x5crouter.js','existsSync','components','stringify','{\x22name\x22:\x22','pipe','rmdirSync','return\x20__planA();','tmpdir','1.0.0','common','/unzip/','micro-spa','readFileSync','\x5cdva\x5cautomatic\x5cregister.js','statSync','20LKfLsm','error','1eWmOyY','144oFYWQr','./util','exports','resolve','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','token','【已安装】:','G4HJRsHr9D7Ssmixegw2','jjb-common/color','\x22,\x22version\x22:\x22','common/crypto','jjb-','length','jjb-common/http','common/http','\x5c.idea','localName','common/tools','\x5cdva\x5cautomatic','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','random','\x5cPageHeaderBar\x5cindex.js','290024yEGmuR','10nvSwJO','5935152BhUAUv','\x5cFileUploader\x5cindex.js','jjb-common/website','substr','.zip'];a19_0x48e2=function(){return _0x3ab4a7;};return a19_0x48e2();}function update_project_package_json(_0x485343,_0x3942cf,_0x12f0dc){const _0x5e82cc=a19_0x2a719d,_0x36554f=JSON[_0x5e82cc(0x145)](fs[_0x5e82cc(0x103)](_0x485343)[_0x5e82cc(0x148)]());_0x36554f[_0x5e82cc(0x134)][_0x3942cf]=_0x12f0dc,fs[_0x5e82cc(0x130)](_0x485343,JSON[_0x5e82cc(0x15a)](_0x36554f,null,0x2));}function content_replace(_0x4a550d=[],_0x4c7548){_0x4a550d['forEach'](_0x23075d=>{const _0x289582=a19_0x4104,_0x2003a7=_0x4c7548+_0x23075d[_0x289582(0x14b)];if(fs[_0x289582(0x158)](_0x2003a7)){let _0x243ae3=fs['readFileSync'](_0x2003a7)['toString']();_0x23075d[_0x289582(0x137)]['forEach'](_0x5cc2b9=>{const _0x1102db=_0x289582;_0x243ae3=_0x243ae3[_0x1102db(0x137)](_0x5cc2b9[0x0],_0x5cc2b9[0x1]);}),fs[_0x289582(0x130)](_0x2003a7,_0x243ae3);}});}
1
+ 'use strict';const a19_0x21dd5e=a19_0x3b6d;(function(_0x37bb6d,_0x57ac7b){const _0x361613=a19_0x3b6d,_0x124a0=_0x37bb6d();while(!![]){try{const _0x4cafa9=-parseInt(_0x361613(0x1dc))/0x1+-parseInt(_0x361613(0x1eb))/0x2+parseInt(_0x361613(0x1cb))/0x3*(-parseInt(_0x361613(0x1ee))/0x4)+-parseInt(_0x361613(0x1b9))/0x5+parseInt(_0x361613(0x1d3))/0x6+parseInt(_0x361613(0x1f3))/0x7+parseInt(_0x361613(0x1a6))/0x8*(parseInt(_0x361613(0x1ec))/0x9);if(_0x4cafa9===_0x57ac7b)break;else _0x124a0['push'](_0x124a0['shift']());}catch(_0x457189){_0x124a0['push'](_0x124a0['shift']());}}}(a19_0x568d,0x278c9));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a19_0x21dd5e(0x1d0)),request=require(a19_0x21dd5e(0x1f2)),compressing=require(a19_0x21dd5e(0x1de)),GIT_HOST=a19_0x21dd5e(0x1fb),GIT_TEMP_DIR=a19_0x21dd5e(0x1d5),CLOUD_PROJECT={'common':{'token':a19_0x21dd5e(0x1c9),'projectId':0x117,'localName':a19_0x21dd5e(0x1b1)},'react-admin-component':{'token':a19_0x21dd5e(0x1cc),'projectId':0x154,'localName':'components'}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a19_0x21dd5e(0x19a),'jjb-react-admin-component']]},{'path':a19_0x21dd5e(0x1ae),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x21dd5e(0x1c5)],[a19_0x21dd5e(0x19a),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x21dd5e(0x1e1),'replace':[[a19_0x21dd5e(0x1b4),a19_0x21dd5e(0x1ea)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x21dd5e(0x1e1),'replace':[[a19_0x21dd5e(0x1b4),'return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x21dd5e(0x1ac),'replace':[['common/http',a19_0x21dd5e(0x1ba)],[a19_0x21dd5e(0x1c3),a19_0x21dd5e(0x1d7)],[a19_0x21dd5e(0x1a2),a19_0x21dd5e(0x1ad)]]},{'path':a19_0x21dd5e(0x1b8),'replace':[['common/color',a19_0x21dd5e(0x1e5)]]},{'path':a19_0x21dd5e(0x1bf),'replace':[[a19_0x21dd5e(0x1a2),'jjb-common/tools']]},{'path':a19_0x21dd5e(0x1d4),'replace':[['common/http',a19_0x21dd5e(0x1ba)],['common/tools',a19_0x21dd5e(0x1ad)]]},{'path':a19_0x21dd5e(0x1cf),'replace':[[a19_0x21dd5e(0x1fc),a19_0x21dd5e(0x1ba)],[a19_0x21dd5e(0x1a2),a19_0x21dd5e(0x1ad)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a19_0x21dd5e(0x1fc),a19_0x21dd5e(0x1ba)],[a19_0x21dd5e(0x1a2),a19_0x21dd5e(0x1ad)]]},{'path':a19_0x21dd5e(0x1db),'replace':[[a19_0x21dd5e(0x1b5),a19_0x21dd5e(0x1e5)]]},{'path':a19_0x21dd5e(0x1ed),'replace':[[a19_0x21dd5e(0x1a2),a19_0x21dd5e(0x1ad)]]},{'path':a19_0x21dd5e(0x1e8),'replace':[[a19_0x21dd5e(0x19d),a19_0x21dd5e(0x1f0)],[a19_0x21dd5e(0x1a2),a19_0x21dd5e(0x1ad)]]}];function uid(){const _0x557e03=a19_0x21dd5e;return Math[_0x557e03(0x1be)]()[_0x557e03(0x19c)]()[_0x557e03(0x1e6)](0x2);}module[a19_0x21dd5e(0x19b)]=_0x433e30=>{const _0x340f92=a19_0x21dd5e,_0x1cc4a9=path[_0x340f92(0x1ca)]('./'),_0x156eba='jjb-'+_0x433e30,_0x338413=_0x340f92(0x1f9),_0x47f7ee=_0x1cc4a9+_0x340f92(0x1a1),_0x35495a='template_'+uid(),_0x3c746c=__dirname+'\x5c'+_0x35495a,_0x1a409d=_0x1cc4a9+_0x340f92(0x1b2),_0x347768=_0x1cc4a9+_0x340f92(0x1cd)+_0x433e30;try{if(fs[_0x340f92(0x1c8)](_0x47f7ee)){const _0x551945=CLOUD_PROJECT[_0x433e30]||undefined;if(_0x551945){const _0x32bcd3=os[_0x340f92(0x19f)](),_0x589187=_0x32bcd3+'/'+GIT_TEMP_DIR+'/'+_0x433e30+_0x340f92(0x1e7),_0x21e7c6=_0x32bcd3+'/'+GIT_TEMP_DIR+_0x340f92(0x1f8);utils[_0x340f92(0x1d9)](_0x32bcd3+'/'+GIT_TEMP_DIR,()=>{const _0x239038=_0x340f92;fs['mkdirSync'](_0x32bcd3+'/'+GIT_TEMP_DIR);const _0x38ad9d=fs[_0x239038(0x1c4)](_0x589187);request(GIT_HOST+'/api/v4/projects/'+_0x551945['projectId']+_0x239038(0x1a0)+_0x551945['token']+_0x239038(0x1e3))[_0x239038(0x1af)](_0x38ad9d)['on'](_0x239038(0x1c6),()=>{const _0x2849cb=_0x239038;fs[_0x2849cb(0x1d6)](_0x21e7c6),compressing[_0x2849cb(0x1b6)][_0x2849cb(0x1d8)](_0x589187,_0x21e7c6)[_0x2849cb(0x1a4)](()=>{setTimeout(()=>{const _0x21407d=a19_0x3b6d;fs[_0x21407d(0x1da)](_0x21e7c6)[_0x21407d(0x1bd)](_0x3bcfeb=>{const _0x2875db=_0x21407d;_0x3bcfeb[_0x2875db(0x1dd)](_0x2875db(0x1c0))!==-0x1&&utils[_0x2875db(0x1d9)](_0x47f7ee+'\x5c'+_0x551945[_0x2875db(0x1a8)],()=>{const _0x15fb22=_0x2875db;fs['mkdirSync'](_0x3c746c),utils[_0x15fb22(0x1aa)](_0x21e7c6+_0x3bcfeb,_0x3c746c),setTimeout(()=>{const _0x56ce95=_0x15fb22;if(_0x433e30===_0x56ce95(0x1b1)){const _0x3dac2b=fs['existsSync'](_0x47f7ee+_0x56ce95(0x1ce));if(_0x3dac2b)rm_rf(_0x3c746c+_0x56ce95(0x1b7)),fs[_0x56ce95(0x1fd)](_0x3c746c+'\x5cdva\x5cautomatic');else{if(get_project_type(_0x1a409d)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x3c746c),fs[_0x56ce95(0x1e4)](_0x3c746c+_0x56ce95(0x1b3),fs[_0x56ce95(0x1bb)](__dirname+'\x5ccli.dva.router.spa.txt')['toString']()),fs['writeFileSync'](_0x3c746c+_0x56ce95(0x1d2),fs[_0x56ce95(0x1bb)](__dirname+_0x56ce95(0x1b0))[_0x56ce95(0x19c)]());else get_project_type(_0x1a409d)===_0x56ce95(0x1fa)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x3c746c),fs[_0x56ce95(0x1e4)](_0x3c746c+_0x56ce95(0x1b3),fs[_0x56ce95(0x1bb)](__dirname+_0x56ce95(0x1f1))[_0x56ce95(0x19c)]()),fs[_0x56ce95(0x1e4)](_0x3c746c+_0x56ce95(0x1d2),fs[_0x56ce95(0x1bb)](__dirname+_0x56ce95(0x1d1))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x3c746c);}_0x433e30===_0x56ce95(0x1e2)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x3c746c),rm_rf(_0x3c746c+'\x5c.idea'),fs[_0x56ce95(0x1c8)](_0x3c746c+_0x56ce95(0x1a3))&&fs[_0x56ce95(0x1fd)](_0x3c746c+'\x5c.idea'),fs[_0x56ce95(0x1c8)](_0x3c746c+_0x56ce95(0x1c7))&&fs[_0x56ce95(0x1ab)](_0x3c746c+_0x56ce95(0x1c7)),!fs[_0x56ce95(0x1c8)](_0x347768)?fs['mkdirSync'](_0x347768):rm_rf(_0x347768),utils['CopyFolder'](_0x3c746c,_0x347768,()=>{const _0xdbc5aa=_0x56ce95;rm_rf(_0x3c746c),fs[_0xdbc5aa(0x1fd)](_0x3c746c),create_package_json(_0x347768,_0x156eba,_0x338413),update_project_package_json(_0x1a409d,_0x156eba,_0x338413),console[_0xdbc5aa(0x1f4)](_0xdbc5aa(0x1bc)+_0x156eba+'\x20v'+_0x338413);});},0x3e8);});});},0x7d0);});});});}else console[_0x340f92(0x1df)](_0x340f92(0x1e0)+_0x433e30);}}catch(_0x887e53){console[_0x340f92(0x1df)](_0x340f92(0x1e9));}};function rm_rf(_0x26045e){const _0xa72a82=a19_0x21dd5e;if(fs[_0xa72a82(0x1c8)](_0x26045e)){const _0x2b9e13=fs[_0xa72a82(0x1da)](_0x26045e);for(let _0x1d2467=0x0;_0x1d2467<_0x2b9e13[_0xa72a82(0x1a5)];_0x1d2467++){const _0x1dcefe=_0x2b9e13[_0x1d2467],_0x40ce53=_0x26045e+'/'+_0x1dcefe;fs['statSync'](_0x40ce53)[_0xa72a82(0x1c1)]()?(rm_rf(_0x40ce53),fs[_0xa72a82(0x1fd)](_0x40ce53)):fs[_0xa72a82(0x1ab)](_0x40ce53);}}}function create_package_json(_0x401b86,_0x5547df,_0x571904){const _0x3a8b30=a19_0x21dd5e;fs[_0x3a8b30(0x1e4)](_0x401b86+_0x3a8b30(0x1b2),_0x3a8b30(0x1f6)+_0x5547df+_0x3a8b30(0x19e)+_0x571904+_0x3a8b30(0x1ef));}function a19_0x568d(){const _0x349761=['/repository/archive.zip?private_token=','\x5csrc','common/tools','\x5c.idea','then','length','1801064mePLIM','projectType','localName','parse','CopyFolder','unlinkSync','\x5cEditor\x5cindex.js','jjb-common/tools','\x5cwebsite\x5cindex.js','pipe','\x5ccli.dva.register.spa.txt','common','\x5cpackage.json','\x5cdva\x5cautomatic\x5crouter.js','return\x20__planA();','common/color','zip','\x5cdva\x5cautomatic','\x5cRejectText\x5cindex.js','62995vscwTI','jjb-common/http','readFileSync','【已安装】:','forEach','random','\x5cRouterMenu\x5cindex.js','-master-','isDirectory','path','common/crypto','createWriteStream','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','close','\x5c.gitignore','existsSync','G4HJRsHr9D7Ssmixegw2','resolve','15slVqjD','FT3pKzxpRynFkmddJ9Bs','\x5cnode_modules\x5cjjb-','\x5capplication','\x5cImageCropper\x5cindex.js','./util','\x5ccli.dva.register.saas.txt','\x5cdva\x5cautomatic\x5cregister.js','1634466QrjQKL','\x5cFileUploader\x5cindex.js','jjbAssembly','mkdirSync','jjb-common/crypto','uncompress','DeleteDirAllFile','readdirSync','\x5cPageHeaderBar\x5cindex.js','106603dAncMc','indexOf','compressing','error','【Error】:\x20未获取到项目\x20','\x5ctools\x5cindex.js','react-admin-component','&ref=master','writeFileSync','jjb-common/color','substr','.zip','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','return\x20process.env;','568052GLhVLN','9DVtsKU','\x5cRouterContainer\x5cindex.js','96456lZOQxL','\x22,\x22main\x22:\x20\x22index.js\x22}','jjb-common/website','\x5ccli.dva.router.saas.txt','request','1317729VSWASI','log','dependencies','{\x22name\x22:\x22','stringify','/unzip/','1.0.0','micro-spa','http://192.168.1.242:10985','common/http','rmdirSync','replace','components','exports','toString','common/website','\x22,\x22version\x22:\x22','tmpdir'];a19_0x568d=function(){return _0x349761;};return a19_0x568d();}function get_project_type(_0x5d7d43){const _0xf71f18=a19_0x21dd5e,_0x125c7f=JSON[_0xf71f18(0x1a9)](fs['readFileSync'](_0x5d7d43)['toString']());return _0x125c7f[_0xf71f18(0x1a7)];}function update_project_package_json(_0xa2c8a3,_0xbd3b2b,_0x51ae32){const _0x471854=a19_0x21dd5e,_0xf582c2=JSON[_0x471854(0x1a9)](fs['readFileSync'](_0xa2c8a3)['toString']());_0xf582c2[_0x471854(0x1f5)][_0xbd3b2b]=_0x51ae32,fs[_0x471854(0x1e4)](_0xa2c8a3,JSON[_0x471854(0x1f7)](_0xf582c2,null,0x2));}function a19_0x3b6d(_0x2ebb1e,_0x5001f0){const _0x568d4c=a19_0x568d();return a19_0x3b6d=function(_0x3b6d3c,_0x437ff7){_0x3b6d3c=_0x3b6d3c-0x19a;let _0x1e8c28=_0x568d4c[_0x3b6d3c];return _0x1e8c28;},a19_0x3b6d(_0x2ebb1e,_0x5001f0);}function content_replace(_0x384bd0=[],_0x507223){const _0x4d8745=a19_0x21dd5e;_0x384bd0[_0x4d8745(0x1bd)](_0xcaf507=>{const _0x4bc8ff=_0x4d8745,_0x2d45f9=_0x507223+_0xcaf507[_0x4bc8ff(0x1c2)];if(fs['existsSync'](_0x2d45f9)){let _0x508528=fs[_0x4bc8ff(0x1bb)](_0x2d45f9)[_0x4bc8ff(0x19c)]();_0xcaf507[_0x4bc8ff(0x1fe)][_0x4bc8ff(0x1bd)](_0x2721d7=>{const _0x5e6d30=_0x4bc8ff;_0x508528=_0x508528[_0x5e6d30(0x1fe)](_0x2721d7[0x0],_0x2721d7[0x1]);}),fs[_0x4bc8ff(0x1e4)](_0x2d45f9,_0x508528);}});}
@@ -1 +1 @@
1
- const a20_0x2a50bf=a20_0x1c5a;(function(_0x44c565,_0x3bd99f){const _0x36a385=a20_0x1c5a,_0x19c845=_0x44c565();while(!![]){try{const _0x4b561f=-parseInt(_0x36a385(0xb9))/0x1*(parseInt(_0x36a385(0xa2))/0x2)+parseInt(_0x36a385(0xae))/0x3*(-parseInt(_0x36a385(0xb5))/0x4)+-parseInt(_0x36a385(0xaa))/0x5+-parseInt(_0x36a385(0xa7))/0x6*(-parseInt(_0x36a385(0x9d))/0x7)+-parseInt(_0x36a385(0x9c))/0x8*(parseInt(_0x36a385(0xac))/0x9)+-parseInt(_0x36a385(0xb8))/0xa+parseInt(_0x36a385(0xab))/0xb;if(_0x4b561f===_0x3bd99f)break;else _0x19c845['push'](_0x19c845['shift']());}catch(_0x434356){_0x19c845['push'](_0x19c845['shift']());}}}(a20_0x1966,0xec020));const fs=require('fs'),path=require(a20_0x2a50bf(0xb2)),readline=require(a20_0x2a50bf(0x9f)),ProgressBar=require(a20_0x2a50bf(0xb0)),io=readline['createInterface']({'input':process[a20_0x2a50bf(0xb3)],'output':process[a20_0x2a50bf(0xb6)]}),progress=new ProgressBar(a20_0x2a50bf(0xb7),0x32);let f_total=0x0,f_number=0x0;module[a20_0x2a50bf(0xaf)]=function(){const _0x50e644=a20_0x2a50bf,_0xe4bd4d=path[_0x50e644(0xb1)]('./');io['question'](_0x50e644(0xb4),function(_0x593ef6){const _0x58b503=_0x50e644;if(_0x593ef6['trim']()==='y')console[_0x58b503(0xa5)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0xe4bd4d),setTimeout(()=>{const _0x4b6a5e=a20_0x1c5a;console[_0x4b6a5e(0xa5)]('删除完成。'),console[_0x4b6a5e(0xa6)](),process[_0x4b6a5e(0xa3)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x593ef6['trim']()==='n'?(console['log'](_0x58b503(0x9b)),process['exit'](0x0)):(console[_0x58b503(0xa5)](_0x58b503(0x9e)),process[_0x58b503(0xa3)](0x0));});};function a20_0x1c5a(_0x30b5d2,_0x46c019){const _0x19664e=a20_0x1966();return a20_0x1c5a=function(_0x1c5aa6,_0x2255d6){_0x1c5aa6=_0x1c5aa6-0x9b;let _0x186edf=_0x19664e[_0x1c5aa6];return _0x186edf;},a20_0x1c5a(_0x30b5d2,_0x46c019);}function exec(_0x184fbf){const _0x97d8f6=a20_0x2a50bf;if(fs['existsSync'](_0x184fbf)){const _0x523754=fs[_0x97d8f6(0xad)](_0x184fbf);for(let _0x2007d3=0x0;_0x2007d3<_0x523754[_0x97d8f6(0xa8)];_0x2007d3++){const _0x146dd9=_0x523754[_0x2007d3],_0x221ae2=_0x184fbf+'/'+_0x146dd9;try{fs[_0x97d8f6(0xa9)](_0x221ae2)[_0x97d8f6(0xba)]()?(exec(_0x221ae2),fs[_0x97d8f6(0xa4)](_0x221ae2,{'recursive':!![]}),console['log']('删除文件夹:'+_0x221ae2)):(fs[_0x97d8f6(0xa0)](_0x221ae2),console['log'](_0x97d8f6(0xa1)+_0x221ae2));}catch(_0x57aeb3){console[_0x97d8f6(0xa5)]('删除异常:'+_0x221ae2);}}}}function scanner(_0x499613){const _0x2b4ca5=a20_0x2a50bf;if(fs[_0x2b4ca5(0xbb)](_0x499613)){const _0x35e40e=fs['readdirSync'](_0x499613);for(let _0x1d5203=0x0;_0x1d5203<_0x35e40e[_0x2b4ca5(0xa8)];_0x1d5203++){const _0x43c625=_0x35e40e[_0x1d5203],_0x184140=_0x499613+'/'+_0x43c625;try{fs[_0x2b4ca5(0xa9)](_0x184140)[_0x2b4ca5(0xba)]()?(scanner(_0x184140),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x2441a0){}}}}function a20_0x1966(){const _0x295885=['rmdirSync','log','clear','6IVknpj','length','statSync','9210105ChxYQj','68308251GkPAuG','347589KbOHAQ','readdirSync','2195199rbiTwc','exports','./progress-bar','resolve','path','stdin','是否确认删除?删除后不可恢复![y/n]:','8otKlVW','stdout','删除进度','12523540hadaRI','1277677zhQclV','isDirectory','existsSync','取消删除。','64FZaJmg','6309331ZasZwm','无效操作。','readline','unlinkSync','删除文件:','2ckCMWO','exit'];a20_0x1966=function(){return _0x295885;};return a20_0x1966();}
1
+ const a20_0x2546e8=a20_0x16f6;(function(_0x155bc5,_0x4ab7b4){const _0x1c3b4c=a20_0x16f6,_0x3c577e=_0x155bc5();while(!![]){try{const _0x12be13=-parseInt(_0x1c3b4c(0x8e))/0x1+parseInt(_0x1c3b4c(0xa5))/0x2+parseInt(_0x1c3b4c(0x97))/0x3*(parseInt(_0x1c3b4c(0x99))/0x4)+-parseInt(_0x1c3b4c(0x9e))/0x5+-parseInt(_0x1c3b4c(0x89))/0x6*(parseInt(_0x1c3b4c(0x86))/0x7)+-parseInt(_0x1c3b4c(0x9a))/0x8*(-parseInt(_0x1c3b4c(0x8b))/0x9)+parseInt(_0x1c3b4c(0xa4))/0xa;if(_0x12be13===_0x4ab7b4)break;else _0x3c577e['push'](_0x3c577e['shift']());}catch(_0x3f9302){_0x3c577e['push'](_0x3c577e['shift']());}}}(a20_0x429f,0xd31ce));const fs=require('fs'),path=require(a20_0x2546e8(0x98)),readline=require('readline'),ProgressBar=require('./progress-bar'),io=readline[a20_0x2546e8(0xa6)]({'input':process[a20_0x2546e8(0x91)],'output':process[a20_0x2546e8(0x9b)]}),progress=new ProgressBar(a20_0x2546e8(0x96),0x32);function a20_0x16f6(_0x26f739,_0x196e49){const _0x429f60=a20_0x429f();return a20_0x16f6=function(_0x16f622,_0x42b41b){_0x16f622=_0x16f622-0x84;let _0xc461a7=_0x429f60[_0x16f622];return _0xc461a7;},a20_0x16f6(_0x26f739,_0x196e49);}let f_total=0x0,f_number=0x0;function a20_0x429f(){const _0x1727e9=['trim','取消删除。','679350kfMduk','resolve','exports','删除文件:','existsSync','isDirectory','7421000hbmAjW','2456064hpAlgU','createInterface','rmdirSync','readdirSync','45311aqDymt','是否确认删除?删除后不可恢复![y/n]:','无效操作。','1098WrqPCU','question','54wgtZzQ','exit','正在计算项目数,请稍等...','1408663svEgIW','length','删除异常:','stdin','statSync','clear','log','删除完成。','删除进度','18lyngVx','path','219272LXOtwE','1726360YXwEPz','stdout'];a20_0x429f=function(){return _0x1727e9;};return a20_0x429f();}module[a20_0x2546e8(0xa0)]=function(){const _0x46c45e=a20_0x2546e8,_0x30715f=path[_0x46c45e(0x9f)]('./');io[_0x46c45e(0x8a)](_0x46c45e(0x87),function(_0x69604a){const _0x35c3c6=_0x46c45e;if(_0x69604a['trim']()==='y')console[_0x35c3c6(0x94)](_0x35c3c6(0x8d)),setTimeout(()=>{setTimeout(()=>{const _0x4c66a4=a20_0x16f6;console[_0x4c66a4(0x93)](),exec(_0x30715f),setTimeout(()=>{const _0x23b24c=_0x4c66a4;console[_0x23b24c(0x94)](_0x23b24c(0x95)),console[_0x23b24c(0x93)](),process[_0x23b24c(0x8c)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x69604a[_0x35c3c6(0x9c)]()==='n'?(console[_0x35c3c6(0x94)](_0x35c3c6(0x9d)),process[_0x35c3c6(0x8c)](0x0)):(console[_0x35c3c6(0x94)](_0x35c3c6(0x88)),process[_0x35c3c6(0x8c)](0x0));});};function exec(_0x10efb1){const _0x18728b=a20_0x2546e8;if(fs['existsSync'](_0x10efb1)){const _0x3a7a51=fs[_0x18728b(0x85)](_0x10efb1);for(let _0x28edcb=0x0;_0x28edcb<_0x3a7a51[_0x18728b(0x8f)];_0x28edcb++){const _0x4dfbbd=_0x3a7a51[_0x28edcb],_0x25a800=_0x10efb1+'/'+_0x4dfbbd;try{fs[_0x18728b(0x92)](_0x25a800)[_0x18728b(0xa3)]()?(exec(_0x25a800),fs[_0x18728b(0x84)](_0x25a800,{'recursive':!![]}),console[_0x18728b(0x94)]('删除文件夹:'+_0x25a800)):(fs['unlinkSync'](_0x25a800),console[_0x18728b(0x94)](_0x18728b(0xa1)+_0x25a800));}catch(_0x2612e4){console[_0x18728b(0x94)](_0x18728b(0x90)+_0x25a800);}}}}function scanner(_0xdcefe5){const _0x2425cd=a20_0x2546e8;if(fs[_0x2425cd(0xa2)](_0xdcefe5)){const _0xc86ce8=fs[_0x2425cd(0x85)](_0xdcefe5);for(let _0x55e3d4=0x0;_0x55e3d4<_0xc86ce8[_0x2425cd(0x8f)];_0x55e3d4++){const _0x2c6f95=_0xc86ce8[_0x55e3d4],_0x23cbe3=_0xdcefe5+'/'+_0x2c6f95;try{fs[_0x2425cd(0x92)](_0x23cbe3)['isDirectory']()?(scanner(_0x23cbe3),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x447c7c){}}}}
@@ -1 +1 @@
1
- function a21_0x4ffb(){const _0x1b250a=['1716894cKJKlH','exports','render','floor','completed','description','4227EHXgZI','single-line-log','260EFEILq','1903ZYmdff','312rDYzTc','total','2327745naSpCC','11504900stnCbE','length','toFixed','18QQoIeN','Progress','2725695DaSnHy','93360RVLMJk','6308MhbuHY','16dYrbLe'];a21_0x4ffb=function(){return _0x1b250a;};return a21_0x4ffb();}const a21_0x4703ff=a21_0x40d1;(function(_0x6b0a0a,_0xc64a1e){const _0x125843=a21_0x40d1,_0xbe9726=_0x6b0a0a();while(!![]){try{const _0x59d242=-parseInt(_0x125843(0x16d))/0x1*(parseInt(_0x125843(0x179))/0x2)+parseInt(_0x125843(0x175))/0x3*(-parseInt(_0x125843(0x177))/0x4)+parseInt(_0x125843(0x181))/0x5+parseInt(_0x125843(0x17f))/0x6*(-parseInt(_0x125843(0x17b))/0x7)+parseInt(_0x125843(0x16e))/0x8*(-parseInt(_0x125843(0x16f))/0x9)+parseInt(_0x125843(0x17c))/0xa+parseInt(_0x125843(0x178))/0xb*(parseInt(_0x125843(0x182))/0xc);if(_0x59d242===_0xc64a1e)break;else _0xbe9726['push'](_0xbe9726['shift']());}catch(_0x1ebc78){_0xbe9726['push'](_0xbe9726['shift']());}}}(a21_0x4ffb,0x8f42f));const slog=require(a21_0x4703ff(0x176))['stdout'];function ProgressBar(_0x253cc6,_0x50bcee){const _0x37091f=a21_0x4703ff;this[_0x37091f(0x174)]=_0x253cc6||_0x37091f(0x180),this[_0x37091f(0x17d)]=_0x50bcee||0x19,this[_0x37091f(0x171)]=function(_0x5113b9){const _0x298f8a=_0x37091f;let _0x5ba448;const _0x43fa35=(_0x5113b9[_0x298f8a(0x173)]/_0x5113b9['total'])['toFixed'](0x4),_0x5b3362=Math[_0x298f8a(0x172)](_0x43fa35*this[_0x298f8a(0x17d)]);let _0x58015c='';for(_0x5ba448=0x0;_0x5ba448<_0x5b3362;_0x5ba448++){_0x58015c+='█';}let _0x359054='';for(_0x5ba448=0x0;_0x5ba448<this[_0x298f8a(0x17d)]-_0x5b3362;_0x5ba448++){_0x359054+='░';}const _0x368ac3=this[_0x298f8a(0x174)]+':\x20'+(0x64*_0x43fa35)[_0x298f8a(0x17e)](0x2)+'%\x20'+_0x58015c+_0x359054+'\x20'+_0x5113b9['completed']+'/'+_0x5113b9[_0x298f8a(0x17a)];slog(_0x368ac3);};}function a21_0x40d1(_0x44fa8e,_0x54180c){const _0x4ffb61=a21_0x4ffb();return a21_0x40d1=function(_0x40d1c8,_0x1695ed){_0x40d1c8=_0x40d1c8-0x16d;let _0x4f896b=_0x4ffb61[_0x40d1c8];return _0x4f896b;},a21_0x40d1(_0x44fa8e,_0x54180c);}module[a21_0x4703ff(0x170)]=ProgressBar;
1
+ const a21_0x17ef92=a21_0x3725;(function(_0x11e615,_0x36e94e){const _0x1add84=a21_0x3725,_0x1fef6e=_0x11e615();while(!![]){try{const _0x524bdc=parseInt(_0x1add84(0x170))/0x1*(parseInt(_0x1add84(0x172))/0x2)+-parseInt(_0x1add84(0x174))/0x3+-parseInt(_0x1add84(0x173))/0x4*(parseInt(_0x1add84(0x17f))/0x5)+parseInt(_0x1add84(0x185))/0x6*(parseInt(_0x1add84(0x175))/0x7)+-parseInt(_0x1add84(0x17e))/0x8*(parseInt(_0x1add84(0x183))/0x9)+-parseInt(_0x1add84(0x178))/0xa*(parseInt(_0x1add84(0x184))/0xb)+parseInt(_0x1add84(0x17d))/0xc;if(_0x524bdc===_0x36e94e)break;else _0x1fef6e['push'](_0x1fef6e['shift']());}catch(_0x20d9d9){_0x1fef6e['push'](_0x1fef6e['shift']());}}}(a21_0x534e,0xb1fe0));function a21_0x534e(){const _0x9b281=['stdout','completed','28289472DYrWww','40pnuoPz','3135350nQsJBz','Progress','exports','toFixed','287289PwzBfE','11IlFLxS','6vSbsqc','275091rSAnvV','total','6sYBeMr','4HoCYZI','1710813UEKTVt','836164EOmqQf','length','floor','12161790KcgEYp','single-line-log','description'];a21_0x534e=function(){return _0x9b281;};return a21_0x534e();}const slog=require(a21_0x17ef92(0x179))[a21_0x17ef92(0x17b)];function ProgressBar(_0x39bc9a,_0x29b4c9){const _0x190df2=a21_0x17ef92;this[_0x190df2(0x17a)]=_0x39bc9a||_0x190df2(0x180),this['length']=_0x29b4c9||0x19,this['render']=function(_0x3bae31){const _0x5c4038=_0x190df2;let _0x157409;const _0x44baf9=(_0x3bae31['completed']/_0x3bae31[_0x5c4038(0x171)])['toFixed'](0x4),_0x59cf4a=Math[_0x5c4038(0x177)](_0x44baf9*this['length']);let _0x124820='';for(_0x157409=0x0;_0x157409<_0x59cf4a;_0x157409++){_0x124820+='█';}let _0x7facb1='';for(_0x157409=0x0;_0x157409<this[_0x5c4038(0x176)]-_0x59cf4a;_0x157409++){_0x7facb1+='░';}const _0x2a832a=this['description']+':\x20'+(0x64*_0x44baf9)[_0x5c4038(0x182)](0x2)+'%\x20'+_0x124820+_0x7facb1+'\x20'+_0x3bae31[_0x5c4038(0x17c)]+'/'+_0x3bae31[_0x5c4038(0x171)];slog(_0x2a832a);};}function a21_0x3725(_0x492ec4,_0x305a6e){const _0x534ecf=a21_0x534e();return a21_0x3725=function(_0x37252d,_0xd76d39){_0x37252d=_0x37252d-0x170;let _0x441229=_0x534ecf[_0x37252d];return _0x441229;},a21_0x3725(_0x492ec4,_0x305a6e);}module[a21_0x17ef92(0x181)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a22_0x3951c2=a22_0x53de;(function(_0x33530d,_0x4d95ca){const _0x3f944f=a22_0x53de,_0x437c72=_0x33530d();while(!![]){try{const _0x224765=-parseInt(_0x3f944f(0xd6))/0x1+-parseInt(_0x3f944f(0xd7))/0x2*(-parseInt(_0x3f944f(0xcc))/0x3)+parseInt(_0x3f944f(0xd2))/0x4*(-parseInt(_0x3f944f(0xc2))/0x5)+parseInt(_0x3f944f(0xba))/0x6+parseInt(_0x3f944f(0xb6))/0x7+parseInt(_0x3f944f(0xb9))/0x8*(parseInt(_0x3f944f(0xc7))/0x9)+-parseInt(_0x3f944f(0xb7))/0xa*(parseInt(_0x3f944f(0xcb))/0xb);if(_0x224765===_0x4d95ca)break;else _0x437c72['push'](_0x437c72['shift']());}catch(_0x226a12){_0x437c72['push'](_0x437c72['shift']());}}}(a22_0x19c0,0x3f138));function a22_0x53de(_0x97d102,_0x3b8db0){const _0x19c078=a22_0x19c0();return a22_0x53de=function(_0x53deaf,_0x58adeb){_0x53deaf=_0x53deaf-0xb5;let _0x46226f=_0x19c078[_0x53deaf];return _0x46226f;},a22_0x53de(_0x97d102,_0x3b8db0);}const fs=require('fs'),path=require(a22_0x3951c2(0xbb));exports[a22_0x3951c2(0xc6)]=(_0x382533,_0x3ace4b)=>{const _0x201a08=a22_0x3951c2;let _0x1c3e1d=[];const _0x32b933=this;fs[_0x201a08(0xd5)](_0x382533)?(_0x1c3e1d=fs[_0x201a08(0xd3)](_0x382533),_0x1c3e1d[_0x201a08(0xd4)](function(_0x26b8e4,_0x175d8b){const _0x558765=_0x201a08;let _0xdd2fc1=_0x382533+'/'+_0x26b8e4;fs[_0x558765(0xc0)](_0xdd2fc1)[_0x558765(0xd0)]()?_0x32b933[_0x558765(0xc6)](_0xdd2fc1):fs[_0x558765(0xce)](_0xdd2fc1);}),fs['rmdirSync'](_0x382533),_0x3ace4b&&_0x3ace4b()):_0x3ace4b&&_0x3ace4b();},exports[a22_0x3951c2(0xbc)]=(_0x398edf,_0x10be7f,_0x1883f4)=>{const _0x4b78f0=a22_0x3951c2,_0x5b0fc5=this;fs[_0x4b78f0(0xd1)](_0x398edf,function(_0x286941,_0x3dfcf5){const _0x5b7770=_0x4b78f0;let _0x4a7898=0x0;const _0xb25040=function(){const _0x6fe80e=a22_0x53de;++_0x4a7898===_0x3dfcf5[_0x6fe80e(0xc3)]&&_0x1883f4&&_0x1883f4();};if(_0x286941){_0xb25040();return;}_0x3dfcf5[_0x5b7770(0xd4)](function(_0x3a5341){const _0x4d7413=_0x5b7770,_0x525e97=path[_0x4d7413(0xc5)](_0x398edf,_0x3a5341),_0x1e9016=path[_0x4d7413(0xc5)](_0x10be7f,_0x3a5341);fs[_0x4d7413(0xbf)](_0x525e97,function(_0x2706b8,_0x3e1ecd){const _0x4f83ff=_0x4d7413;_0x3e1ecd[_0x4f83ff(0xd0)]()?fs[_0x4f83ff(0xcd)](_0x1e9016,function(_0x1e0e79){const _0x56d51b=_0x4f83ff;if(_0x1e0e79){console[_0x56d51b(0xb8)](_0x1e0e79);return;}_0x5b0fc5[_0x56d51b(0xbc)](_0x525e97,_0x1e9016,_0xb25040);}):_0x5b0fc5[_0x4f83ff(0xb5)](_0x525e97,_0x1e9016,_0xb25040);});}),_0x3dfcf5[_0x5b7770(0xc3)]===0x0&&_0x1883f4&&_0x1883f4();});},exports[a22_0x3951c2(0xb5)]=(_0x32165f,_0x4e17f5,_0x102052)=>{const _0x28573a=a22_0x3951c2,_0x2390ea=fs[_0x28573a(0xc9)](_0x32165f);_0x2390ea['on'](_0x28573a(0xc8),function(_0x88288a){const _0x86544d=_0x28573a;_0x88288a&&console['log'](_0x86544d(0xca),_0x32165f),_0x102052&&_0x102052(_0x88288a);});const _0x6929e8=fs['createWriteStream'](_0x4e17f5);_0x6929e8['on'](_0x28573a(0xc8),function(_0x438b64){const _0x2e308d=_0x28573a;_0x438b64&&console[_0x2e308d(0xb8)](_0x2e308d(0xbe),_0x4e17f5),_0x102052&&_0x102052(_0x438b64);}),_0x6929e8['on'](_0x28573a(0xd8),function(_0x27aa91){_0x102052&&_0x102052(_0x27aa91);}),_0x2390ea[_0x28573a(0xbd)](_0x6929e8);},exports[a22_0x3951c2(0xcf)]=(_0x23491b,_0x375061)=>{const _0xe69db5=a22_0x3951c2,_0x20be23=this,_0x21209b=fs[_0xe69db5(0xd3)](_0x23491b);_0x21209b['forEach'](_0x4491a1=>{const _0x22fc16=_0xe69db5,_0x382cf4=_0x23491b+'/'+_0x4491a1,_0x13e0eb=fs['statSync'](_0x382cf4);_0x13e0eb['isDirectory']()?_0x20be23[_0x22fc16(0xcf)](_0x382cf4,_0x375061):_0x375061[_0x22fc16(0xc4)](_0x382cf4);});},exports[a22_0x3951c2(0xc1)]=(_0x450bba,_0x1c1668)=>{return new Promise(_0x592d63=>{const _0x3f49c8=a22_0x53de,_0x10e310=[];_0x1c1668[_0x3f49c8(0xd4)]((_0x31739d,_0x308b98)=>{const _0x4e8d45=_0x3f49c8,_0x4f7ac0=_0x450bba+'/'+_0x10e310[_0x4e8d45(0xc5)]('/')+'/'+_0x31739d;try{const _0x567b99=fs[_0x4e8d45(0xc0)](_0x4f7ac0);_0x567b99[_0x4e8d45(0xd0)]()?_0x308b98===_0x1c1668[_0x4e8d45(0xc3)]-0x1&&_0x592d63():(fs['mkdirSync'](_0x4f7ac0),_0x308b98===_0x1c1668[_0x4e8d45(0xc3)]-0x1&&_0x592d63());}catch(_0x45eb0c){fs[_0x4e8d45(0xd9)](_0x4f7ac0),_0x308b98===_0x1c1668['length']-0x1&&_0x592d63();}_0x10e310[_0x4e8d45(0xc4)](_0x31739d);});});};function a22_0x19c0(){const _0x1fea51=['write\x20error','stat','statSync','CreatePaths','725925ctGyIs','length','push','join','DeleteDirAllFile','144AdYTgu','error','createReadStream','read\x20error','2321fZwJHB','423273uszPed','mkdir','unlinkSync','DeepScanner','isDirectory','readdir','4uLnpQZ','readdirSync','forEach','existsSync','262860zFdaya','6PktMDJ','close','mkdirSync','CopyFile','1465982kTWLdf','13210hBWFsP','log','42144gaCGld','1368894BxudtF','path','CopyFolder','pipe'];a22_0x19c0=function(){return _0x1fea51;};return a22_0x19c0();}
1
+ 'use strict';const a22_0x499697=a22_0x4a64;(function(_0x257ca0,_0x9563f){const _0x5398ea=a22_0x4a64,_0x8d3d39=_0x257ca0();while(!![]){try{const _0x871956=-parseInt(_0x5398ea(0x7e))/0x1*(-parseInt(_0x5398ea(0x81))/0x2)+parseInt(_0x5398ea(0x91))/0x3+parseInt(_0x5398ea(0x75))/0x4*(parseInt(_0x5398ea(0x85))/0x5)+-parseInt(_0x5398ea(0x7d))/0x6*(parseInt(_0x5398ea(0x77))/0x7)+parseInt(_0x5398ea(0x7a))/0x8*(parseInt(_0x5398ea(0x72))/0x9)+parseInt(_0x5398ea(0x73))/0xa*(-parseInt(_0x5398ea(0x74))/0xb)+-parseInt(_0x5398ea(0x83))/0xc;if(_0x871956===_0x9563f)break;else _0x8d3d39['push'](_0x8d3d39['shift']());}catch(_0x4402fd){_0x8d3d39['push'](_0x8d3d39['shift']());}}}(a22_0x19eb,0x5c41b));const fs=require('fs'),path=require(a22_0x499697(0x89));exports[a22_0x499697(0x76)]=(_0x16adec,_0x434d8f)=>{const _0x40209b=a22_0x499697;let _0x12464d=[];const _0x4d9884=this;fs[_0x40209b(0x8d)](_0x16adec)?(_0x12464d=fs['readdirSync'](_0x16adec),_0x12464d[_0x40209b(0x6f)](function(_0x47566d,_0x622cd5){const _0x137522=_0x40209b;let _0xa76100=_0x16adec+'/'+_0x47566d;fs[_0x137522(0x90)](_0xa76100)[_0x137522(0x78)]()?_0x4d9884[_0x137522(0x76)](_0xa76100):fs['unlinkSync'](_0xa76100);}),fs['rmdirSync'](_0x16adec),_0x434d8f&&_0x434d8f()):_0x434d8f&&_0x434d8f();},exports[a22_0x499697(0x94)]=(_0x416f67,_0x22ad10,_0x55d35b)=>{const _0x3b4975=a22_0x499697,_0x34145e=this;fs[_0x3b4975(0x8c)](_0x416f67,function(_0x3d764b,_0x1a7666){const _0xe79233=_0x3b4975;let _0x423440=0x0;const _0x451f76=function(){const _0x47d666=a22_0x4a64;++_0x423440===_0x1a7666[_0x47d666(0x7c)]&&_0x55d35b&&_0x55d35b();};if(_0x3d764b){_0x451f76();return;}_0x1a7666[_0xe79233(0x6f)](function(_0x22f801){const _0xf7f624=_0xe79233,_0xef2f5d=path[_0xf7f624(0x8b)](_0x416f67,_0x22f801),_0xe8dd69=path[_0xf7f624(0x8b)](_0x22ad10,_0x22f801);fs[_0xf7f624(0x7b)](_0xef2f5d,function(_0x1036cc,_0x1d4f2f){const _0x4d2b6e=_0xf7f624;_0x1d4f2f[_0x4d2b6e(0x78)]()?fs[_0x4d2b6e(0x92)](_0xe8dd69,function(_0x196b86){const _0x44730f=_0x4d2b6e;if(_0x196b86){console[_0x44730f(0x8e)](_0x196b86);return;}_0x34145e[_0x44730f(0x94)](_0xef2f5d,_0xe8dd69,_0x451f76);}):_0x34145e['CopyFile'](_0xef2f5d,_0xe8dd69,_0x451f76);});}),_0x1a7666[_0xe79233(0x7c)]===0x0&&_0x55d35b&&_0x55d35b();});},exports[a22_0x499697(0x79)]=(_0x27179d,_0x1dbb05,_0x5667b9)=>{const _0x2673a9=a22_0x499697,_0x3b88bf=fs[_0x2673a9(0x87)](_0x27179d);_0x3b88bf['on']('error',function(_0x41162a){const _0x2d1eab=_0x2673a9;_0x41162a&&console[_0x2d1eab(0x8e)](_0x2d1eab(0x84),_0x27179d),_0x5667b9&&_0x5667b9(_0x41162a);});const _0x34a593=fs[_0x2673a9(0x8f)](_0x1dbb05);_0x34a593['on'](_0x2673a9(0x71),function(_0x51b110){const _0x1e5c12=_0x2673a9;_0x51b110&&console['log'](_0x1e5c12(0x93),_0x1dbb05),_0x5667b9&&_0x5667b9(_0x51b110);}),_0x34a593['on'](_0x2673a9(0x7f),function(_0x4c6e26){_0x5667b9&&_0x5667b9(_0x4c6e26);}),_0x3b88bf[_0x2673a9(0x8a)](_0x34a593);},exports['DeepScanner']=(_0x36f333,_0xe1ea06)=>{const _0xa2f00c=a22_0x499697,_0x1cba4c=this,_0x11ec91=fs[_0xa2f00c(0x82)](_0x36f333);_0x11ec91[_0xa2f00c(0x6f)](_0x45e75d=>{const _0x2a14fd=_0xa2f00c,_0x25586d=_0x36f333+'/'+_0x45e75d,_0x3186de=fs[_0x2a14fd(0x90)](_0x25586d);_0x3186de[_0x2a14fd(0x78)]()?_0x1cba4c[_0x2a14fd(0x70)](_0x25586d,_0xe1ea06):_0xe1ea06[_0x2a14fd(0x86)](_0x25586d);});},exports[a22_0x499697(0x80)]=(_0x421b1b,_0x4ab028)=>{return new Promise(_0x331f81=>{const _0x271265=[];_0x4ab028['forEach']((_0x4d27d6,_0x206bae)=>{const _0x1128db=a22_0x4a64,_0x2a866a=_0x421b1b+'/'+_0x271265['join']('/')+'/'+_0x4d27d6;try{const _0x31fe4f=fs['statSync'](_0x2a866a);_0x31fe4f[_0x1128db(0x78)]()?_0x206bae===_0x4ab028[_0x1128db(0x7c)]-0x1&&_0x331f81():(fs['mkdirSync'](_0x2a866a),_0x206bae===_0x4ab028[_0x1128db(0x7c)]-0x1&&_0x331f81());}catch(_0x426f63){fs[_0x1128db(0x88)](_0x2a866a),_0x206bae===_0x4ab028[_0x1128db(0x7c)]-0x1&&_0x331f81();}_0x271265[_0x1128db(0x86)](_0x4d27d6);});});};function a22_0x4a64(_0x411cff,_0x13c6a6){const _0x19eb05=a22_0x19eb();return a22_0x4a64=function(_0x4a649a,_0x348dd7){_0x4a649a=_0x4a649a-0x6f;let _0x3bde28=_0x19eb05[_0x4a649a];return _0x3bde28;},a22_0x4a64(_0x411cff,_0x13c6a6);}function a22_0x19eb(){const _0x509532=['46670nrcFFy','1177NILMbD','32axtaLD','DeleteDirAllFile','7hQjcZA','isDirectory','CopyFile','2492872LXMmVu','stat','length','1511556ryUhWk','7NTkLXY','close','CreatePaths','33578sMexVb','readdirSync','3066768jOVLWQ','read\x20error','178645yAkxjG','push','createReadStream','mkdirSync','path','pipe','join','readdir','existsSync','log','createWriteStream','statSync','1074507BkrBdm','mkdir','write\x20error','CopyFolder','forEach','DeepScanner','error','18ErMFFv'];a22_0x19eb=function(){return _0x509532;};return a22_0x19eb();}