jjb-cmd 2.1.10 → 2.1.11

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,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.11</p>
6
+ <div>增加install.app</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.10</p>
6
10
  <div>组件push增加用户名参数给服务端</div>
package/bin/command.js CHANGED
@@ -129,4 +129,9 @@ commander.command('install').description('-- 安装').action(() => {
129
129
  require('../src/new/cmd.install/index.js')();
130
130
  });
131
131
 
132
+ // install 安装
133
+ commander.command('install.app').description('-- 安装').action(stdin => {
134
+ require('../src/new/cmd.install.app/index.js')(stdin);
135
+ });
136
+
132
137
  commander.parse(process.argv);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.10",
4
+ "version": "2.1.11",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x58acdf=a0_0x58da;function a0_0x2515(){const _0x1946a8=['writeFileSync','data','Auth\x20Fail!','existsSync','post','then','909JYBjdV','axios','catch','12167109nAxOrH','/api/auth','9106650ILLBoi','log','12232TANLqO','../cmd.install/config','6129042pMCNXo','10EYLwJb','7927830WrULxR','unlinkSync','145Qqqakg','3700gxdbik','status','Auth\x20NetWork\x20Fail!','9497880GzzJua','path','exports'];a0_0x2515=function(){return _0x1946a8;};return a0_0x2515();}(function(_0x4ce029,_0x2fe5fd){const _0x2230da=a0_0x58da,_0x5f55a0=_0x4ce029();while(!![]){try{const _0x26644b=parseInt(_0x2230da(0x1b8))/0x1*(-parseInt(_0x2230da(0x1cc))/0x2)+parseInt(_0x2230da(0x1c5))/0x3*(parseInt(_0x2230da(0x1b9))/0x4)+parseInt(_0x2230da(0x1b6))/0x5+parseInt(_0x2230da(0x1b4))/0x6+-parseInt(_0x2230da(0x1ca))/0x7+-parseInt(_0x2230da(0x1bc))/0x8+-parseInt(_0x2230da(0x1c8))/0x9*(-parseInt(_0x2230da(0x1b5))/0xa);if(_0x26644b===_0x2fe5fd)break;else _0x5f55a0['push'](_0x5f55a0['shift']());}catch(_0x43b4c2){_0x5f55a0['push'](_0x5f55a0['shift']());}}}(a0_0x2515,0xd2ff4));function a0_0x58da(_0x390e2c,_0x5b7f35){const _0x2515b1=a0_0x2515();return a0_0x58da=function(_0x58dac9,_0x1f36b0){_0x58dac9=_0x58dac9-0x1b3;let _0x5daa45=_0x2515b1[_0x58dac9];return _0x5daa45;},a0_0x58da(_0x390e2c,_0x5b7f35);}const axios=require(a0_0x58acdf(0x1c6)),fs=require('fs'),path=require(a0_0x58acdf(0x1bd)),{API_HOST}=require(a0_0x58acdf(0x1b3));module[a0_0x58acdf(0x1be)]=_0x38f2a9=>{const _0x51f358=a0_0x58acdf;console[_0x51f358(0x1cb)](_0x38f2a9);const [_0x204edc,_0x4db46c]=_0x38f2a9;axios[_0x51f358(0x1c3)](API_HOST+_0x51f358(0x1c9),{'username':_0x204edc,'password':_0x4db46c})[_0x51f358(0x1c4)](_0x654a65=>{const _0x4b8e75=_0x51f358,_0x10c77b=path['join'](__dirname,'../../../.auth');_0x654a65[_0x4b8e75(0x1c0)][_0x4b8e75(0x1ba)]?(console[_0x4b8e75(0x1cb)]('Auth\x20Success!'),fs[_0x4b8e75(0x1bf)](_0x10c77b,_0x204edc+'/'+_0x4db46c)):(console[_0x4b8e75(0x1cb)](_0x4b8e75(0x1c1)),fs[_0x4b8e75(0x1c2)](_0x10c77b)&&fs[_0x4b8e75(0x1b7)](_0x10c77b));})[_0x51f358(0x1c7)](_0xc21519=>{const _0x58f394=_0x51f358;console[_0x58f394(0x1cb)](_0x58f394(0x1bb));});};
1
+ const a0_0x144ec3=a0_0x4f74;function a0_0x4f74(_0x1dbc94,_0x34c45a){const _0x18e26b=a0_0x18e2();return a0_0x4f74=function(_0x4f74c1,_0x4d044b){_0x4f74c1=_0x4f74c1-0x16c;let _0x163246=_0x18e26b[_0x4f74c1];return _0x163246;},a0_0x4f74(_0x1dbc94,_0x34c45a);}(function(_0xdacc07,_0x3fb22c){const _0x5c0231=a0_0x4f74,_0x3b19a3=_0xdacc07();while(!![]){try{const _0x4854ea=parseInt(_0x5c0231(0x17c))/0x1+parseInt(_0x5c0231(0x16c))/0x2*(-parseInt(_0x5c0231(0x177))/0x3)+-parseInt(_0x5c0231(0x173))/0x4+-parseInt(_0x5c0231(0x180))/0x5*(-parseInt(_0x5c0231(0x171))/0x6)+parseInt(_0x5c0231(0x17f))/0x7+parseInt(_0x5c0231(0x174))/0x8+-parseInt(_0x5c0231(0x17a))/0x9;if(_0x4854ea===_0x3fb22c)break;else _0x3b19a3['push'](_0x3b19a3['shift']());}catch(_0x43b74b){_0x3b19a3['push'](_0x3b19a3['shift']());}}}(a0_0x18e2,0x4847a));function a0_0x18e2(){const _0x2ab4a8=['/api/auth','3493385YFjwGk','215CRbeLD','Auth\x20NetWork\x20Fail!','path','join','exports','14MVFofZ','Auth\x20Fail!','existsSync','writeFileSync','../cmd.install/config','57474auDGIo','../../../.auth','57760URpFmy','4121568lxRFWE','data','then','4776cXDbHx','unlinkSync','Auth\x20Success!','13304817ApRwtM','post','373807GZvJqg','log'];a0_0x18e2=function(){return _0x2ab4a8;};return a0_0x18e2();}const axios=require('axios'),fs=require('fs'),path=require(a0_0x144ec3(0x182)),{API_HOST}=require(a0_0x144ec3(0x170));module[a0_0x144ec3(0x184)]=_0x234e3e=>{const _0x2a8898=a0_0x144ec3;console['log'](_0x234e3e);const [_0x4f3786,_0x2a22f3]=_0x234e3e;axios[_0x2a8898(0x17b)](API_HOST+_0x2a8898(0x17e),{'username':_0x4f3786,'password':_0x2a22f3})[_0x2a8898(0x176)](_0x3e5ba2=>{const _0xc541c1=_0x2a8898,_0x4a848f=path[_0xc541c1(0x183)](__dirname,_0xc541c1(0x172));_0x3e5ba2[_0xc541c1(0x175)]['status']?(console[_0xc541c1(0x17d)](_0xc541c1(0x179)),fs[_0xc541c1(0x16f)](_0x4a848f,_0x4f3786+'/'+_0x2a22f3)):(console[_0xc541c1(0x17d)](_0xc541c1(0x16d)),fs[_0xc541c1(0x16e)](_0x4a848f)&&fs[_0xc541c1(0x178)](_0x4a848f));})['catch'](_0x4f6e85=>{const _0x3e9e9e=_0x2a8898;console[_0x3e9e9e(0x17d)](_0x3e9e9e(0x181));});};
@@ -1 +1 @@
1
- function a1_0x3dca(_0x5a1e01,_0x112438){const _0x48b7ee=a1_0x48b7();return a1_0x3dca=function(_0x3dca49,_0x4fea36){_0x3dca49=_0x3dca49-0xfd;let _0x2c5a42=_0x48b7ee[_0x3dca49];return _0x2c5a42;},a1_0x3dca(_0x5a1e01,_0x112438);}const a1_0x42a686=a1_0x3dca;(function(_0x49816e,_0x46fdc5){const _0x54bf03=a1_0x3dca,_0xc9d948=_0x49816e();while(!![]){try{const _0x1fbd97=-parseInt(_0x54bf03(0x107))/0x1+parseInt(_0x54bf03(0x11d))/0x2+parseInt(_0x54bf03(0x105))/0x3+-parseInt(_0x54bf03(0x115))/0x4*(-parseInt(_0x54bf03(0x104))/0x5)+-parseInt(_0x54bf03(0x100))/0x6+parseInt(_0x54bf03(0x101))/0x7*(parseInt(_0x54bf03(0x10f))/0x8)+-parseInt(_0x54bf03(0xfe))/0x9;if(_0x1fbd97===_0x46fdc5)break;else _0xc9d948['push'](_0xc9d948['shift']());}catch(_0x36adee){_0xc9d948['push'](_0xc9d948['shift']());}}}(a1_0x48b7,0x4bd8a));const path=require(a1_0x42a686(0x11b)),{f_file_copy}=require('../cmd.install/tools'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a1_0x42a686(0x118)),request=require(a1_0x42a686(0x10a)),compressing=require('compressing');module[a1_0x42a686(0x112)]=_0x31fd4e=>{const _0x1bb884=a1_0x42a686,_0x43c2c7=path[_0x1bb884(0x109)]('./'),_0x26cc5d=CLOUD_PROJECT[_0x31fd4e]||undefined;if(_0x26cc5d){const _0x1bafa7=os[_0x1bb884(0x111)](),_0x47e9ad=_0x1bafa7+'/'+GIT_TEMP_DIR+'/'+_0x31fd4e+'.zip',_0x4e4c6d=_0x1bafa7+'/'+GIT_TEMP_DIR+_0x1bb884(0xff);utils['DeleteDirAllFile'](_0x1bafa7+'/'+GIT_TEMP_DIR,()=>{const _0x378ea6=_0x1bb884;fs[_0x378ea6(0x119)](_0x1bafa7+'/'+GIT_TEMP_DIR);let _0x395ef0=fs[_0x378ea6(0x10e)](_0x47e9ad);request(GIT_HOST+_0x378ea6(0x11c)+_0x26cc5d[_0x378ea6(0x103)]+_0x378ea6(0x10d)+_0x26cc5d[_0x378ea6(0x102)]+_0x378ea6(0x117))[_0x378ea6(0x106)](_0x395ef0)['on'](_0x378ea6(0x10b),()=>{const _0x3858a6=_0x378ea6;fs['mkdirSync'](_0x4e4c6d),compressing[_0x3858a6(0x10c)]['uncompress'](_0x47e9ad,_0x4e4c6d)['then'](()=>{setTimeout(()=>{const _0x230e22=a1_0x3dca;fs['readdirSync'](_0x4e4c6d)[_0x230e22(0x114)](_0x4cf91f=>{const _0x16de21=_0x230e22;_0x4cf91f['indexOf'](_0x16de21(0x113))!==-0x1&&utils[_0x16de21(0x108)](_0x4e4c6d+_0x4cf91f,_0x43c2c7,()=>{const _0x420742=_0x16de21;console[_0x420742(0xfd)](_0x420742(0x11a)),process[_0x420742(0x110)](0x0);});});},0x7d0);});});});}else console[_0x1bb884(0xfd)](_0x1bb884(0x116)+_0x31fd4e+'不存在。');};function a1_0x48b7(){const _0x10d2ed=['12187DvNdCj','token','projectId','110860oJLXcD','1078323FXQLwF','pipe','174088eSiDqV','CopyFolder','resolve','request','close','zip','/repository/archive.zip?private_token=','createWriteStream','2512yFeuvd','exit','tmpdir','exports','-master-','forEach','104SZhTmE','【Error】:初始化失败,','&ref=master','../../old/util','mkdirSync','初始化完成!','path','/api/v4/projects/','135586UagNVv','log','8003916hXSHFV','/unzip/','1057812oiWWpy'];a1_0x48b7=function(){return _0x10d2ed;};return a1_0x48b7();}
1
+ const a1_0x37baa7=a1_0x5ce9;(function(_0x306191,_0x44b107){const _0x1405e8=a1_0x5ce9,_0x30a4a8=_0x306191();while(!![]){try{const _0x29c9fe=-parseInt(_0x1405e8(0x1e7))/0x1+parseInt(_0x1405e8(0x1d8))/0x2+-parseInt(_0x1405e8(0x1fa))/0x3*(parseInt(_0x1405e8(0x1f5))/0x4)+-parseInt(_0x1405e8(0x1df))/0x5+parseInt(_0x1405e8(0x1e9))/0x6*(-parseInt(_0x1405e8(0x1e4))/0x7)+parseInt(_0x1405e8(0x1dd))/0x8*(parseInt(_0x1405e8(0x1f9))/0x9)+parseInt(_0x1405e8(0x1e8))/0xa*(parseInt(_0x1405e8(0x1e1))/0xb);if(_0x29c9fe===_0x44b107)break;else _0x30a4a8['push'](_0x30a4a8['shift']());}catch(_0x32cfd4){_0x30a4a8['push'](_0x30a4a8['shift']());}}}(a1_0x2319,0x2c00f));const path=require(a1_0x37baa7(0x1fd)),{f_file_copy}=require(a1_0x37baa7(0x1e6)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x37baa7(0x1d9)),fs=require('fs'),os=require('os'),utils=require('../../old/util'),request=require(a1_0x37baa7(0x1de)),compressing=require(a1_0x37baa7(0x1ec));module['exports']=_0x3a3d4f=>{const _0x3eada9=a1_0x37baa7,_0x3abd6e=path[_0x3eada9(0x1ea)]('./'),_0x3a4d0a=CLOUD_PROJECT[_0x3a3d4f]||undefined;if(_0x3a4d0a){const _0x28fb49=os['tmpdir'](),_0x9ba3a4=_0x28fb49+'/'+GIT_TEMP_DIR+'/'+_0x3a3d4f+_0x3eada9(0x1f3),_0x385dff=_0x28fb49+'/'+GIT_TEMP_DIR+_0x3eada9(0x1eb);utils[_0x3eada9(0x1f4)](_0x28fb49+'/'+GIT_TEMP_DIR,()=>{const _0x443af0=_0x3eada9;fs[_0x443af0(0x1ed)](_0x28fb49+'/'+GIT_TEMP_DIR);let _0x542b60=fs[_0x443af0(0x1dc)](_0x9ba3a4);request(GIT_HOST+_0x443af0(0x1e3)+_0x3a4d0a[_0x443af0(0x1e5)]+'/repository/archive.zip?private_token='+_0x3a4d0a[_0x443af0(0x1e2)]+_0x443af0(0x1e0))[_0x443af0(0x1fc)](_0x542b60)['on'](_0x443af0(0x1f1),()=>{const _0x1ab0ea=_0x443af0;fs[_0x1ab0ea(0x1ed)](_0x385dff),compressing[_0x1ab0ea(0x1f0)][_0x1ab0ea(0x1ef)](_0x9ba3a4,_0x385dff)[_0x1ab0ea(0x1f2)](()=>{setTimeout(()=>{const _0x136642=a1_0x5ce9;fs['readdirSync'](_0x385dff)[_0x136642(0x1fb)](_0x40f394=>{const _0x316826=_0x136642;_0x40f394[_0x316826(0x1db)](_0x316826(0x1f8))!==-0x1&&utils['CopyFolder'](_0x385dff+_0x40f394,_0x3abd6e,()=>{const _0x535cf0=_0x316826;console[_0x535cf0(0x1f7)](_0x535cf0(0x1ee)),process[_0x535cf0(0x1da)](0x0);});});},0x7d0);});});});}else console['log'](_0x3eada9(0x1f6)+_0x3a3d4f+'不存在。');};function a1_0x5ce9(_0x1fecfa,_0x386a4e){const _0x231918=a1_0x2319();return a1_0x5ce9=function(_0x5ce90f,_0x4614db){_0x5ce90f=_0x5ce90f-0x1d8;let _0x4cd080=_0x231918[_0x5ce90f];return _0x4cd080;},a1_0x5ce9(_0x1fecfa,_0x386a4e);}function a1_0x2319(){const _0x176fe6=['token','/api/v4/projects/','133DEuyuN','projectId','../cmd.install/tools','327326gkzYyH','110lDaDAh','54546vAYOVc','resolve','/unzip/','compressing','mkdirSync','初始化完成!','uncompress','zip','close','then','.zip','DeleteDirAllFile','1250488NmJDVQ','【Error】:初始化失败,','log','-master-','9FkDJPa','3wOZwRb','forEach','pipe','path','316638FDGXuV','../cmd.install/config','exit','indexOf','createWriteStream','1623056xFChVC','request','1036660lCTzbT','&ref=master','839047UTkAXx'];a1_0x2319=function(){return _0x176fe6;};return a1_0x2319();}
@@ -1 +1 @@
1
- const a2_0x249586=a2_0x2616;(function(_0x1423ad,_0x5dd837){const _0x326dd7=a2_0x2616,_0x4df6f5=_0x1423ad();while(!![]){try{const _0x3dc1f3=parseInt(_0x326dd7(0x94))/0x1*(-parseInt(_0x326dd7(0x89))/0x2)+-parseInt(_0x326dd7(0x8f))/0x3*(-parseInt(_0x326dd7(0x8c))/0x4)+-parseInt(_0x326dd7(0x81))/0x5*(parseInt(_0x326dd7(0x7d))/0x6)+parseInt(_0x326dd7(0x8e))/0x7*(-parseInt(_0x326dd7(0x97))/0x8)+-parseInt(_0x326dd7(0x86))/0x9*(-parseInt(_0x326dd7(0x93))/0xa)+-parseInt(_0x326dd7(0x90))/0xb*(parseInt(_0x326dd7(0x95))/0xc)+parseInt(_0x326dd7(0x80))/0xd;if(_0x3dc1f3===_0x5dd837)break;else _0x4df6f5['push'](_0x4df6f5['shift']());}catch(_0x49eb0f){_0x4df6f5['push'](_0x4df6f5['shift']());}}}(a2_0x3af9,0xf1059));const os=require('os');function a2_0x2616(_0x1e4734,_0x2b128d){const _0x3af90f=a2_0x3af9();return a2_0x2616=function(_0x261674,_0x10d930){_0x261674=_0x261674-0x7b;let _0x4bc16b=_0x3af90f[_0x261674];return _0x4bc16b;},a2_0x2616(_0x1e4734,_0x2b128d);}function a2_0x3af9(){const _0x8512a6=['8948424pVlwMX','FqNrmFAgrxasMrbbjvq9','now','58058468llhCcQ','5lLqKUy','jjb-assembly-','gPSit8aJsLVmNzuQ5Cy4','CLOUD_PROJECT','dev','15612138WRccyb','jjb-assembly-java','FT3pKzxpRynFkmddJ9Bs','44vzdUVa','TEMPLATE_FOLDER','test','17464KZoeuK','ywPtT3xCG6b_vAxp6sTj','805wYOhMW','6yrOrjN','33lBsleq','GIT_JAVA_ENV_JSON','hLqARY89CN6fUD3yg4NL','10viFYVe','77762tcVobl','778188mMfrEv','prod','126992RbDKei','d4wQ7dzEjYPsgVbKnYei','GIT_TEMP_DIR','7V-YUxhmh51Mdhgx4rq4','e9njpBd1nS_LREN8GFpR'];a2_0x3af9=function(){return _0x8512a6;};return a2_0x3af9();}exports['API_HOST']='http://120.26.210.58:8088',exports['GIT_HOST']='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']=a2_0x249586(0x82)+Date[a2_0x249586(0x7f)](),exports['GIT_TEMP_JAVA']=a2_0x249586(0x87),exports[a2_0x249586(0x91)]={'development':a2_0x249586(0x85),'production':a2_0x249586(0x96),'test':a2_0x249586(0x8b)},exports[a2_0x249586(0x84)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x249586(0x88),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x249586(0x92),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x249586(0x7c),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x249586(0x83),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x249586(0x98),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x249586(0x7b),'projectId':0x33e},'micro-app':{'token':a2_0x249586(0x7e),'projectId':0x33d},'lib':{'token':a2_0x249586(0x8d),'projectId':0x33c}},exports[a2_0x249586(0x8a)]=os['tmpdir']()+'\x5c'+exports[a2_0x249586(0x99)];
1
+ function a2_0x3e20(){const _0xc82888=['jjb-assembly-','jjb-assembly-java','1bGlhHF','807864MsSvAM','snBxJ2i5kYarGGcsojhY','127084BSifyX','G4HJRsHr9D7Ssmixegw2','test','7V-YUxhmh51Mdhgx4rq4','now','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','8141660pTCfZN','GIT_TEMP_JAVA','36RBJLzu','12215icukMC','http://192.168.1.242:10985','3270KQRcWW','3128733UTnyEj','10244619KJWxPG','GIT_TEMP_DIR','18qgHwCD','GIT_JAVA_ENV_JSON','306420GNuvXF','CLOUD_PROJECT','gPSit8aJsLVmNzuQ5Cy4','GIT_HOST','tmpdir','http://120.26.210.58:8088'];a2_0x3e20=function(){return _0xc82888;};return a2_0x3e20();}const a2_0x119a33=a2_0x13e7;function a2_0x13e7(_0x457e82,_0x4a91d7){const _0x3e2076=a2_0x3e20();return a2_0x13e7=function(_0x13e77c,_0x5c1d0b){_0x13e77c=_0x13e77c-0x99;let _0x4624af=_0x3e2076[_0x13e77c];return _0x4624af;},a2_0x13e7(_0x457e82,_0x4a91d7);}(function(_0x541e73,_0x47bb8d){const _0x544942=a2_0x13e7,_0x2c9149=_0x541e73();while(!![]){try{const _0x363aab=parseInt(_0x544942(0x9b))/0x1*(parseInt(_0x544942(0x9e))/0x2)+parseInt(_0x544942(0xab))/0x3+-parseInt(_0x544942(0xa7))/0x4*(parseInt(_0x544942(0xb0))/0x5)+parseInt(_0x544942(0xaa))/0x6*(parseInt(_0x544942(0xa8))/0x7)+parseInt(_0x544942(0x9c))/0x8+parseInt(_0x544942(0xae))/0x9*(-parseInt(_0x544942(0xa5))/0xa)+parseInt(_0x544942(0xac))/0xb;if(_0x363aab===_0x47bb8d)break;else _0x2c9149['push'](_0x2c9149['shift']());}catch(_0x2c1c81){_0x2c9149['push'](_0x2c9149['shift']());}}}(a2_0x3e20,0xde24e));const os=require('os');exports['API_HOST']=a2_0x119a33(0xb5),exports[a2_0x119a33(0xb3)]=a2_0x119a33(0xa9),exports[a2_0x119a33(0xad)]=a2_0x119a33(0x99)+Date[a2_0x119a33(0xa2)](),exports[a2_0x119a33(0xa6)]=a2_0x119a33(0x9a),exports[a2_0x119a33(0xaf)]={'development':'dev','production':'prod','test':a2_0x119a33(0xa0)},exports[a2_0x119a33(0xb1)]={'common':{'token':a2_0x119a33(0x9f),'projectId':0x117},'react-admin-component':{'token':a2_0x119a33(0xa4),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0x119a33(0xb2),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a2_0x119a33(0x9d),'projectId':0x33f},'micro-app-ts':{'token':a2_0x119a33(0xa1),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x119a33(0xa3)]=os[a2_0x119a33(0xb4)]()+'\x5c'+exports[a2_0x119a33(0xad)];
@@ -1 +1 @@
1
- const a3_0x21beb6=a3_0x4017;function a3_0x4017(_0x379097,_0x4b4f8d){const _0x29a1fd=a3_0x29a1();return a3_0x4017=function(_0x4017e0,_0x741b30){_0x4017e0=_0x4017e0-0xd5;let _0x12a42f=_0x29a1fd[_0x4017e0];return _0x12a42f;},a3_0x4017(_0x379097,_0x4b4f8d);}(function(_0x2c28cb,_0x221b07){const _0x2fbdb6=a3_0x4017,_0x98179=_0x2c28cb();while(!![]){try{const _0x2f012e=parseInt(_0x2fbdb6(0xfa))/0x1*(parseInt(_0x2fbdb6(0xd5))/0x2)+-parseInt(_0x2fbdb6(0xda))/0x3*(parseInt(_0x2fbdb6(0x10e))/0x4)+parseInt(_0x2fbdb6(0xd7))/0x5*(parseInt(_0x2fbdb6(0xdc))/0x6)+parseInt(_0x2fbdb6(0x10b))/0x7+-parseInt(_0x2fbdb6(0x105))/0x8+-parseInt(_0x2fbdb6(0x108))/0x9+parseInt(_0x2fbdb6(0xfd))/0xa*(parseInt(_0x2fbdb6(0x10a))/0xb);if(_0x2f012e===_0x221b07)break;else _0x98179['push'](_0x98179['shift']());}catch(_0x47a1a8){_0x98179['push'](_0x98179['shift']());}}}(a3_0x29a1,0x39812));const fs=require('fs'),path=require(a3_0x21beb6(0x10f)),request=require(a3_0x21beb6(0xff)),compressing=require(a3_0x21beb6(0xe1)),{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('./tools'),{TEMPLATE_FOLDER}=require(a3_0x21beb6(0xe0)),start_time=Date[a3_0x21beb6(0xf7)]();function a3_0x29a1(){const _0x962936=['package.json','filter','jjb-common-lib','zip','rmdirSync','length','name','log','src','【Error】:安装失败,node_modules目录不存在。','1.0.0','close','src\x5c','installTarget','pipe','now','_zip','includes','8845WNBdmS','uncompress','existsSync','3610EjfoCL','mkdirSync','request','createWriteStream','exports','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','.gitignore','【Error】:安装失败,src目录不存在。','2719496tmeHFc','exit','replace','1904733dAoeBX','【jjb-cmd】:install命令执行完成,用时','913jGpWiE','1700279Nmetup','.idea','\x5ctypes','24rMnxDY','path','compress','50NhyUot','join','236715qabvdj','pure_name','installResources','19137SPvYRb','readdirSync','42mbxFNh','import_list','find','push','./config','compressing','map','repository','unlinkSync','forEach','index.js','node_modules'];a3_0x29a1=function(){return _0x962936;};return a3_0x29a1();}module[a3_0x21beb6(0x101)]=()=>{const _0x985115=a3_0x21beb6,_0x132461=path['resolve']('./'),_0x2422aa=[_0x132461,_0x985115(0xf4)][_0x985115(0xd6)]('\x5c'),_0x3a393a=[_0x132461,_0x985115(0xe7)]['join']('\x5c'),_0x517c96=[_0x132461,_0x985115(0xe8)][_0x985115(0xd6)]('\x5c');if(f_scan_jjb_config_json(_0x132461)){const _0x3caf35=f_scan_jjb_config_json_rules(_0x132461);_0x3caf35['installTarget']===_0x985115(0xe7)?!fs[_0x985115(0xfc)](_0x3a393a)?(console[_0x985115(0xef)](_0x985115(0xf1)),process[_0x985115(0x106)](0x0)):console[_0x985115(0xef)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs[_0x985115(0xfc)](_0x2422aa)&&(console['log'](_0x985115(0x104)),process['exit'](0x0));fs[_0x985115(0xfe)](TEMPLATE_FOLDER),f_pull_git_repository(_0x3caf35[_0x985115(0xd9)])[_0x985115(0xe2)](_0x4ba66d=>{const _0x1dc9c2=_0x985115,_0x4822d0=fs[_0x1dc9c2(0x100)](_0x4ba66d[_0x1dc9c2(0x10f)]);request(_0x4ba66d[_0x1dc9c2(0xe3)])[_0x1dc9c2(0xf6)](_0x4822d0)['on'](_0x1dc9c2(0xf3),()=>{const _0x45f587=_0x1dc9c2;fs[_0x45f587(0xfe)](_0x4ba66d['compress']),compressing[_0x45f587(0xeb)][_0x45f587(0xfb)](_0x4ba66d['path'],_0x4ba66d[_0x45f587(0x110)]);});});const _0x530512=setInterval(()=>{const _0x59bd60=_0x985115,_0x584975=fs['readdirSync'](TEMPLATE_FOLDER),_0x13eda7=_0x584975[_0x59bd60(0xe9)](_0x289af7=>_0x3caf35[_0x59bd60(0xd9)][_0x59bd60(0xe2)](_0xabfa3a=>_0xabfa3a['name']+_0x59bd60(0xf8))[_0x59bd60(0xf9)](_0x289af7));if(_0x13eda7[_0x59bd60(0xed)]===_0x3caf35[_0x59bd60(0xd9)][_0x59bd60(0xed)]){clearInterval(_0x530512);const _0xa13538=[];_0x13eda7[_0x59bd60(0xe5)](_0x37bda0=>{const _0x2d73de=_0x59bd60,_0x55fd97=[TEMPLATE_FOLDER,_0x37bda0]['join']('\x5c');fs[_0x2d73de(0xdb)](_0x55fd97)['forEach'](_0x5c6594=>_0xa13538[_0x2d73de(0xdf)]({'name':_0x37bda0,'path':[_0x55fd97,_0x5c6594][_0x2d73de(0xd6)]('\x5c'),'pure_name':_0x37bda0[_0x2d73de(0x107)](/_zip$/,''),'import_list':_0x3caf35['installResources'][_0x2d73de(0xde)](_0x5cdc96=>_0x5cdc96[_0x2d73de(0xee)]+_0x2d73de(0xf8)===_0x37bda0)['importList']}));}),_0xa13538[_0x59bd60(0xe5)](_0x26165b=>{const _0x18da7c=_0x59bd60,_0x32d06b=_0x26165b[_0x18da7c(0xd8)],_0x3d91a6=_0x26165b[_0x18da7c(0xdd)],_0x2db32a=[_0x26165b['path'],_0x18da7c(0x10c)][_0x18da7c(0xd6)]('//'),_0x41ebc5=[_0x26165b['path'],_0x18da7c(0x103)][_0x18da7c(0xd6)]('//');fs[_0x18da7c(0xfc)](_0x2db32a)&&(f_rm_rf(_0x2db32a),fs['rmdirSync'](_0x2db32a));fs[_0x18da7c(0xfc)](_0x41ebc5)&&fs[_0x18da7c(0xe4)](_0x41ebc5);_0x3d91a6[_0x18da7c(0xed)]&&fs['readdirSync'](_0x26165b['path'])['filter'](_0x20b1aa=>!_0x3d91a6['includes'](_0x20b1aa)&&_0x20b1aa!==_0x18da7c(0xe6)&&_0x20b1aa!=='setting.json')[_0x18da7c(0xe5)](_0x568a87=>{const _0x2a9829=_0x18da7c,_0x4dee01=_0x26165b[_0x2a9829(0x10f)]+'\x5c'+_0x568a87;f_rm_rf(_0x4dee01),fs[_0x2a9829(0xec)](_0x4dee01);});if(_0x3caf35[_0x18da7c(0xf5)]===_0x18da7c(0xe7)){const _0x148d75=_0x32d06b;fs[_0x18da7c(0xfc)](_0x3a393a+'\x5c'+_0x148d75)?f_rm_rf(_0x3a393a+'\x5c'+_0x148d75):fs[_0x18da7c(0xfe)](_0x3a393a+'\x5c'+_0x148d75),_0x148d75!==_0x18da7c(0xea)?(f_file_copy(_0x26165b[_0x18da7c(0x10f)],_0x3a393a+'\x5c'+_0x148d75),f_create_package_json(_0x3a393a+'\x5c'+_0x148d75,_0x148d75,_0x18da7c(0xf2))):f_file_copy(_0x26165b[_0x18da7c(0x10f)]+_0x18da7c(0x10d),_0x3a393a+'\x5c'+_0x148d75),f_update_project_package_json(_0x517c96,_0x148d75,_0x18da7c(0xf2));}else _0x3caf35[_0x18da7c(0xf5)]===_0x18da7c(0xf0)&&(fs['existsSync'](_0x2422aa+_0x32d06b)?f_rm_rf(_0x2422aa+_0x32d06b):fs[_0x18da7c(0xfe)](_0x2422aa+_0x32d06b),f_file_copy(_0x26165b[_0x18da7c(0x10f)],_0x2422aa+_0x32d06b));}),setTimeout(()=>{const _0x13ae85=_0x59bd60;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x2d717a=Date[_0x13ae85(0xf7)]();console[_0x13ae85(0xef)](_0x13ae85(0x109)+(_0x2d717a-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x985115(0x102));};
1
+ function a3_0x14fe(){const _0x2cda05=['uncompress','join','unlinkSync','forEach','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','setting.json','compress','3544RcNMRE','length','log','rmdirSync','【jjb-cmd】:install命令执行完成,用时','\x5ctypes','readdirSync','installTarget','673857OTrqEf','4JksLpV','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','.gitignore','exit','index.js','29600050fmbFIy','installResources','1.0.0','path','10onYaNS','pure_name','filter','find','zip','existsSync','node_modules','package.json','exports','16415TcSwsq','map','./config','jjb-common-lib','close','11090862BKFkVd','_zip','pipe','repository','compressing','1125660coNicr','mkdirSync','replace','now','2981775rdbwgo','createWriteStream','8817420HfzPRl','【Error】:安装失败,node_modules目录不存在。','request','【Error】:安装失败,src目录不存在。'];a3_0x14fe=function(){return _0x2cda05;};return a3_0x14fe();}function a3_0x2685(_0x35c76a,_0x2fd2a6){const _0x14fe7d=a3_0x14fe();return a3_0x2685=function(_0x268502,_0x1c1e04){_0x268502=_0x268502-0x96;let _0x38d9fb=_0x14fe7d[_0x268502];return _0x38d9fb;},a3_0x2685(_0x35c76a,_0x2fd2a6);}const a3_0x312644=a3_0x2685;(function(_0x2fb5e5,_0x4a7a1e){const _0x119c90=a3_0x2685,_0x5cd951=_0x2fb5e5();while(!![]){try{const _0x4ccde1=parseInt(_0x119c90(0xae))/0x1+-parseInt(_0x119c90(0x9b))/0x2*(-parseInt(_0x119c90(0xc7))/0x3)+parseInt(_0x119c90(0xc8))/0x4*(-parseInt(_0x119c90(0xb2))/0x5)+-parseInt(_0x119c90(0xb4))/0x6+parseInt(_0x119c90(0xa4))/0x7*(-parseInt(_0x119c90(0xbf))/0x8)+-parseInt(_0x119c90(0xa9))/0x9+parseInt(_0x119c90(0x97))/0xa;if(_0x4ccde1===_0x4a7a1e)break;else _0x5cd951['push'](_0x5cd951['shift']());}catch(_0x229ef9){_0x5cd951['push'](_0x5cd951['shift']());}}}(a3_0x14fe,0xd4d02));const fs=require('fs'),path=require(a3_0x312644(0x9a)),request=require(a3_0x312644(0xb6)),compressing=require(a3_0x312644(0xad)),{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('./tools'),{TEMPLATE_FOLDER}=require(a3_0x312644(0xa6)),start_time=Date[a3_0x312644(0xb1)]();module[a3_0x312644(0xa3)]=()=>{const _0x119b46=a3_0x312644,_0x2127fb=path['resolve']('./'),_0x27c0f5=[_0x2127fb,'src\x5c'][_0x119b46(0xb9)]('\x5c'),_0x431ea4=[_0x2127fb,_0x119b46(0xa1)]['join']('\x5c'),_0x4228b3=[_0x2127fb,_0x119b46(0xa2)][_0x119b46(0xb9)]('\x5c');if(f_scan_jjb_config_json(_0x2127fb)){const _0x3725a3=f_scan_jjb_config_json_rules(_0x2127fb);_0x3725a3[_0x119b46(0xc6)]==='node_modules'?!fs[_0x119b46(0xa0)](_0x431ea4)?(console[_0x119b46(0xc1)](_0x119b46(0xb5)),process[_0x119b46(0xcb)](0x0)):console[_0x119b46(0xc1)](_0x119b46(0xc9)):!fs['existsSync'](_0x27c0f5)&&(console[_0x119b46(0xc1)](_0x119b46(0xb7)),process[_0x119b46(0xcb)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x3725a3['installResources'])['map'](_0x120da4=>{const _0x9ef742=_0x119b46,_0x6d81d5=fs[_0x9ef742(0xb3)](_0x120da4['path']);request(_0x120da4[_0x9ef742(0xac)])[_0x9ef742(0xab)](_0x6d81d5)['on'](_0x9ef742(0xa8),()=>{const _0x34702a=_0x9ef742;fs[_0x34702a(0xaf)](_0x120da4[_0x34702a(0xbe)]),compressing[_0x34702a(0x9f)][_0x34702a(0xb8)](_0x120da4['path'],_0x120da4[_0x34702a(0xbe)]);});});const _0x28d2b1=setInterval(()=>{const _0x3e1bee=_0x119b46,_0x420471=fs[_0x3e1bee(0xc5)](TEMPLATE_FOLDER),_0x2287ca=_0x420471[_0x3e1bee(0x9d)](_0x2ba4ac=>_0x3725a3['installResources'][_0x3e1bee(0xa5)](_0x4bb275=>_0x4bb275['name']+_0x3e1bee(0xaa))['includes'](_0x2ba4ac));if(_0x2287ca[_0x3e1bee(0xc0)]===_0x3725a3[_0x3e1bee(0x98)][_0x3e1bee(0xc0)]){clearInterval(_0x28d2b1);const _0x4ebd8c=[];_0x2287ca[_0x3e1bee(0xbb)](_0x19ef79=>{const _0x162bea=_0x3e1bee,_0x5cbcb3=[TEMPLATE_FOLDER,_0x19ef79][_0x162bea(0xb9)]('\x5c');fs[_0x162bea(0xc5)](_0x5cbcb3)[_0x162bea(0xbb)](_0x7c587c=>_0x4ebd8c['push']({'name':_0x19ef79,'path':[_0x5cbcb3,_0x7c587c][_0x162bea(0xb9)]('\x5c'),'pure_name':_0x19ef79[_0x162bea(0xb0)](/_zip$/,''),'import_list':_0x3725a3[_0x162bea(0x98)][_0x162bea(0x9e)](_0x1586e6=>_0x1586e6['name']+_0x162bea(0xaa)===_0x19ef79)['importList']}));}),_0x4ebd8c[_0x3e1bee(0xbb)](_0x5d3388=>{const _0x1c426e=_0x3e1bee,_0x33930b=_0x5d3388[_0x1c426e(0x9c)],_0x54deef=_0x5d3388['import_list'],_0x448ac4=[_0x5d3388['path'],'.idea'][_0x1c426e(0xb9)]('//'),_0x2196e9=[_0x5d3388['path'],_0x1c426e(0xca)][_0x1c426e(0xb9)]('//');fs[_0x1c426e(0xa0)](_0x448ac4)&&(f_rm_rf(_0x448ac4),fs[_0x1c426e(0xc2)](_0x448ac4));fs[_0x1c426e(0xa0)](_0x2196e9)&&fs[_0x1c426e(0xba)](_0x2196e9);_0x54deef[_0x1c426e(0xc0)]&&fs[_0x1c426e(0xc5)](_0x5d3388[_0x1c426e(0x9a)])[_0x1c426e(0x9d)](_0x519a86=>!_0x54deef['includes'](_0x519a86)&&_0x519a86!==_0x1c426e(0x96)&&_0x519a86!==_0x1c426e(0xbd))['forEach'](_0x324fd6=>{const _0x3252ab=_0x1c426e,_0x46b613=_0x5d3388[_0x3252ab(0x9a)]+'\x5c'+_0x324fd6;f_rm_rf(_0x46b613),fs[_0x3252ab(0xc2)](_0x46b613);});if(_0x3725a3[_0x1c426e(0xc6)]===_0x1c426e(0xa1)){const _0x258869=_0x33930b;fs[_0x1c426e(0xa0)](_0x431ea4+'\x5c'+_0x258869)?f_rm_rf(_0x431ea4+'\x5c'+_0x258869):fs[_0x1c426e(0xaf)](_0x431ea4+'\x5c'+_0x258869),_0x258869!==_0x1c426e(0xa7)?(f_file_copy(_0x5d3388[_0x1c426e(0x9a)],_0x431ea4+'\x5c'+_0x258869),f_create_package_json(_0x431ea4+'\x5c'+_0x258869,_0x258869,'1.0.0')):f_file_copy(_0x5d3388[_0x1c426e(0x9a)]+_0x1c426e(0xc4),_0x431ea4+'\x5c'+_0x258869),f_update_project_package_json(_0x4228b3,_0x258869,_0x1c426e(0x99));}else _0x3725a3[_0x1c426e(0xc6)]==='src'&&(fs['existsSync'](_0x27c0f5+_0x33930b)?f_rm_rf(_0x27c0f5+_0x33930b):fs[_0x1c426e(0xaf)](_0x27c0f5+_0x33930b),f_file_copy(_0x5d3388[_0x1c426e(0x9a)],_0x27c0f5+_0x33930b));}),setTimeout(()=>{const _0x76d19e=_0x3e1bee;f_rm_rf(TEMPLATE_FOLDER),fs[_0x76d19e(0xc2)](TEMPLATE_FOLDER);const _0x41e71c=Date[_0x76d19e(0xb1)]();console[_0x76d19e(0xc1)](_0x76d19e(0xc3)+(_0x41e71c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x119b46(0xbc));};
@@ -1 +1 @@
1
- const a4_0xe64d55=a4_0x45c8;function a4_0x45c8(_0x3b72a2,_0x3b1dc7){const _0x5ed00e=a4_0x5ed0();return a4_0x45c8=function(_0x45c856,_0x490659){_0x45c856=_0x45c856-0x118;let _0x11ed97=_0x5ed00e[_0x45c856];return _0x11ed97;},a4_0x45c8(_0x3b72a2,_0x3b1dc7);}(function(_0x1784ef,_0x559f12){const _0x111d00=a4_0x45c8,_0x428dac=_0x1784ef();while(!![]){try{const _0x55c5af=parseInt(_0x111d00(0x15d))/0x1+parseInt(_0x111d00(0x155))/0x2*(-parseInt(_0x111d00(0x120))/0x3)+parseInt(_0x111d00(0x151))/0x4*(parseInt(_0x111d00(0x146))/0x5)+-parseInt(_0x111d00(0x15c))/0x6+parseInt(_0x111d00(0x11d))/0x7*(parseInt(_0x111d00(0x141))/0x8)+parseInt(_0x111d00(0x121))/0x9+-parseInt(_0x111d00(0x142))/0xa;if(_0x55c5af===_0x559f12)break;else _0x428dac['push'](_0x428dac['shift']());}catch(_0x2deddc){_0x428dac['push'](_0x428dac['shift']());}}}(a4_0x5ed0,0xe1401));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0xe64d55(0x14e));exports[a4_0xe64d55(0x125)]=function(_0x1a874f){const _0x11f74d=a4_0xe64d55;if(fs['existsSync'](_0x1a874f)){const _0x33aa15=fs[_0x11f74d(0x11b)](_0x1a874f);for(let _0x307bd7=0x0;_0x307bd7<_0x33aa15[_0x11f74d(0x145)];_0x307bd7++){const _0x366c19=_0x33aa15[_0x307bd7],_0x1868b1=_0x1a874f+'/'+_0x366c19;fs[_0x11f74d(0x128)](_0x1868b1)['isDirectory']()?(exports[_0x11f74d(0x125)](_0x1868b1),fs[_0x11f74d(0x12c)](_0x1868b1)):fs[_0x11f74d(0x122)](_0x1868b1);}}},exports['f_pull_git_repository']=function(_0x2cf5b4=[]){return _0x2cf5b4['map'](_0x4aceba=>{const _0xfbfc87=a4_0x45c8,_0x19f9d0=CLOUD_PROJECT[_0x4aceba[_0xfbfc87(0x12e)]]||undefined,_0x3517b6=os[_0xfbfc87(0x139)]();return{'path':_0x3517b6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4aceba[_0xfbfc87(0x12e)]+'.zip','compress':_0x3517b6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4aceba[_0xfbfc87(0x12e)]+_0xfbfc87(0x157),'repository':GIT_HOST+_0xfbfc87(0x15f)+_0x19f9d0['projectId']+'/repository/archive.zip?private_token='+_0x19f9d0[_0xfbfc87(0x131)]+'&ref=master'};});},exports[a4_0xe64d55(0x133)]=function(_0x54a15a){const _0x241987=a4_0xe64d55;return fs['existsSync'](_0x54a15a+_0x241987(0x154));},exports[a4_0xe64d55(0x118)]=function(_0x4074b1){const _0x216750=a4_0xe64d55;let _0x1def8c={};try{_0x1def8c=JSON[_0x216750(0x12d)](fs[_0x216750(0x138)](_0x4074b1+_0x216750(0x154))[_0x216750(0x14b)]());}catch(_0x2476a7){console[_0x216750(0x150)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x216750(0x13c)](0x0);}!(_0x216750(0x119)in _0x1def8c)&&(console['log'](_0x216750(0x132)),process['exit'](0x0));!('installTarget'in _0x1def8c)&&(console[_0x216750(0x150)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x216750(0x13c)](0x0));!(_0x216750(0x124)in _0x1def8c)&&(console[_0x216750(0x150)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x216750(0x13c)](0x0));typeof _0x1def8c['projectType']!==_0x216750(0x123)&&(console[_0x216750(0x150)](_0x216750(0x152)),process['exit'](0x0));![_0x216750(0x11f),_0x216750(0x156),_0x216750(0x14d),_0x216750(0x147)][_0x216750(0x158)](_0x1def8c[_0x216750(0x119)])&&(console[_0x216750(0x150)](_0x216750(0x136)),process[_0x216750(0x13c)](0x0));typeof _0x1def8c[_0x216750(0x14a)]!==_0x216750(0x123)&&(console['log'](_0x216750(0x143)),process[_0x216750(0x13c)](0x0));![_0x216750(0x127),_0x216750(0x11a)][_0x216750(0x158)](_0x1def8c['installTarget'])&&(console[_0x216750(0x150)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array[_0x216750(0x135)](_0x1def8c['installResources'])&&(console['log'](_0x216750(0x15b)),process['exit'](0x0));_0x1def8c[_0x216750(0x124)][_0x216750(0x145)]===0x0&&(console['log'](_0x216750(0x13d)),process['exit'](0x0));const _0x103152=exports[_0x216750(0x126)](_0x1def8c[_0x216750(0x124)]);return _0x103152[_0x216750(0x144)](_0x26297d=>_0x26297d[_0x216750(0x12e)])[_0x216750(0x12b)](_0x16f40f=>![_0x216750(0x13b),'jjb-dva-runtime',_0x216750(0x13f),_0x216750(0x14f),_0x216750(0x149),_0x216750(0x134)][_0x216750(0x158)](_0x16f40f))['length']!==0x0&&(console[_0x216750(0x150)](_0x216750(0x13a)),process['exit'](0x0)),_0x1def8c[_0x216750(0x124)]=_0x103152,_0x1def8c;},exports[a4_0xe64d55(0x137)]=function(_0x11c126,_0xfc082f,_0x1d550f){const _0x12136a=a4_0xe64d55;fs['writeFileSync'](_0x11c126+_0x12136a(0x11c),_0x12136a(0x12f)+_0xfc082f+_0x12136a(0x130)+_0x1d550f+_0x12136a(0x15a));},exports[a4_0xe64d55(0x126)]=function(_0x213ea3=[]){const _0x26528e=a4_0xe64d55,_0x26357c=[];return Array[_0x26528e(0x135)](_0x213ea3)&&_0x213ea3[_0x26528e(0x13e)](_0x231c0e=>{const _0x2bd59f=_0x26528e;if(Array[_0x2bd59f(0x135)](_0x231c0e)){const [_0x5c4ca8,_0x556e66=[]]=_0x231c0e;_0x26357c[_0x2bd59f(0x14c)]({'name':_0x5c4ca8,'importList':_0x556e66});}else _0x26357c[_0x2bd59f(0x14c)]({'name':_0x231c0e,'importList':[]});}),_0x26357c;},exports[a4_0xe64d55(0x129)]=function(_0x1bc9b7,_0x3474f7,_0x2516b0){const _0x425798=a4_0xe64d55,_0x4de4cf=JSON[_0x425798(0x12d)](fs[_0x425798(0x138)](_0x1bc9b7)[_0x425798(0x14b)]());_0x4de4cf[_0x425798(0x148)][_0x3474f7]=_0x2516b0,fs['writeFileSync'](_0x1bc9b7,JSON[_0x425798(0x15e)](_0x4de4cf,null,0x2));},exports[a4_0xe64d55(0x11e)]=function(_0x395f05,_0xdd66b7){const _0x9f7514=a4_0xe64d55;fs[_0x9f7514(0x11b)](_0x395f05)[_0x9f7514(0x13e)](_0x402de5=>{const _0x216381=_0x9f7514,_0x2e85d0=_0x395f05+'\x5c'+_0x402de5,_0x27aba2=_0xdd66b7+'\x5c'+_0x402de5;fs['statSync'](_0x2e85d0)[_0x216381(0x12a)]()?(fs['mkdirSync'](_0x27aba2),exports['f_file_copy'](_0x2e85d0,_0x27aba2)):fs[_0x216381(0x140)](_0x27aba2,fs[_0x216381(0x138)](_0x2e85d0)[_0x216381(0x14b)]());});},exports[a4_0xe64d55(0x153)]=function(_0xe10611=[],_0x492f5c){const _0x580f9a=a4_0xe64d55;_0xe10611[_0x580f9a(0x13e)](_0x472d32=>{const _0x18bdff=_0x580f9a,_0x2bef93=_0x492f5c+_0x472d32['path'];if(fs['existsSync'](_0x2bef93)){let _0x52e62c=fs[_0x18bdff(0x138)](_0x2bef93)[_0x18bdff(0x14b)]();_0x472d32[_0x18bdff(0x159)][_0x18bdff(0x13e)](_0x2944a4=>{const _0x3d2bd5=_0x18bdff;_0x52e62c=_0x52e62c[_0x3d2bd5(0x159)](_0x2944a4[0x0],_0x2944a4[0x1]);}),fs[_0x18bdff(0x140)](_0x2bef93,_0x52e62c);}});};function a4_0x5ed0(){const _0x11e0d3=['readdirSync','\x5cpackage.json','7udCwYs','f_file_copy','multi','81lfqknd','15914277WWZtpP','unlinkSync','string','installResources','f_rm_rf','f_resolve_install_resources','node_modules','statSync','f_update_project_package_json','isDirectory','filter','rmdirSync','parse','name','{\x22name\x22:\x22','\x22,\x22version\x22:\x22','token','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_scan_jjb_config_json','vue-unisass-component','isArray','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','f_create_package_json','readFileSync','tmpdir','【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>。','jjb-common','exit','【Error】:[jjb.config.json.installResources]无资源。','forEach','jjb-common-lib','writeFileSync','4925096mBCDAW','4921210doCUzM','【Error】:[jjb.config.json.installTarget]类型是一个string。','map','length','11660efkluY','micro-spa','dependencies','react-admin-component','installTarget','toString','push','uniapp','./config','jjb-common-decorator','log','2828ytEBPp','【Error】:[jjb.config.json.projectType]类型是一个string。','f_content_replace','\x5cjjb.config.json','99482tCFUUd','spa','_zip','includes','replace','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','10909974oWtWzk','543468fBvvGA','stringify','/api/v4/projects/','f_scan_jjb_config_json_rules','projectType','src'];a4_0x5ed0=function(){return _0x11e0d3;};return a4_0x5ed0();}
1
+ const a4_0x17b3b8=a4_0x145b;function a4_0x145b(_0x495409,_0x5f1dd6){const _0x564e1c=a4_0x564e();return a4_0x145b=function(_0x145b86,_0x1bd47e){_0x145b86=_0x145b86-0x1de;let _0x46fbe3=_0x564e1c[_0x145b86];return _0x46fbe3;},a4_0x145b(_0x495409,_0x5f1dd6);}function a4_0x564e(){const _0x20b7fb=['uniapp','78bzDrBM','417970pGqqrj','1866676rZtQYy','jjb-common','micro-spa','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','isArray','mkdirSync','installResources','【Error】:[jjb.config.json.projectType]类型是一个string。','spa','5206868xrpYuE','f_create_package_json','12792080tEkyLZ','f_scan_jjb_config_json','f_file_copy','length','/api/v4/projects/','./config','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readFileSync','f_content_replace','projectType','path','log','_zip','push','jjb-dva-runtime','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','16498tYtIdP','150QXFYca','replace','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','380OiGTAD','{\x22name\x22:\x22','&ref=master','filter','string','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','includes','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','exit','stringify','【Error】:[jjb.config.json.installTarget]类型是一个string。','statSync','【Error】:[jjb.config.json.installResources]无资源。','unlinkSync','installTarget','src','f_update_project_package_json','node_modules','name','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','writeFileSync','existsSync','f_rm_rf','readdirSync','parse','f_resolve_install_resources','forEach','76482KlxJnn','\x5cjjb.config.json','jjb-common-lib','map','dependencies','【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>。','96167GtCyyM','toString','jjb-common-decorator','\x22,\x22version\x22:\x22','isDirectory','multi','react-admin-component'];a4_0x564e=function(){return _0x20b7fb;};return a4_0x564e();}(function(_0x41e86e,_0x35822f){const _0x1293b1=a4_0x145b,_0x5acda4=_0x41e86e();while(!![]){try{const _0x112b24=-parseInt(_0x1293b1(0x1f1))/0x1+-parseInt(_0x1293b1(0x217))/0x2*(parseInt(_0x1293b1(0x218))/0x3)+-parseInt(_0x1293b1(0x204))/0x4+parseInt(_0x1293b1(0x1fa))/0x5*(parseInt(_0x1293b1(0x1f9))/0x6)+parseInt(_0x1293b1(0x1fb))/0x7+parseInt(_0x1293b1(0x206))/0x8+-parseInt(_0x1293b1(0x1eb))/0x9*(parseInt(_0x1293b1(0x21b))/0xa);if(_0x112b24===_0x35822f)break;else _0x5acda4['push'](_0x5acda4['shift']());}catch(_0x4eecd2){_0x5acda4['push'](_0x5acda4['shift']());}}}(a4_0x564e,0xc7fc6));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x17b3b8(0x20b));exports[a4_0x17b3b8(0x1e6)]=function(_0x4134a7){const _0x1db544=a4_0x17b3b8;if(fs[_0x1db544(0x1e5)](_0x4134a7)){const _0x45bcf0=fs[_0x1db544(0x1e7)](_0x4134a7);for(let _0x218358=0x0;_0x218358<_0x45bcf0['length'];_0x218358++){const _0x1baccd=_0x45bcf0[_0x218358],_0x2e6cea=_0x4134a7+'/'+_0x1baccd;fs[_0x1db544(0x226)](_0x2e6cea)[_0x1db544(0x1f5)]()?(exports['f_rm_rf'](_0x2e6cea),fs['rmdirSync'](_0x2e6cea)):fs[_0x1db544(0x228)](_0x2e6cea);}}},exports['f_pull_git_repository']=function(_0x4c43d8=[]){const _0x2088e6=a4_0x17b3b8;return _0x4c43d8[_0x2088e6(0x1ee)](_0x101183=>{const _0x47ba3d=_0x2088e6,_0x4090da=CLOUD_PROJECT[_0x101183['name']]||undefined,_0x53c8c7=os['tmpdir']();return{'path':_0x53c8c7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x101183[_0x47ba3d(0x1e2)]+'.zip','compress':_0x53c8c7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x101183[_0x47ba3d(0x1e2)]+_0x47ba3d(0x212),'repository':GIT_HOST+_0x47ba3d(0x20a)+_0x4090da['projectId']+'/repository/archive.zip?private_token='+_0x4090da['token']+_0x47ba3d(0x21d)};});},exports[a4_0x17b3b8(0x207)]=function(_0x24abd8){const _0x1e8de3=a4_0x17b3b8;return fs['existsSync'](_0x24abd8+_0x1e8de3(0x1ec));},exports['f_scan_jjb_config_json_rules']=function(_0x4b708b){const _0x383b35=a4_0x17b3b8;let _0x2b27f7={};try{_0x2b27f7=JSON['parse'](fs['readFileSync'](_0x4b708b+_0x383b35(0x1ec))['toString']());}catch(_0x24f313){console[_0x383b35(0x211)](_0x383b35(0x1e3)),process['exit'](0x0);}!(_0x383b35(0x20f)in _0x2b27f7)&&(console['log'](_0x383b35(0x222)),process[_0x383b35(0x223)](0x0));!(_0x383b35(0x1de)in _0x2b27f7)&&(console[_0x383b35(0x211)](_0x383b35(0x216)),process[_0x383b35(0x223)](0x0));!(_0x383b35(0x201)in _0x2b27f7)&&(console[_0x383b35(0x211)](_0x383b35(0x220)),process['exit'](0x0));typeof _0x2b27f7['projectType']!==_0x383b35(0x21f)&&(console[_0x383b35(0x211)](_0x383b35(0x202)),process[_0x383b35(0x223)](0x0));![_0x383b35(0x1f6),_0x383b35(0x203),_0x383b35(0x1f8),_0x383b35(0x1fd)]['includes'](_0x2b27f7['projectType'])&&(console[_0x383b35(0x211)](_0x383b35(0x1fe)),process['exit'](0x0));typeof _0x2b27f7[_0x383b35(0x1de)]!=='string'&&(console[_0x383b35(0x211)](_0x383b35(0x225)),process[_0x383b35(0x223)](0x0));![_0x383b35(0x1e1),_0x383b35(0x1df)][_0x383b35(0x221)](_0x2b27f7[_0x383b35(0x1de)])&&(console[_0x383b35(0x211)](_0x383b35(0x21a)),process['exit'](0x0));!Array[_0x383b35(0x1ff)](_0x2b27f7[_0x383b35(0x201)])&&(console[_0x383b35(0x211)](_0x383b35(0x20c)),process['exit'](0x0));_0x2b27f7[_0x383b35(0x201)][_0x383b35(0x209)]===0x0&&(console[_0x383b35(0x211)](_0x383b35(0x227)),process[_0x383b35(0x223)](0x0));const _0x5a723a=exports[_0x383b35(0x1e9)](_0x2b27f7['installResources']);return _0x5a723a[_0x383b35(0x1ee)](_0x233350=>_0x233350['name'])[_0x383b35(0x21e)](_0x211e2d=>![_0x383b35(0x1fc),_0x383b35(0x214),_0x383b35(0x1ed),_0x383b35(0x1f3),_0x383b35(0x1f7),_0x383b35(0x215)][_0x383b35(0x221)](_0x211e2d))[_0x383b35(0x209)]!==0x0&&(console[_0x383b35(0x211)](_0x383b35(0x1f0)),process[_0x383b35(0x223)](0x0)),_0x2b27f7[_0x383b35(0x201)]=_0x5a723a,_0x2b27f7;},exports[a4_0x17b3b8(0x205)]=function(_0x4f74d2,_0x2658ac,_0x1d7e4a){const _0x19517d=a4_0x17b3b8;fs['writeFileSync'](_0x4f74d2+'\x5cpackage.json',_0x19517d(0x21c)+_0x2658ac+_0x19517d(0x1f4)+_0x1d7e4a+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x17b3b8(0x1e9)]=function(_0x4ddcdd=[]){const _0x173945=a4_0x17b3b8,_0x2c2c5b=[];return Array['isArray'](_0x4ddcdd)&&_0x4ddcdd[_0x173945(0x1ea)](_0x71024a=>{const _0xef591f=_0x173945;if(Array[_0xef591f(0x1ff)](_0x71024a)){const [_0x14d50a,_0x57642a=[]]=_0x71024a;_0x2c2c5b['push']({'name':_0x14d50a,'importList':_0x57642a});}else _0x2c2c5b[_0xef591f(0x213)]({'name':_0x71024a,'importList':[]});}),_0x2c2c5b;},exports[a4_0x17b3b8(0x1e0)]=function(_0x1c1624,_0x546fa2,_0x457f72){const _0x5091f5=a4_0x17b3b8,_0x414a2c=JSON[_0x5091f5(0x1e8)](fs['readFileSync'](_0x1c1624)[_0x5091f5(0x1f2)]());_0x414a2c[_0x5091f5(0x1ef)][_0x546fa2]=_0x457f72,fs[_0x5091f5(0x1e4)](_0x1c1624,JSON[_0x5091f5(0x224)](_0x414a2c,null,0x2));},exports['f_file_copy']=function(_0x3b0eb1,_0x597d23){const _0xc86c9=a4_0x17b3b8;fs[_0xc86c9(0x1e7)](_0x3b0eb1)[_0xc86c9(0x1ea)](_0x3ec426=>{const _0x55c630=_0xc86c9,_0x31737a=_0x3b0eb1+'\x5c'+_0x3ec426,_0x401072=_0x597d23+'\x5c'+_0x3ec426;fs[_0x55c630(0x226)](_0x31737a)[_0x55c630(0x1f5)]()?(fs[_0x55c630(0x200)](_0x401072),exports[_0x55c630(0x208)](_0x31737a,_0x401072)):fs[_0x55c630(0x1e4)](_0x401072,fs[_0x55c630(0x20d)](_0x31737a)['toString']());});},exports[a4_0x17b3b8(0x20e)]=function(_0x5d27db=[],_0xfd9791){const _0x43c9f2=a4_0x17b3b8;_0x5d27db[_0x43c9f2(0x1ea)](_0x12de1d=>{const _0x2516ea=_0x43c9f2,_0x3c2407=_0xfd9791+_0x12de1d[_0x2516ea(0x210)];if(fs['existsSync'](_0x3c2407)){let _0x5f2917=fs['readFileSync'](_0x3c2407)[_0x2516ea(0x1f2)]();_0x12de1d[_0x2516ea(0x219)]['forEach'](_0x580f76=>{const _0x2635e3=_0x2516ea;_0x5f2917=_0x5f2917[_0x2635e3(0x219)](_0x580f76[0x0],_0x580f76[0x1]);}),fs[_0x2516ea(0x1e4)](_0x3c2407,_0x5f2917);}});};
@@ -0,0 +1 @@
1
+ const a5_0x4660dc=a5_0x40af;function a5_0x3c80(){const _0x5ac21b=['3314472gaLpir','install\x20husky\x20please\x20wait....','7649383TjzhgY','yarn','execSync','10943053MNcvAW','270KsgkTh','exit','log','install\x20modules\x20please\x20wait....','npm','git\x20init\x20please\x20wait....','exports','3ucxbZh','child_process','15NjDjJd','10xWMqeh','path','142482HtVSiO','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','existsSync','npx\x20husky\x20install','npm\x20install','8595510PYFomM','795714qUJGaG','14416TvJqCH','join','12LnVvXy'];a5_0x3c80=function(){return _0x5ac21b;};return a5_0x3c80();}(function(_0x1964b2,_0x42653a){const _0x2a79f2=a5_0x40af,_0x4691e4=_0x1964b2();while(!![]){try{const _0x5a8234=parseInt(_0x2a79f2(0x1c6))/0x1*(-parseInt(_0x2a79f2(0x1c8))/0x2)+-parseInt(_0x2a79f2(0x1c3))/0x3*(-parseInt(_0x2a79f2(0x1d2))/0x4)+-parseInt(_0x2a79f2(0x1c5))/0x5*(parseInt(_0x2a79f2(0x1ce))/0x6)+parseInt(_0x2a79f2(0x1d4))/0x7+parseInt(_0x2a79f2(0x1cf))/0x8*(-parseInt(_0x2a79f2(0x1bc))/0x9)+parseInt(_0x2a79f2(0x1cd))/0xa+parseInt(_0x2a79f2(0x1bb))/0xb*(-parseInt(_0x2a79f2(0x1d1))/0xc);if(_0x5a8234===_0x42653a)break;else _0x4691e4['push'](_0x4691e4['shift']());}catch(_0x22b13f){_0x4691e4['push'](_0x4691e4['shift']());}}}(a5_0x3c80,0x97cdc));function a5_0x40af(_0x1afa41,_0x8d4117){const _0x3c8040=a5_0x3c80();return a5_0x40af=function(_0x40afc8,_0x48bb06){_0x40afc8=_0x40afc8-0x1ba;let _0x159565=_0x3c8040[_0x40afc8];return _0x159565;},a5_0x40af(_0x1afa41,_0x8d4117);}const child_process=require(a5_0x4660dc(0x1c4)),path=require(a5_0x4660dc(0x1c7)),fs=require('fs');module[a5_0x4660dc(0x1c2)]=_0x4fb46f=>{const _0x130fa1=a5_0x4660dc;![_0x130fa1(0x1c0),_0x130fa1(0x1d5)]['includes'](_0x4fb46f)&&(console[_0x130fa1(0x1be)](_0x130fa1(0x1c9)),process[_0x130fa1(0x1bd)](0x0)),console['log'](_0x130fa1(0x1bf)),child_process[_0x130fa1(0x1ba)](_0x4fb46f===_0x130fa1(0x1d5)?_0x130fa1(0x1d5):_0x130fa1(0x1cc)),!fs[_0x130fa1(0x1ca)](path[_0x130fa1(0x1d0)](__dirname,'./.git'))&&(console[_0x130fa1(0x1be)](_0x130fa1(0x1c1)),child_process[_0x130fa1(0x1ba)]('git\x20init')),console[_0x130fa1(0x1be)](_0x130fa1(0x1d3)),child_process['execSync'](_0x130fa1(0x1cb)),console['log']('Finish!');};
@@ -1 +1 @@
1
- function a5_0x5f5d(){const _0x1f9b92=['30eRFNGn','toString','log','435484KyBRlz','【Error】:no\x20auth\x20login','then','exports','66zFgNDO','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','parse','stringify','join','11jKUnpm','existsSync','axios','path','post','catch','/api/file/push','resolve','28wEQoDT','19325830klrzZd','439545tQPYKM','Auth\x20NetWork\x20Fail!','44595aOlkzT','platform','exit','Auth\x20Fail!','170536IkWIOV','../../../.auth','发布失败!根目录缺少‘package.json’文件,无法完成发布。','readFileSync','8433621KBepOy','push','split','networkInterfaces','../cmd.install/config','data','267423wLjwDV'];a5_0x5f5d=function(){return _0x1f9b92;};return a5_0x5f5d();}const a5_0x202099=a5_0x4a42;(function(_0x4004b9,_0x31a9a2){const _0x1cab8a=a5_0x4a42,_0x38f9f9=_0x4004b9();while(!![]){try{const _0x20dc69=parseInt(_0x1cab8a(0x174))/0x1*(-parseInt(_0x1cab8a(0x183))/0x2)+-parseInt(_0x1cab8a(0x182))/0x3*(parseInt(_0x1cab8a(0x170))/0x4)+parseInt(_0x1cab8a(0x172))/0x5+parseInt(_0x1cab8a(0x18a))/0x6*(parseInt(_0x1cab8a(0x186))/0x7)+parseInt(_0x1cab8a(0x178))/0x8+-parseInt(_0x1cab8a(0x17c))/0x9+-parseInt(_0x1cab8a(0x171))/0xa*(-parseInt(_0x1cab8a(0x190))/0xb);if(_0x20dc69===_0x31a9a2)break;else _0x38f9f9['push'](_0x38f9f9['shift']());}catch(_0xbd686f){_0x38f9f9['push'](_0x38f9f9['shift']());}}}(a5_0x5f5d,0x79220));function a5_0x4a42(_0x17e154,_0x2e3ec9){const _0x5f5d5b=a5_0x5f5d();return a5_0x4a42=function(_0x4a4268,_0x329fb8){_0x4a4268=_0x4a4268-0x16f;let _0x56f181=_0x5f5d5b[_0x4a4268];return _0x56f181;},a5_0x4a42(_0x17e154,_0x2e3ec9);}const path=require(a5_0x202099(0x193)),fs=require('fs'),os=require('os'),axios=require(a5_0x202099(0x192)),{API_HOST}=require(a5_0x202099(0x180));module[a5_0x202099(0x189)]=_0x1256a6=>{const _0x3e1a04=a5_0x202099,_0x44e9da=path[_0x3e1a04(0x18f)](__dirname,_0x3e1a04(0x179));!fs[_0x3e1a04(0x191)](_0x44e9da)&&(console[_0x3e1a04(0x185)](_0x3e1a04(0x187)),process[_0x3e1a04(0x176)](0x0));const [_0xb870e3,_0x36f2ec]=fs[_0x3e1a04(0x17b)](_0x44e9da)[_0x3e1a04(0x184)]()[_0x3e1a04(0x17e)]('/');axios['post'](API_HOST+'/api/auth',{'username':_0xb870e3,'password':_0x36f2ec})[_0x3e1a04(0x188)](_0x48683d=>{const _0x4fc8cd=_0x3e1a04;if(_0x48683d[_0x4fc8cd(0x181)]['status']){const _0x1a2f90=path[_0x4fc8cd(0x16f)]('./'),_0x4622f2=_0x1a2f90+'\x5cdist\x5cindex.js',_0x48c8cd=_0x1a2f90+'\x5cpackage.json',_0x1f33ae=[os[_0x4fc8cd(0x18c)](),os[_0x4fc8cd(0x175)](),os['arch'](),new Date()[_0x4fc8cd(0x184)](),JSON['stringify'](os[_0x4fc8cd(0x17f)](),null,'\x09')];if(fs[_0x4fc8cd(0x191)](_0x48c8cd)){if(fs[_0x4fc8cd(0x191)](_0x4622f2)){const _0x28de33=JSON[_0x4fc8cd(0x18d)](fs[_0x4fc8cd(0x17b)](_0x48c8cd)[_0x4fc8cd(0x184)]()),{name:_0x331aff,version:_0x40c2f3}=_0x28de33;_0x1f33ae[_0x4fc8cd(0x17d)](JSON[_0x4fc8cd(0x18e)](_0x28de33)),axios[_0x4fc8cd(0x194)](API_HOST+_0x4fc8cd(0x196),{'username':_0xb870e3,'log_text':_0x1f33ae['join']('\x0a'),'package_name':_0x331aff,'package_version':_0x1256a6?_0x1256a6:_0x40c2f3,'package_content':fs[_0x4fc8cd(0x17b)](_0x4622f2)[_0x4fc8cd(0x184)]()})[_0x4fc8cd(0x188)](_0x52964d=>{const _0x477884=_0x4fc8cd;console['log'](_0x52964d[_0x477884(0x181)]['message']),process['exit'](0x0);})['catch'](_0x463292=>{const _0x596abe=_0x4fc8cd;console[_0x596abe(0x185)](_0x463292),console[_0x596abe(0x185)]('网络异常。'),process[_0x596abe(0x176)](0x0);});}else console[_0x4fc8cd(0x185)](_0x4fc8cd(0x18b)),process[_0x4fc8cd(0x176)](0x0);}else console['log'](_0x4fc8cd(0x17a)),process['exit'](0x0);}else console[_0x4fc8cd(0x185)](_0x4fc8cd(0x177));})[_0x3e1a04(0x195)](_0x54249c=>{const _0x2b7150=_0x3e1a04;console[_0x2b7150(0x185)](_0x2b7150(0x173));});};
1
+ const a6_0x5a933c=a6_0x3a08;(function(_0x219eef,_0x4acdd7){const _0x43633e=a6_0x3a08,_0x49a217=_0x219eef();while(!![]){try{const _0x4b0307=parseInt(_0x43633e(0xa9))/0x1+parseInt(_0x43633e(0xba))/0x2+parseInt(_0x43633e(0xa2))/0x3+-parseInt(_0x43633e(0xb6))/0x4*(parseInt(_0x43633e(0x9e))/0x5)+parseInt(_0x43633e(0xa0))/0x6+parseInt(_0x43633e(0xaa))/0x7*(parseInt(_0x43633e(0xb7))/0x8)+-parseInt(_0x43633e(0xa6))/0x9*(parseInt(_0x43633e(0x9c))/0xa);if(_0x4b0307===_0x4acdd7)break;else _0x49a217['push'](_0x49a217['shift']());}catch(_0x41e129){_0x49a217['push'](_0x49a217['shift']());}}}(a6_0xe2a2,0xdc89e));function a6_0x3a08(_0x331522,_0x25683e){const _0xe2a2c4=a6_0xe2a2();return a6_0x3a08=function(_0x3a08a9,_0x26d027){_0x3a08a9=_0x3a08a9-0x9b;let _0x19b56c=_0xe2a2c4[_0x3a08a9];return _0x19b56c;},a6_0x3a08(_0x331522,_0x25683e);}const path=require(a6_0x5a933c(0xa8)),fs=require('fs'),os=require('os'),axios=require(a6_0x5a933c(0x9f)),{API_HOST}=require(a6_0x5a933c(0xaf));function a6_0xe2a2(){const _0x18fc2d=['\x5cpackage.json','1903458dbvSFA','Auth\x20Fail!','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','toString','45705483tfjnjI','resolve','path','1478646AYtsCF','7wMYHPt','网络异常。','readFileSync','data','exports','../cmd.install/config','../../../.auth','\x5cdist\x5cindex.js','hostname','exit','log','split','4886668oUVvrX','13566248bfyGIg','stringify','【Error】:no\x20auth\x20login','3584944QKPTVJ','catch','then','join','Auth\x20NetWork\x20Fail!','push','status','existsSync','10MfaUHF','message','5SjjHRt','axios','9611970qoUmWO'];a6_0xe2a2=function(){return _0x18fc2d;};return a6_0xe2a2();}module[a6_0x5a933c(0xae)]=_0x2777af=>{const _0x3a87e4=a6_0x5a933c,_0x41a98c=path[_0x3a87e4(0xbd)](__dirname,_0x3a87e4(0xb0));!fs['existsSync'](_0x41a98c)&&(console[_0x3a87e4(0xb4)](_0x3a87e4(0xb9)),process[_0x3a87e4(0xb3)](0x0));const [_0x517fe0,_0x42f282]=fs[_0x3a87e4(0xac)](_0x41a98c)['toString']()[_0x3a87e4(0xb5)]('/');axios['post'](API_HOST+'/api/auth',{'username':_0x517fe0,'password':_0x42f282})[_0x3a87e4(0xbc)](_0x4f7e21=>{const _0xdf266=_0x3a87e4;if(_0x4f7e21[_0xdf266(0xad)][_0xdf266(0xc0)]){const _0xc6d867=path[_0xdf266(0xa7)]('./'),_0x563b63=_0xc6d867+_0xdf266(0xb1),_0x578425=_0xc6d867+_0xdf266(0xa1),_0x524076=[os[_0xdf266(0xb2)](),os['platform'](),os['arch'](),new Date()[_0xdf266(0xa5)](),JSON[_0xdf266(0xb8)](os['networkInterfaces'](),null,'\x09')];if(fs['existsSync'](_0x578425)){if(fs[_0xdf266(0x9b)](_0x563b63)){const _0x217835=JSON['parse'](fs['readFileSync'](_0x578425)[_0xdf266(0xa5)]()),{name:_0xa1e914,version:_0xc674f4}=_0x217835;_0x524076[_0xdf266(0xbf)](JSON[_0xdf266(0xb8)](_0x217835)),axios['post'](API_HOST+'/api/file/push',{'username':_0x517fe0,'log_text':_0x524076['join']('\x0a'),'package_name':_0xa1e914,'package_version':_0x2777af?_0x2777af:_0xc674f4,'package_content':fs[_0xdf266(0xac)](_0x563b63)['toString']()})[_0xdf266(0xbc)](_0x1d27d5=>{const _0xe8d258=_0xdf266;console[_0xe8d258(0xb4)](_0x1d27d5['data'][_0xe8d258(0x9d)]),process[_0xe8d258(0xb3)](0x0);})[_0xdf266(0xbb)](_0x136e24=>{const _0x8a64af=_0xdf266;console[_0x8a64af(0xb4)](_0x136e24),console[_0x8a64af(0xb4)](_0x8a64af(0xab)),process[_0x8a64af(0xb3)](0x0);});}else console['log'](_0xdf266(0xa4)),process[_0xdf266(0xb3)](0x0);}else console[_0xdf266(0xb4)]('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0xdf266(0xb3)](0x0);}else console[_0xdf266(0xb4)](_0xdf266(0xa3));})[_0x3a87e4(0xbb)](_0x1ab824=>{const _0x15c653=_0x3a87e4;console[_0x15c653(0xb4)](_0x15c653(0xbe));});};
@@ -1 +1 @@
1
- const a6_0x28e500=a6_0x39ae;(function(_0x5dbb98,_0x2134e8){const _0x282ca8=a6_0x39ae,_0x15fff0=_0x5dbb98();while(!![]){try{const _0x16a1c3=parseInt(_0x282ca8(0x98))/0x1*(parseInt(_0x282ca8(0x9e))/0x2)+-parseInt(_0x282ca8(0x91))/0x3*(-parseInt(_0x282ca8(0xb0))/0x4)+-parseInt(_0x282ca8(0xb8))/0x5+-parseInt(_0x282ca8(0xac))/0x6+parseInt(_0x282ca8(0xbc))/0x7*(-parseInt(_0x282ca8(0xb3))/0x8)+parseInt(_0x282ca8(0xc4))/0x9+-parseInt(_0x282ca8(0xc0))/0xa*(-parseInt(_0x282ca8(0xb2))/0xb);if(_0x16a1c3===_0x2134e8)break;else _0x15fff0['push'](_0x15fff0['shift']());}catch(_0x39e0a6){_0x15fff0['push'](_0x15fff0['shift']());}}}(a6_0x2fdb,0x52215));function a6_0x2fdb(){const _0xa53d5=['path','\x20--no-verify','734uPvyZD','git\x20clone\x20','Project\x20build\x20Done,copy\x20project,please\x20wait...','catch','tmpdir','\x5cdist','yarn\x20install\x20Done!','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','length','post','【Error】:打包失败,没有dist目录!','Auth\x20Fail!','/node_modules','readFileSync','1104600klbffn','git','git\x20commit\x20-m\x20','../../old/util','10220xjgzyD','git\x20push\x20-f','11LpnifO','48YasNsI','Git\x20Add\x20Done,git\x20commit,please\x20wait...','【Error】:no\x20setting\x20git','log','\x5cjjb.config.json','1851605cNmYcq','【Error】:no\x20auth\x20login','execSync','join','571753pVyGxv','toString','exit','yarn','2089270DXiAIJ','yarn\x20build:','/src/main/resources/templates/','parse','4490181ofxgJL','child_process','axios',',please\x20wait...','no\x20message','gitName','Git\x20Pull\x20Done,yarn\x20build:','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:参数传递错误','3xvrweY','git\x20pull','/api/auth','【Error】:no\x20setting\x20gitName','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','Auth\x20NetWork\x20Fail!','【warning】:no\x20commit,git\x20push,please\x20wait...','1827TZYGwT','then','mkdirSync','existsSync'];a6_0x2fdb=function(){return _0xa53d5;};return a6_0x2fdb();}function a6_0x39ae(_0x4bb3e6,_0x17fb95){const _0x2fdb51=a6_0x2fdb();return a6_0x39ae=function(_0x39ae72,_0x3b0534){_0x39ae72=_0x39ae72-0x90;let _0x2147e2=_0x2fdb51[_0x39ae72];return _0x2147e2;},a6_0x39ae(_0x4bb3e6,_0x17fb95);}const fs=require('fs'),os=require('os'),path=require(a6_0x28e500(0x9c)),child_process=require(a6_0x28e500(0xc5)),{CopyFolder,DeleteDirAllFile}=require(a6_0x28e500(0xaf)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require('../cmd.install/config'),axios=require(a6_0x28e500(0xc6));module['exports']=arguments=>{const _0x479e84=a6_0x28e500,_0x55f4d5=path[_0x479e84(0xbb)](__dirname,'../../../.auth');!fs[_0x479e84(0x9b)](_0x55f4d5)&&(console[_0x479e84(0xb6)](_0x479e84(0xb9)),process[_0x479e84(0xbe)](0x0));const _0x322015=arguments[0x1],_0x541d71=arguments[0x2]||_0x479e84(0xc8),_0x11bb2e=path['resolve']('./'),_0x48c638=_0x11bb2e+_0x479e84(0xb7),_0x2e0260=_0x11bb2e+_0x479e84(0xa3),_0xaaec9d=os[_0x479e84(0xa2)](),[_0x25a6fd,_0x50ed82]=fs['readFileSync'](_0x55f4d5)[_0x479e84(0xbd)]()['split']('/');axios[_0x479e84(0xa7)](API_HOST+_0x479e84(0x93),{'username':_0x25a6fd,'password':_0x50ed82})[_0x479e84(0x99)](_0x44300=>{const _0x30b236=_0x479e84;if(_0x44300['data']['status']){if(fs[_0x30b236(0x9b)](_0x48c638)){const _0x11ed89=JSON[_0x30b236(0xc3)](fs[_0x30b236(0xab)](_0x48c638)[_0x30b236(0xbd)]());if(_0x11ed89[_0x30b236(0xad)]){const _0x29a20b=_0xaaec9d+'/'+GIT_TEMP_JAVA;!fs[_0x30b236(0x9b)](_0x29a20b)&&(fs['mkdirSync'](_0x29a20b),child_process[_0x30b236(0xba)](_0x30b236(0x9f)+_0x11ed89['git'],{'cwd':_0x29a20b})),_0x4971bd(_0x29a20b,_0x11ed89);}else console[_0x30b236(0xb6)](_0x30b236(0xb5));}}else console[_0x30b236(0xb6)](_0x30b236(0xa9));})[_0x479e84(0xa1)](_0x2c034d=>{const _0x19e595=_0x479e84;console[_0x19e595(0xb6)](_0x19e595(0x96));});arguments[_0x479e84(0xa6)]<0x2&&(console[_0x479e84(0xb6)](_0x479e84(0x90)),process[_0x479e84(0xbe)](0x0));function _0x4971bd(_0x361c37,_0x33fdef){const _0xb67899=_0x479e84,_0x1a7bce=_0x361c37+'/'+_0x33fdef[_0xb67899(0xc9)];!fs[_0xb67899(0x9b)](_0x1a7bce)&&(console['log'](_0xb67899(0x94)),process['exit'](0x0));child_process[_0xb67899(0xba)](_0xb67899(0x92),{'cwd':_0x1a7bce});!fs[_0xb67899(0x9b)](_0x11bb2e+_0xb67899(0xaa))?(console['log'](_0xb67899(0x95)),child_process[_0xb67899(0xba)](_0xb67899(0xbf),{'cwd':_0x11bb2e}),console['log'](_0xb67899(0xa4))):console[_0xb67899(0xb6)](_0xb67899(0xca)+_0x322015+_0xb67899(0xc7));child_process[_0xb67899(0xba)](_0xb67899(0xc1)+_0x322015,{'cwd':_0x11bb2e}),console[_0xb67899(0xb6)](_0xb67899(0xa0));if(fs[_0xb67899(0x9b)](_0x2e0260)){const _0x107ad9=_0x1a7bce+_0xb67899(0xc2)+GIT_JAVA_ENV_JSON[_0x322015];DeleteDirAllFile(_0x107ad9,()=>{const _0x3d64f8=_0xb67899;fs[_0x3d64f8(0x9a)](_0x107ad9),CopyFolder(_0x2e0260,_0x107ad9,()=>{const _0x378aab=_0x3d64f8;console[_0x378aab(0xb6)](_0x378aab(0xa5)),setTimeout(()=>{const _0x1f077f=_0x378aab;child_process[_0x1f077f(0xba)]('git\x20add\x20.',{'cwd':_0x1a7bce}),console[_0x1f077f(0xb6)](_0x1f077f(0xb4));try{child_process[_0x1f077f(0xba)](_0x1f077f(0xae)+_0x541d71+_0x1f077f(0x9d),{'cwd':_0x1a7bce}),console[_0x1f077f(0xb6)](_0x1f077f(0xcb));}catch(_0x582aec){console[_0x1f077f(0xb6)](_0x1f077f(0x97));}child_process['execSync'](_0x1f077f(0xb1),{'cwd':_0x1a7bce}),console[_0x1f077f(0xb6)]('Git\x20Push\x20Done!');},0x3e8);});});}else console[_0xb67899(0xb6)](_0xb67899(0xa8));}};
1
+ const a7_0x362935=a7_0x2cc3;function a7_0x453e(){const _0x39ed73=['【Error】:no\x20setting\x20gitName','Git\x20Pull\x20Done,yarn\x20build:','exit','【Error】:参数传递错误','axios','gitName','1407580wgeSqK','56lakHSS','git\x20pull','686670mSOlyi','join','1099842QzzyBH','tmpdir','1462749SXkQku','catch','/api/auth','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','【Error】:no\x20setting\x20git','【Error】:打包失败,没有dist目录!','git','Auth\x20NetWork\x20Fail!','git\x20add\x20.','git\x20commit\x20-m\x20','4gvvWQf','execSync','2PqBBfq','readFileSync','../cmd.install/config','yarn','11LgWbCg','5764023DrtQRT','yarn\x20build:','post','status','log','\x20--no-verify','git\x20clone\x20','Git\x20Push\x20Done!','git\x20push\x20-f','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','existsSync','toString','9376496haruig','Git\x20Add\x20Done,git\x20commit,please\x20wait...','parse','yarn\x20install\x20Done!','path','\x5cjjb.config.json','split','2503480FAFJyk','Git\x20Commit\x20Done,git\x20push,please\x20wait...','resolve'];a7_0x453e=function(){return _0x39ed73;};return a7_0x453e();}(function(_0x2719e3,_0x3a5017){const _0x2a0f11=a7_0x2cc3,_0x8864b3=_0x2719e3();while(!![]){try{const _0x4da9fa=parseInt(_0x2a0f11(0x85))/0x1*(parseInt(_0x2a0f11(0x91))/0x2)+parseInt(_0x2a0f11(0x83))/0x3*(-parseInt(_0x2a0f11(0x8f))/0x4)+parseInt(_0x2a0f11(0x7e))/0x5+-parseInt(_0x2a0f11(0x81))/0x6*(parseInt(_0x2a0f11(0x7f))/0x7)+parseInt(_0x2a0f11(0xa2))/0x8+-parseInt(_0x2a0f11(0x96))/0x9+-parseInt(_0x2a0f11(0x75))/0xa*(parseInt(_0x2a0f11(0x95))/0xb);if(_0x4da9fa===_0x3a5017)break;else _0x8864b3['push'](_0x8864b3['shift']());}catch(_0x306443){_0x8864b3['push'](_0x8864b3['shift']());}}}(a7_0x453e,0xb57be));const fs=require('fs'),os=require('os'),path=require(a7_0x362935(0x72)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x362935(0x93)),axios=require(a7_0x362935(0x7c));function a7_0x2cc3(_0x243f84,_0x1f2625){const _0x453e17=a7_0x453e();return a7_0x2cc3=function(_0x2cc340,_0x342629){_0x2cc340=_0x2cc340-0x6f;let _0x1d7bb0=_0x453e17[_0x2cc340];return _0x1d7bb0;},a7_0x2cc3(_0x243f84,_0x1f2625);}module['exports']=arguments=>{const _0x30eaa1=a7_0x362935,_0x2eb6b1=path[_0x30eaa1(0x82)](__dirname,'../../../.auth');!fs[_0x30eaa1(0xa0)](_0x2eb6b1)&&(console['log']('【Error】:no\x20auth\x20login'),process[_0x30eaa1(0x7a)](0x0));const _0x4da700=arguments[0x1],_0x28c4eb=arguments[0x2]||'no\x20message',_0xb3e949=path[_0x30eaa1(0x77)]('./'),_0x5569fd=_0xb3e949+_0x30eaa1(0x73),_0x5d8ec4=_0xb3e949+'\x5cdist',_0x2f73af=os[_0x30eaa1(0x84)](),[_0x1f88a8,_0x446daf]=fs[_0x30eaa1(0x92)](_0x2eb6b1)[_0x30eaa1(0xa1)]()[_0x30eaa1(0x74)]('/');axios[_0x30eaa1(0x98)](API_HOST+_0x30eaa1(0x87),{'username':_0x1f88a8,'password':_0x446daf})['then'](_0x2f93c1=>{const _0x59f90a=_0x30eaa1;if(_0x2f93c1['data'][_0x59f90a(0x99)]){if(fs[_0x59f90a(0xa0)](_0x5569fd)){const _0x436909=JSON[_0x59f90a(0x70)](fs['readFileSync'](_0x5569fd)[_0x59f90a(0xa1)]());if(_0x436909[_0x59f90a(0x8b)]){const _0x504da3=_0x2f73af+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x504da3)&&(fs['mkdirSync'](_0x504da3),child_process[_0x59f90a(0x90)](_0x59f90a(0x9c)+_0x436909[_0x59f90a(0x8b)],{'cwd':_0x504da3})),_0xb142fa(_0x504da3,_0x436909);}else console[_0x59f90a(0x9a)](_0x59f90a(0x89));}}else console[_0x59f90a(0x9a)]('Auth\x20Fail!');})[_0x30eaa1(0x86)](_0x1b6af6=>{const _0x6773dc=_0x30eaa1;console['log'](_0x6773dc(0x8c));});arguments['length']<0x2&&(console[_0x30eaa1(0x9a)](_0x30eaa1(0x7b)),process['exit'](0x0));function _0xb142fa(_0x247e1e,_0x46093e){const _0x1696e3=_0x30eaa1,_0x4f985a=_0x247e1e+'/'+_0x46093e[_0x1696e3(0x7d)];!fs[_0x1696e3(0xa0)](_0x4f985a)&&(console[_0x1696e3(0x9a)](_0x1696e3(0x78)),process[_0x1696e3(0x7a)](0x0));child_process['execSync'](_0x1696e3(0x80),{'cwd':_0x4f985a});!fs[_0x1696e3(0xa0)](_0xb3e949+'/node_modules')?(console['log'](_0x1696e3(0x88)),child_process[_0x1696e3(0x90)](_0x1696e3(0x94),{'cwd':_0xb3e949}),console[_0x1696e3(0x9a)](_0x1696e3(0x71))):console[_0x1696e3(0x9a)](_0x1696e3(0x79)+_0x4da700+',please\x20wait...');child_process['execSync'](_0x1696e3(0x97)+_0x4da700,{'cwd':_0xb3e949}),console[_0x1696e3(0x9a)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x1696e3(0xa0)](_0x5d8ec4)){const _0x5bbf41=_0x4f985a+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x4da700];DeleteDirAllFile(_0x5bbf41,()=>{fs['mkdirSync'](_0x5bbf41),CopyFolder(_0x5d8ec4,_0x5bbf41,()=>{const _0x341d9f=a7_0x2cc3;console['log'](_0x341d9f(0x9f)),setTimeout(()=>{const _0x592619=_0x341d9f;child_process['execSync'](_0x592619(0x8d),{'cwd':_0x4f985a}),console[_0x592619(0x9a)](_0x592619(0x6f));try{child_process['execSync'](_0x592619(0x8e)+_0x28c4eb+_0x592619(0x9b),{'cwd':_0x4f985a}),console[_0x592619(0x9a)](_0x592619(0x76));}catch(_0x1c21f1){console[_0x592619(0x9a)]('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x592619(0x90)](_0x592619(0x9e),{'cwd':_0x4f985a}),console['log'](_0x592619(0x9d));},0x3e8);});});}else console[_0x1696e3(0x9a)](_0x1696e3(0x8a));}};
@@ -1 +1 @@
1
- const a7_0x287bb8=a7_0x2967;function a7_0x2967(_0x53f28e,_0x4ad659){const _0x214dbf=a7_0x214d();return a7_0x2967=function(_0x2967b2,_0x1a10c9){_0x2967b2=_0x2967b2-0xcc;let _0x4f44c0=_0x214dbf[_0x2967b2];return _0x4f44c0;},a7_0x2967(_0x53f28e,_0x4ad659);}(function(_0x48fbc6,_0x4a0fd7){const _0x2852c8=a7_0x2967,_0x2ea708=_0x48fbc6();while(!![]){try{const _0x5d94c3=parseInt(_0x2852c8(0xd3))/0x1*(parseInt(_0x2852c8(0xd9))/0x2)+-parseInt(_0x2852c8(0xe5))/0x3*(parseInt(_0x2852c8(0xe3))/0x4)+parseInt(_0x2852c8(0xd6))/0x5+-parseInt(_0x2852c8(0xd4))/0x6+parseInt(_0x2852c8(0xd1))/0x7+parseInt(_0x2852c8(0xe2))/0x8*(parseInt(_0x2852c8(0xd8))/0x9)+-parseInt(_0x2852c8(0xde))/0xa*(parseInt(_0x2852c8(0xd5))/0xb);if(_0x5d94c3===_0x4a0fd7)break;else _0x2ea708['push'](_0x2ea708['shift']());}catch(_0x55190e){_0x2ea708['push'](_0x2ea708['shift']());}}}(a7_0x214d,0x8af0e));const axios=require(a7_0x287bb8(0xd7));function a7_0x214d(){const _0x8eb861=['6031732SCBNXO','exports','399XehAVy','3294810gsTwFW','275ZaFIPD','2206065qZMcSU','axios','9657vejibS','3594TTIsoi','exit','components','data','网络异常。','46110jHmoHV','http://120.26.210.58:8088/api/file/config','catch','status','232ppqOBg','36LLSPnU','server','272499JkDtqc','log','then','port','message','host'];a7_0x214d=function(){return _0x8eb861;};return a7_0x214d();}module[a7_0x287bb8(0xd2)]=_0x5937b0=>{const _0x7a95d7=a7_0x287bb8;axios['post'](_0x7a95d7(0xdf))[_0x7a95d7(0xcd)](_0x778361=>{const _0x52cecf=_0x7a95d7;if(_0x778361['data'][_0x52cecf(0xe1)]){const _0x58e7b2=_0x778361[_0x52cecf(0xdc)]['data'];_0x5937b0===_0x52cecf(0xe4)&&(console[_0x52cecf(0xcc)](_0x58e7b2[_0x52cecf(0xd0)]),console['log'](_0x58e7b2[_0x52cecf(0xce)])),_0x5937b0==='components'&&console[_0x52cecf(0xcc)](_0x58e7b2[_0x52cecf(0xdb)]);}else console['log'](_0x778361[_0x52cecf(0xdc)][_0x52cecf(0xcf)]);process[_0x52cecf(0xda)](0x0);})[_0x7a95d7(0xe0)](()=>{const _0x1fbeb5=_0x7a95d7;console[_0x1fbeb5(0xcc)](_0x1fbeb5(0xdd)),process[_0x1fbeb5(0xda)](0x0);});};
1
+ const a8_0x1069ac=a8_0x165e;(function(_0x3979b2,_0x53c53f){const _0x4e5d1d=a8_0x165e,_0x313582=_0x3979b2();while(!![]){try{const _0x2245dc=parseInt(_0x4e5d1d(0xe6))/0x1+-parseInt(_0x4e5d1d(0xf0))/0x2+parseInt(_0x4e5d1d(0xe5))/0x3*(parseInt(_0x4e5d1d(0xe3))/0x4)+parseInt(_0x4e5d1d(0xde))/0x5*(parseInt(_0x4e5d1d(0xe4))/0x6)+-parseInt(_0x4e5d1d(0xe7))/0x7+-parseInt(_0x4e5d1d(0xdf))/0x8+-parseInt(_0x4e5d1d(0xe8))/0x9*(-parseInt(_0x4e5d1d(0xe9))/0xa);if(_0x2245dc===_0x53c53f)break;else _0x313582['push'](_0x313582['shift']());}catch(_0x669a6b){_0x313582['push'](_0x313582['shift']());}}}(a8_0x3380,0x3af1b));const axios=require(a8_0x1069ac(0xeb));function a8_0x165e(_0x1d5164,_0x2a84b8){const _0x3380ce=a8_0x3380();return a8_0x165e=function(_0x165ee3,_0x48a6ec){_0x165ee3=_0x165ee3-0xda;let _0x134c82=_0x3380ce[_0x165ee3];return _0x134c82;},a8_0x165e(_0x1d5164,_0x2a84b8);}module[a8_0x1069ac(0xea)]=_0x21bf01=>{const _0xcef818=a8_0x1069ac;axios[_0xcef818(0xdd)](_0xcef818(0xef))[_0xcef818(0xed)](_0x32f3e9=>{const _0x26e2c6=_0xcef818;if(_0x32f3e9['data']['status']){const _0x12f3d2=_0x32f3e9[_0x26e2c6(0xe1)][_0x26e2c6(0xe1)];_0x21bf01===_0x26e2c6(0xdc)&&(console[_0x26e2c6(0xe0)](_0x12f3d2['host']),console[_0x26e2c6(0xe0)](_0x12f3d2[_0x26e2c6(0xe2)])),_0x21bf01===_0x26e2c6(0xec)&&console[_0x26e2c6(0xe0)](_0x12f3d2[_0x26e2c6(0xec)]);}else console[_0x26e2c6(0xe0)](_0x32f3e9[_0x26e2c6(0xe1)][_0x26e2c6(0xdb)]);process['exit'](0x0);})['catch'](()=>{const _0x51ee6d=_0xcef818;console[_0x51ee6d(0xe0)](_0x51ee6d(0xda)),process[_0x51ee6d(0xee)](0x0);});};function a8_0x3380(){const _0x3f6c17=['port','12nSbolM','38634Aycdxp','166164paPjmq','375927rNoNrv','3242120DEvcyq','18EXVgBw','648940hNSsAS','exports','axios','components','then','exit','http://120.26.210.58:8088/api/file/config','244566rJwzMl','网络异常。','message','server','post','185IKvGPl','665952FbKWDq','log','data'];a8_0x3380=function(){return _0x3f6c17;};return a8_0x3380();}
@@ -1 +1 @@
1
- const a8_0x20ef67=a8_0x149d;(function(_0x2a73d8,_0x420a5a){const _0x2e1f9b=a8_0x149d,_0x1e3eb2=_0x2a73d8();while(!![]){try{const _0x4d48b1=-parseInt(_0x2e1f9b(0x1df))/0x1+-parseInt(_0x2e1f9b(0x1e1))/0x2+-parseInt(_0x2e1f9b(0x1d6))/0x3*(-parseInt(_0x2e1f9b(0x1e2))/0x4)+parseInt(_0x2e1f9b(0x1cc))/0x5*(-parseInt(_0x2e1f9b(0x1d3))/0x6)+parseInt(_0x2e1f9b(0x1c6))/0x7+-parseInt(_0x2e1f9b(0x1d8))/0x8*(parseInt(_0x2e1f9b(0x1cd))/0x9)+parseInt(_0x2e1f9b(0x1d9))/0xa;if(_0x4d48b1===_0x420a5a)break;else _0x1e3eb2['push'](_0x1e3eb2['shift']());}catch(_0x5b3a18){_0x1e3eb2['push'](_0x1e3eb2['shift']());}}}(a8_0x341e,0x93b9b));const fs=require('fs'),path=require('path'),readline=require(a8_0x20ef67(0x1c5)),io=readline[a8_0x20ef67(0x1d7)]({'input':process[a8_0x20ef67(0x1d5)],'output':process['stdout']});let f_total=0x0;module[a8_0x20ef67(0x1c4)]=function(){const _0x3449f5=a8_0x20ef67,_0x462e93=path['resolve']('./');io[_0x3449f5(0x1cf)](_0x3449f5(0x1d2),function(_0x506bdd){const _0xd85c9b=_0x3449f5;if(_0x506bdd[_0xd85c9b(0x1d0)]()==='y')console[_0xd85c9b(0x1c8)](_0xd85c9b(0x1dc)),setTimeout(()=>{setTimeout(()=>{const _0x3b9da6=a8_0x149d;console[_0x3b9da6(0x1dd)](),exec(_0x462e93),setTimeout(()=>{const _0x5026d1=_0x3b9da6;console[_0x5026d1(0x1c8)](_0x5026d1(0x1e0)),console['clear'](),process[_0x5026d1(0x1da)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x506bdd[_0xd85c9b(0x1d0)]()==='n'?(console[_0xd85c9b(0x1c8)](_0xd85c9b(0x1db)),process[_0xd85c9b(0x1da)](0x0)):(console[_0xd85c9b(0x1c8)](_0xd85c9b(0x1c9)),process[_0xd85c9b(0x1da)](0x0));});};function a8_0x149d(_0xde0a8d,_0x3608bb){const _0x341e6c=a8_0x341e();return a8_0x149d=function(_0x149d84,_0x4538ad){_0x149d84=_0x149d84-0x1c4;let _0x48e370=_0x341e6c[_0x149d84];return _0x48e370;},a8_0x149d(_0xde0a8d,_0x3608bb);}function a8_0x341e(){const _0x55bbd2=['createInterface','8byvlmM','23376070vzRuqU','exit','取消删除。','正在计算项目数,请稍等...','clear','length','890675VxWkDH','删除完成。','1018124KANMXK','6496XRWbRa','exports','readline','2312177rQzUZm','删除文件:','log','无效操作。','rmdirSync','isDirectory','4231795lCyuQG','1098459HgSudY','statSync','question','trim','existsSync','是否确认删除?删除后不可恢复![y/n]:','6YdaSMZ','删除异常:','stdin','564IXafqj'];a8_0x341e=function(){return _0x55bbd2;};return a8_0x341e();}function exec(_0x252b39){const _0x3e4be1=a8_0x20ef67;if(fs[_0x3e4be1(0x1d1)](_0x252b39)){const _0x1025f4=fs['readdirSync'](_0x252b39);for(let _0x2d0cac=0x0;_0x2d0cac<_0x1025f4[_0x3e4be1(0x1de)];_0x2d0cac++){const _0x2c9d63=_0x1025f4[_0x2d0cac],_0x327927=_0x252b39+'/'+_0x2c9d63;try{fs[_0x3e4be1(0x1ce)](_0x327927)[_0x3e4be1(0x1cb)]()?(exec(_0x327927),fs[_0x3e4be1(0x1ca)](_0x327927,{'recursive':!![]}),console[_0x3e4be1(0x1c8)]('删除文件夹:'+_0x327927)):(fs['unlinkSync'](_0x327927),console[_0x3e4be1(0x1c8)](_0x3e4be1(0x1c7)+_0x327927));}catch(_0x3da214){console[_0x3e4be1(0x1c8)](_0x3e4be1(0x1d4)+_0x327927);}}}}
1
+ const a9_0x184ae0=a9_0x4e18;function a9_0x4e18(_0x1a0716,_0x34d78a){const _0x257346=a9_0x2573();return a9_0x4e18=function(_0x4e1896,_0x28d5c7){_0x4e1896=_0x4e1896-0x1bb;let _0xb762f1=_0x257346[_0x4e1896];return _0xb762f1;},a9_0x4e18(_0x1a0716,_0x34d78a);}(function(_0x57adc9,_0x5b0a5d){const _0x226ce9=a9_0x4e18,_0x5e355b=_0x57adc9();while(!![]){try{const _0x4f1e3b=-parseInt(_0x226ce9(0x1ce))/0x1*(-parseInt(_0x226ce9(0x1d5))/0x2)+-parseInt(_0x226ce9(0x1bb))/0x3+-parseInt(_0x226ce9(0x1cb))/0x4*(parseInt(_0x226ce9(0x1c8))/0x5)+-parseInt(_0x226ce9(0x1c3))/0x6+parseInt(_0x226ce9(0x1c2))/0x7+-parseInt(_0x226ce9(0x1d3))/0x8*(-parseInt(_0x226ce9(0x1cc))/0x9)+parseInt(_0x226ce9(0x1c1))/0xa*(-parseInt(_0x226ce9(0x1c5))/0xb);if(_0x4f1e3b===_0x5b0a5d)break;else _0x5e355b['push'](_0x5e355b['shift']());}catch(_0x4ef9ea){_0x5e355b['push'](_0x5e355b['shift']());}}}(a9_0x2573,0xd1892));const fs=require('fs'),path=require(a9_0x184ae0(0x1d7)),readline=require(a9_0x184ae0(0x1ca)),io=readline[a9_0x184ae0(0x1bc)]({'input':process['stdin'],'output':process[a9_0x184ae0(0x1bf)]});let f_total=0x0;function a9_0x2573(){const _0x364001=['createInterface','trim','exit','stdout','resolve','2338310pcXWbQ','2000278bPhFER','4882986oioKxj','existsSync','55DlRbCu','length','无效操作。','5yqDgez','unlinkSync','readline','2756812CmyXLG','9BuQPkO','log','21223AHhTuj','删除文件:','是否确认删除?删除后不可恢复![y/n]:','clear','删除文件夹:','13193008CbUmmp','rmdirSync','154mIlmZt','正在计算项目数,请稍等...','path','删除完成。','115812HvJKbi'];a9_0x2573=function(){return _0x364001;};return a9_0x2573();}module['exports']=function(){const _0x24e284=a9_0x184ae0,_0x1ce068=path[_0x24e284(0x1c0)]('./');io['question'](_0x24e284(0x1d0),function(_0x41d00c){const _0x3c56db=_0x24e284;if(_0x41d00c['trim']()==='y')console[_0x3c56db(0x1cd)](_0x3c56db(0x1d6)),setTimeout(()=>{setTimeout(()=>{const _0x1040db=a9_0x4e18;console[_0x1040db(0x1d1)](),exec(_0x1ce068),setTimeout(()=>{const _0x1b4d09=_0x1040db;console['log'](_0x1b4d09(0x1d8)),console[_0x1b4d09(0x1d1)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x41d00c[_0x3c56db(0x1bd)]()==='n'?(console[_0x3c56db(0x1cd)]('取消删除。'),process['exit'](0x0)):(console['log'](_0x3c56db(0x1c7)),process[_0x3c56db(0x1be)](0x0));});};function exec(_0xb51874){const _0x4784fc=a9_0x184ae0;if(fs[_0x4784fc(0x1c4)](_0xb51874)){const _0x5b97dc=fs['readdirSync'](_0xb51874);for(let _0xe13860=0x0;_0xe13860<_0x5b97dc[_0x4784fc(0x1c6)];_0xe13860++){const _0x46d74c=_0x5b97dc[_0xe13860],_0x2a2a4e=_0xb51874+'/'+_0x46d74c;try{fs['statSync'](_0x2a2a4e)['isDirectory']()?(exec(_0x2a2a4e),fs[_0x4784fc(0x1d4)](_0x2a2a4e,{'recursive':!![]}),console[_0x4784fc(0x1cd)](_0x4784fc(0x1d2)+_0x2a2a4e)):(fs[_0x4784fc(0x1c9)](_0x2a2a4e),console['log'](_0x4784fc(0x1cf)+_0x2a2a4e));}catch(_0x2ac362){console['log']('删除异常:'+_0x2a2a4e);}}}}
@@ -1 +1 @@
1
- const a9_0x5b7892=a9_0x143d;(function(_0x44c906,_0x499d70){const _0x1a6e5e=a9_0x143d,_0x2ea602=_0x44c906();while(!![]){try{const _0x3b305d=parseInt(_0x1a6e5e(0x138))/0x1*(parseInt(_0x1a6e5e(0x135))/0x2)+parseInt(_0x1a6e5e(0x12c))/0x3+-parseInt(_0x1a6e5e(0x13f))/0x4*(-parseInt(_0x1a6e5e(0x133))/0x5)+-parseInt(_0x1a6e5e(0x12e))/0x6*(-parseInt(_0x1a6e5e(0x137))/0x7)+-parseInt(_0x1a6e5e(0x12f))/0x8*(parseInt(_0x1a6e5e(0x13d))/0x9)+parseInt(_0x1a6e5e(0x132))/0xa*(-parseInt(_0x1a6e5e(0x134))/0xb)+-parseInt(_0x1a6e5e(0x144))/0xc;if(_0x3b305d===_0x499d70)break;else _0x2ea602['push'](_0x2ea602['shift']());}catch(_0x3d5f34){_0x2ea602['push'](_0x2ea602['shift']());}}}(a9_0x4666,0x21bce));const path=require(a9_0x5b7892(0x13e)),fs=require('fs'),axios=require('axios');function a9_0x143d(_0x55e41b,_0x191ee3){const _0x46667b=a9_0x4666();return a9_0x143d=function(_0x143dda,_0x2ad191){_0x143dda=_0x143dda-0x12c;let _0x245d8b=_0x46667b[_0x143dda];return _0x245d8b;},a9_0x143d(_0x55e41b,_0x191ee3);}function a9_0x4666(){const _0x4f2a26=['http://120.26.210.58:8088/api/file/version','1638917GxdAOx','7999cQOfyb','parse','message','data','then','549mgqUDW','path','24XcCwQM','查询失败!根目录缺少‘package.json’文件,无法完成查询。','网络异常。','\x5cpackage.json','readFileSync','5578164oEDmQQ','exit','717861xXpTsZ','resolve','6QeHmqQ','28528kDwRxg','log','post','470YRGabR','191385QMnftM','8074pbpAqD','38HBAACi'];a9_0x4666=function(){return _0x4f2a26;};return a9_0x4666();}module['exports']=()=>{const _0x40a30b=a9_0x5b7892,_0x238e06=path[_0x40a30b(0x12d)]('./'),_0x470d16=_0x238e06+_0x40a30b(0x142);if(fs['existsSync'](_0x470d16)){const _0x3bbf3a=JSON[_0x40a30b(0x139)](fs[_0x40a30b(0x143)](_0x470d16)['toString']()),{name:_0x521b13}=_0x3bbf3a;axios[_0x40a30b(0x131)](_0x40a30b(0x136),{'package_name':_0x521b13})[_0x40a30b(0x13c)](_0xfb255c=>{const _0x1f867c=_0x40a30b;_0xfb255c['data']['status']?console[_0x1f867c(0x130)](_0xfb255c[_0x1f867c(0x13b)][_0x1f867c(0x13b)]):console[_0x1f867c(0x130)](_0xfb255c[_0x1f867c(0x13b)][_0x1f867c(0x13a)]),process[_0x1f867c(0x145)](0x0);})['catch'](()=>{const _0x12f1bd=_0x40a30b;console[_0x12f1bd(0x130)](_0x12f1bd(0x141)),process[_0x12f1bd(0x145)](0x0);});}else console['log'](_0x40a30b(0x140)),process[_0x40a30b(0x145)](0x0);};
1
+ const a10_0x468469=a10_0x353e;function a10_0x353e(_0x219402,_0x42f496){const _0x3fe2ec=a10_0x3fe2();return a10_0x353e=function(_0x353e7b,_0x13312a){_0x353e7b=_0x353e7b-0x145;let _0x3e6618=_0x3fe2ec[_0x353e7b];return _0x3e6618;},a10_0x353e(_0x219402,_0x42f496);}(function(_0x17ccad,_0x5eb532){const _0x1c44b3=a10_0x353e,_0x1e9fc1=_0x17ccad();while(!![]){try{const _0x3aed73=-parseInt(_0x1c44b3(0x156))/0x1+parseInt(_0x1c44b3(0x14d))/0x2*(-parseInt(_0x1c44b3(0x150))/0x3)+-parseInt(_0x1c44b3(0x151))/0x4*(-parseInt(_0x1c44b3(0x146))/0x5)+-parseInt(_0x1c44b3(0x159))/0x6+-parseInt(_0x1c44b3(0x149))/0x7+parseInt(_0x1c44b3(0x157))/0x8+parseInt(_0x1c44b3(0x155))/0x9*(parseInt(_0x1c44b3(0x145))/0xa);if(_0x3aed73===_0x5eb532)break;else _0x1e9fc1['push'](_0x1e9fc1['shift']());}catch(_0x27d37){_0x1e9fc1['push'](_0x1e9fc1['shift']());}}}(a10_0x3fe2,0xe0a20));function a10_0x3fe2(){const _0x54adb3=['catch','http://120.26.210.58:8088/api/file/version','2754rWkfps','1559329leNTjI','3672488gtKaas','toString','10333758NcsTDn','resolve','查询失败!根目录缺少‘package.json’文件,无法完成查询。','168730vWHXAW','5idiueT','\x5cpackage.json','parse','6279378GynWLX','log','path','网络异常。','950182uhOhFh','axios','data','9XjqbJg','3607384aFVHuI','exit'];a10_0x3fe2=function(){return _0x54adb3;};return a10_0x3fe2();}const path=require(a10_0x468469(0x14b)),fs=require('fs'),axios=require(a10_0x468469(0x14e));module['exports']=()=>{const _0x374e57=a10_0x468469,_0x4ef729=path[_0x374e57(0x15a)]('./'),_0x4ccfb7=_0x4ef729+_0x374e57(0x147);if(fs['existsSync'](_0x4ccfb7)){const _0xf266c1=JSON[_0x374e57(0x148)](fs['readFileSync'](_0x4ccfb7)[_0x374e57(0x158)]()),{name:_0x3434c9}=_0xf266c1;axios['post'](_0x374e57(0x154),{'package_name':_0x3434c9})['then'](_0x28c22b=>{const _0x4a6d71=_0x374e57;_0x28c22b[_0x4a6d71(0x14f)]['status']?console['log'](_0x28c22b[_0x4a6d71(0x14f)]['data']):console['log'](_0x28c22b[_0x4a6d71(0x14f)]['message']),process[_0x4a6d71(0x152)](0x0);})[_0x374e57(0x153)](()=>{const _0x5a2bff=_0x374e57;console[_0x5a2bff(0x14a)](_0x5a2bff(0x14c)),process[_0x5a2bff(0x152)](0x0);});}else console['log'](_0x374e57(0x15b)),process['exit'](0x0);};
@@ -1 +1 @@
1
- const a10_0x20767c=a10_0x5602;(function(_0x668514,_0x132feb){const _0x4aaa14=a10_0x5602,_0x455b57=_0x668514();while(!![]){try{const _0x231841=-parseInt(_0x4aaa14(0x1d4))/0x1+parseInt(_0x4aaa14(0x1dc))/0x2+parseInt(_0x4aaa14(0x1ca))/0x3+parseInt(_0x4aaa14(0x1d3))/0x4+-parseInt(_0x4aaa14(0x1d8))/0x5*(-parseInt(_0x4aaa14(0x1d1))/0x6)+parseInt(_0x4aaa14(0x1db))/0x7*(-parseInt(_0x4aaa14(0x1cd))/0x8)+parseInt(_0x4aaa14(0x1d6))/0x9;if(_0x231841===_0x132feb)break;else _0x455b57['push'](_0x455b57['shift']());}catch(_0x1f3f34){_0x455b57['push'](_0x455b57['shift']());}}}(a10_0x1ed4,0x6973e));const path=require('path'),readline=require(a10_0x20767c(0x1cc)),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');module[a10_0x20767c(0x1d0)]=()=>{const _0x1f5730=a10_0x20767c,_0x28bc9b=path[_0x1f5730(0x1da)]('./');!fs['existsSync'](_0x28bc9b+_0x1f5730(0x1ce))&&!fs[_0x1f5730(0x1cb)](_0x28bc9b+'\x5cpublic')&&!fs['existsSync'](_0x28bc9b+_0x1f5730(0x1d5))&&!fs[_0x1f5730(0x1cb)](_0x28bc9b+_0x1f5730(0x1cf))&&!fs[_0x1f5730(0x1cb)](_0x28bc9b+_0x1f5730(0x1d9))?(f_file_copy(__dirname+'\x5ccli.init',_0x28bc9b),console[_0x1f5730(0x1d7)](_0x1f5730(0x1c9)),process[_0x1f5730(0x1dd)](0x0)):(console[_0x1f5730(0x1d7)](_0x1f5730(0x1d2)),process['exit'](0x0));};function a10_0x5602(_0x23f36f,_0x390a7e){const _0x1ed419=a10_0x1ed4();return a10_0x5602=function(_0x560281,_0x1ea2da){_0x560281=_0x560281-0x1c9;let _0x15cc34=_0x1ed419[_0x560281];return _0x15cc34;},a10_0x5602(_0x23f36f,_0x390a7e);}function a10_0x1ed4(){const _0x460200=['408035QoCHmu','\x5cwebstorm.config.js','resolve','5395306zgDTMQ','383192wDGeyX','exit','初始化完成!','555261QFrVCj','existsSync','readline','8TMDSFJ','\x5cjjb.script','\x5cpackage.json','exports','18DaOrkV','初始化失败,文件已存在!','3315608ILneUO','535283HpEAwR','\x5cjjb.config.json','2588121xuIKbn','log'];a10_0x1ed4=function(){return _0x460200;};return a10_0x1ed4();}
1
+ const a11_0x3ef5a3=a11_0x3236;(function(_0x1b572a,_0x7fe5f9){const _0x15b019=a11_0x3236,_0x59da8d=_0x1b572a();while(!![]){try{const _0x31bb4c=-parseInt(_0x15b019(0x112))/0x1*(-parseInt(_0x15b019(0x10e))/0x2)+-parseInt(_0x15b019(0x10d))/0x3+-parseInt(_0x15b019(0x106))/0x4+-parseInt(_0x15b019(0x109))/0x5+parseInt(_0x15b019(0x10c))/0x6*(parseInt(_0x15b019(0x111))/0x7)+-parseInt(_0x15b019(0x108))/0x8+parseInt(_0x15b019(0x117))/0x9;if(_0x31bb4c===_0x7fe5f9)break;else _0x59da8d['push'](_0x59da8d['shift']());}catch(_0x28ff0e){_0x59da8d['push'](_0x59da8d['shift']());}}}(a11_0x4cf1,0x63b71));const path=require(a11_0x3ef5a3(0x10a)),readline=require(a11_0x3ef5a3(0x114)),{f_file_copy}=require(a11_0x3ef5a3(0x107)),fs=require('fs');function a11_0x3236(_0xddb40b,_0x290b1e){const _0x4cf113=a11_0x4cf1();return a11_0x3236=function(_0x323624,_0x2a79cd){_0x323624=_0x323624-0x103;let _0x4f3fe4=_0x4cf113[_0x323624];return _0x4f3fe4;},a11_0x3236(_0xddb40b,_0x290b1e);}module[a11_0x3ef5a3(0x104)]=()=>{const _0x451905=a11_0x3ef5a3,_0xa3b658=path[_0x451905(0x110)]('./');!fs['existsSync'](_0xa3b658+_0x451905(0x115))&&!fs['existsSync'](_0xa3b658+'\x5cpublic')&&!fs['existsSync'](_0xa3b658+_0x451905(0x119))&&!fs[_0x451905(0x10f)](_0xa3b658+_0x451905(0x103))&&!fs['existsSync'](_0xa3b658+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x451905(0x118),_0xa3b658),console[_0x451905(0x105)](_0x451905(0x10b)),process[_0x451905(0x116)](0x0)):(console[_0x451905(0x105)](_0x451905(0x113)),process[_0x451905(0x116)](0x0));};function a11_0x4cf1(){const _0x39a42e=['982HApBQS','existsSync','resolve','28QrkDMj','943PqtqWu','初始化失败,文件已存在!','readline','\x5cjjb.script','exit','17623233LQYvfj','\x5ccli.init','\x5cjjb.config.json','\x5cpackage.json','exports','log','2216944bCAsoo','./cli.install/tools','1939064APaWND','3388580HTRhWo','path','初始化完成!','215754bRqSOG','2046654EIUWmh'];a11_0x4cf1=function(){return _0x39a42e;};return a11_0x4cf1();}
@@ -1 +1 @@
1
- const a11_0x58db98=a11_0x5a0a;function a11_0x5a0a(_0x2be192,_0x5ae347){const _0x31f80a=a11_0x31f8();return a11_0x5a0a=function(_0x5a0a77,_0x137294){_0x5a0a77=_0x5a0a77-0xd7;let _0x47b7a6=_0x31f80a[_0x5a0a77];return _0x47b7a6;},a11_0x5a0a(_0x2be192,_0x5ae347);}(function(_0x400f2a,_0x2014c4){const _0x1bb2e0=a11_0x5a0a,_0x3932f2=_0x400f2a();while(!![]){try{const _0x87e25=parseInt(_0x1bb2e0(0xdb))/0x1+parseInt(_0x1bb2e0(0xdd))/0x2*(parseInt(_0x1bb2e0(0xf0))/0x3)+parseInt(_0x1bb2e0(0xe4))/0x4*(parseInt(_0x1bb2e0(0x103))/0x5)+parseInt(_0x1bb2e0(0x111))/0x6*(-parseInt(_0x1bb2e0(0x10e))/0x7)+-parseInt(_0x1bb2e0(0xf9))/0x8*(parseInt(_0x1bb2e0(0x100))/0x9)+parseInt(_0x1bb2e0(0xec))/0xa*(-parseInt(_0x1bb2e0(0xf4))/0xb)+parseInt(_0x1bb2e0(0x102))/0xc*(parseInt(_0x1bb2e0(0xe8))/0xd);if(_0x87e25===_0x2014c4)break;else _0x3932f2['push'](_0x3932f2['shift']());}catch(_0x43a272){_0x3932f2['push'](_0x3932f2['shift']());}}}(a11_0x31f8,0xa623d));const os=require('os');exports['GIT_HOST']=a11_0x58db98(0xea),exports[a11_0x58db98(0xdf)]=a11_0x58db98(0xe3)+Date[a11_0x58db98(0xe9)](),exports[a11_0x58db98(0x10d)]={'common':{'token':a11_0x58db98(0xd8),'projectId':0x117},'react-admin-component':{'token':a11_0x58db98(0xe1),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a11_0x58db98(0xf6),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a11_0x58db98(0x10c)]=os['tmpdir']()+'\x5c'+exports['GIT_TEMP_DIR'],exports[a11_0x58db98(0xd9)]=__dirname+a11_0x58db98(0xe0),exports[a11_0x58db98(0xed)]=__dirname+a11_0x58db98(0x101),exports[a11_0x58db98(0xf2)]=__dirname+a11_0x58db98(0x105),exports[a11_0x58db98(0xfd)]=__dirname+a11_0x58db98(0xef),exports[a11_0x58db98(0xf3)]=a11_0x58db98(0x10a),exports['CLI_DVA_REGISTER_PATH']=a11_0x58db98(0x10b),exports[a11_0x58db98(0xdc)]=[{'path':a11_0x58db98(0xfb),'replace':[[a11_0x58db98(0xe2),a11_0x58db98(0xff)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a11_0x58db98(0xe2),'jjb-react-admin-component']]}],exports[a11_0x58db98(0xeb)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a11_0x58db98(0xf5),a11_0x58db98(0xe5)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a11_0x58db98(0xfb),'replace':[[a11_0x58db98(0xf5),a11_0x58db98(0xfa)]]}],exports[a11_0x58db98(0x104)]=[{'path':a11_0x58db98(0xf8),'replace':[['common/http',a11_0x58db98(0x106)],['common/crypto',a11_0x58db98(0x110)],[a11_0x58db98(0x10f),'jjb-common/tools']]},{'path':a11_0x58db98(0xe7),'replace':[[a11_0x58db98(0xfe),a11_0x58db98(0xee)]]},{'path':a11_0x58db98(0xf7),'replace':[[a11_0x58db98(0x10f),a11_0x58db98(0xf1)]]},{'path':a11_0x58db98(0xde),'replace':[[a11_0x58db98(0x107),'jjb-common/http'],['common/tools',a11_0x58db98(0xf1)]]},{'path':a11_0x58db98(0xe6),'replace':[[a11_0x58db98(0x107),a11_0x58db98(0x106)],[a11_0x58db98(0x10f),a11_0x58db98(0xf1)]]},{'path':a11_0x58db98(0x109),'replace':[[a11_0x58db98(0x107),a11_0x58db98(0x106)],[a11_0x58db98(0x10f),a11_0x58db98(0xf1)]]},{'path':a11_0x58db98(0xda),'replace':[[a11_0x58db98(0xfe),'jjb-common/color']]},{'path':a11_0x58db98(0x108),'replace':[[a11_0x58db98(0x10f),a11_0x58db98(0xf1)]]},{'path':a11_0x58db98(0xd7),'replace':[[a11_0x58db98(0xfc),'jjb-common/website'],['common/tools',a11_0x58db98(0xf1)]]}];function a11_0x31f8(){const _0x373e6a=['14znZXOr','common/tools','jjb-common/crypto','3819756EnclYd','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','G4HJRsHr9D7Ssmixegw2','CLI_DVA_ROUTER_SPA','\x5cPageHeaderBar\x5cindex.js','295483qjWHGf','COMMON_CONTENT_NOR_REPLACE','2qBAGFV','\x5cFileUploader\x5cindex.js','GIT_TEMP_DIR','\x5c..\x5ccli.dva.router.spa.txt','FT3pKzxpRynFkmddJ9Bs','components','jjbAssembly_','4515124eMuuDD','return\x20process.env;','\x5cImageCropper\x5cindex.js','\x5cRejectText\x5cindex.js','9412efbnEK','now','http://192.168.1.242:10985','COMMON_CONTENT_SPA_REPLACE','183010OPZomi','CLI_DVA_ROUTER_SAAS','jjb-common/color','\x5c..\x5ccli.dva.register.saas.txt','1000113aHOjxM','jjb-common/tools','CLI_DVA_REGISTER_SPA','CLI_DVA_ROUTER_PATH','781zkQrEP','return\x20__planA();','e9njpBd1nS_LREN8GFpR','\x5cRouterMenu\x5cindex.js','\x5cEditor\x5cindex.js','504aKlEBo','return\x20process.env.app;','\x5ctools\x5cindex.js','common/website','CLI_DVA_REGISTER_SAAS','common/color','jjb-react-admin-component','765pDQVYY','\x5c..\x5ccli.dva.router.saas.txt','24876qMLwew','5VrywNG','COMPONENTS_CONTENT_REPLACE','\x5c..\x5ccli.dva.register.spa.txt','jjb-common/http','common/http','\x5cRouterContainer\x5cindex.js','\x5cImageUploader\x5cindex.js','\x5cdva\x5cautomatic\x5crouter.js','\x5cdva\x5cautomatic\x5cregister.js','TEMPLATE_FOLDER','CLOUD_PROJECT'];a11_0x31f8=function(){return _0x373e6a;};return a11_0x31f8();}
1
+ const a12_0x34bad5=a12_0x7e59;(function(_0x23d8e6,_0x19f865){const _0x70303b=a12_0x7e59,_0x5d709d=_0x23d8e6();while(!![]){try{const _0xf42ccd=-parseInt(_0x70303b(0x184))/0x1+-parseInt(_0x70303b(0x18f))/0x2*(-parseInt(_0x70303b(0x15b))/0x3)+-parseInt(_0x70303b(0x156))/0x4*(parseInt(_0x70303b(0x176))/0x5)+parseInt(_0x70303b(0x18d))/0x6+parseInt(_0x70303b(0x170))/0x7*(parseInt(_0x70303b(0x189))/0x8)+parseInt(_0x70303b(0x16c))/0x9+parseInt(_0x70303b(0x15a))/0xa*(-parseInt(_0x70303b(0x178))/0xb);if(_0xf42ccd===_0x19f865)break;else _0x5d709d['push'](_0x5d709d['shift']());}catch(_0x48cac8){_0x5d709d['push'](_0x5d709d['shift']());}}}(a12_0x2440,0xd887c));function a12_0x2440(){const _0xbee1e=['return\x20__planA();','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_REGISTER_SAAS','jjb-common/website','jjb-common/http','\x5cImageUploader\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4','now','components','10394739rMwikf','jjb-common/color','common/http','CLOUD_PROJECT','106519QIZAev','common/website','\x5cPageHeaderBar\x5cindex.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/color','CLI_DVA_REGISTER_PATH','145jpFZwn','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','731489JArpHc','COMMON_CONTENT_NOR_REPLACE','GIT_TEMP_DIR','CLI_DVA_ROUTER_SPA','CLI_DVA_ROUTER_SAAS','GIT_HOST','CLI_DVA_REGISTER_SPA','\x5cImageCropper\x5cindex.js','hLqARY89CN6fUD3yg4NL','\x5c..\x5ccli.dva.router.saas.txt','return\x20process.env.app;','\x5cFileUploader\x5cindex.js','1029614xdotpz','TEMPLATE_FOLDER','\x5ctools\x5cindex.js','http://192.168.1.242:10985','\x5cRejectText\x5cindex.js','928ItWJLl','COMPONENTS_CONTENT_REPLACE','\x5c..\x5ccli.dva.register.saas.txt','jjb-react-admin-component','9454758jkWjCO','COMMON_CONTENT_MICRO_REPLACE','2GEfbZj','\x5c..\x5ccli.dva.register.spa.txt','161220HvoQPm','common/crypto','tmpdir','common/tools','340ictDDL','2551191qAXxal','\x5cEditor\x5cindex.js','\x5cwebsite\x5cindex.js','jjb-common/crypto','\x5cRouterMenu\x5cindex.js','jjb-common/tools','G4HJRsHr9D7Ssmixegw2','return\x20process.env;'];a12_0x2440=function(){return _0xbee1e;};return a12_0x2440();}const os=require('os');function a12_0x7e59(_0x357cd2,_0x190b40){const _0x244066=a12_0x2440();return a12_0x7e59=function(_0x7e59e9,_0x10d130){_0x7e59e9=_0x7e59e9-0x155;let _0x26ff77=_0x244066[_0x7e59e9];return _0x26ff77;},a12_0x7e59(_0x357cd2,_0x190b40);}exports[a12_0x34bad5(0x17d)]=a12_0x34bad5(0x187),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a12_0x34bad5(0x16a)](),exports[a12_0x34bad5(0x16f)]={'common':{'token':a12_0x34bad5(0x161),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a12_0x34bad5(0x180),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a12_0x34bad5(0x169),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a12_0x34bad5(0x185)]=os[a12_0x34bad5(0x158)]()+'\x5c'+exports[a12_0x34bad5(0x17a)],exports[a12_0x34bad5(0x17b)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a12_0x34bad5(0x17c)]=__dirname+a12_0x34bad5(0x181),exports[a12_0x34bad5(0x17e)]=__dirname+a12_0x34bad5(0x155),exports[a12_0x34bad5(0x165)]=__dirname+a12_0x34bad5(0x18b),exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a12_0x34bad5(0x175)]=a12_0x34bad5(0x164),exports[a12_0x34bad5(0x179)]=[{'path':a12_0x34bad5(0x186),'replace':[['components','jjb-react-admin-component']]},{'path':a12_0x34bad5(0x15d),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a12_0x34bad5(0x177)],[a12_0x34bad5(0x16b),a12_0x34bad5(0x18c)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a12_0x34bad5(0x186),'replace':[[a12_0x34bad5(0x163),a12_0x34bad5(0x162)]]}],exports[a12_0x34bad5(0x18e)]=[{'path':a12_0x34bad5(0x186),'replace':[[a12_0x34bad5(0x163),a12_0x34bad5(0x182)]]}],exports[a12_0x34bad5(0x18a)]=[{'path':a12_0x34bad5(0x15c),'replace':[[a12_0x34bad5(0x16e),a12_0x34bad5(0x167)],[a12_0x34bad5(0x157),a12_0x34bad5(0x15e)],[a12_0x34bad5(0x159),'jjb-common/tools']]},{'path':a12_0x34bad5(0x188),'replace':[[a12_0x34bad5(0x174),a12_0x34bad5(0x16d)]]},{'path':a12_0x34bad5(0x15f),'replace':[[a12_0x34bad5(0x159),'jjb-common/tools']]},{'path':a12_0x34bad5(0x183),'replace':[[a12_0x34bad5(0x16e),'jjb-common/http'],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x17f),'replace':[['common/http',a12_0x34bad5(0x167)],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x168),'replace':[['common/http',a12_0x34bad5(0x167)],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x172),'replace':[[a12_0x34bad5(0x174),a12_0x34bad5(0x16d)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x173),'replace':[[a12_0x34bad5(0x171),a12_0x34bad5(0x166)],['common/tools',a12_0x34bad5(0x160)]]}];
@@ -1 +1 @@
1
- function a12_0x4b2e(_0x8e139c,_0x321b68){const _0x17731f=a12_0x1773();return a12_0x4b2e=function(_0x4b2e45,_0x9e5975){_0x4b2e45=_0x4b2e45-0x11b;let _0x4dcc1e=_0x17731f[_0x4b2e45];return _0x4dcc1e;},a12_0x4b2e(_0x8e139c,_0x321b68);}const a12_0x4d7061=a12_0x4b2e;(function(_0x449937,_0x47156b){const _0x5eefe8=a12_0x4b2e,_0x521da5=_0x449937();while(!![]){try{const _0x1a925b=parseInt(_0x5eefe8(0x127))/0x1*(parseInt(_0x5eefe8(0x149))/0x2)+-parseInt(_0x5eefe8(0x154))/0x3*(parseInt(_0x5eefe8(0x13a))/0x4)+parseInt(_0x5eefe8(0x11e))/0x5+-parseInt(_0x5eefe8(0x14e))/0x6+parseInt(_0x5eefe8(0x141))/0x7+-parseInt(_0x5eefe8(0x13b))/0x8+parseInt(_0x5eefe8(0x15d))/0x9*(parseInt(_0x5eefe8(0x12e))/0xa);if(_0x1a925b===_0x47156b)break;else _0x521da5['push'](_0x521da5['shift']());}catch(_0x3ebe57){_0x521da5['push'](_0x521da5['shift']());}}}(a12_0x1773,0xdd494));function a12_0x1773(){const _0x1114dc=['2705356ImISyl','5594880KUQSzz','unlinkSync','resolve','export\x20{\x20default\x20as\x20','uncompress','react-admin-component','11149250zAZlnA','rmdirSync','vue-unisass-component','map','micro-spa','readFileSync','_zip','request','693118XvgZiM','readdirSync','.idea','installResources','【jjb-cmd】:install命令执行完成,用时','6352026bWCIkT','exports','src\x5c','installTarget','replace','close','6qEhmSu','writeFileSync','./config','mkdirSync','【Error】:安装失败,src目录不存在。','length','1.0.0','push','forEach','6723666LGbMAq','now','compress','\x20}\x20from\x20\x27./','\x5cindex.js','2918200ydDTdb','find','path','existsSync','createWriteStream','RouterContainer','node_modules','toString','./tools','1LWneEn','pure_name','compressing','import_list','exit','join','src','20VrriNC','setting.json','spa','includes','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','.gitignore','jjb-common','importList','name','filter','log','projectType'];a12_0x1773=function(){return _0x1114dc;};return a12_0x1773();}const fs=require('fs'),path=require(a12_0x4d7061(0x120)),request=require(a12_0x4d7061(0x148)),compressing=require(a12_0x4d7061(0x129)),{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(a12_0x4d7061(0x126)),{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(a12_0x4d7061(0x156)),start_time=Date['now']();module[a12_0x4d7061(0x14f)]=()=>{const _0x7fab81=a12_0x4d7061,_0x1e0d28=path[_0x7fab81(0x13d)]('./'),_0x2129e4=[_0x1e0d28,_0x7fab81(0x150)][_0x7fab81(0x12c)]('\x5c'),_0x430cdb=[_0x1e0d28,'node_modules'][_0x7fab81(0x12c)]('\x5c'),_0x43b7b0=[_0x1e0d28,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x1e0d28)){const _0x5183fd=f_scan_jjb_config_json_rules(_0x1e0d28);_0x5183fd[_0x7fab81(0x151)]===_0x7fab81(0x124)?!fs[_0x7fab81(0x121)](_0x430cdb)?(console['log']('【Error】:安装失败,node_modules目录不存在。'),process[_0x7fab81(0x12b)](0x0)):console[_0x7fab81(0x138)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs[_0x7fab81(0x121)](_0x2129e4)&&(console[_0x7fab81(0x138)](_0x7fab81(0x158)),process[_0x7fab81(0x12b)](0x0));fs[_0x7fab81(0x157)](TEMPLATE_FOLDER),f_pull_git_repository(_0x5183fd[_0x7fab81(0x14c)])[_0x7fab81(0x144)](_0x25d18c=>{const _0x48c187=_0x7fab81,_0x13bce7=fs[_0x48c187(0x122)](_0x25d18c[_0x48c187(0x120)]);request(_0x25d18c['repository'])['pipe'](_0x13bce7)['on'](_0x48c187(0x153),()=>{const _0x37d519=_0x48c187;fs[_0x37d519(0x157)](_0x25d18c[_0x37d519(0x11b)]),compressing['zip'][_0x37d519(0x13f)](_0x25d18c[_0x37d519(0x120)],_0x25d18c[_0x37d519(0x11b)]);});});const _0x4f6ebc=setInterval(()=>{const _0x1a764a=_0x7fab81,_0x5c9039=fs[_0x1a764a(0x14a)](TEMPLATE_FOLDER),_0x2a4b6a=_0x5c9039[_0x1a764a(0x137)](_0x8d25a0=>_0x5183fd[_0x1a764a(0x14c)]['map'](_0x4871ab=>_0x4871ab[_0x1a764a(0x136)]+'_zip')['includes'](_0x8d25a0));if(_0x2a4b6a['length']===_0x5183fd[_0x1a764a(0x14c)][_0x1a764a(0x159)]){clearInterval(_0x4f6ebc);const _0x534615=[];_0x2a4b6a[_0x1a764a(0x15c)](_0x5592bf=>{const _0x44b492=_0x1a764a,_0x26dfb2=[TEMPLATE_FOLDER,_0x5592bf]['join']('\x5c');fs[_0x44b492(0x14a)](_0x26dfb2)['forEach'](_0xd26612=>_0x534615['push']({'name':_0x5592bf,'path':[_0x26dfb2,_0xd26612]['join']('\x5c'),'pure_name':_0x5592bf[_0x44b492(0x152)](/_zip$/,''),'import_list':_0x5183fd['installResources'][_0x44b492(0x11f)](_0x137f44=>_0x137f44[_0x44b492(0x136)]+_0x44b492(0x147)===_0x5592bf)[_0x44b492(0x135)]}));}),_0x534615[_0x1a764a(0x15c)](_0x2ef234=>{const _0x4228c3=_0x1a764a,_0x5dd1f3=_0x2ef234[_0x4228c3(0x128)],_0x3fe3ab=_0x2ef234[_0x4228c3(0x12a)],_0x460403=[_0x2ef234[_0x4228c3(0x120)],_0x4228c3(0x14b)][_0x4228c3(0x12c)]('//'),_0x3bc5ec=[_0x2ef234[_0x4228c3(0x120)],_0x4228c3(0x133)][_0x4228c3(0x12c)]('//');fs[_0x4228c3(0x121)](_0x460403)&&(f_rm_rf(_0x460403),fs['rmdirSync'](_0x460403));fs[_0x4228c3(0x121)](_0x3bc5ec)&&fs[_0x4228c3(0x13c)](_0x3bc5ec);if(_0x3fe3ab['length']){fs['readdirSync'](_0x2ef234[_0x4228c3(0x120)])['filter'](_0x174ff9=>!_0x3fe3ab[_0x4228c3(0x131)](_0x174ff9)&&_0x174ff9!=='index.js'&&_0x174ff9!==_0x4228c3(0x12f))[_0x4228c3(0x15c)](_0x3c9c35=>{const _0x3d7656=_0x4228c3,_0x3f0c08=_0x2ef234[_0x3d7656(0x120)]+'\x5c'+_0x3c9c35;f_rm_rf(_0x3f0c08),fs[_0x3d7656(0x142)](_0x3f0c08);});if(_0x5dd1f3===_0x4228c3(0x140)){const _0x2d4eba=[];fs['readdirSync'](_0x2ef234['path'])['filter'](_0x2898ac=>_0x2898ac!=='index.js')['forEach'](_0xef3831=>{const _0x1e1fd4=_0x4228c3;_0xef3831===_0x1e1fd4(0x123)?_0x2d4eba[_0x1e1fd4(0x15b)](_0x1e1fd4(0x132)):_0x2d4eba[_0x1e1fd4(0x15b)](_0x1e1fd4(0x13e)+_0xef3831+_0x1e1fd4(0x11c)+_0xef3831+'\x27;');}),fs[_0x4228c3(0x155)](_0x2ef234[_0x4228c3(0x120)]+_0x4228c3(0x11d),_0x2d4eba[_0x4228c3(0x12c)]('\x0a'));}}if(_0x5dd1f3===_0x4228c3(0x134)){const _0x42cb11=[_0x2ef234[_0x4228c3(0x120)],'\x5cdva\x5cautomatic']['join']('\x5c');if([_0x4228c3(0x130),_0x4228c3(0x145)]['includes'](_0x5183fd[_0x4228c3(0x139)]))fs[_0x4228c3(0x121)](_0x42cb11)&&(f_content_replace(_0x5183fd[_0x4228c3(0x139)]===_0x4228c3(0x130)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x2ef234['path']),fs[_0x4228c3(0x155)](_0x2ef234[_0x4228c3(0x120)]+CLI_DVA_ROUTER_PATH,fs[_0x4228c3(0x146)](_0x5183fd[_0x4228c3(0x139)]===_0x4228c3(0x130)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x4228c3(0x125)]()),fs['writeFileSync'](_0x2ef234['path']+CLI_DVA_REGISTER_PATH,fs[_0x4228c3(0x146)](_0x5183fd[_0x4228c3(0x139)]===_0x4228c3(0x130)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x4228c3(0x125)]()));else _0x5183fd[_0x4228c3(0x139)]==='multi'&&(fs[_0x4228c3(0x121)](_0x42cb11)&&(f_rm_rf(_0x42cb11),fs[_0x4228c3(0x142)](_0x42cb11)));}else{if(_0x5dd1f3===_0x4228c3(0x140))_0x5183fd['projectType']===_0x4228c3(0x145)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x2ef234[_0x4228c3(0x120)]);else{if(_0x5dd1f3===_0x4228c3(0x143)){}}}if(_0x5183fd[_0x4228c3(0x151)]===_0x4228c3(0x124)){const _0x2965c0=_0x5dd1f3;fs[_0x4228c3(0x121)](_0x430cdb+'\x5c'+_0x2965c0)?f_rm_rf(_0x430cdb+'\x5c'+_0x2965c0):fs[_0x4228c3(0x157)](_0x430cdb+'\x5c'+_0x2965c0),f_file_copy(_0x2ef234[_0x4228c3(0x120)],_0x430cdb+'\x5c'+_0x2965c0),f_create_package_json(_0x430cdb+'\x5c'+_0x2965c0,_0x2965c0,_0x4228c3(0x15a)),f_update_project_package_json(_0x43b7b0,_0x2965c0,'1.0.0');}else{if(_0x5183fd[_0x4228c3(0x151)]===_0x4228c3(0x12d)){const _0x2c5a85=_0x4228c3(0x140);fs[_0x4228c3(0x121)](_0x2129e4+_0x2c5a85)?f_rm_rf(_0x2129e4+_0x2c5a85):fs[_0x4228c3(0x157)](_0x2129e4+_0x2c5a85),f_file_copy(_0x2ef234[_0x4228c3(0x120)],_0x2129e4+_0x2c5a85);}}}),setTimeout(()=>{const _0x27ecaf=_0x1a764a;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x17bed7=Date[_0x27ecaf(0x15e)]();console['log'](_0x27ecaf(0x14d)+(_0x17bed7-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x7fab81(0x138)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
1
+ const a13_0x3ae741=a13_0xf53b;function a13_0xf53b(_0x4b3e0f,_0x25773a){const _0x4bb988=a13_0x4bb9();return a13_0xf53b=function(_0xf53b50,_0x3b5d80){_0xf53b50=_0xf53b50-0x18e;let _0x259a33=_0x4bb988[_0xf53b50];return _0x259a33;},a13_0xf53b(_0x4b3e0f,_0x25773a);}(function(_0x32bdaa,_0x3e49d3){const _0x59427b=a13_0xf53b,_0x597204=_0x32bdaa();while(!![]){try{const _0x48d2be=-parseInt(_0x59427b(0x1c4))/0x1*(-parseInt(_0x59427b(0x1b2))/0x2)+-parseInt(_0x59427b(0x190))/0x3*(-parseInt(_0x59427b(0x1b9))/0x4)+-parseInt(_0x59427b(0x1d0))/0x5+-parseInt(_0x59427b(0x1b5))/0x6*(parseInt(_0x59427b(0x1a9))/0x7)+-parseInt(_0x59427b(0x1c6))/0x8+-parseInt(_0x59427b(0x1ae))/0x9+parseInt(_0x59427b(0x1bf))/0xa;if(_0x48d2be===_0x3e49d3)break;else _0x597204['push'](_0x597204['shift']());}catch(_0x46bae7){_0x597204['push'](_0x597204['shift']());}}}(a13_0x4bb9,0xdfae6));const fs=require('fs'),path=require(a13_0x3ae741(0x1d1)),request=require(a13_0x3ae741(0x1cb)),compressing=require('compressing'),{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(a13_0x3ae741(0x1c9)),{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(a13_0x3ae741(0x1a0)),start_time=Date[a13_0x3ae741(0x1c2)]();module[a13_0x3ae741(0x1bb)]=()=>{const _0x329bad=a13_0x3ae741,_0x4938df=path[_0x329bad(0x1c0)]('./'),_0x11f0b3=[_0x4938df,_0x329bad(0x1b8)][_0x329bad(0x1a3)]('\x5c'),_0x89c496=[_0x4938df,'node_modules'][_0x329bad(0x1a3)]('\x5c'),_0x1f5eab=[_0x4938df,_0x329bad(0x18e)][_0x329bad(0x1a3)]('\x5c');if(f_scan_jjb_config_json(_0x4938df)){const _0x282d04=f_scan_jjb_config_json_rules(_0x4938df);_0x282d04['installTarget']==='node_modules'?!fs[_0x329bad(0x19f)](_0x89c496)?(console[_0x329bad(0x1a7)](_0x329bad(0x191)),process[_0x329bad(0x1ad)](0x0)):console[_0x329bad(0x1a7)](_0x329bad(0x1c5)):!fs[_0x329bad(0x19f)](_0x11f0b3)&&(console[_0x329bad(0x1a7)](_0x329bad(0x1a4)),process[_0x329bad(0x1ad)](0x0));fs[_0x329bad(0x1a1)](TEMPLATE_FOLDER),f_pull_git_repository(_0x282d04[_0x329bad(0x1aa)])[_0x329bad(0x1b3)](_0x14e6c2=>{const _0x3e915c=_0x329bad,_0x156406=fs[_0x3e915c(0x1d3)](_0x14e6c2[_0x3e915c(0x1d1)]);request(_0x14e6c2[_0x3e915c(0x1ba)])[_0x3e915c(0x1a8)](_0x156406)['on']('close',()=>{const _0xdfb27d=_0x3e915c;fs[_0xdfb27d(0x1a1)](_0x14e6c2[_0xdfb27d(0x19d)]),compressing[_0xdfb27d(0x1a6)][_0xdfb27d(0x193)](_0x14e6c2[_0xdfb27d(0x1d1)],_0x14e6c2[_0xdfb27d(0x19d)]);});});const _0x2a94cf=setInterval(()=>{const _0x10893f=_0x329bad,_0x42204c=fs[_0x10893f(0x1d2)](TEMPLATE_FOLDER),_0x97d74e=_0x42204c['filter'](_0xb58840=>_0x282d04[_0x10893f(0x1aa)][_0x10893f(0x1b3)](_0x4d5c30=>_0x4d5c30[_0x10893f(0x1cc)]+_0x10893f(0x1ac))[_0x10893f(0x1b7)](_0xb58840));if(_0x97d74e[_0x10893f(0x1cd)]===_0x282d04[_0x10893f(0x1aa)][_0x10893f(0x1cd)]){clearInterval(_0x2a94cf);const _0x1a1eef=[];_0x97d74e[_0x10893f(0x196)](_0x39b706=>{const _0x3ea099=_0x10893f,_0x23517b=[TEMPLATE_FOLDER,_0x39b706][_0x3ea099(0x1a3)]('\x5c');fs[_0x3ea099(0x1d2)](_0x23517b)[_0x3ea099(0x196)](_0x1b5c7d=>_0x1a1eef['push']({'name':_0x39b706,'path':[_0x23517b,_0x1b5c7d][_0x3ea099(0x1a3)]('\x5c'),'pure_name':_0x39b706[_0x3ea099(0x18f)](/_zip$/,''),'import_list':_0x282d04[_0x3ea099(0x1aa)][_0x3ea099(0x1c3)](_0x1ed4f4=>_0x1ed4f4[_0x3ea099(0x1cc)]+_0x3ea099(0x1ac)===_0x39b706)[_0x3ea099(0x1c8)]}));}),_0x1a1eef[_0x10893f(0x196)](_0x5f02fd=>{const _0x20ecab=_0x10893f,_0x568061=_0x5f02fd[_0x20ecab(0x1cf)],_0x361733=_0x5f02fd['import_list'],_0x429732=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x199)][_0x20ecab(0x1a3)]('//'),_0x22ac26=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x19e)][_0x20ecab(0x1a3)]('//');fs['existsSync'](_0x429732)&&(f_rm_rf(_0x429732),fs[_0x20ecab(0x19a)](_0x429732));fs[_0x20ecab(0x19f)](_0x22ac26)&&fs[_0x20ecab(0x195)](_0x22ac26);if(_0x361733[_0x20ecab(0x1cd)]){fs[_0x20ecab(0x1d2)](_0x5f02fd[_0x20ecab(0x1d1)])[_0x20ecab(0x1c7)](_0x526392=>!_0x361733['includes'](_0x526392)&&_0x526392!==_0x20ecab(0x1ce)&&_0x526392!==_0x20ecab(0x1b4))[_0x20ecab(0x196)](_0x49ff2f=>{const _0x320059=_0x20ecab,_0x316258=_0x5f02fd['path']+'\x5c'+_0x49ff2f;f_rm_rf(_0x316258),fs[_0x320059(0x19a)](_0x316258);});if(_0x568061===_0x20ecab(0x19c)){const _0x29c2ce=[];fs[_0x20ecab(0x1d2)](_0x5f02fd['path'])[_0x20ecab(0x1c7)](_0x37adfb=>_0x37adfb!==_0x20ecab(0x1ce))[_0x20ecab(0x196)](_0x333416=>{const _0x13da6a=_0x20ecab;_0x333416===_0x13da6a(0x19b)?_0x29c2ce['push'](_0x13da6a(0x1a5)):_0x29c2ce[_0x13da6a(0x1af)]('export\x20{\x20default\x20as\x20'+_0x333416+'\x20}\x20from\x20\x27./'+_0x333416+'\x27;');}),fs['writeFileSync'](_0x5f02fd[_0x20ecab(0x1d1)]+_0x20ecab(0x1bd),_0x29c2ce[_0x20ecab(0x1a3)]('\x0a'));}}if(_0x568061==='jjb-common'){const _0x5c1b1b=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x1be)]['join']('\x5c');if(['spa',_0x20ecab(0x197)][_0x20ecab(0x1b7)](_0x282d04['projectType']))fs[_0x20ecab(0x19f)](_0x5c1b1b)&&(f_content_replace(_0x282d04['projectType']===_0x20ecab(0x1bc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5f02fd[_0x20ecab(0x1d1)]),fs[_0x20ecab(0x1b0)](_0x5f02fd['path']+CLI_DVA_ROUTER_PATH,fs[_0x20ecab(0x1b6)](_0x282d04['projectType']===_0x20ecab(0x1bc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x20ecab(0x1b0)](_0x5f02fd[_0x20ecab(0x1d1)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x282d04['projectType']==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x282d04['projectType']===_0x20ecab(0x192)&&(fs[_0x20ecab(0x19f)](_0x5c1b1b)&&(f_rm_rf(_0x5c1b1b),fs[_0x20ecab(0x19a)](_0x5c1b1b)));}else{if(_0x568061===_0x20ecab(0x19c))_0x282d04[_0x20ecab(0x1a2)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5f02fd[_0x20ecab(0x1d1)]);else{if(_0x568061===_0x20ecab(0x1ab)){}}}if(_0x282d04[_0x20ecab(0x194)]===_0x20ecab(0x1c1)){const _0x2d790a=_0x568061;fs[_0x20ecab(0x19f)](_0x89c496+'\x5c'+_0x2d790a)?f_rm_rf(_0x89c496+'\x5c'+_0x2d790a):fs[_0x20ecab(0x1a1)](_0x89c496+'\x5c'+_0x2d790a),f_file_copy(_0x5f02fd['path'],_0x89c496+'\x5c'+_0x2d790a),f_create_package_json(_0x89c496+'\x5c'+_0x2d790a,_0x2d790a,_0x20ecab(0x1b1)),f_update_project_package_json(_0x1f5eab,_0x2d790a,'1.0.0');}else{if(_0x282d04[_0x20ecab(0x194)]==='src'){const _0xb41f7=_0x20ecab(0x19c);fs['existsSync'](_0x11f0b3+_0xb41f7)?f_rm_rf(_0x11f0b3+_0xb41f7):fs[_0x20ecab(0x1a1)](_0x11f0b3+_0xb41f7),f_file_copy(_0x5f02fd['path'],_0x11f0b3+_0xb41f7);}}}),setTimeout(()=>{const _0x272503=_0x10893f;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x22c253=Date[_0x272503(0x1c2)]();console['log'](_0x272503(0x198)+(_0x22c253-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x329bad(0x1a7)](_0x329bad(0x1ca));};function a13_0x4bb9(){const _0x4c23f8=['readFileSync','includes','src\x5c','12868OmepPJ','repository','exports','spa','\x5cindex.js','\x5cdva\x5cautomatic','33474790rfVrCy','resolve','node_modules','now','find','254209phPQik','Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','8511136ADzzdy','filter','importList','./tools','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','request','name','length','index.js','pure_name','786040YOIGfQ','path','readdirSync','createWriteStream','package.json','replace','1251PDujsP','【Error】:安装失败,node_modules目录不存在。','multi','uncompress','installTarget','unlinkSync','forEach','micro-spa','【jjb-cmd】:install命令执行完成,用时','.idea','rmdirSync','RouterContainer','react-admin-component','compress','.gitignore','existsSync','./config','mkdirSync','projectType','join','【Error】:安装失败,src目录不存在。','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','zip','log','pipe','11263wQStRj','installResources','vue-unisass-component','_zip','exit','13552029qbaoxy','push','writeFileSync','1.0.0','6lsVJrq','map','setting.json','6744jWLcXT'];a13_0x4bb9=function(){return _0x4c23f8;};return a13_0x4bb9();}
@@ -1 +1 @@
1
- const a13_0x42443b=a13_0x1d1f;(function(_0x5bc830,_0x3070bb){const _0x559997=a13_0x1d1f,_0x1c2a84=_0x5bc830();while(!![]){try{const _0xd0c08f=-parseInt(_0x559997(0xcb))/0x1+-parseInt(_0x559997(0xa1))/0x2*(-parseInt(_0x559997(0xb7))/0x3)+parseInt(_0x559997(0xc4))/0x4*(-parseInt(_0x559997(0xab))/0x5)+-parseInt(_0x559997(0x94))/0x6+parseInt(_0x559997(0xaf))/0x7+parseInt(_0x559997(0xa8))/0x8*(-parseInt(_0x559997(0xaa))/0x9)+-parseInt(_0x559997(0xcd))/0xa*(-parseInt(_0x559997(0xb1))/0xb);if(_0xd0c08f===_0x3070bb)break;else _0x1c2a84['push'](_0x1c2a84['shift']());}catch(_0x2fbd5d){_0x1c2a84['push'](_0x1c2a84['shift']());}}}(a13_0x5ca5,0xa5288));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');function a13_0x5ca5(){const _0x1afc88=['jjb-dva-runtime','275mUuMWc','micro-spa','length','readFileSync','readdirSync','\x5cpackage.json','3307641ajAAfO','f_scan_jjb_config_json','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','\x22,\x22version\x22:\x22','.zip','jjb-common-lib','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','map','projectId','isArray','f_pull_git_repository','node_modules','56wEvJaE','stringify','isDirectory','existsSync','spa','forEach','toString','1037063zUKxGg','jjb-common','663530rbJzVP','replace','multi','installTarget','jjb-common-decorator','f_content_replace','exit','projectType','【Error】:[jjb.config.json.installTarget]类型是一个string。','f_scan_jjb_config_json_rules','\x5cjjb.config.json','\x22,\x22main\x22:\x20\x22index.js\x22}','2364990LLMJSZ','/repository/archive.zip?private_token=','name','string','【Error】:[jjb.config.json.installResources]无资源。','&ref=master','f_rm_rf','{\x22name\x22:\x22','uniapp','log','parse','【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>。','writeFileSync','2pYaDlX','installResources','includes','unlinkSync','statSync','src','filter','367096boXRlj','push','9euCHcm','461030XBOmWf','f_file_copy','react-admin-component','vue-unisass-component','4781805tMKvxI'];a13_0x5ca5=function(){return _0x1afc88;};return a13_0x5ca5();}function a13_0x1d1f(_0x4eb7df,_0x178fe1){const _0x5ca56f=a13_0x5ca5();return a13_0x1d1f=function(_0x1d1f8c,_0x3108c7){_0x1d1f8c=_0x1d1f8c-0x89;let _0x3350f7=_0x5ca56f[_0x1d1f8c];return _0x3350f7;},a13_0x1d1f(_0x4eb7df,_0x178fe1);}exports[a13_0x42443b(0x9a)]=function(_0x5c4378){const _0xc3e9a7=a13_0x42443b;if(fs['existsSync'](_0x5c4378)){const _0x322983=fs[_0xc3e9a7(0xb5)](_0x5c4378);for(let _0x23f15d=0x0;_0x23f15d<_0x322983[_0xc3e9a7(0xb3)];_0x23f15d++){const _0x2d7e03=_0x322983[_0x23f15d],_0x2d36c5=_0x5c4378+'/'+_0x2d7e03;fs['statSync'](_0x2d36c5)[_0xc3e9a7(0xc6)]()?(exports['f_rm_rf'](_0x2d36c5),fs['rmdirSync'](_0x2d36c5)):fs[_0xc3e9a7(0xa4)](_0x2d36c5);}}},exports[a13_0x42443b(0xc2)]=function(_0x3cce0f=[]){const _0x13bec7=a13_0x42443b;return _0x3cce0f[_0x13bec7(0xbf)](_0x56c8af=>{const _0x3e3b8a=_0x13bec7,_0x4d70c7=CLOUD_PROJECT[_0x56c8af[_0x3e3b8a(0x96)]]||undefined,_0x2ecdcd=os['tmpdir']();return{'path':_0x2ecdcd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x56c8af[_0x3e3b8a(0x96)]+_0x3e3b8a(0xbc),'compress':_0x2ecdcd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x56c8af['name']+'_zip','repository':GIT_HOST+'/api/v4/projects/'+_0x4d70c7[_0x3e3b8a(0xc0)]+_0x3e3b8a(0x95)+_0x4d70c7['token']+_0x3e3b8a(0x99)};});},exports[a13_0x42443b(0xb8)]=function(_0x43c4a5){const _0x49d9e7=a13_0x42443b;return fs[_0x49d9e7(0xc7)](_0x43c4a5+'\x5cjjb.config.json');},exports[a13_0x42443b(0x91)]=function(_0x4b0cba){const _0x544738=a13_0x42443b;let _0x2d7ee0={};try{_0x2d7ee0=JSON[_0x544738(0x9e)](fs[_0x544738(0xb4)](_0x4b0cba+_0x544738(0x92))[_0x544738(0xca)]());}catch(_0x4efb83){console['log']('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x544738(0x8e)](0x0);}!(_0x544738(0x8f)in _0x2d7ee0)&&(console[_0x544738(0x9d)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x544738(0x8e)](0x0));!(_0x544738(0x8b)in _0x2d7ee0)&&(console[_0x544738(0x9d)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x544738(0x8e)](0x0));!(_0x544738(0xa2)in _0x2d7ee0)&&(console[_0x544738(0x9d)](_0x544738(0xba)),process[_0x544738(0x8e)](0x0));typeof _0x2d7ee0['projectType']!=='string'&&(console[_0x544738(0x9d)](_0x544738(0xb9)),process[_0x544738(0x8e)](0x0));![_0x544738(0x8a),_0x544738(0xc8),_0x544738(0x9c),_0x544738(0xb2)][_0x544738(0xa3)](_0x2d7ee0[_0x544738(0x8f)])&&(console[_0x544738(0x9d)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x544738(0x8e)](0x0));typeof _0x2d7ee0['installTarget']!==_0x544738(0x97)&&(console[_0x544738(0x9d)](_0x544738(0x90)),process[_0x544738(0x8e)](0x0));![_0x544738(0xc3),_0x544738(0xa6)][_0x544738(0xa3)](_0x2d7ee0[_0x544738(0x8b)])&&(console[_0x544738(0x9d)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array[_0x544738(0xc1)](_0x2d7ee0['installResources'])&&(console[_0x544738(0x9d)](_0x544738(0xbe)),process[_0x544738(0x8e)](0x0));_0x2d7ee0[_0x544738(0xa2)][_0x544738(0xb3)]===0x0&&(console[_0x544738(0x9d)](_0x544738(0x98)),process['exit'](0x0));const _0x2109aa=exports['f_resolve_install_resources'](_0x2d7ee0[_0x544738(0xa2)]);return _0x2109aa[_0x544738(0xbf)](_0x441e54=>_0x441e54[_0x544738(0x96)])[_0x544738(0xa7)](_0x516c8f=>![_0x544738(0xcc),_0x544738(0xb0),_0x544738(0xbd),_0x544738(0x8c),_0x544738(0xad),_0x544738(0xae)][_0x544738(0xa3)](_0x516c8f))[_0x544738(0xb3)]!==0x0&&(console[_0x544738(0x9d)](_0x544738(0x9f)),process[_0x544738(0x8e)](0x0)),_0x2d7ee0['installResources']=_0x2109aa,_0x2d7ee0;},exports['f_create_package_json']=function(_0x27e0b4,_0x21e3fb,_0x258883){const _0x4a1e61=a13_0x42443b;fs[_0x4a1e61(0xa0)](_0x27e0b4+_0x4a1e61(0xb6),_0x4a1e61(0x9b)+_0x21e3fb+_0x4a1e61(0xbb)+_0x258883+_0x4a1e61(0x93));},exports['f_resolve_install_resources']=function(_0x11eaba=[]){const _0xf53466=a13_0x42443b,_0x1d21ed=[];return Array[_0xf53466(0xc1)](_0x11eaba)&&_0x11eaba[_0xf53466(0xc9)](_0x26e57b=>{const _0x2ef49c=_0xf53466;if(Array[_0x2ef49c(0xc1)](_0x26e57b)){const [_0x4bd6ed,_0x259fd6=[]]=_0x26e57b;_0x1d21ed[_0x2ef49c(0xa9)]({'name':_0x4bd6ed,'importList':_0x259fd6});}else _0x1d21ed['push']({'name':_0x26e57b,'importList':[]});}),_0x1d21ed;},exports['f_update_project_package_json']=function(_0x55c5e7,_0x3294f1,_0x40cd95){const _0x49b5b3=a13_0x42443b,_0x44b5a5=JSON[_0x49b5b3(0x9e)](fs[_0x49b5b3(0xb4)](_0x55c5e7)[_0x49b5b3(0xca)]());_0x44b5a5['dependencies'][_0x3294f1]=_0x40cd95,fs['writeFileSync'](_0x55c5e7,JSON[_0x49b5b3(0xc5)](_0x44b5a5,null,0x2));},exports['f_file_copy']=function(_0x334986,_0x4dec6b){const _0xeb06ae=a13_0x42443b;fs[_0xeb06ae(0xb5)](_0x334986)[_0xeb06ae(0xc9)](_0x5a768b=>{const _0x4d0bf5=_0xeb06ae,_0x13d388=_0x334986+'\x5c'+_0x5a768b,_0x24401c=_0x4dec6b+'\x5c'+_0x5a768b;fs[_0x4d0bf5(0xa5)](_0x13d388)['isDirectory']()?(fs['mkdirSync'](_0x24401c),exports[_0x4d0bf5(0xac)](_0x13d388,_0x24401c)):fs[_0x4d0bf5(0xa0)](_0x24401c,fs[_0x4d0bf5(0xb4)](_0x13d388)[_0x4d0bf5(0xca)]());});},exports[a13_0x42443b(0x8d)]=function(_0x31717c=[],_0x1966ed){_0x31717c['forEach'](_0xb4c9d8=>{const _0x154aa7=a13_0x1d1f,_0xbc5a70=_0x1966ed+_0xb4c9d8['path'];if(fs[_0x154aa7(0xc7)](_0xbc5a70)){let _0x59f3ff=fs[_0x154aa7(0xb4)](_0xbc5a70)[_0x154aa7(0xca)]();_0xb4c9d8[_0x154aa7(0x89)][_0x154aa7(0xc9)](_0x5ab24b=>{_0x59f3ff=_0x59f3ff['replace'](_0x5ab24b[0x0],_0x5ab24b[0x1]);}),fs[_0x154aa7(0xa0)](_0xbc5a70,_0x59f3ff);}});};
1
+ const a14_0x4010cd=a14_0x28a4;function a14_0x28a4(_0x49b4bd,_0x4756e3){const _0x1b1f6a=a14_0x1b1f();return a14_0x28a4=function(_0x28a494,_0x569d69){_0x28a494=_0x28a494-0x132;let _0x25f22f=_0x1b1f6a[_0x28a494];return _0x25f22f;},a14_0x28a4(_0x49b4bd,_0x4756e3);}(function(_0x3ce906,_0x4bc6d8){const _0x64bef3=a14_0x28a4,_0x3dce90=_0x3ce906();while(!![]){try{const _0x548d09=-parseInt(_0x64bef3(0x16c))/0x1+-parseInt(_0x64bef3(0x146))/0x2+-parseInt(_0x64bef3(0x134))/0x3+-parseInt(_0x64bef3(0x13f))/0x4*(parseInt(_0x64bef3(0x155))/0x5)+-parseInt(_0x64bef3(0x151))/0x6*(parseInt(_0x64bef3(0x149))/0x7)+parseInt(_0x64bef3(0x145))/0x8+parseInt(_0x64bef3(0x132))/0x9*(parseInt(_0x64bef3(0x14c))/0xa);if(_0x548d09===_0x4bc6d8)break;else _0x3dce90['push'](_0x3dce90['shift']());}catch(_0x11f0f4){_0x3dce90['push'](_0x3dce90['shift']());}}}(a14_0x1b1f,0x7a193));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a14_0x4010cd(0x15d));function a14_0x1b1f(){const _0x19c08e=['f_create_package_json','\x22,\x22main\x22:\x20\x22index.js\x22}','2830098fTiQtQ','projectType','rmdirSync','f_scan_jjb_config_json','5rcOmZS','f_rm_rf','uniapp','log','f_update_project_package_json','includes','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','{\x22name\x22:\x22','./config','f_file_copy','readdirSync','jjb-dva-runtime','f_content_replace','_zip','dependencies','push','\x22,\x22version\x22:\x22','jjb-common','statSync','name','mkdirSync','tmpdir','map','254777fNpGKd','existsSync','isDirectory','toString','projectId','stringify','/repository/archive.zip?private_token=','f_scan_jjb_config_json_rules','react-admin-component','node_modules','forEach','exit','writeFileSync','9qeHPMP','/api/v4/projects/','1009842bDBzOn','【Error】:[jjb.config.json.installTarget]类型是一个string。','string','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','【Error】:[jjb.config.json.installResources]无资源。','f_resolve_install_resources','multi','replace','vue-unisass-component','jjb-common-lib','&ref=master','2262812jwaSYv','.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>。','length','installTarget','micro-spa','6056360mgJuHS','564194kKoBXQ','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','installResources','7ZvHzBH','\x5cpackage.json','path','16539440omdHdj','token','readFileSync'];a14_0x1b1f=function(){return _0x19c08e;};return a14_0x1b1f();}exports[a14_0x4010cd(0x156)]=function(_0x577dde){const _0x4a8cc0=a14_0x4010cd;if(fs[_0x4a8cc0(0x16d)](_0x577dde)){const _0x15b01d=fs[_0x4a8cc0(0x15f)](_0x577dde);for(let _0x34ad5d=0x0;_0x34ad5d<_0x15b01d['length'];_0x34ad5d++){const _0x2fb26e=_0x15b01d[_0x34ad5d],_0x312f33=_0x577dde+'/'+_0x2fb26e;fs[_0x4a8cc0(0x167)](_0x312f33)[_0x4a8cc0(0x16e)]()?(exports[_0x4a8cc0(0x156)](_0x312f33),fs[_0x4a8cc0(0x153)](_0x312f33)):fs['unlinkSync'](_0x312f33);}}},exports['f_pull_git_repository']=function(_0x427691=[]){const _0x230cba=a14_0x4010cd;return _0x427691[_0x230cba(0x16b)](_0x24c802=>{const _0x31cbd5=_0x230cba,_0x597f08=CLOUD_PROJECT[_0x24c802['name']]||undefined,_0x359890=os[_0x31cbd5(0x16a)]();return{'path':_0x359890+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x24c802[_0x31cbd5(0x168)]+_0x31cbd5(0x140),'compress':_0x359890+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x24c802[_0x31cbd5(0x168)]+_0x31cbd5(0x162),'repository':GIT_HOST+_0x31cbd5(0x133)+_0x597f08[_0x31cbd5(0x170)]+_0x31cbd5(0x172)+_0x597f08[_0x31cbd5(0x14d)]+_0x31cbd5(0x13e)};});},exports[a14_0x4010cd(0x154)]=function(_0x436904){const _0x417e72=a14_0x4010cd;return fs[_0x417e72(0x16d)](_0x436904+'\x5cjjb.config.json');},exports[a14_0x4010cd(0x173)]=function(_0xd92920){const _0x3307a2=a14_0x4010cd;let _0x18ca20={};try{_0x18ca20=JSON['parse'](fs[_0x3307a2(0x14e)](_0xd92920+'\x5cjjb.config.json')[_0x3307a2(0x16f)]());}catch(_0x5ee28d){console[_0x3307a2(0x158)](_0x3307a2(0x137)),process['exit'](0x0);}!(_0x3307a2(0x152)in _0x18ca20)&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x3307a2(0x177)](0x0));!('installTarget'in _0x18ca20)&&(console[_0x3307a2(0x158)](_0x3307a2(0x15b)),process['exit'](0x0));!('installResources'in _0x18ca20)&&(console['log']('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x3307a2(0x177)](0x0));typeof _0x18ca20[_0x3307a2(0x152)]!==_0x3307a2(0x136)&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));![_0x3307a2(0x13a),'spa',_0x3307a2(0x157),_0x3307a2(0x144)]['includes'](_0x18ca20[_0x3307a2(0x152)])&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process['exit'](0x0));typeof _0x18ca20[_0x3307a2(0x143)]!==_0x3307a2(0x136)&&(console[_0x3307a2(0x158)](_0x3307a2(0x135)),process['exit'](0x0));![_0x3307a2(0x175),'src'][_0x3307a2(0x15a)](_0x18ca20['installTarget'])&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x3307a2(0x177)](0x0));!Array['isArray'](_0x18ca20[_0x3307a2(0x148)])&&(console[_0x3307a2(0x158)](_0x3307a2(0x147)),process[_0x3307a2(0x177)](0x0));_0x18ca20[_0x3307a2(0x148)][_0x3307a2(0x142)]===0x0&&(console[_0x3307a2(0x158)](_0x3307a2(0x138)),process['exit'](0x0));const _0x19f03d=exports[_0x3307a2(0x139)](_0x18ca20['installResources']);return _0x19f03d[_0x3307a2(0x16b)](_0x4c3d72=>_0x4c3d72[_0x3307a2(0x168)])['filter'](_0x209f7a=>![_0x3307a2(0x166),_0x3307a2(0x160),_0x3307a2(0x13d),'jjb-common-decorator',_0x3307a2(0x174),_0x3307a2(0x13c)]['includes'](_0x209f7a))[_0x3307a2(0x142)]!==0x0&&(console[_0x3307a2(0x158)](_0x3307a2(0x141)),process[_0x3307a2(0x177)](0x0)),_0x18ca20[_0x3307a2(0x148)]=_0x19f03d,_0x18ca20;},exports[a14_0x4010cd(0x14f)]=function(_0x3f8c37,_0x55c804,_0x45b039){const _0xa34324=a14_0x4010cd;fs[_0xa34324(0x178)](_0x3f8c37+_0xa34324(0x14a),_0xa34324(0x15c)+_0x55c804+_0xa34324(0x165)+_0x45b039+_0xa34324(0x150));},exports['f_resolve_install_resources']=function(_0x4fea84=[]){const _0x66d368=a14_0x4010cd,_0x2978d8=[];return Array['isArray'](_0x4fea84)&&_0x4fea84[_0x66d368(0x176)](_0x57dc03=>{const _0x92ddac=_0x66d368;if(Array['isArray'](_0x57dc03)){const [_0x331e04,_0x1c5d67=[]]=_0x57dc03;_0x2978d8[_0x92ddac(0x164)]({'name':_0x331e04,'importList':_0x1c5d67});}else _0x2978d8[_0x92ddac(0x164)]({'name':_0x57dc03,'importList':[]});}),_0x2978d8;},exports[a14_0x4010cd(0x159)]=function(_0xffd300,_0x585ba6,_0x36af60){const _0x213ebb=a14_0x4010cd,_0x57eb2a=JSON['parse'](fs[_0x213ebb(0x14e)](_0xffd300)[_0x213ebb(0x16f)]());_0x57eb2a[_0x213ebb(0x163)][_0x585ba6]=_0x36af60,fs['writeFileSync'](_0xffd300,JSON[_0x213ebb(0x171)](_0x57eb2a,null,0x2));},exports[a14_0x4010cd(0x15e)]=function(_0x6af19a,_0x582c85){const _0x5e55ed=a14_0x4010cd;fs[_0x5e55ed(0x15f)](_0x6af19a)[_0x5e55ed(0x176)](_0x4b1225=>{const _0x20c5a0=_0x5e55ed,_0x537e93=_0x6af19a+'\x5c'+_0x4b1225,_0x2e9f39=_0x582c85+'\x5c'+_0x4b1225;fs[_0x20c5a0(0x167)](_0x537e93)[_0x20c5a0(0x16e)]()?(fs[_0x20c5a0(0x169)](_0x2e9f39),exports[_0x20c5a0(0x15e)](_0x537e93,_0x2e9f39)):fs[_0x20c5a0(0x178)](_0x2e9f39,fs[_0x20c5a0(0x14e)](_0x537e93)[_0x20c5a0(0x16f)]());});},exports[a14_0x4010cd(0x161)]=function(_0x106ead=[],_0x8d9f17){const _0x554c7e=a14_0x4010cd;_0x106ead[_0x554c7e(0x176)](_0x3b0e8e=>{const _0xbc3714=_0x554c7e,_0x21c33e=_0x8d9f17+_0x3b0e8e[_0xbc3714(0x14b)];if(fs[_0xbc3714(0x16d)](_0x21c33e)){let _0x3ddd4d=fs[_0xbc3714(0x14e)](_0x21c33e)[_0xbc3714(0x16f)]();_0x3b0e8e[_0xbc3714(0x13b)][_0xbc3714(0x176)](_0x4a5c5c=>{const _0x4f4918=_0xbc3714;_0x3ddd4d=_0x3ddd4d[_0x4f4918(0x13b)](_0x4a5c5c[0x0],_0x4a5c5c[0x1]);}),fs[_0xbc3714(0x178)](_0x21c33e,_0x3ddd4d);}});};
@@ -1 +1 @@
1
- const a14_0x3c1d09=a14_0x2156;(function(_0x484574,_0x3260e6){const _0x4a703a=a14_0x2156,_0x371aea=_0x484574();while(!![]){try{const _0x1a3f8b=-parseInt(_0x4a703a(0x1e6))/0x1+parseInt(_0x4a703a(0x1de))/0x2+parseInt(_0x4a703a(0x1e8))/0x3+-parseInt(_0x4a703a(0x1f3))/0x4*(-parseInt(_0x4a703a(0x1d9))/0x5)+-parseInt(_0x4a703a(0x1e0))/0x6+-parseInt(_0x4a703a(0x1fb))/0x7+parseInt(_0x4a703a(0x1dc))/0x8*(-parseInt(_0x4a703a(0x1ed))/0x9);if(_0x1a3f8b===_0x3260e6)break;else _0x371aea['push'](_0x371aea['shift']());}catch(_0xb92bab){_0x371aea['push'](_0x371aea['shift']());}}}(a14_0x1fb0,0xd6ce9));const fs=require('fs'),path=require('path'),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a14_0x3c1d09(0x1dd)]=(_0xfed2af,_0x410c10)=>{const _0x39fc52=a14_0x3c1d09;commandArr=_0xfed2af['split'](':'),projectPath=path[_0x39fc52(0x1fc)](_0x39fc52(0x1f5)),vesselPath=path['resolve']('./vessel/src');let _0x39015d=vesselPath;_0x410c10==='mp'&&(_0x39015d=vesselPath+_0x39fc52(0x1ef),utils['CreatePaths'](vesselPath,[_0x39fc52(0x1f7)]));const _0x3f0aac=commandArr[0x1],_0x64ce50=JSON['parse'](fs[_0x39fc52(0x1ec)](projectPath+'/'+_0x3f0aac+'/setting.json')[_0x39fc52(0x1e2)]());TileItems(_0x64ce50[_0x39fc52(0x1e9)],()=>{const _0x49b8b9=_0x39fc52;fromFileData[_0x49b8b9(0x1db)][_0x49b8b9(0x1ee)](_0x543a10=>{const _0x14ef3b=_0x49b8b9,_0x2c94b3=_0x543a10[_0x14ef3b(0x1f1)][_0x14ef3b(0x1df)](_0x543a10[_0x14ef3b(0x1ea)]),_0x1ca2d4=_0x2c94b3[0x1]['split']('/'),_0xbde5dc=_0x1ca2d4[0x1];!applicationJson[_0xbde5dc]&&(applicationJson[_0xbde5dc]={'routerConfig':[],'routerPath':[]});applicationJson[_0xbde5dc][_0x14ef3b(0x1f6)][_0x14ef3b(0x1fa)](_0x14ef3b(0x1f2)+_0x543a10[_0x14ef3b(0x1eb)]+_0x14ef3b(0x1f4)+_0x543a10['file']+_0x14ef3b(0x1da)),applicationJson[_0xbde5dc]['routerPath']['push'](_0x543a10[_0x14ef3b(0x1eb)]);let _0x2240f3=_0x1ca2d4[_0x14ef3b(0x1e4)]('/');const _0x26ca46=_0x2240f3[_0x14ef3b(0x1df)]('/');utils[_0x14ef3b(0x1f9)](_0x39015d,_0x26ca46[_0x14ef3b(0x1f8)](0x0,_0x26ca46['length']-0x1))['then'](()=>{const _0x44b6e3=_0x14ef3b,_0x1cf3bd=fs[_0x44b6e3(0x1ec)](_0x543a10[_0x44b6e3(0x1f1)])[_0x44b6e3(0x1e2)]();fs[_0x44b6e3(0x1f0)](vesselPath+'/'+_0x2240f3,_0x1cf3bd);});});});};function a14_0x2156(_0x477abc,_0x35cf29){const _0x1fb038=a14_0x1fb0();return a14_0x2156=function(_0x215693,_0x1d628d){_0x215693=_0x215693-0x1d8;let _0x1912f7=_0x1fb038[_0x215693];return _0x1912f7;},a14_0x2156(_0x477abc,_0x35cf29);}function a14_0x1fb0(){const _0x105902=['fileType','4752456jqMynW','items','region','path','readFileSync','1824273MaJItj','forEach','/application','writeFileSync','pathAdr','{\x20path:\x20\x27','3451880ZigALG','\x27,\x20component:\x20()\x20=>\x20import(\x27','./project','routerConfig','application','slice','CreatePaths','push','1268932xBOFot','resolve','map','5QwNCtO','\x27)\x20}','router','80TOgfUT','exports','3472012BgFxFf','split','1419648BBqbYi','concat','toString','length','join','file','858425DFTTKj'];a14_0x1fb0=function(){return _0x105902;};return a14_0x1fb0();}function TileItems(_0x2069ef,_0x46ad9f){const _0xdc8c7f=a14_0x3c1d09;_0x2069ef[_0xdc8c7f(0x1ee)]((_0x434032,_0x2862c8)=>{const _0x43465a=_0xdc8c7f,_0xc1571b=_0x434032[_0x43465a(0x1ea)];_0x434032['from'][_0x43465a(0x1ee)]((_0x5ba019,_0x621ce2)=>{const _0x40b623=_0x43465a,_0x3d9a40=[];utils['DeepScanner'](projectPath+'/'+_0xc1571b+'/'+_0x5ba019[_0x40b623(0x1e5)],_0x3d9a40);const _0xb6b851=_0x3d9a40[_0x40b623(0x1d8)](_0x1bacd6=>({'region':_0xc1571b,'pathAdr':_0x1bacd6,..._0x5ba019}));!fromFileData[_0x5ba019[_0x40b623(0x1e7)]]?fromFileData[_0x5ba019[_0x40b623(0x1e7)]]=_0xb6b851:fromFileData[_0x5ba019[_0x40b623(0x1e7)]]=fromFileData[_0x5ba019['fileType']][_0x40b623(0x1e1)](_0xb6b851),_0x2862c8===_0x2069ef[_0x40b623(0x1e3)]-0x1&&_0x621ce2===_0x434032['from'][_0x40b623(0x1e3)]-0x1&&_0x46ad9f();});});}
1
+ const a15_0x360cdf=a15_0x4bf9;function a15_0x4bf9(_0x527119,_0x219941){const _0x370bd6=a15_0x370b();return a15_0x4bf9=function(_0x4bf968,_0x44c691){_0x4bf968=_0x4bf968-0x158;let _0x1007e7=_0x370bd6[_0x4bf968];return _0x1007e7;},a15_0x4bf9(_0x527119,_0x219941);}(function(_0x1d4d41,_0x5644b6){const _0x29cdca=a15_0x4bf9,_0x4c9f72=_0x1d4d41();while(!![]){try{const _0xbf7284=-parseInt(_0x29cdca(0x166))/0x1*(-parseInt(_0x29cdca(0x16a))/0x2)+parseInt(_0x29cdca(0x163))/0x3+-parseInt(_0x29cdca(0x17b))/0x4+-parseInt(_0x29cdca(0x17d))/0x5*(-parseInt(_0x29cdca(0x16b))/0x6)+parseInt(_0x29cdca(0x16c))/0x7*(parseInt(_0x29cdca(0x172))/0x8)+parseInt(_0x29cdca(0x15a))/0x9*(parseInt(_0x29cdca(0x17a))/0xa)+-parseInt(_0x29cdca(0x164))/0xb;if(_0xbf7284===_0x5644b6)break;else _0x4c9f72['push'](_0x4c9f72['shift']());}catch(_0x104a17){_0x4c9f72['push'](_0x4c9f72['shift']());}}}(a15_0x370b,0xdfb2b));const fs=require('fs'),path=require(a15_0x360cdf(0x15f)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module['exports']=(_0x5a3e35,_0x6f8398)=>{const _0x51c1d7=a15_0x360cdf;commandArr=_0x5a3e35[_0x51c1d7(0x171)](':'),projectPath=path['resolve']('./project'),vesselPath=path[_0x51c1d7(0x175)]('./vessel/src');let _0x36864d=vesselPath;_0x6f8398==='mp'&&(_0x36864d=vesselPath+_0x51c1d7(0x167),utils[_0x51c1d7(0x170)](vesselPath,[_0x51c1d7(0x17c)]));const _0x10c6e5=commandArr[0x1],_0x28c7e2=JSON[_0x51c1d7(0x17e)](fs[_0x51c1d7(0x177)](projectPath+'/'+_0x10c6e5+'/setting.json')[_0x51c1d7(0x176)]());TileItems(_0x28c7e2[_0x51c1d7(0x15c)],()=>{const _0x282403=_0x51c1d7;fromFileData[_0x282403(0x16f)][_0x282403(0x180)](_0x56522c=>{const _0x21877d=_0x282403,_0x1e1e91=_0x56522c[_0x21877d(0x174)]['split'](_0x56522c[_0x21877d(0x158)]),_0x3b2f43=_0x1e1e91[0x1]['split']('/'),_0x1360df=_0x3b2f43[0x1];!applicationJson[_0x1360df]&&(applicationJson[_0x1360df]={'routerConfig':[],'routerPath':[]});applicationJson[_0x1360df][_0x21877d(0x16e)][_0x21877d(0x15b)](_0x21877d(0x173)+_0x56522c[_0x21877d(0x15f)]+_0x21877d(0x17f)+_0x56522c[_0x21877d(0x159)]+_0x21877d(0x16d)),applicationJson[_0x1360df][_0x21877d(0x15e)][_0x21877d(0x15b)](_0x56522c['path']);let _0x1b3497=_0x3b2f43[_0x21877d(0x178)]('/');const _0x24c069=_0x1b3497[_0x21877d(0x171)]('/');utils['CreatePaths'](_0x36864d,_0x24c069['slice'](0x0,_0x24c069[_0x21877d(0x165)]-0x1))[_0x21877d(0x162)](()=>{const _0x1ed70f=_0x21877d,_0x29d445=fs[_0x1ed70f(0x177)](_0x56522c[_0x1ed70f(0x174)])[_0x1ed70f(0x176)]();fs[_0x1ed70f(0x160)](vesselPath+'/'+_0x1b3497,_0x29d445);});});});};function a15_0x370b(){const _0x58af71=['file','369XzLPzP','push','items','map','routerPath','path','writeFileSync','from','then','3237681NbhPaZ','47349170ZAFyxt','length','13126rQkFjG','/application','DeepScanner','fileType','68JsvQvs','666AHWStg','1069516iTNQjZ','\x27)\x20}','routerConfig','router','CreatePaths','split','64HqRyxd','{\x20path:\x20\x27','pathAdr','resolve','toString','readFileSync','join','concat','264970xdASym','438496wKnSZd','application','67395HYVCmk','parse','\x27,\x20component:\x20()\x20=>\x20import(\x27','forEach','region'];a15_0x370b=function(){return _0x58af71;};return a15_0x370b();}function TileItems(_0x44f2a8,_0x26e886){const _0x2fca86=a15_0x360cdf;_0x44f2a8[_0x2fca86(0x180)]((_0x444d8b,_0x2c589f)=>{const _0x939b2c=_0x2fca86,_0x2b5503=_0x444d8b[_0x939b2c(0x158)];_0x444d8b[_0x939b2c(0x161)][_0x939b2c(0x180)]((_0x5ca342,_0x348e4c)=>{const _0x10bf6f=_0x939b2c,_0x49f672=[];utils[_0x10bf6f(0x168)](projectPath+'/'+_0x2b5503+'/'+_0x5ca342[_0x10bf6f(0x159)],_0x49f672);const _0x5c32e2=_0x49f672[_0x10bf6f(0x15d)](_0x1c63d5=>({'region':_0x2b5503,'pathAdr':_0x1c63d5,..._0x5ca342}));!fromFileData[_0x5ca342[_0x10bf6f(0x169)]]?fromFileData[_0x5ca342[_0x10bf6f(0x169)]]=_0x5c32e2:fromFileData[_0x5ca342[_0x10bf6f(0x169)]]=fromFileData[_0x5ca342[_0x10bf6f(0x169)]][_0x10bf6f(0x179)](_0x5c32e2),_0x2c589f===_0x44f2a8[_0x10bf6f(0x165)]-0x1&&_0x348e4c===_0x444d8b['from']['length']-0x1&&_0x26e886();});});}
@@ -1 +1 @@
1
- 'use strict';function a15_0x5032(){const _0x2b16e2=['CopyFolder','forEach','http://192.168.1.242:10985','exists','15UNSGbQ','.zip','&ref=master','pipe','then','request','-master-','10HYLEsB','6406004qHgTuw','toString','return\x20process.env;','jjbAssembly','writeFileSync','3PRxaNg','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','exports','/unzip/','\x5csrc','application','1278622tHRton','existsSync','/api/v4/projects/','close','common\x5cdva\x5cautomatic\x5cindex.js','projectId','statSync','common\x5cdva\x5cautomatic\x5c','uncompress','990904NwFoyy','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','indexOf','DeleteDirAllFile','localName','readFileSync','log','common\x5cdva\x5cautomatic','6935832ncyfYm','787432ciRgfV','createWriteStream','G4HJRsHr9D7Ssmixegw2','/repository/archive.zip?private_token=','4879590TPXrMe','path','readdirSync','unlinkSync','\x5ccli.dva.register.spa.txt','./util','492255eYkKBj','common','63WLlVMV','replace','resolve','rmdirSync','-文件下载完毕','mkdirSync','\x5ccli.dva.router.spa.txt'];a15_0x5032=function(){return _0x2b16e2;};return a15_0x5032();}function a15_0x43c8(_0x1e1fcb,_0x2c032a){const _0x5032be=a15_0x5032();return a15_0x43c8=function(_0x43c88e,_0x10645e){_0x43c88e=_0x43c88e-0x1b9;let _0x8e4f7f=_0x5032be[_0x43c88e];return _0x8e4f7f;},a15_0x43c8(_0x1e1fcb,_0x2c032a);}const a15_0x366481=a15_0x43c8;(function(_0x1ce0f1,_0x29a28f){const _0x415f77=a15_0x43c8,_0x551de1=_0x1ce0f1();while(!![]){try{const _0x3544f5=-parseInt(_0x415f77(0x1cc))/0x1+parseInt(_0x415f77(0x1ec))/0x2*(parseInt(_0x415f77(0x1e6))/0x3)+-parseInt(_0x415f77(0x1f5))/0x4*(-parseInt(_0x415f77(0x1d9))/0x5)+-parseInt(_0x415f77(0x1c6))/0x6+-parseInt(_0x415f77(0x1ce))/0x7*(parseInt(_0x415f77(0x1c2))/0x8)+parseInt(_0x415f77(0x1c1))/0x9*(parseInt(_0x415f77(0x1e0))/0xa)+parseInt(_0x415f77(0x1e1))/0xb;if(_0x3544f5===_0x29a28f)break;else _0x551de1['push'](_0x551de1['shift']());}catch(_0x5cc9b1){_0x551de1['push'](_0x551de1['shift']());}}}(a15_0x5032,0x84d78));const fs=require('fs'),os=require('os'),path=require(a15_0x366481(0x1c7)),utils=require(a15_0x366481(0x1cb)),request=require(a15_0x366481(0x1de)),compressing=require('compressing'),GIT_TEMP_DIR=a15_0x366481(0x1e4),GIT_HOST=a15_0x366481(0x1d7),CLOUD_PROJECT={'common':{'token':a15_0x366481(0x1c4),'projectId':0x117,'localName':a15_0x366481(0x1cd)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':'components'}};module[a15_0x366481(0x1e8)]=_0x3e541a=>{const _0x230a31=a15_0x366481,_0xabca0f=_0x3e541a,_0x397445=path[_0x230a31(0x1d0)]('./');try{if(fs[_0x230a31(0x1f2)](_0x397445+_0x230a31(0x1ea))){const _0x51d8ac=_0x397445+_0x230a31(0x1ea),_0x2ae269=CLOUD_PROJECT[_0xabca0f]||undefined;if(_0x2ae269){const _0x3690c4=os['tmpdir'](),_0x238b08=_0x3690c4+('/'+GIT_TEMP_DIR+'/'+_0xabca0f+_0x230a31(0x1da)),_0x557809=_0x3690c4+'/'+GIT_TEMP_DIR+_0x230a31(0x1e9);utils[_0x230a31(0x1bc)](_0x3690c4+'/'+GIT_TEMP_DIR,()=>{const _0x164637=_0x230a31;fs[_0x164637(0x1d3)](_0x3690c4+'/'+GIT_TEMP_DIR);let _0xd0b3d6=fs[_0x164637(0x1c3)](_0x238b08);request(GIT_HOST+_0x164637(0x1ee)+_0x2ae269[_0x164637(0x1f1)]+_0x164637(0x1c5)+_0x2ae269['token']+_0x164637(0x1db))[_0x164637(0x1dc)](_0xd0b3d6)['on'](_0x164637(0x1ef),()=>{const _0x1c2a93=_0x164637;fs[_0x1c2a93(0x1d3)](_0x557809),compressing['zip'][_0x1c2a93(0x1f4)](_0x238b08,_0x557809)[_0x1c2a93(0x1dd)](()=>{setTimeout(()=>{const _0x4437c0=a15_0x43c8,_0x7b033b=fs[_0x4437c0(0x1c8)](_0x557809);_0x7b033b[_0x4437c0(0x1d6)](_0x85255b=>{const _0x4b0e0a=_0x4437c0;if(_0x85255b[_0x4b0e0a(0x1bb)](_0x4b0e0a(0x1df))!==-0x1){const _0x1960a1=_0x51d8ac+'\x5c'+_0x2ae269[_0x4b0e0a(0x1bd)];utils[_0x4b0e0a(0x1bc)](_0x1960a1,()=>{const _0x9f507=_0x4b0e0a;fs['mkdirSync'](_0x1960a1),utils[_0x9f507(0x1d5)](_0x557809+_0x85255b,_0x1960a1),setTimeout(()=>{const _0x339ad5=_0x9f507,_0x55c9b8=fs[_0x339ad5(0x1ed)](_0x51d8ac+'\x5c'+_0x339ad5(0x1eb));if(!_0x55c9b8){const _0x5d4226=_0x51d8ac+'\x5c'+'common\x5ctools\x5cindex.js',_0x5bcc19=_0x51d8ac+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x25e450=fs[_0x339ad5(0x1be)](_0x5d4226)[_0x339ad5(0x1e2)](),_0x21a1b6=fs[_0x339ad5(0x1be)](_0x5bcc19)[_0x339ad5(0x1e2)]();_0x25e450=_0x25e450[_0x339ad5(0x1cf)]('return\x20__planA();',_0x339ad5(0x1e3)),_0x21a1b6=_0x21a1b6[_0x339ad5(0x1cf)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x339ad5(0x1e7)),fs[_0x339ad5(0x1e5)](_0x5d4226,_0x25e450),fs[_0x339ad5(0x1e5)](_0x5bcc19,_0x21a1b6),fs[_0x339ad5(0x1e5)](_0x51d8ac+_0x339ad5(0x1b9),fs[_0x339ad5(0x1be)](__dirname+_0x339ad5(0x1d4))['toString']()),fs[_0x339ad5(0x1e5)](_0x51d8ac+_0x339ad5(0x1f6),fs[_0x339ad5(0x1be)](__dirname+_0x339ad5(0x1ca))[_0x339ad5(0x1e2)]());}else fs[_0x339ad5(0x1d8)](_0x51d8ac+'\x5c'+_0x339ad5(0x1f0),_0x510572=>{const _0x2c6aa6=_0x339ad5;_0x510572&&(fs[_0x2c6aa6(0x1c8)](_0x51d8ac+'\x5c'+_0x2c6aa6(0x1c0))[_0x2c6aa6(0x1d6)](_0x501503=>{const _0x542688=_0x2c6aa6;fs[_0x542688(0x1c9)](_0x51d8ac+'\x5c'+_0x542688(0x1f3)+_0x501503);}),fs[_0x2c6aa6(0x1d1)](_0x51d8ac+'\x5c'+_0x2c6aa6(0x1c0)));});},0x3e8);});}}),console[_0x4437c0(0x1bf)](_0xabca0f+_0x4437c0(0x1d2));},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0xabca0f);}}catch(_0x1321b2){console['error'](_0x230a31(0x1ba));}};
1
+ 'use strict';function a16_0x3577(_0x1c2d15,_0x14cb2a){const _0x3f1ec9=a16_0x3f1e();return a16_0x3577=function(_0x3577e3,_0x383d10){_0x3577e3=_0x3577e3-0xe0;let _0xd957db=_0x3f1ec9[_0x3577e3];return _0xd957db;},a16_0x3577(_0x1c2d15,_0x14cb2a);}const a16_0x18e5a7=a16_0x3577;(function(_0x132264,_0x3fd1ce){const _0x19a78f=a16_0x3577,_0x56e80a=_0x132264();while(!![]){try{const _0x426e76=-parseInt(_0x19a78f(0x104))/0x1+parseInt(_0x19a78f(0x102))/0x2+-parseInt(_0x19a78f(0x11d))/0x3+-parseInt(_0x19a78f(0xe8))/0x4*(parseInt(_0x19a78f(0xee))/0x5)+-parseInt(_0x19a78f(0x118))/0x6*(-parseInt(_0x19a78f(0x113))/0x7)+-parseInt(_0x19a78f(0xf8))/0x8+parseInt(_0x19a78f(0x116))/0x9;if(_0x426e76===_0x3fd1ce)break;else _0x56e80a['push'](_0x56e80a['shift']());}catch(_0x2512f9){_0x56e80a['push'](_0x56e80a['shift']());}}}(a16_0x3f1e,0x1da31));function a16_0x3f1e(){const _0x504ae3=['./util','application','indexOf','common\x5ctools\x5cindex.js','error','25eXgrRP','replace','toString','resolve','readFileSync','close','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','forEach','\x5ccli.dva.register.spa.txt','-文件下载完毕','1713776GDwAkk','/unzip/','common\x5cdva\x5cautomatic\x5c','token','G4HJRsHr9D7Ssmixegw2','rmdirSync','jjbAssembly','\x5csrc','existsSync','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','427134gvFhEf','/repository/archive.zip?private_token=','34802XGVfCD','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','pipe','createWriteStream','.zip','mkdirSync','writeFileSync','FT3pKzxpRynFkmddJ9Bs','-master-','common\x5cdva\x5cautomatic','zip','readdirSync','return\x20__planA();','request','DeleteDirAllFile','1295gDHxJS','then','unlinkSync','2323926uxHJGG','compressing','4458LOkyvV','statSync','&ref=master','tmpdir','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','427722wYspmF','CopyFolder','uncompress','common\x5cdva\x5cautomatic\x5cindex.js','exports','【Error】:\x20未获取到项目\x20','/api/v4/projects/','projectId','path','76996eDjEyH'];a16_0x3f1e=function(){return _0x504ae3;};return a16_0x3f1e();}const fs=require('fs'),os=require('os'),path=require(a16_0x18e5a7(0xe7)),utils=require(a16_0x18e5a7(0xe9)),request=require(a16_0x18e5a7(0x111)),compressing=require(a16_0x18e5a7(0x117)),GIT_TEMP_DIR=a16_0x18e5a7(0xfe),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a16_0x18e5a7(0xfc),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a16_0x18e5a7(0x10b),'projectId':0x154,'localName':'components'}};module[a16_0x18e5a7(0xe3)]=_0x1b655e=>{const _0xfb4797=a16_0x18e5a7,_0x1270cd=_0x1b655e,_0x5d5752=path[_0xfb4797(0xf1)]('./');try{if(fs[_0xfb4797(0x119)](_0x5d5752+_0xfb4797(0xff))){const _0x56fa4b=_0x5d5752+_0xfb4797(0xff),_0x20e3a4=CLOUD_PROJECT[_0x1270cd]||undefined;if(_0x20e3a4){const _0x54b918=os[_0xfb4797(0x11b)](),_0x2f795c=_0x54b918+('/'+GIT_TEMP_DIR+'/'+_0x1270cd+_0xfb4797(0x108)),_0x5cfc4e=_0x54b918+'/'+GIT_TEMP_DIR+_0xfb4797(0xf9);utils[_0xfb4797(0x112)](_0x54b918+'/'+GIT_TEMP_DIR,()=>{const _0x214854=_0xfb4797;fs['mkdirSync'](_0x54b918+'/'+GIT_TEMP_DIR);let _0x423717=fs[_0x214854(0x107)](_0x2f795c);request(GIT_HOST+_0x214854(0xe5)+_0x20e3a4[_0x214854(0xe6)]+_0x214854(0x103)+_0x20e3a4[_0x214854(0xfb)]+_0x214854(0x11a))[_0x214854(0x106)](_0x423717)['on'](_0x214854(0xf3),()=>{const _0x55d86e=_0x214854;fs['mkdirSync'](_0x5cfc4e),compressing[_0x55d86e(0x10e)][_0x55d86e(0xe1)](_0x2f795c,_0x5cfc4e)[_0x55d86e(0x114)](()=>{setTimeout(()=>{const _0x4cd68b=a16_0x3577,_0x1ac6a2=fs[_0x4cd68b(0x10f)](_0x5cfc4e);_0x1ac6a2[_0x4cd68b(0xf5)](_0x2f2b7e=>{const _0x32d6b6=_0x4cd68b;if(_0x2f2b7e[_0x32d6b6(0xeb)](_0x32d6b6(0x10c))!==-0x1){const _0x59d914=_0x56fa4b+'\x5c'+_0x20e3a4['localName'];utils[_0x32d6b6(0x112)](_0x59d914,()=>{const _0x144daa=_0x32d6b6;fs[_0x144daa(0x109)](_0x59d914),utils[_0x144daa(0xe0)](_0x5cfc4e+_0x2f2b7e,_0x59d914),setTimeout(()=>{const _0x551c5d=_0x144daa,_0x4b1ee3=fs[_0x551c5d(0x100)](_0x56fa4b+'\x5c'+_0x551c5d(0xea));if(!_0x4b1ee3){const _0x22d0a8=_0x56fa4b+'\x5c'+_0x551c5d(0xec),_0x5d0d74=_0x56fa4b+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x4f5761=fs[_0x551c5d(0xf2)](_0x22d0a8)['toString'](),_0x28a421=fs[_0x551c5d(0xf2)](_0x5d0d74)[_0x551c5d(0xf0)]();_0x4f5761=_0x4f5761[_0x551c5d(0xef)](_0x551c5d(0x110),'return\x20process.env;'),_0x28a421=_0x28a421['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x551c5d(0xf4)),fs[_0x551c5d(0x10a)](_0x22d0a8,_0x4f5761),fs[_0x551c5d(0x10a)](_0x5d0d74,_0x28a421),fs[_0x551c5d(0x10a)](_0x56fa4b+_0x551c5d(0x11c),fs[_0x551c5d(0xf2)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x551c5d(0xf0)]()),fs['writeFileSync'](_0x56fa4b+_0x551c5d(0x101),fs[_0x551c5d(0xf2)](__dirname+_0x551c5d(0xf6))[_0x551c5d(0xf0)]());}else fs['exists'](_0x56fa4b+'\x5c'+_0x551c5d(0xe2),_0x5d575a=>{const _0x453395=_0x551c5d;_0x5d575a&&(fs[_0x453395(0x10f)](_0x56fa4b+'\x5c'+_0x453395(0x10d))['forEach'](_0x3b58b8=>{const _0xc3e776=_0x453395;fs[_0xc3e776(0x115)](_0x56fa4b+'\x5c'+_0xc3e776(0xfa)+_0x3b58b8);}),fs[_0x453395(0xfd)](_0x56fa4b+'\x5c'+_0x453395(0x10d)));});},0x3e8);});}}),console['log'](_0x1270cd+_0x4cd68b(0xf7));},0x7d0);});});});}else console[_0xfb4797(0xed)](_0xfb4797(0xe4)+_0x1270cd);}}catch(_0x35a82a){console[_0xfb4797(0xed)](_0xfb4797(0x105));}};
@@ -1 +1 @@
1
- 'use strict';const a16_0x313c5f=a16_0x22ba;(function(_0x25bacb,_0x2fe0b1){const _0x18ce91=a16_0x22ba,_0x806013=_0x25bacb();while(!![]){try{const _0xf12211=parseInt(_0x18ce91(0x101))/0x1+parseInt(_0x18ce91(0xf0))/0x2+parseInt(_0x18ce91(0x10d))/0x3*(parseInt(_0x18ce91(0xd7))/0x4)+-parseInt(_0x18ce91(0xfe))/0x5*(-parseInt(_0x18ce91(0xf6))/0x6)+parseInt(_0x18ce91(0xfc))/0x7*(-parseInt(_0x18ce91(0x106))/0x8)+-parseInt(_0x18ce91(0x120))/0x9*(parseInt(_0x18ce91(0xd0))/0xa)+parseInt(_0x18ce91(0x10e))/0xb;if(_0xf12211===_0x2fe0b1)break;else _0x806013['push'](_0x806013['shift']());}catch(_0x58dc3b){_0x806013['push'](_0x806013['shift']());}}}(a16_0x2e3d,0x8caf7));const fs=require('fs'),os=require('os'),path=require(a16_0x313c5f(0xcb)),utils=require(a16_0x313c5f(0xed)),request=require(a16_0x313c5f(0xf8)),compressing=require('compressing'),GIT_HOST=a16_0x313c5f(0xda),GIT_TEMP_DIR=a16_0x313c5f(0xf1),CLOUD_PROJECT={'common':{'token':a16_0x313c5f(0xf2),'projectId':0x117,'localName':a16_0x313c5f(0xe1)},'react-admin-component':{'token':a16_0x313c5f(0x108),'projectId':0x154,'localName':a16_0x313c5f(0xd2)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a16_0x313c5f(0xc9),'replace':[[a16_0x313c5f(0xd2),'jjb-react-admin-component']]},{'path':a16_0x313c5f(0xfa),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a16_0x313c5f(0xd2),a16_0x313c5f(0x11e)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a16_0x313c5f(0xc9),'replace':[[a16_0x313c5f(0xec),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a16_0x313c5f(0xc9),'replace':[['return\x20__planA();',a16_0x313c5f(0x105)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[[a16_0x313c5f(0x10a),'jjb-common/http'],[a16_0x313c5f(0x11d),a16_0x313c5f(0x11f)],[a16_0x313c5f(0x121),a16_0x313c5f(0x117)]]},{'path':a16_0x313c5f(0xe0),'replace':[[a16_0x313c5f(0xdc),a16_0x313c5f(0x111)]]},{'path':a16_0x313c5f(0xd4),'replace':[[a16_0x313c5f(0x121),a16_0x313c5f(0x117)]]},{'path':a16_0x313c5f(0x116),'replace':[[a16_0x313c5f(0x10a),a16_0x313c5f(0x104)],['common/tools','jjb-common/tools']]},{'path':a16_0x313c5f(0xf7),'replace':[[a16_0x313c5f(0x10a),a16_0x313c5f(0x104)],['common/tools',a16_0x313c5f(0x117)]]},{'path':a16_0x313c5f(0xd6),'replace':[[a16_0x313c5f(0x10a),'jjb-common/http'],['common/tools',a16_0x313c5f(0x117)]]},{'path':a16_0x313c5f(0x10f),'replace':[[a16_0x313c5f(0xdc),a16_0x313c5f(0x111)]]},{'path':a16_0x313c5f(0xcd),'replace':[[a16_0x313c5f(0x121),a16_0x313c5f(0x117)]]},{'path':a16_0x313c5f(0xdb),'replace':[[a16_0x313c5f(0x11b),a16_0x313c5f(0x107)],[a16_0x313c5f(0x121),'jjb-common/tools']]}];function uid(){const _0x453fb6=a16_0x313c5f;return Math[_0x453fb6(0x11c)]()[_0x453fb6(0xf5)]()['substr'](0x2);}module[a16_0x313c5f(0x110)]=_0x425e99=>{const _0x44d2a4=a16_0x313c5f,_0x390059=path[_0x44d2a4(0xce)]('./'),_0x592010='jjb-'+_0x425e99,_0xb03431='1.0.0',_0x5f5543=_0x390059+'\x5csrc',_0xa30f8=_0x44d2a4(0x119)+uid(),_0x16ad9f=__dirname+'\x5c'+_0xa30f8,_0x2e94cc=_0x390059+'\x5cpackage.json',_0x49f10d=_0x390059+_0x44d2a4(0x109)+_0x425e99;try{if(fs[_0x44d2a4(0x10c)](_0x5f5543)){const _0xeff37c=CLOUD_PROJECT[_0x425e99]||undefined;if(_0xeff37c){const _0x38420e=os[_0x44d2a4(0xd5)](),_0x362b93=_0x38420e+'/'+GIT_TEMP_DIR+'/'+_0x425e99+_0x44d2a4(0x115),_0x234468=_0x38420e+'/'+GIT_TEMP_DIR+_0x44d2a4(0xde);utils[_0x44d2a4(0xcc)](_0x38420e+'/'+GIT_TEMP_DIR,()=>{const _0x582653=_0x44d2a4;fs[_0x582653(0xff)](_0x38420e+'/'+GIT_TEMP_DIR);const _0x5d5698=fs[_0x582653(0x113)](_0x362b93);request(GIT_HOST+'/api/v4/projects/'+_0xeff37c[_0x582653(0xf3)]+_0x582653(0xcf)+_0xeff37c['token']+_0x582653(0x123))[_0x582653(0x122)](_0x5d5698)['on'](_0x582653(0xdd),()=>{const _0x548bce=_0x582653;fs[_0x548bce(0xff)](_0x234468),compressing[_0x548bce(0xe9)][_0x548bce(0xca)](_0x362b93,_0x234468)[_0x548bce(0x114)](()=>{setTimeout(()=>{const _0x224027=a16_0x22ba;fs[_0x224027(0xd3)](_0x234468)['forEach'](_0x2798ab=>{const _0x4a9f77=_0x224027;_0x2798ab['indexOf']('-master-')!==-0x1&&utils[_0x4a9f77(0xcc)](_0x5f5543+'\x5c'+_0xeff37c['localName'],()=>{const _0x3f207b=_0x4a9f77;fs[_0x3f207b(0xff)](_0x16ad9f),utils['CopyFolder'](_0x234468+_0x2798ab,_0x16ad9f),setTimeout(()=>{const _0xc07b92=_0x3f207b;if(_0x425e99===_0xc07b92(0xe1)){const _0x29fdb3=fs[_0xc07b92(0x10c)](_0x5f5543+_0xc07b92(0xe4));if(_0x29fdb3)rm_rf(_0x16ad9f+_0xc07b92(0xc8)),fs[_0xc07b92(0x112)](_0x16ad9f+_0xc07b92(0xc8));else{if(get_project_type(_0x2e94cc)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x16ad9f),fs['writeFileSync'](_0x16ad9f+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0xc07b92(0x100)](__dirname+_0xc07b92(0xd8))[_0xc07b92(0xf5)]()),fs['writeFileSync'](_0x16ad9f+_0xc07b92(0xdf),fs['readFileSync'](__dirname+_0xc07b92(0xee))[_0xc07b92(0xf5)]());else get_project_type(_0x2e94cc)===_0xc07b92(0xe5)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x16ad9f),fs['writeFileSync'](_0x16ad9f+_0xc07b92(0x118),fs[_0xc07b92(0x100)](__dirname+_0xc07b92(0x11a))['toString']()),fs['writeFileSync'](_0x16ad9f+_0xc07b92(0xdf),fs['readFileSync'](__dirname+_0xc07b92(0xe6))[_0xc07b92(0xf5)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x16ad9f);}_0x425e99===_0xc07b92(0xfb)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x16ad9f),rm_rf(_0x16ad9f+'\x5c.idea'),fs[_0xc07b92(0x10c)](_0x16ad9f+'\x5c.idea')&&fs[_0xc07b92(0x112)](_0x16ad9f+_0xc07b92(0xfd)),fs[_0xc07b92(0x10c)](_0x16ad9f+_0xc07b92(0x102))&&fs[_0xc07b92(0xe2)](_0x16ad9f+_0xc07b92(0x102)),!fs[_0xc07b92(0x10c)](_0x49f10d)?fs['mkdirSync'](_0x49f10d):rm_rf(_0x49f10d),utils[_0xc07b92(0xe3)](_0x16ad9f,_0x49f10d,()=>{rm_rf(_0x16ad9f),fs['rmdirSync'](_0x16ad9f),create_package_json(_0x49f10d,_0x592010,_0xb03431),update_project_package_json(_0x2e94cc,_0x592010,_0xb03431),console['log']('【已安装】:'+_0x592010+'\x20v'+_0xb03431);});},0x3e8);});});},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x425e99);}}catch(_0x185a17){console[_0x44d2a4(0xeb)](_0x44d2a4(0xd1));}};function rm_rf(_0x185766){const _0x3dc8f3=a16_0x313c5f;if(fs[_0x3dc8f3(0x10c)](_0x185766)){const _0x122eb9=fs[_0x3dc8f3(0xd3)](_0x185766);for(let _0x97ea9d=0x0;_0x97ea9d<_0x122eb9['length'];_0x97ea9d++){const _0xd50f5e=_0x122eb9[_0x97ea9d],_0x22d67e=_0x185766+'/'+_0xd50f5e;fs[_0x3dc8f3(0x103)](_0x22d67e)['isDirectory']()?(rm_rf(_0x22d67e),fs[_0x3dc8f3(0x112)](_0x22d67e)):fs[_0x3dc8f3(0xe2)](_0x22d67e);}}}function create_package_json(_0x7e7ff1,_0x166b03,_0x2cc0aa){const _0x119d8e=a16_0x313c5f;fs[_0x119d8e(0xef)](_0x7e7ff1+'\x5cpackage.json',_0x119d8e(0xd9)+_0x166b03+_0x119d8e(0xf9)+_0x2cc0aa+_0x119d8e(0xe7));}function a16_0x22ba(_0x4a33d0,_0x3f9686){const _0x2e3d37=a16_0x2e3d();return a16_0x22ba=function(_0x22ba82,_0x505900){_0x22ba82=_0x22ba82-0xc7;let _0x83d403=_0x2e3d37[_0x22ba82];return _0x83d403;},a16_0x22ba(_0x4a33d0,_0x3f9686);}function get_project_type(_0x5eeb96){const _0x26d035=a16_0x313c5f,_0x38196f=JSON['parse'](fs[_0x26d035(0x100)](_0x5eeb96)['toString']());return _0x38196f['projectType'];}function update_project_package_json(_0x136d85,_0x9dc929,_0x52448a){const _0x35c447=a16_0x313c5f,_0xdf1c19=JSON[_0x35c447(0xc7)](fs['readFileSync'](_0x136d85)['toString']());_0xdf1c19[_0x35c447(0xe8)][_0x9dc929]=_0x52448a,fs[_0x35c447(0xef)](_0x136d85,JSON[_0x35c447(0x10b)](_0xdf1c19,null,0x2));}function content_replace(_0x32f2c1=[],_0x2118ae){const _0x5a5c24=a16_0x313c5f;_0x32f2c1[_0x5a5c24(0xf4)](_0x2cc178=>{const _0xd809fb=_0x5a5c24,_0x4f75e6=_0x2118ae+_0x2cc178[_0xd809fb(0xcb)];if(fs[_0xd809fb(0x10c)](_0x4f75e6)){let _0x2acd79=fs[_0xd809fb(0x100)](_0x4f75e6)[_0xd809fb(0xf5)]();_0x2cc178[_0xd809fb(0xea)]['forEach'](_0x5dca7e=>{const _0x6363b8=_0xd809fb;_0x2acd79=_0x2acd79[_0x6363b8(0xea)](_0x5dca7e[0x0],_0x5dca7e[0x1]);}),fs['writeFileSync'](_0x4f75e6,_0x2acd79);}});}function a16_0x2e3d(){const _0x5d8fdb=['1863944MAPAPp','\x5ccli.dva.router.spa.txt','{\x22name\x22:\x22','http://192.168.1.242:10985','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/color','close','/unzip/','\x5cdva\x5cautomatic\x5cregister.js','\x5cRejectText\x5cindex.js','common','unlinkSync','CopyFolder','\x5capplication','micro-spa','\x5ccli.dva.register.saas.txt','\x22,\x22main\x22:\x20\x22index.js\x22}','dependencies','zip','replace','error','return\x20__planA();','./util','\x5ccli.dva.register.spa.txt','writeFileSync','495810CvqfSo','jjbAssembly','G4HJRsHr9D7Ssmixegw2','projectId','forEach','toString','139488gNHMTl','\x5cImageCropper\x5cindex.js','request','\x22,\x22version\x22:\x22','\x5cwebsite\x5cindex.js','react-admin-component','350qIBJLN','\x5c.idea','100UfoEQC','mkdirSync','readFileSync','92193iAvLGo','\x5c.gitignore','statSync','jjb-common/http','return\x20process.env.app;','165048gCslpK','jjb-common/website','FT3pKzxpRynFkmddJ9Bs','\x5cnode_modules\x5cjjb-','common/http','stringify','existsSync','6Ohujpf','10749871haviYe','\x5cPageHeaderBar\x5cindex.js','exports','jjb-common/color','rmdirSync','createWriteStream','then','.zip','\x5cFileUploader\x5cindex.js','jjb-common/tools','\x5cdva\x5cautomatic\x5crouter.js','template_','\x5ccli.dva.router.saas.txt','common/website','random','common/crypto','jjb-react-admin-component','jjb-common/crypto','13086RizbDt','common/tools','pipe','&ref=master','parse','\x5cdva\x5cautomatic','\x5ctools\x5cindex.js','uncompress','path','DeleteDirAllFile','\x5cRouterContainer\x5cindex.js','resolve','/repository/archive.zip?private_token=','7610BcvWoR','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','components','readdirSync','\x5cRouterMenu\x5cindex.js','tmpdir','\x5cImageUploader\x5cindex.js'];a16_0x2e3d=function(){return _0x5d8fdb;};return a16_0x2e3d();}
1
+ 'use strict';const a17_0x226e9f=a17_0x4efd;(function(_0x58b09c,_0x300e0b){const _0x367209=a17_0x4efd,_0x1f8ad9=_0x58b09c();while(!![]){try{const _0x22e2f6=parseInt(_0x367209(0x212))/0x1*(parseInt(_0x367209(0x1e5))/0x2)+-parseInt(_0x367209(0x1c2))/0x3+-parseInt(_0x367209(0x20a))/0x4*(parseInt(_0x367209(0x202))/0x5)+-parseInt(_0x367209(0x1be))/0x6*(parseInt(_0x367209(0x1f5))/0x7)+-parseInt(_0x367209(0x203))/0x8+parseInt(_0x367209(0x1e2))/0x9+parseInt(_0x367209(0x1d7))/0xa;if(_0x22e2f6===_0x300e0b)break;else _0x1f8ad9['push'](_0x1f8ad9['shift']());}catch(_0x22919b){_0x1f8ad9['push'](_0x1f8ad9['shift']());}}}(a17_0x2758,0x7d707));const fs=require('fs'),os=require('os'),path=require(a17_0x226e9f(0x1bc)),utils=require(a17_0x226e9f(0x1f1)),request=require(a17_0x226e9f(0x1ee)),compressing=require('compressing'),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a17_0x226e9f(0x205)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a17_0x226e9f(0x20d)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[[a17_0x226e9f(0x20d),'jjb-react-admin-component']]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a17_0x226e9f(0x213)],['components','jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[[a17_0x226e9f(0x1e8),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a17_0x226e9f(0x1f2),'replace':[['common/http',a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x1de),a17_0x226e9f(0x1f0)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1d6),'replace':[[a17_0x226e9f(0x1e4),a17_0x226e9f(0x1f8)]]},{'path':a17_0x226e9f(0x1cf),'replace':[[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x20f),'replace':[[a17_0x226e9f(0x1f9),a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x20c),'jjb-common/tools']]},{'path':a17_0x226e9f(0x1d1),'replace':[[a17_0x226e9f(0x1f9),'jjb-common/http'],['common/tools',a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x206),'replace':[[a17_0x226e9f(0x1f9),a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1f3),'replace':[[a17_0x226e9f(0x1e4),a17_0x226e9f(0x1f8)]]},{'path':a17_0x226e9f(0x1dd),'replace':[[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1fd),'replace':[[a17_0x226e9f(0x1c6),a17_0x226e9f(0x1dc)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]}];function uid(){const _0x312a62=a17_0x226e9f;return Math[_0x312a62(0x1cb)]()[_0x312a62(0x1c4)]()['substr'](0x2);}module[a17_0x226e9f(0x1e6)]=_0x311dc4=>{const _0x27bf1c=a17_0x226e9f,_0x3fc931=path[_0x27bf1c(0x1fe)]('./'),_0x23deac=_0x27bf1c(0x1e7)+_0x311dc4,_0x1e33af=_0x27bf1c(0x1e1),_0x16d71b=_0x3fc931+'\x5csrc',_0x3312ff=_0x27bf1c(0x1ce)+uid(),_0x318d2a=__dirname+'\x5c'+_0x3312ff,_0x56d5bc=_0x3fc931+_0x27bf1c(0x1fa),_0x14db1c=_0x3fc931+_0x27bf1c(0x1ff)+_0x311dc4;try{if(fs[_0x27bf1c(0x20b)](_0x16d71b)){const _0x1cc307=CLOUD_PROJECT[_0x311dc4]||undefined;if(_0x1cc307){const _0x286ba6=os[_0x27bf1c(0x214)](),_0x5a1b97=_0x286ba6+'/'+GIT_TEMP_DIR+'/'+_0x311dc4+_0x27bf1c(0x1d4),_0x4f8a35=_0x286ba6+'/'+GIT_TEMP_DIR+_0x27bf1c(0x1d9);utils[_0x27bf1c(0x208)](_0x286ba6+'/'+GIT_TEMP_DIR,()=>{const _0x4cbcab=_0x27bf1c;fs[_0x4cbcab(0x1ef)](_0x286ba6+'/'+GIT_TEMP_DIR);const _0x564a75=fs[_0x4cbcab(0x207)](_0x5a1b97);request(GIT_HOST+_0x4cbcab(0x1d8)+_0x1cc307[_0x4cbcab(0x1c1)]+_0x4cbcab(0x1fc)+_0x1cc307[_0x4cbcab(0x1df)]+'&ref=master')['pipe'](_0x564a75)['on'](_0x4cbcab(0x204),()=>{const _0x542d07=_0x4cbcab;fs[_0x542d07(0x1ef)](_0x4f8a35),compressing[_0x542d07(0x1ea)][_0x542d07(0x1fb)](_0x5a1b97,_0x4f8a35)['then'](()=>{setTimeout(()=>{const _0x314ec6=a17_0x4efd;fs['readdirSync'](_0x4f8a35)[_0x314ec6(0x1cd)](_0x3aee40=>{_0x3aee40['indexOf']('-master-')!==-0x1&&utils['DeleteDirAllFile'](_0x16d71b+'\x5c'+_0x1cc307['localName'],()=>{const _0x222ac7=a17_0x4efd;fs[_0x222ac7(0x1ef)](_0x318d2a),utils[_0x222ac7(0x1f7)](_0x4f8a35+_0x3aee40,_0x318d2a),setTimeout(()=>{const _0x532edc=_0x222ac7;if(_0x311dc4===_0x532edc(0x205)){const _0x5ded1f=fs['existsSync'](_0x16d71b+_0x532edc(0x210));if(_0x5ded1f)rm_rf(_0x318d2a+_0x532edc(0x1e9)),fs[_0x532edc(0x1c8)](_0x318d2a+_0x532edc(0x1e9));else{if(get_project_type(_0x56d5bc)===_0x532edc(0x1c7))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x318d2a),fs[_0x532edc(0x1ba)](_0x318d2a+_0x532edc(0x1c9),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x1bd))[_0x532edc(0x1c4)]()),fs['writeFileSync'](_0x318d2a+_0x532edc(0x215),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x211))[_0x532edc(0x1c4)]());else get_project_type(_0x56d5bc)===_0x532edc(0x1da)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x318d2a),fs['writeFileSync'](_0x318d2a+_0x532edc(0x1c9),fs[_0x532edc(0x1bb)](__dirname+'\x5ccli.dva.router.saas.txt')[_0x532edc(0x1c4)]()),fs[_0x532edc(0x1ba)](_0x318d2a+_0x532edc(0x215),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x1cc))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x318d2a);}_0x311dc4===_0x532edc(0x1e0)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x318d2a),rm_rf(_0x318d2a+'\x5c.idea'),fs[_0x532edc(0x20b)](_0x318d2a+'\x5c.idea')&&fs['rmdirSync'](_0x318d2a+_0x532edc(0x1c5)),fs['existsSync'](_0x318d2a+'\x5c.gitignore')&&fs[_0x532edc(0x1d0)](_0x318d2a+_0x532edc(0x1f4)),!fs['existsSync'](_0x14db1c)?fs['mkdirSync'](_0x14db1c):rm_rf(_0x14db1c),utils[_0x532edc(0x1f7)](_0x318d2a,_0x14db1c,()=>{const _0x36fcb7=_0x532edc;rm_rf(_0x318d2a),fs['rmdirSync'](_0x318d2a),create_package_json(_0x14db1c,_0x23deac,_0x1e33af),update_project_package_json(_0x56d5bc,_0x23deac,_0x1e33af),console[_0x36fcb7(0x209)](_0x36fcb7(0x20e)+_0x23deac+'\x20v'+_0x1e33af);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x27bf1c(0x1e3)+_0x311dc4);}}catch(_0xdc2a23){console[_0x27bf1c(0x1d2)](_0x27bf1c(0x1ec));}};function rm_rf(_0x155836){const _0x16a64d=a17_0x226e9f;if(fs[_0x16a64d(0x20b)](_0x155836)){const _0x140b06=fs['readdirSync'](_0x155836);for(let _0x363f41=0x0;_0x363f41<_0x140b06['length'];_0x363f41++){const _0x401b84=_0x140b06[_0x363f41],_0x53657c=_0x155836+'/'+_0x401b84;fs[_0x16a64d(0x1f6)](_0x53657c)[_0x16a64d(0x1d5)]()?(rm_rf(_0x53657c),fs[_0x16a64d(0x1c8)](_0x53657c)):fs[_0x16a64d(0x1d0)](_0x53657c);}}}function a17_0x4efd(_0x1621f1,_0x8ac53b){const _0x275863=a17_0x2758();return a17_0x4efd=function(_0x4efd17,_0x51f0d1){_0x4efd17=_0x4efd17-0x1ba;let _0x533ba6=_0x275863[_0x4efd17];return _0x533ba6;},a17_0x4efd(_0x1621f1,_0x8ac53b);}function create_package_json(_0x43f83b,_0x280e6c,_0x32e911){const _0x1c4c78=a17_0x226e9f;fs[_0x1c4c78(0x1ba)](_0x43f83b+_0x1c4c78(0x1fa),_0x1c4c78(0x201)+_0x280e6c+'\x22,\x22version\x22:\x22'+_0x32e911+_0x1c4c78(0x200));}function get_project_type(_0x520109){const _0x3ca9d0=a17_0x226e9f,_0x286313=JSON['parse'](fs['readFileSync'](_0x520109)['toString']());return _0x286313[_0x3ca9d0(0x1db)];}function update_project_package_json(_0xe77710,_0x2db9e8,_0x209188){const _0x518bb4=a17_0x226e9f,_0x507f01=JSON[_0x518bb4(0x1c3)](fs[_0x518bb4(0x1bb)](_0xe77710)[_0x518bb4(0x1c4)]());_0x507f01[_0x518bb4(0x1eb)][_0x2db9e8]=_0x209188,fs[_0x518bb4(0x1ba)](_0xe77710,JSON[_0x518bb4(0x1bf)](_0x507f01,null,0x2));}function a17_0x2758(){const _0x5aba2b=['\x5cImageUploader\x5cindex.js','createWriteStream','DeleteDirAllFile','log','292cqRirC','existsSync','common/tools','components','【已安装】:','\x5cFileUploader\x5cindex.js','\x5capplication','\x5ccli.dva.register.spa.txt','6MZnUtx','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','tmpdir','\x5cdva\x5cautomatic\x5cregister.js','writeFileSync','readFileSync','path','\x5ccli.dva.router.spa.txt','27630lnUPbF','stringify','replace','projectId','1974093nudjre','parse','toString','\x5c.idea','common/website','spa','rmdirSync','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/http','random','\x5ccli.dva.register.saas.txt','forEach','template_','\x5cRouterMenu\x5cindex.js','unlinkSync','\x5cImageCropper\x5cindex.js','error','jjb-common/tools','.zip','isDirectory','\x5cRejectText\x5cindex.js','19891880ZSrjua','/api/v4/projects/','/unzip/','micro-spa','projectType','jjb-common/website','\x5cRouterContainer\x5cindex.js','common/crypto','token','react-admin-component','1.0.0','6409188VLjPKM','【Error】:\x20未获取到项目\x20','common/color','45878fCxTHn','exports','jjb-','return\x20__planA();','\x5cdva\x5cautomatic','zip','dependencies','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5ctools\x5cindex.js','request','mkdirSync','jjb-common/crypto','./util','\x5cEditor\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','\x5c.gitignore','903wqFzIA','statSync','CopyFolder','jjb-common/color','common/http','\x5cpackage.json','uncompress','/repository/archive.zip?private_token=','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','resolve','\x5cnode_modules\x5cjjb-','\x22,\x22main\x22:\x20\x22index.js\x22}','{\x22name\x22:\x22','28325ROFRHX','5276272TqLLgq','close','common'];a17_0x2758=function(){return _0x5aba2b;};return a17_0x2758();}function content_replace(_0x183f59=[],_0x28ddcf){const _0x5a43c6=a17_0x226e9f;_0x183f59[_0x5a43c6(0x1cd)](_0x51743c=>{const _0x12a288=_0x5a43c6,_0x474d85=_0x28ddcf+_0x51743c['path'];if(fs[_0x12a288(0x20b)](_0x474d85)){let _0x5a7680=fs[_0x12a288(0x1bb)](_0x474d85)[_0x12a288(0x1c4)]();_0x51743c[_0x12a288(0x1c0)]['forEach'](_0x49a9ca=>{_0x5a7680=_0x5a7680['replace'](_0x49a9ca[0x0],_0x49a9ca[0x1]);}),fs['writeFileSync'](_0x474d85,_0x5a7680);}});}
@@ -1 +1 @@
1
- const a17_0x11499d=a17_0x5525;(function(_0x1139e8,_0x4c3407){const _0x371869=a17_0x5525,_0x442257=_0x1139e8();while(!![]){try{const _0x2238c8=parseInt(_0x371869(0x10d))/0x1+parseInt(_0x371869(0x10f))/0x2+parseInt(_0x371869(0x108))/0x3*(parseInt(_0x371869(0x10c))/0x4)+parseInt(_0x371869(0x11b))/0x5+parseInt(_0x371869(0x114))/0x6+parseInt(_0x371869(0x101))/0x7+-parseInt(_0x371869(0x10e))/0x8;if(_0x2238c8===_0x4c3407)break;else _0x442257['push'](_0x442257['shift']());}catch(_0x7b6662){_0x442257['push'](_0x442257['shift']());}}}(a17_0x4c69,0x33f21));const fs=require('fs'),path=require('path'),readline=require(a17_0x11499d(0x106)),ProgressBar=require(a17_0x11499d(0x107)),io=readline[a17_0x11499d(0x119)]({'input':process[a17_0x11499d(0x109)],'output':process[a17_0x11499d(0x105)]}),progress=new ProgressBar(a17_0x11499d(0x10b),0x32);function a17_0x4c69(){const _0xda64e7=['1058524pDLUGR','30952cTxsxK','4882736ldyZYj','448902ppyvwm','existsSync','exports','isDirectory','rmdirSync','774390eMpWTL','删除文件夹:','无效操作。','question','unlinkSync','createInterface','resolve','366250SWNKoy','删除完成。','exit','log','取消删除。','删除文件:','readdirSync','705334NmsnVc','length','clear','trim','stdout','readline','./progress-bar','3vfLfKy','stdin','正在计算项目数,请稍等...','删除进度'];a17_0x4c69=function(){return _0xda64e7;};return a17_0x4c69();}let f_total=0x0,f_number=0x0;module[a17_0x11499d(0x111)]=function(){const _0x3439a9=a17_0x11499d,_0x4c8240=path[_0x3439a9(0x11a)]('./');io[_0x3439a9(0x117)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x106ae4){const _0x15628f=_0x3439a9;if(_0x106ae4['trim']()==='y')console[_0x15628f(0x11e)](_0x15628f(0x10a)),setTimeout(()=>{setTimeout(()=>{const _0x19324a=a17_0x5525;console[_0x19324a(0x103)](),exec(_0x4c8240),setTimeout(()=>{const _0x4c4964=_0x19324a;console['log'](_0x4c4964(0x11c)),console['clear'](),process[_0x4c4964(0x11d)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x106ae4[_0x15628f(0x104)]()==='n'?(console[_0x15628f(0x11e)](_0x15628f(0x11f)),process[_0x15628f(0x11d)](0x0)):(console[_0x15628f(0x11e)](_0x15628f(0x116)),process[_0x15628f(0x11d)](0x0));});};function exec(_0x38a636){const _0x3187e6=a17_0x11499d;if(fs['existsSync'](_0x38a636)){const _0x34d707=fs[_0x3187e6(0x121)](_0x38a636);for(let _0x187ac5=0x0;_0x187ac5<_0x34d707[_0x3187e6(0x102)];_0x187ac5++){const _0x2bd6d6=_0x34d707[_0x187ac5],_0x3e17f2=_0x38a636+'/'+_0x2bd6d6;try{fs['statSync'](_0x3e17f2)[_0x3187e6(0x112)]()?(exec(_0x3e17f2),fs[_0x3187e6(0x113)](_0x3e17f2,{'recursive':!![]}),console['log'](_0x3187e6(0x115)+_0x3e17f2)):(fs[_0x3187e6(0x118)](_0x3e17f2),console[_0x3187e6(0x11e)](_0x3187e6(0x120)+_0x3e17f2));}catch(_0x30fc8a){console[_0x3187e6(0x11e)]('删除异常:'+_0x3e17f2);}}}}function a17_0x5525(_0x43c60c,_0x5e356b){const _0x4c6946=a17_0x4c69();return a17_0x5525=function(_0x552512,_0x3563bd){_0x552512=_0x552512-0x101;let _0x50bf09=_0x4c6946[_0x552512];return _0x50bf09;},a17_0x5525(_0x43c60c,_0x5e356b);}function scanner(_0x4cedc9){const _0x287728=a17_0x11499d;if(fs[_0x287728(0x110)](_0x4cedc9)){const _0x1bd103=fs['readdirSync'](_0x4cedc9);for(let _0x45336d=0x0;_0x45336d<_0x1bd103[_0x287728(0x102)];_0x45336d++){const _0x5366fa=_0x1bd103[_0x45336d],_0x1e2d2c=_0x4cedc9+'/'+_0x5366fa;try{fs['statSync'](_0x1e2d2c)[_0x287728(0x112)]()?(scanner(_0x1e2d2c),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x199ad1){}}}}
1
+ function a18_0x41d5(){const _0xde9ed3=['3519490fwNKVY','existsSync','path','clear','trim','21311092PXmeBo','statSync','12jsIOEw','是否确认删除?删除后不可恢复![y/n]:','18XmczyZ','exit','1qvNPEX','371816thXgKW','3794136qcssKS','length','isDirectory','197198vOEsdd','readline','readdirSync','无效操作。','1670AmwWZO','正在计算项目数,请稍等...','14TosbfG','删除文件夹:','取消删除。','15072qIABQl','./progress-bar','删除异常:','删除完成。','log','resolve','createInterface','exports','删除文件:','rmdirSync','question','unlinkSync','18966lEFQJv'];a18_0x41d5=function(){return _0xde9ed3;};return a18_0x41d5();}const a18_0x12bde5=a18_0x5554;(function(_0x297ec7,_0x1b980b){const _0x175e1a=a18_0x5554,_0x2e7a19=_0x297ec7();while(!![]){try{const _0x5c6337=-parseInt(_0x175e1a(0x202))/0x1*(-parseInt(_0x175e1a(0x207))/0x2)+parseInt(_0x175e1a(0x210))/0x3+-parseInt(_0x175e1a(0x204))/0x4+-parseInt(_0x175e1a(0x20b))/0x5*(parseInt(_0x175e1a(0x1f6))/0x6)+-parseInt(_0x175e1a(0x20d))/0x7*(parseInt(_0x175e1a(0x203))/0x8)+parseInt(_0x175e1a(0x200))/0x9*(parseInt(_0x175e1a(0x1f7))/0xa)+-parseInt(_0x175e1a(0x1fc))/0xb*(-parseInt(_0x175e1a(0x1fe))/0xc);if(_0x5c6337===_0x1b980b)break;else _0x2e7a19['push'](_0x2e7a19['shift']());}catch(_0x153408){_0x2e7a19['push'](_0x2e7a19['shift']());}}}(a18_0x41d5,0x9e1cf));const fs=require('fs'),path=require(a18_0x12bde5(0x1f9)),readline=require(a18_0x12bde5(0x208)),ProgressBar=require(a18_0x12bde5(0x1eb)),io=readline[a18_0x12bde5(0x1f0)]({'input':process['stdin'],'output':process['stdout']}),progress=new ProgressBar('删除进度',0x32);function a18_0x5554(_0x211355,_0x106759){const _0x41d5b3=a18_0x41d5();return a18_0x5554=function(_0x555441,_0x563da2){_0x555441=_0x555441-0x1eb;let _0x586ab1=_0x41d5b3[_0x555441];return _0x586ab1;},a18_0x5554(_0x211355,_0x106759);}let f_total=0x0,f_number=0x0;module[a18_0x12bde5(0x1f1)]=function(){const _0xbeed21=a18_0x12bde5,_0x5ed481=path[_0xbeed21(0x1ef)]('./');io[_0xbeed21(0x1f4)](_0xbeed21(0x1ff),function(_0x159ba0){const _0x4e9c30=_0xbeed21;if(_0x159ba0['trim']()==='y')console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20c)),setTimeout(()=>{setTimeout(()=>{const _0x47176c=a18_0x5554;console[_0x47176c(0x1fa)](),exec(_0x5ed481),setTimeout(()=>{const _0x58a46e=_0x47176c;console[_0x58a46e(0x1ee)](_0x58a46e(0x1ed)),console[_0x58a46e(0x1fa)](),process[_0x58a46e(0x201)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x159ba0[_0x4e9c30(0x1fb)]()==='n'?(console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20f)),process[_0x4e9c30(0x201)](0x0)):(console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20a)),process[_0x4e9c30(0x201)](0x0));});};function exec(_0x3f65ae){const _0x97d943=a18_0x12bde5;if(fs[_0x97d943(0x1f8)](_0x3f65ae)){const _0x1e1baf=fs[_0x97d943(0x209)](_0x3f65ae);for(let _0x45d612=0x0;_0x45d612<_0x1e1baf['length'];_0x45d612++){const _0x4b3464=_0x1e1baf[_0x45d612],_0x483a3c=_0x3f65ae+'/'+_0x4b3464;try{fs[_0x97d943(0x1fd)](_0x483a3c)[_0x97d943(0x206)]()?(exec(_0x483a3c),fs[_0x97d943(0x1f3)](_0x483a3c,{'recursive':!![]}),console[_0x97d943(0x1ee)](_0x97d943(0x20e)+_0x483a3c)):(fs[_0x97d943(0x1f5)](_0x483a3c),console[_0x97d943(0x1ee)](_0x97d943(0x1f2)+_0x483a3c));}catch(_0x455eb6){console['log'](_0x97d943(0x1ec)+_0x483a3c);}}}}function scanner(_0x66270c){const _0x4b0d1e=a18_0x12bde5;if(fs[_0x4b0d1e(0x1f8)](_0x66270c)){const _0x75c1a=fs[_0x4b0d1e(0x209)](_0x66270c);for(let _0x2d72e0=0x0;_0x2d72e0<_0x75c1a[_0x4b0d1e(0x205)];_0x2d72e0++){const _0x681066=_0x75c1a[_0x2d72e0],_0x27a109=_0x66270c+'/'+_0x681066;try{fs[_0x4b0d1e(0x1fd)](_0x27a109)[_0x4b0d1e(0x206)]()?(scanner(_0x27a109),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x3feb95){}}}}
@@ -1 +1 @@
1
- function a18_0x51bf(_0x597e07,_0x2ca86a){const _0x23b1ed=a18_0x23b1();return a18_0x51bf=function(_0x51bf03,_0x340c6d){_0x51bf03=_0x51bf03-0x15b;let _0x2678bd=_0x23b1ed[_0x51bf03];return _0x2678bd;},a18_0x51bf(_0x597e07,_0x2ca86a);}const a18_0x4b4ce7=a18_0x51bf;function a18_0x23b1(){const _0x5a4dcc=['1213380DNpzKl','1151513mjSsem','total','description','completed','toFixed','965793vCiFKV','stdout','single-line-log','8wDFzeD','193090ouGRTE','length','exports','Progress','1633512RuPVfq','5615260gWindZ','12178336bqBORm'];a18_0x23b1=function(){return _0x5a4dcc;};return a18_0x23b1();}(function(_0x1fb757,_0x405587){const _0x3c5bd1=a18_0x51bf,_0x5d89b4=_0x1fb757();while(!![]){try{const _0x2047c2=-parseInt(_0x3c5bd1(0x16b))/0x1+-parseInt(_0x3c5bd1(0x163))/0x2+-parseInt(_0x3c5bd1(0x15f))/0x3*(parseInt(_0x3c5bd1(0x162))/0x4)+parseInt(_0x3c5bd1(0x168))/0x5+-parseInt(_0x3c5bd1(0x167))/0x6+parseInt(_0x3c5bd1(0x16a))/0x7+parseInt(_0x3c5bd1(0x169))/0x8;if(_0x2047c2===_0x405587)break;else _0x5d89b4['push'](_0x5d89b4['shift']());}catch(_0x217a3a){_0x5d89b4['push'](_0x5d89b4['shift']());}}}(a18_0x23b1,0x9fcb0));const slog=require(a18_0x4b4ce7(0x161))[a18_0x4b4ce7(0x160)];function ProgressBar(_0x17f0c6,_0x23cd7a){const _0x31279e=a18_0x4b4ce7;this[_0x31279e(0x15c)]=_0x17f0c6||_0x31279e(0x166),this['length']=_0x23cd7a||0x19,this['render']=function(_0x59ac28){const _0x13f777=_0x31279e;let _0x2a4275;const _0x4f234e=(_0x59ac28[_0x13f777(0x15d)]/_0x59ac28['total'])['toFixed'](0x4),_0x45dbf3=Math['floor'](_0x4f234e*this[_0x13f777(0x164)]);let _0x57b7e6='';for(_0x2a4275=0x0;_0x2a4275<_0x45dbf3;_0x2a4275++){_0x57b7e6+='█';}let _0x40d00b='';for(_0x2a4275=0x0;_0x2a4275<this[_0x13f777(0x164)]-_0x45dbf3;_0x2a4275++){_0x40d00b+='░';}const _0xddf56b=this[_0x13f777(0x15c)]+':\x20'+(0x64*_0x4f234e)[_0x13f777(0x15e)](0x2)+'%\x20'+_0x57b7e6+_0x40d00b+'\x20'+_0x59ac28[_0x13f777(0x15d)]+'/'+_0x59ac28[_0x13f777(0x15b)];slog(_0xddf56b);};}module[a18_0x4b4ce7(0x165)]=ProgressBar;
1
+ const a19_0x5653ea=a19_0x4309;(function(_0x242b51,_0x564e58){const _0x2370e2=a19_0x4309,_0x5483a4=_0x242b51();while(!![]){try{const _0x3ab9f2=parseInt(_0x2370e2(0xe6))/0x1*(-parseInt(_0x2370e2(0xde))/0x2)+-parseInt(_0x2370e2(0xeb))/0x3*(parseInt(_0x2370e2(0xe4))/0x4)+-parseInt(_0x2370e2(0xdd))/0x5*(-parseInt(_0x2370e2(0xf0))/0x6)+-parseInt(_0x2370e2(0xed))/0x7*(-parseInt(_0x2370e2(0xec))/0x8)+-parseInt(_0x2370e2(0xea))/0x9*(parseInt(_0x2370e2(0xf2))/0xa)+-parseInt(_0x2370e2(0xe3))/0xb*(-parseInt(_0x2370e2(0xe5))/0xc)+parseInt(_0x2370e2(0xef))/0xd*(parseInt(_0x2370e2(0xf1))/0xe);if(_0x3ab9f2===_0x564e58)break;else _0x5483a4['push'](_0x5483a4['shift']());}catch(_0x2b8350){_0x5483a4['push'](_0x5483a4['shift']());}}}(a19_0x4c6b,0xcb5bd));const slog=require('single-line-log')[a19_0x5653ea(0xe1)];function a19_0x4309(_0xf97b28,_0x1aa10b){const _0x4c6b9a=a19_0x4c6b();return a19_0x4309=function(_0x430957,_0x18caef){_0x430957=_0x430957-0xdd;let _0x57a676=_0x4c6b9a[_0x430957];return _0x57a676;},a19_0x4309(_0xf97b28,_0x1aa10b);}function ProgressBar(_0x3f45c3,_0xce260){const _0x508595=a19_0x5653ea;this['description']=_0x3f45c3||'Progress',this['length']=_0xce260||0x19,this[_0x508595(0xe7)]=function(_0x5b5240){const _0x5ab9ac=_0x508595;let _0x46b0be;const _0x21b7cf=(_0x5b5240[_0x5ab9ac(0xe0)]/_0x5b5240[_0x5ab9ac(0xe9)])[_0x5ab9ac(0xdf)](0x4),_0x3e97f2=Math[_0x5ab9ac(0xe8)](_0x21b7cf*this[_0x5ab9ac(0xee)]);let _0x30a3aa='';for(_0x46b0be=0x0;_0x46b0be<_0x3e97f2;_0x46b0be++){_0x30a3aa+='█';}let _0x4a1989='';for(_0x46b0be=0x0;_0x46b0be<this['length']-_0x3e97f2;_0x46b0be++){_0x4a1989+='░';}const _0x467ec1=this['description']+':\x20'+(0x64*_0x21b7cf)[_0x5ab9ac(0xdf)](0x2)+'%\x20'+_0x30a3aa+_0x4a1989+'\x20'+_0x5b5240[_0x5ab9ac(0xe0)]+'/'+_0x5b5240[_0x5ab9ac(0xe9)];slog(_0x467ec1);};}module[a19_0x5653ea(0xe2)]=ProgressBar;function a19_0x4c6b(){const _0x4ac03c=['13JrjpJd','6GrkNsz','10224844SpNgYm','10wiGNWn','7200555uEnOLa','2cUXiNf','toFixed','completed','stdout','exports','2459710yjDalq','10492XhHSPK','12HrlZcs','408458TPYGsm','render','floor','total','11643363OEYjne','303CnlibD','16pbiAKC','1420923YsfPEm','length'];a19_0x4c6b=function(){return _0x4ac03c;};return a19_0x4c6b();}
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a19_0x22c2c5=a19_0x5c19;(function(_0x3a951d,_0x454309){const _0x227269=a19_0x5c19,_0x1d81d7=_0x3a951d();while(!![]){try{const _0x5a1c82=parseInt(_0x227269(0x13f))/0x1+parseInt(_0x227269(0x137))/0x2+parseInt(_0x227269(0x13b))/0x3+parseInt(_0x227269(0x12d))/0x4*(parseInt(_0x227269(0x12f))/0x5)+parseInt(_0x227269(0x131))/0x6*(-parseInt(_0x227269(0x135))/0x7)+parseInt(_0x227269(0x13c))/0x8*(-parseInt(_0x227269(0x144))/0x9)+-parseInt(_0x227269(0x12b))/0xa;if(_0x5a1c82===_0x454309)break;else _0x1d81d7['push'](_0x1d81d7['shift']());}catch(_0x3f8266){_0x1d81d7['push'](_0x1d81d7['shift']());}}}(a19_0x58d4,0x3fc98));function a19_0x58d4(){const _0x25d3cc=['close','path','read\x20error','826695TbUdIv','152NvtKmq','readdir','log','351381tIbWRK','rmdirSync','CopyFile','createReadStream','write\x20error','203202QETmNu','DeleteDirAllFile','mkdir','DeepScanner','pipe','CreatePaths','existsSync','forEach','error','join','isDirectory','CopyFolder','6690340qYFCrK','statSync','4nsXGyz','createWriteStream','2385455lWNGXz','length','30IYGvkZ','mkdirSync','unlinkSync','readdirSync','312242KQZgyy','push','956562leFFnq'];a19_0x58d4=function(){return _0x25d3cc;};return a19_0x58d4();}function a19_0x5c19(_0x3676e3,_0x376c8d){const _0x58d4c3=a19_0x58d4();return a19_0x5c19=function(_0x5c19fa,_0x1a8e60){_0x5c19fa=_0x5c19fa-0x126;let _0x18e58e=_0x58d4c3[_0x5c19fa];return _0x18e58e;},a19_0x5c19(_0x3676e3,_0x376c8d);}const fs=require('fs'),path=require(a19_0x22c2c5(0x139));exports[a19_0x22c2c5(0x145)]=(_0x445b85,_0x3fa899)=>{const _0x468ac5=a19_0x22c2c5;let _0x9d0043=[];const _0x3da4d4=this;fs[_0x468ac5(0x14a)](_0x445b85)?(_0x9d0043=fs[_0x468ac5(0x134)](_0x445b85),_0x9d0043[_0x468ac5(0x126)](function(_0x1368ea,_0x5d833c){const _0x150529=_0x468ac5;let _0x236c83=_0x445b85+'/'+_0x1368ea;fs[_0x150529(0x12c)](_0x236c83)[_0x150529(0x129)]()?_0x3da4d4[_0x150529(0x145)](_0x236c83):fs[_0x150529(0x133)](_0x236c83);}),fs[_0x468ac5(0x140)](_0x445b85),_0x3fa899&&_0x3fa899()):_0x3fa899&&_0x3fa899();},exports['CopyFolder']=(_0x208348,_0x127b69,_0x12b252)=>{const _0x52c66f=a19_0x22c2c5,_0x12a264=this;fs[_0x52c66f(0x13d)](_0x208348,function(_0x4cac99,_0x34ce90){const _0x2a06a8=_0x52c66f;let _0x19ec97=0x0;const _0x30e382=function(){++_0x19ec97===_0x34ce90['length']&&_0x12b252&&_0x12b252();};if(_0x4cac99){_0x30e382();return;}_0x34ce90[_0x2a06a8(0x126)](function(_0x3f9b1b){const _0x59ab68=_0x2a06a8,_0x39321c=path[_0x59ab68(0x128)](_0x208348,_0x3f9b1b),_0xb9fdfb=path['join'](_0x127b69,_0x3f9b1b);fs['stat'](_0x39321c,function(_0x12dbf9,_0x3fa7ae){const _0x2451db=_0x59ab68;_0x3fa7ae[_0x2451db(0x129)]()?fs[_0x2451db(0x146)](_0xb9fdfb,function(_0x460586){const _0x19244c=_0x2451db;if(_0x460586){console[_0x19244c(0x13e)](_0x460586);return;}_0x12a264[_0x19244c(0x12a)](_0x39321c,_0xb9fdfb,_0x30e382);}):_0x12a264[_0x2451db(0x141)](_0x39321c,_0xb9fdfb,_0x30e382);});}),_0x34ce90[_0x2a06a8(0x130)]===0x0&&_0x12b252&&_0x12b252();});},exports['CopyFile']=(_0x2e322f,_0x35b307,_0x28f0f9)=>{const _0xc2f926=a19_0x22c2c5,_0x18866a=fs[_0xc2f926(0x142)](_0x2e322f);_0x18866a['on'](_0xc2f926(0x127),function(_0x1153cc){const _0x47ae58=_0xc2f926;_0x1153cc&&console[_0x47ae58(0x13e)](_0x47ae58(0x13a),_0x2e322f),_0x28f0f9&&_0x28f0f9(_0x1153cc);});const _0x380b29=fs[_0xc2f926(0x12e)](_0x35b307);_0x380b29['on'](_0xc2f926(0x127),function(_0x4ac007){const _0x1fc1f5=_0xc2f926;_0x4ac007&&console[_0x1fc1f5(0x13e)](_0x1fc1f5(0x143),_0x35b307),_0x28f0f9&&_0x28f0f9(_0x4ac007);}),_0x380b29['on'](_0xc2f926(0x138),function(_0x164725){_0x28f0f9&&_0x28f0f9(_0x164725);}),_0x18866a[_0xc2f926(0x148)](_0x380b29);},exports[a19_0x22c2c5(0x147)]=(_0x33d93c,_0x4ded1e)=>{const _0xf7c9bd=a19_0x22c2c5,_0x411fed=this,_0x16d8fc=fs[_0xf7c9bd(0x134)](_0x33d93c);_0x16d8fc[_0xf7c9bd(0x126)](_0x4b7318=>{const _0x25c348=_0xf7c9bd,_0x4e6ea1=_0x33d93c+'/'+_0x4b7318,_0xa28d5a=fs[_0x25c348(0x12c)](_0x4e6ea1);_0xa28d5a[_0x25c348(0x129)]()?_0x411fed[_0x25c348(0x147)](_0x4e6ea1,_0x4ded1e):_0x4ded1e[_0x25c348(0x136)](_0x4e6ea1);});},exports[a19_0x22c2c5(0x149)]=(_0x59fef1,_0x33f3b9)=>{return new Promise(_0x26e90c=>{const _0x17e784=a19_0x5c19,_0x21a4a7=[];_0x33f3b9[_0x17e784(0x126)]((_0x2071b9,_0x2bc611)=>{const _0x598c41=_0x17e784,_0x5b3859=_0x59fef1+'/'+_0x21a4a7['join']('/')+'/'+_0x2071b9;try{const _0xb6f2e=fs[_0x598c41(0x12c)](_0x5b3859);_0xb6f2e['isDirectory']()?_0x2bc611===_0x33f3b9[_0x598c41(0x130)]-0x1&&_0x26e90c():(fs['mkdirSync'](_0x5b3859),_0x2bc611===_0x33f3b9['length']-0x1&&_0x26e90c());}catch(_0x29405d){fs[_0x598c41(0x132)](_0x5b3859),_0x2bc611===_0x33f3b9[_0x598c41(0x130)]-0x1&&_0x26e90c();}_0x21a4a7[_0x598c41(0x136)](_0x2071b9);});});};
1
+ 'use strict';function a20_0x3fdc(){const _0x5849b0=['write\x20error','log','isDirectory','forEach','12957669ErZHuS','1765332FMNyKJ','error','close','pipe','unlinkSync','CreatePaths','1748283yVttWD','23730MHBtrE','196940OgOyWQ','createReadStream','CopyFolder','readdirSync','4txSBZI','CopyFile','3951125nvXhTo','statSync','DeleteDirAllFile','2264sZiJrp','stat','640886xitCtO','createWriteStream','mkdir','mkdirSync','length','join'];a20_0x3fdc=function(){return _0x5849b0;};return a20_0x3fdc();}const a20_0x2b823f=a20_0x10f0;(function(_0x505109,_0x2459d4){const _0x2f14c8=a20_0x10f0,_0x3cd776=_0x505109();while(!![]){try{const _0x5231f4=parseInt(_0x2f14c8(0xd6))/0x1+parseInt(_0x2f14c8(0xe1))/0x2+-parseInt(_0x2f14c8(0xd4))/0x3+parseInt(_0x2f14c8(0xda))/0x4*(parseInt(_0x2f14c8(0xdc))/0x5)+parseInt(_0x2f14c8(0xec))/0x6+-parseInt(_0x2f14c8(0xd5))/0x7*(-parseInt(_0x2f14c8(0xdf))/0x8)+-parseInt(_0x2f14c8(0xeb))/0x9;if(_0x5231f4===_0x2459d4)break;else _0x3cd776['push'](_0x3cd776['shift']());}catch(_0x37afaa){_0x3cd776['push'](_0x3cd776['shift']());}}}(a20_0x3fdc,0x8384a));const fs=require('fs'),path=require('path');function a20_0x10f0(_0x1a566c,_0x34ae53){const _0x3fdca5=a20_0x3fdc();return a20_0x10f0=function(_0x10f005,_0x3a2253){_0x10f005=_0x10f005-0xd0;let _0x3fa180=_0x3fdca5[_0x10f005];return _0x3fa180;},a20_0x10f0(_0x1a566c,_0x34ae53);}exports[a20_0x2b823f(0xde)]=(_0x4aa6a4,_0x4cebb2)=>{const _0x5b9daa=a20_0x2b823f;let _0x2b3a18=[];const _0x3ceb6f=this;fs['existsSync'](_0x4aa6a4)?(_0x2b3a18=fs[_0x5b9daa(0xd9)](_0x4aa6a4),_0x2b3a18[_0x5b9daa(0xea)](function(_0x3fe8ea,_0x1bf3de){const _0xb42edc=_0x5b9daa;let _0xd22276=_0x4aa6a4+'/'+_0x3fe8ea;fs[_0xb42edc(0xdd)](_0xd22276)[_0xb42edc(0xe9)]()?_0x3ceb6f[_0xb42edc(0xde)](_0xd22276):fs[_0xb42edc(0xd2)](_0xd22276);}),fs['rmdirSync'](_0x4aa6a4),_0x4cebb2&&_0x4cebb2()):_0x4cebb2&&_0x4cebb2();},exports[a20_0x2b823f(0xd8)]=(_0x1f3040,_0x442ddc,_0x14c6a4)=>{const _0x5d8369=this;fs['readdir'](_0x1f3040,function(_0x560cf9,_0x1444ef){let _0x3e60e4=0x0;const _0xa36596=function(){const _0x19b24e=a20_0x10f0;++_0x3e60e4===_0x1444ef[_0x19b24e(0xe5)]&&_0x14c6a4&&_0x14c6a4();};if(_0x560cf9){_0xa36596();return;}_0x1444ef['forEach'](function(_0x59a7bb){const _0x1ab875=a20_0x10f0,_0x49350f=path['join'](_0x1f3040,_0x59a7bb),_0x19176d=path[_0x1ab875(0xe6)](_0x442ddc,_0x59a7bb);fs[_0x1ab875(0xe0)](_0x49350f,function(_0x3b46f,_0x1f29bf){const _0x2e2f76=_0x1ab875;_0x1f29bf['isDirectory']()?fs[_0x2e2f76(0xe3)](_0x19176d,function(_0x117773){const _0x275e76=_0x2e2f76;if(_0x117773){console[_0x275e76(0xe8)](_0x117773);return;}_0x5d8369['CopyFolder'](_0x49350f,_0x19176d,_0xa36596);}):_0x5d8369[_0x2e2f76(0xdb)](_0x49350f,_0x19176d,_0xa36596);});}),_0x1444ef['length']===0x0&&_0x14c6a4&&_0x14c6a4();});},exports['CopyFile']=(_0x2384a1,_0x47bbfd,_0x4cb60d)=>{const _0x5b9d3d=a20_0x2b823f,_0x4e715d=fs[_0x5b9d3d(0xd7)](_0x2384a1);_0x4e715d['on']('error',function(_0x443c18){_0x443c18&&console['log']('read\x20error',_0x2384a1),_0x4cb60d&&_0x4cb60d(_0x443c18);});const _0x1fc3ea=fs[_0x5b9d3d(0xe2)](_0x47bbfd);_0x1fc3ea['on'](_0x5b9d3d(0xed),function(_0xd876ce){const _0xc79c4c=_0x5b9d3d;_0xd876ce&&console[_0xc79c4c(0xe8)](_0xc79c4c(0xe7),_0x47bbfd),_0x4cb60d&&_0x4cb60d(_0xd876ce);}),_0x1fc3ea['on'](_0x5b9d3d(0xd0),function(_0x4161a0){_0x4cb60d&&_0x4cb60d(_0x4161a0);}),_0x4e715d[_0x5b9d3d(0xd1)](_0x1fc3ea);},exports['DeepScanner']=(_0x13d536,_0x2e21e5)=>{const _0x5d2cfb=a20_0x2b823f,_0x7ac6cf=this,_0x5175bc=fs[_0x5d2cfb(0xd9)](_0x13d536);_0x5175bc[_0x5d2cfb(0xea)](_0x10c6fc=>{const _0x249ab0=_0x5d2cfb,_0x51085d=_0x13d536+'/'+_0x10c6fc,_0x8aae91=fs[_0x249ab0(0xdd)](_0x51085d);_0x8aae91[_0x249ab0(0xe9)]()?_0x7ac6cf['DeepScanner'](_0x51085d,_0x2e21e5):_0x2e21e5['push'](_0x51085d);});},exports[a20_0x2b823f(0xd3)]=(_0x4f985c,_0x300f46)=>{return new Promise(_0xff8a1b=>{const _0x2638e7=a20_0x10f0,_0x4499ad=[];_0x300f46[_0x2638e7(0xea)]((_0x2e67d1,_0x5b7b83)=>{const _0x4662a2=_0x2638e7,_0x584813=_0x4f985c+'/'+_0x4499ad[_0x4662a2(0xe6)]('/')+'/'+_0x2e67d1;try{const _0x3434f0=fs[_0x4662a2(0xdd)](_0x584813);_0x3434f0[_0x4662a2(0xe9)]()?_0x5b7b83===_0x300f46[_0x4662a2(0xe5)]-0x1&&_0xff8a1b():(fs[_0x4662a2(0xe4)](_0x584813),_0x5b7b83===_0x300f46[_0x4662a2(0xe5)]-0x1&&_0xff8a1b());}catch(_0x5bb59f){fs[_0x4662a2(0xe4)](_0x584813),_0x5b7b83===_0x300f46['length']-0x1&&_0xff8a1b();}_0x4499ad['push'](_0x2e67d1);});});};