jjb-cmd 2.1.10 → 2.1.12

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.12</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.12",
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_0x38b1fd=a0_0x6677;(function(_0x54f158,_0x3e2e4e){const _0x13a2f5=a0_0x6677,_0x4d0059=_0x54f158();while(!![]){try{const _0x1d0d52=-parseInt(_0x13a2f5(0x1e4))/0x1+parseInt(_0x13a2f5(0x1e9))/0x2+parseInt(_0x13a2f5(0x1f0))/0x3+parseInt(_0x13a2f5(0x1da))/0x4+parseInt(_0x13a2f5(0x1ec))/0x5*(-parseInt(_0x13a2f5(0x1e7))/0x6)+parseInt(_0x13a2f5(0x1eb))/0x7*(-parseInt(_0x13a2f5(0x1e5))/0x8)+-parseInt(_0x13a2f5(0x1dc))/0x9*(-parseInt(_0x13a2f5(0x1f2))/0xa);if(_0x1d0d52===_0x3e2e4e)break;else _0x4d0059['push'](_0x4d0059['shift']());}catch(_0xb26933){_0x4d0059['push'](_0x4d0059['shift']());}}}(a0_0x6495,0x7c543));const axios=require(a0_0x38b1fd(0x1f4)),fs=require('fs'),path=require(a0_0x38b1fd(0x1df)),{API_HOST}=require(a0_0x38b1fd(0x1e3));module[a0_0x38b1fd(0x1e0)]=_0x4b6707=>{const _0x2624e1=a0_0x38b1fd;console[_0x2624e1(0x1ee)](_0x4b6707);const [_0x491265,_0x261882]=_0x4b6707;axios[_0x2624e1(0x1e6)](API_HOST+'/api/auth',{'username':_0x491265,'password':_0x261882})[_0x2624e1(0x1f1)](_0x3f9fca=>{const _0x47f8a5=_0x2624e1,_0x30309d=path[_0x47f8a5(0x1e1)](__dirname,'../../../.auth');_0x3f9fca[_0x47f8a5(0x1dd)][_0x47f8a5(0x1de)]?(console[_0x47f8a5(0x1ee)](_0x47f8a5(0x1ef)),fs[_0x47f8a5(0x1e2)](_0x30309d,_0x491265+'/'+_0x261882)):(console['log'](_0x47f8a5(0x1f3)),fs[_0x47f8a5(0x1db)](_0x30309d)&&fs[_0x47f8a5(0x1e8)](_0x30309d));})[_0x2624e1(0x1ed)](_0x571c59=>{const _0x178efa=_0x2624e1;console[_0x178efa(0x1ee)](_0x178efa(0x1ea));});};function a0_0x6677(_0x5cd1e2,_0x1da914){const _0x64958e=a0_0x6495();return a0_0x6677=function(_0x66775e,_0x555ccf){_0x66775e=_0x66775e-0x1da;let _0x420df7=_0x64958e[_0x66775e];return _0x420df7;},a0_0x6677(_0x5cd1e2,_0x1da914);}function a0_0x6495(){const _0x1d3408=['status','path','exports','join','writeFileSync','../cmd.install/config','65306IhXUpg','46856LxDXHP','post','54bMdhFJ','unlinkSync','709168lnQmjH','Auth\x20NetWork\x20Fail!','518LuBQla','261285ypRUDt','catch','log','Auth\x20Success!','965568MwjgZQ','then','3992470BUTRwp','Auth\x20Fail!','axios','1610404zIZIoW','existsSync','9pjUWxa','data'];a0_0x6495=function(){return _0x1d3408;};return a0_0x6495();}
@@ -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_0x257595=a1_0x3338;function a1_0x3338(_0x18c2f0,_0x119890){const _0x1b3fef=a1_0x1b3f();return a1_0x3338=function(_0x333848,_0x548c8e){_0x333848=_0x333848-0x13d;let _0x22f149=_0x1b3fef[_0x333848];return _0x22f149;},a1_0x3338(_0x18c2f0,_0x119890);}(function(_0xc77c67,_0x15d679){const _0x216c15=a1_0x3338,_0x1bb9f9=_0xc77c67();while(!![]){try{const _0x173dee=-parseInt(_0x216c15(0x15d))/0x1+parseInt(_0x216c15(0x160))/0x2+parseInt(_0x216c15(0x14a))/0x3*(parseInt(_0x216c15(0x15b))/0x4)+-parseInt(_0x216c15(0x14d))/0x5*(-parseInt(_0x216c15(0x161))/0x6)+parseInt(_0x216c15(0x147))/0x7*(parseInt(_0x216c15(0x15a))/0x8)+parseInt(_0x216c15(0x151))/0x9*(parseInt(_0x216c15(0x162))/0xa)+-parseInt(_0x216c15(0x13d))/0xb;if(_0x173dee===_0x15d679)break;else _0x1bb9f9['push'](_0x1bb9f9['shift']());}catch(_0x228b2c){_0x1bb9f9['push'](_0x1bb9f9['shift']());}}}(a1_0x1b3f,0xd7fa9));function a1_0x1b3f(){const _0x5ba3b0=['203IWebiQ','-master-','compressing','40656bjUcui','/unzip/','zip','1045JBOXZH','不存在。','DeleteDirAllFile','indexOf','9668817QtKTVJ','/api/v4/projects/','/repository/archive.zip?private_token=','tmpdir','CopyFolder','mkdirSync','close','createWriteStream','../cmd.install/config','11128NFGJYf','224aQvfHH','&ref=master','27303CSokUW','log','../../old/util','2584032IHPuRy','32514SRKGFL','10McoNeY','path','37248189Vqrpwe','resolve','初始化完成!','projectId','forEach','exit','token','exports','uncompress','readdirSync'];a1_0x1b3f=function(){return _0x5ba3b0;};return a1_0x1b3f();}const path=require(a1_0x257595(0x163)),{f_file_copy}=require('../cmd.install/tools'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x257595(0x159)),fs=require('fs'),os=require('os'),utils=require(a1_0x257595(0x15f)),request=require('request'),compressing=require(a1_0x257595(0x149));module[a1_0x257595(0x144)]=_0x4338b1=>{const _0x3b92ba=a1_0x257595,_0x20387b=path[_0x3b92ba(0x13e)]('./'),_0x5bb3ef=CLOUD_PROJECT[_0x4338b1]||undefined;if(_0x5bb3ef){const _0x373c57=os[_0x3b92ba(0x154)](),_0x5c54dc=_0x373c57+'/'+GIT_TEMP_DIR+'/'+_0x4338b1+'.zip',_0x2b6276=_0x373c57+'/'+GIT_TEMP_DIR+_0x3b92ba(0x14b);utils[_0x3b92ba(0x14f)](_0x373c57+'/'+GIT_TEMP_DIR,()=>{const _0x17d203=_0x3b92ba;fs[_0x17d203(0x156)](_0x373c57+'/'+GIT_TEMP_DIR);let _0x5887d6=fs[_0x17d203(0x158)](_0x5c54dc);request(GIT_HOST+_0x17d203(0x152)+_0x5bb3ef[_0x17d203(0x140)]+_0x17d203(0x153)+_0x5bb3ef[_0x17d203(0x143)]+_0x17d203(0x15c))['pipe'](_0x5887d6)['on'](_0x17d203(0x157),()=>{const _0x5f4b7e=_0x17d203;fs[_0x5f4b7e(0x156)](_0x2b6276),compressing[_0x5f4b7e(0x14c)][_0x5f4b7e(0x145)](_0x5c54dc,_0x2b6276)['then'](()=>{setTimeout(()=>{const _0x21a50c=a1_0x3338;fs[_0x21a50c(0x146)](_0x2b6276)[_0x21a50c(0x141)](_0x1b2bf1=>{const _0x5b5bdd=_0x21a50c;_0x1b2bf1[_0x5b5bdd(0x150)](_0x5b5bdd(0x148))!==-0x1&&utils[_0x5b5bdd(0x155)](_0x2b6276+_0x1b2bf1,_0x20387b,()=>{const _0x4cb601=_0x5b5bdd;console['log'](_0x4cb601(0x13f)),process[_0x4cb601(0x142)](0x0);});});},0x7d0);});});});}else console[_0x3b92ba(0x15e)]('【Error】:初始化失败,'+_0x4338b1+_0x3b92ba(0x14e));};
@@ -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
+ const a2_0x2751a1=a2_0x4b96;(function(_0x5b59d2,_0x57d616){const _0xacbf55=a2_0x4b96,_0x32cf24=_0x5b59d2();while(!![]){try{const _0x121dc1=-parseInt(_0xacbf55(0x104))/0x1+-parseInt(_0xacbf55(0x106))/0x2*(-parseInt(_0xacbf55(0x102))/0x3)+parseInt(_0xacbf55(0x115))/0x4+-parseInt(_0xacbf55(0x10c))/0x5+parseInt(_0xacbf55(0x10d))/0x6*(-parseInt(_0xacbf55(0x108))/0x7)+parseInt(_0xacbf55(0x117))/0x8+parseInt(_0xacbf55(0xfc))/0x9;if(_0x121dc1===_0x57d616)break;else _0x32cf24['push'](_0x32cf24['shift']());}catch(_0x20bcfa){_0x32cf24['push'](_0x32cf24['shift']());}}}(a2_0x464b,0x99a7c));const os=require('os');exports['API_HOST']=a2_0x2751a1(0x111),exports[a2_0x2751a1(0x101)]='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']=a2_0x2751a1(0x100)+Date[a2_0x2751a1(0x116)](),exports[a2_0x2751a1(0x10e)]=a2_0x2751a1(0xfd),exports[a2_0x2751a1(0x10a)]={'development':a2_0x2751a1(0x112),'production':a2_0x2751a1(0x107),'test':a2_0x2751a1(0x109)},exports[a2_0x2751a1(0x114)]={'common':{'token':a2_0x2751a1(0xfb),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x2751a1(0xff),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x2751a1(0x105),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x2751a1(0x113),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a2_0x2751a1(0x103),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':a2_0x2751a1(0xfe),'projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x2751a1(0x110)]=os[a2_0x2751a1(0x10f)]()+'\x5c'+exports[a2_0x2751a1(0x10b)];function a2_0x4b96(_0x254771,_0x2ed412){const _0x464b19=a2_0x464b();return a2_0x4b96=function(_0x4b965c,_0x4b5313){_0x4b965c=_0x4b965c-0xfb;let _0x2af4b0=_0x464b19[_0x4b965c];return _0x2af4b0;},a2_0x4b96(_0x254771,_0x2ed412);}function a2_0x464b(){const _0x1f016e=['25102mPWlLX','prod','28hiGxrA','test','GIT_JAVA_ENV_JSON','GIT_TEMP_DIR','5307275cgOsnr','1299528aMbibG','GIT_TEMP_JAVA','tmpdir','TEMPLATE_FOLDER','http://120.26.210.58:8088','dev','gPSit8aJsLVmNzuQ5Cy4','CLOUD_PROJECT','2410736sAFAqJ','now','9888672tWeUAs','G4HJRsHr9D7Ssmixegw2','10337346bPXtup','jjb-assembly-java','FqNrmFAgrxasMrbbjvq9','hLqARY89CN6fUD3yg4NL','jjb-assembly-','GIT_HOST','90VvavTd','snBxJ2i5kYarGGcsojhY','806713ELQNkv','e9njpBd1nS_LREN8GFpR'];a2_0x464b=function(){return _0x1f016e;};return a2_0x464b();}
@@ -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
+ const a3_0x5f3a62=a3_0x4e1e;(function(_0x2ebd52,_0x4ef4c9){const _0x258d8c=a3_0x4e1e,_0x1d6b98=_0x2ebd52();while(!![]){try{const _0x33c0c2=-parseInt(_0x258d8c(0xc9))/0x1+parseInt(_0x258d8c(0xdb))/0x2*(-parseInt(_0x258d8c(0xd9))/0x3)+parseInt(_0x258d8c(0xcc))/0x4+-parseInt(_0x258d8c(0xea))/0x5*(parseInt(_0x258d8c(0xd0))/0x6)+-parseInt(_0x258d8c(0xc7))/0x7*(-parseInt(_0x258d8c(0xd6))/0x8)+-parseInt(_0x258d8c(0xe0))/0x9*(parseInt(_0x258d8c(0xca))/0xa)+parseInt(_0x258d8c(0xc6))/0xb;if(_0x33c0c2===_0x4ef4c9)break;else _0x1d6b98['push'](_0x1d6b98['shift']());}catch(_0x20232b){_0x1d6b98['push'](_0x1d6b98['shift']());}}}(a3_0x1c71,0xa6737));const fs=require('fs'),path=require(a3_0x5f3a62(0xdc)),request=require(a3_0x5f3a62(0xc1)),compressing=require(a3_0x5f3a62(0xbd)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x5f3a62(0xdf)),{TEMPLATE_FOLDER}=require(a3_0x5f3a62(0xe4)),start_time=Date[a3_0x5f3a62(0xe9)]();function a3_0x1c71(){const _0x4bc602=['filter','1075867FkoESw','1870gnEYjS','join','869204NbGXHP','_zip','exit','close','348Hmreqx','node_modules','pure_name','exports','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','rmdirSync','8ecDMkf','importList','package.json','21006SUEWFl','readdirSync','274sOUDxi','path','repository','name','./tools','45945fzqXtQ','map','log','includes','./config','pipe','\x5ctypes','unlinkSync','forEach','now','89395OEKlrf','uncompress','installResources','installTarget','length','compress','zip','import_list','compressing','【Error】:安装失败,node_modules目录不存在。','jjb-common-lib','existsSync','request','mkdirSync','index.js','1.0.0','.gitignore','36945073XKlpmb','7928179gKwSNP'];a3_0x1c71=function(){return _0x4bc602;};return a3_0x1c71();}function a3_0x4e1e(_0x3e7968,_0x3ec7b2){const _0x1c715c=a3_0x1c71();return a3_0x4e1e=function(_0x4e1ef6,_0x1689fb){_0x4e1ef6=_0x4e1ef6-0xbc;let _0x5ab93c=_0x1c715c[_0x4e1ef6];return _0x5ab93c;},a3_0x4e1e(_0x3e7968,_0x3ec7b2);}module[a3_0x5f3a62(0xd3)]=()=>{const _0x42bdb3=a3_0x5f3a62,_0xeeed4e=path['resolve']('./'),_0x169299=[_0xeeed4e,'src\x5c'][_0x42bdb3(0xcb)]('\x5c'),_0x11d916=[_0xeeed4e,_0x42bdb3(0xd1)]['join']('\x5c'),_0x3038f4=[_0xeeed4e,_0x42bdb3(0xd8)][_0x42bdb3(0xcb)]('\x5c');if(f_scan_jjb_config_json(_0xeeed4e)){const _0x38281b=f_scan_jjb_config_json_rules(_0xeeed4e);_0x38281b[_0x42bdb3(0xed)]==='node_modules'?!fs[_0x42bdb3(0xc0)](_0x11d916)?(console[_0x42bdb3(0xe2)](_0x42bdb3(0xbe)),process['exit'](0x0)):console[_0x42bdb3(0xe2)](_0x42bdb3(0xd4)):!fs['existsSync'](_0x169299)&&(console[_0x42bdb3(0xe2)]('【Error】:安装失败,src目录不存在。'),process[_0x42bdb3(0xce)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x38281b[_0x42bdb3(0xec)])[_0x42bdb3(0xe1)](_0x20f52e=>{const _0x4be55f=_0x42bdb3,_0x35ceeb=fs['createWriteStream'](_0x20f52e[_0x4be55f(0xdc)]);request(_0x20f52e[_0x4be55f(0xdd)])[_0x4be55f(0xe5)](_0x35ceeb)['on'](_0x4be55f(0xcf),()=>{const _0x1f830f=_0x4be55f;fs[_0x1f830f(0xc2)](_0x20f52e[_0x1f830f(0xef)]),compressing[_0x1f830f(0xf0)][_0x1f830f(0xeb)](_0x20f52e[_0x1f830f(0xdc)],_0x20f52e[_0x1f830f(0xef)]);});});const _0x2c4db6=setInterval(()=>{const _0x28a419=_0x42bdb3,_0x4f6ce3=fs[_0x28a419(0xda)](TEMPLATE_FOLDER),_0x7a2ab1=_0x4f6ce3[_0x28a419(0xc8)](_0x3abd97=>_0x38281b[_0x28a419(0xec)]['map'](_0x4a1ef2=>_0x4a1ef2[_0x28a419(0xde)]+'_zip')['includes'](_0x3abd97));if(_0x7a2ab1[_0x28a419(0xee)]===_0x38281b[_0x28a419(0xec)][_0x28a419(0xee)]){clearInterval(_0x2c4db6);const _0x2ddf2b=[];_0x7a2ab1[_0x28a419(0xe8)](_0x2c5c17=>{const _0x4c7a2d=_0x28a419,_0x2c34ef=[TEMPLATE_FOLDER,_0x2c5c17][_0x4c7a2d(0xcb)]('\x5c');fs[_0x4c7a2d(0xda)](_0x2c34ef)['forEach'](_0x1f8ba2=>_0x2ddf2b['push']({'name':_0x2c5c17,'path':[_0x2c34ef,_0x1f8ba2][_0x4c7a2d(0xcb)]('\x5c'),'pure_name':_0x2c5c17['replace'](/_zip$/,''),'import_list':_0x38281b[_0x4c7a2d(0xec)]['find'](_0x2b4265=>_0x2b4265['name']+_0x4c7a2d(0xcd)===_0x2c5c17)[_0x4c7a2d(0xd7)]}));}),_0x2ddf2b[_0x28a419(0xe8)](_0x4fc981=>{const _0x2af58a=_0x28a419,_0x2e5192=_0x4fc981[_0x2af58a(0xd2)],_0x46af4b=_0x4fc981[_0x2af58a(0xbc)],_0x3e35d3=[_0x4fc981[_0x2af58a(0xdc)],'.idea'][_0x2af58a(0xcb)]('//'),_0x25af79=[_0x4fc981[_0x2af58a(0xdc)],_0x2af58a(0xc5)][_0x2af58a(0xcb)]('//');fs[_0x2af58a(0xc0)](_0x3e35d3)&&(f_rm_rf(_0x3e35d3),fs['rmdirSync'](_0x3e35d3));fs[_0x2af58a(0xc0)](_0x25af79)&&fs[_0x2af58a(0xe7)](_0x25af79);_0x46af4b['length']&&fs[_0x2af58a(0xda)](_0x4fc981['path'])[_0x2af58a(0xc8)](_0x26e60f=>!_0x46af4b[_0x2af58a(0xe3)](_0x26e60f)&&_0x26e60f!==_0x2af58a(0xc3)&&_0x26e60f!=='setting.json')[_0x2af58a(0xe8)](_0x29a6fc=>{const _0x897703=_0x2af58a,_0x16acc4=_0x4fc981[_0x897703(0xdc)]+'\x5c'+_0x29a6fc;f_rm_rf(_0x16acc4),fs[_0x897703(0xd5)](_0x16acc4);});if(_0x38281b['installTarget']===_0x2af58a(0xd1)){const _0x362314=_0x2e5192;fs['existsSync'](_0x11d916+'\x5c'+_0x362314)?f_rm_rf(_0x11d916+'\x5c'+_0x362314):fs[_0x2af58a(0xc2)](_0x11d916+'\x5c'+_0x362314),_0x362314!==_0x2af58a(0xbf)?(f_file_copy(_0x4fc981[_0x2af58a(0xdc)],_0x11d916+'\x5c'+_0x362314),f_create_package_json(_0x11d916+'\x5c'+_0x362314,_0x362314,_0x2af58a(0xc4))):f_file_copy(_0x4fc981['path']+_0x2af58a(0xe6),_0x11d916+'\x5c'+_0x362314),f_update_project_package_json(_0x3038f4,_0x362314,_0x2af58a(0xc4));}else _0x38281b['installTarget']==='src'&&(fs[_0x2af58a(0xc0)](_0x169299+_0x2e5192)?f_rm_rf(_0x169299+_0x2e5192):fs[_0x2af58a(0xc2)](_0x169299+_0x2e5192),f_file_copy(_0x4fc981[_0x2af58a(0xdc)],_0x169299+_0x2e5192));}),setTimeout(()=>{const _0x248f51=_0x28a419;f_rm_rf(TEMPLATE_FOLDER),fs[_0x248f51(0xd5)](TEMPLATE_FOLDER);const _0x569040=Date[_0x248f51(0xe9)]();console[_0x248f51(0xe2)]('【jjb-cmd】:install命令执行完成,用时'+(_0x569040-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x42bdb3(0xe2)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -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_0x5f5970=a4_0x457b;function a4_0x2194(){const _0x3a3a38=['filter','readFileSync','react-admin-component','uniapp','&ref=master','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','parse','installResources','234ZQvKvM','installTarget','289408IdKyHb','name','projectId','replace','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_rm_rf','push','【Error】:[jjb.config.json.installResources]无资源。','writeFileSync','includes','./config','jjb-dva-runtime','isArray','f_content_replace','unlinkSync','f_scan_jjb_config_json','f_pull_git_repository','【Error】:[jjb.config.json.projectType]类型是一个string。','token','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','toString','multi','jjb-common','136weywif','72864aCSibQ','log','_zip','vue-unisass-component','987744yObWdd','f_file_copy','spa','projectType','.zip','readdirSync','isDirectory','\x5cjjb.config.json','f_update_project_package_json','exit','jjb-common-lib','\x22,\x22main\x22:\x20\x22index.js\x22}','mkdirSync','forEach','f_resolve_install_resources','string','703764GPpDop','existsSync','/api/v4/projects/','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','1985620OLTnut','stringify','25592vVdvVl','\x22,\x22version\x22:\x22','/repository/archive.zip?private_token=','length','path','321703TmkSqA','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','statSync','{\x22name\x22:\x22'];a4_0x2194=function(){return _0x3a3a38;};return a4_0x2194();}function a4_0x457b(_0x36bd48,_0xe0ade7){const _0x2194bc=a4_0x2194();return a4_0x457b=function(_0x457b57,_0x1ec6df){_0x457b57=_0x457b57-0x155;let _0x183ad4=_0x2194bc[_0x457b57];return _0x183ad4;},a4_0x457b(_0x36bd48,_0xe0ade7);}(function(_0x1ce7ee,_0x4aa815){const _0x210598=a4_0x457b,_0x2e580c=_0x1ce7ee();while(!![]){try{const _0x1501f0=-parseInt(_0x210598(0x18a))/0x1+parseInt(_0x210598(0x198))/0x2+parseInt(_0x210598(0x17f))/0x3+-parseInt(_0x210598(0x16f))/0x4+parseInt(_0x210598(0x183))/0x5+-parseInt(_0x210598(0x196))/0x6*(parseInt(_0x210598(0x185))/0x7)+-parseInt(_0x210598(0x16a))/0x8*(-parseInt(_0x210598(0x16b))/0x9);if(_0x1501f0===_0x4aa815)break;else _0x2e580c['push'](_0x2e580c['shift']());}catch(_0x3205ef){_0x2e580c['push'](_0x2e580c['shift']());}}}(a4_0x2194,0x31849));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x5f5970(0x15d));exports[a4_0x5f5970(0x158)]=function(_0x38ed14){const _0x5c6bf1=a4_0x5f5970;if(fs[_0x5c6bf1(0x180)](_0x38ed14)){const _0xe36c44=fs[_0x5c6bf1(0x174)](_0x38ed14);for(let _0x4ecf52=0x0;_0x4ecf52<_0xe36c44[_0x5c6bf1(0x188)];_0x4ecf52++){const _0x1d0f5a=_0xe36c44[_0x4ecf52],_0x5add87=_0x38ed14+'/'+_0x1d0f5a;fs['statSync'](_0x5add87)['isDirectory']()?(exports[_0x5c6bf1(0x158)](_0x5add87),fs['rmdirSync'](_0x5add87)):fs[_0x5c6bf1(0x161)](_0x5add87);}}},exports[a4_0x5f5970(0x163)]=function(_0x390286=[]){return _0x390286['map'](_0x1b6e88=>{const _0x597449=a4_0x457b,_0x59641a=CLOUD_PROJECT[_0x1b6e88['name']]||undefined,_0x3637b6=os['tmpdir']();return{'path':_0x3637b6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1b6e88[_0x597449(0x199)]+_0x597449(0x173),'compress':_0x3637b6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1b6e88[_0x597449(0x199)]+_0x597449(0x16d),'repository':GIT_HOST+_0x597449(0x181)+_0x59641a[_0x597449(0x155)]+_0x597449(0x187)+_0x59641a[_0x597449(0x165)]+_0x597449(0x192)};});},exports[a4_0x5f5970(0x162)]=function(_0x23d340){const _0x4266e6=a4_0x5f5970;return fs[_0x4266e6(0x180)](_0x23d340+_0x4266e6(0x176));},exports['f_scan_jjb_config_json_rules']=function(_0x4dcaae){const _0xa5ba2=a4_0x5f5970;let _0x407394={};try{_0x407394=JSON['parse'](fs[_0xa5ba2(0x18f)](_0x4dcaae+_0xa5ba2(0x176))['toString']());}catch(_0xfadc94){console['log'](_0xa5ba2(0x182)),process[_0xa5ba2(0x178)](0x0);}!(_0xa5ba2(0x172)in _0x407394)&&(console[_0xa5ba2(0x16c)](_0xa5ba2(0x18b)),process[_0xa5ba2(0x178)](0x0));!(_0xa5ba2(0x197)in _0x407394)&&(console[_0xa5ba2(0x16c)](_0xa5ba2(0x157)),process[_0xa5ba2(0x178)](0x0));!('installResources'in _0x407394)&&(console[_0xa5ba2(0x16c)](_0xa5ba2(0x166)),process[_0xa5ba2(0x178)](0x0));typeof _0x407394['projectType']!==_0xa5ba2(0x17e)&&(console[_0xa5ba2(0x16c)](_0xa5ba2(0x164)),process[_0xa5ba2(0x178)](0x0));![_0xa5ba2(0x168),_0xa5ba2(0x171),_0xa5ba2(0x191),'micro-spa'][_0xa5ba2(0x15c)](_0x407394['projectType'])&&(console['log'](_0xa5ba2(0x193)),process[_0xa5ba2(0x178)](0x0));typeof _0x407394[_0xa5ba2(0x197)]!==_0xa5ba2(0x17e)&&(console['log']('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process['exit'](0x0));!['node_modules','src'][_0xa5ba2(0x15c)](_0x407394[_0xa5ba2(0x197)])&&(console[_0xa5ba2(0x16c)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array['isArray'](_0x407394[_0xa5ba2(0x195)])&&(console[_0xa5ba2(0x16c)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0xa5ba2(0x178)](0x0));_0x407394[_0xa5ba2(0x195)][_0xa5ba2(0x188)]===0x0&&(console[_0xa5ba2(0x16c)](_0xa5ba2(0x15a)),process[_0xa5ba2(0x178)](0x0));const _0x520746=exports[_0xa5ba2(0x17d)](_0x407394[_0xa5ba2(0x195)]);return _0x520746['map'](_0x59a4f4=>_0x59a4f4[_0xa5ba2(0x199)])[_0xa5ba2(0x18e)](_0x6dd7e8=>![_0xa5ba2(0x169),_0xa5ba2(0x15e),_0xa5ba2(0x179),'jjb-common-decorator',_0xa5ba2(0x190),_0xa5ba2(0x16e)][_0xa5ba2(0x15c)](_0x6dd7e8))[_0xa5ba2(0x188)]!==0x0&&(console[_0xa5ba2(0x16c)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process['exit'](0x0)),_0x407394[_0xa5ba2(0x195)]=_0x520746,_0x407394;},exports['f_create_package_json']=function(_0x35e156,_0x472714,_0x8dcbc9){const _0x14125f=a4_0x5f5970;fs['writeFileSync'](_0x35e156+'\x5cpackage.json',_0x14125f(0x18d)+_0x472714+_0x14125f(0x186)+_0x8dcbc9+_0x14125f(0x17a));},exports[a4_0x5f5970(0x17d)]=function(_0x2e3c80=[]){const _0x23e1b3=a4_0x5f5970,_0x1193bb=[];return Array[_0x23e1b3(0x15f)](_0x2e3c80)&&_0x2e3c80[_0x23e1b3(0x17c)](_0x554ddf=>{const _0x113db4=_0x23e1b3;if(Array[_0x113db4(0x15f)](_0x554ddf)){const [_0xd36291,_0x27bc9a=[]]=_0x554ddf;_0x1193bb[_0x113db4(0x159)]({'name':_0xd36291,'importList':_0x27bc9a});}else _0x1193bb[_0x113db4(0x159)]({'name':_0x554ddf,'importList':[]});}),_0x1193bb;},exports[a4_0x5f5970(0x177)]=function(_0x45862b,_0x1dcd79,_0x18973){const _0x17f35d=a4_0x5f5970,_0x582bd7=JSON[_0x17f35d(0x194)](fs[_0x17f35d(0x18f)](_0x45862b)[_0x17f35d(0x167)]());_0x582bd7['dependencies'][_0x1dcd79]=_0x18973,fs['writeFileSync'](_0x45862b,JSON[_0x17f35d(0x184)](_0x582bd7,null,0x2));},exports[a4_0x5f5970(0x170)]=function(_0x5efab8,_0x3153ac){const _0x3676d4=a4_0x5f5970;fs[_0x3676d4(0x174)](_0x5efab8)[_0x3676d4(0x17c)](_0x3096f1=>{const _0x2e0db0=_0x3676d4,_0x164bdd=_0x5efab8+'\x5c'+_0x3096f1,_0x370663=_0x3153ac+'\x5c'+_0x3096f1;fs[_0x2e0db0(0x18c)](_0x164bdd)[_0x2e0db0(0x175)]()?(fs[_0x2e0db0(0x17b)](_0x370663),exports[_0x2e0db0(0x170)](_0x164bdd,_0x370663)):fs[_0x2e0db0(0x15b)](_0x370663,fs['readFileSync'](_0x164bdd)[_0x2e0db0(0x167)]());});},exports[a4_0x5f5970(0x160)]=function(_0x1bf966=[],_0x4dcb1d){_0x1bf966['forEach'](_0x4a95d8=>{const _0x10cc8d=a4_0x457b,_0x22255c=_0x4dcb1d+_0x4a95d8[_0x10cc8d(0x189)];if(fs[_0x10cc8d(0x180)](_0x22255c)){let _0x3acd3c=fs[_0x10cc8d(0x18f)](_0x22255c)[_0x10cc8d(0x167)]();_0x4a95d8['replace'][_0x10cc8d(0x17c)](_0x40a878=>{const _0x2141d5=_0x10cc8d;_0x3acd3c=_0x3acd3c[_0x2141d5(0x156)](_0x40a878[0x0],_0x40a878[0x1]);}),fs[_0x10cc8d(0x15b)](_0x22255c,_0x3acd3c);}});};
@@ -0,0 +1 @@
1
+ function a5_0x270c(){const _0x119ba7=['1175124PgQnMZ','1904660vVpdYU','Finish!','2440025ZgHaqr','/.git','18TMfltf','log','2628536PAdTHw','exports','resolve','4AApnVC','execSync','2khKRGX','git\x20init\x20please\x20wait....','includes','yarn','353644nDxbOG','path','1583361SBjeYS','npx\x20husky\x20install','git\x20init','npm','190204QvKBGP','child_process','install\x20husky\x20please\x20wait....','existsSync'];a5_0x270c=function(){return _0x119ba7;};return a5_0x270c();}function a5_0x73c0(_0x1fb4f1,_0x58ffd2){const _0x270c7e=a5_0x270c();return a5_0x73c0=function(_0x73c0a1,_0x466243){_0x73c0a1=_0x73c0a1-0x18e;let _0x1e2e26=_0x270c7e[_0x73c0a1];return _0x1e2e26;},a5_0x73c0(_0x1fb4f1,_0x58ffd2);}const a5_0x19bbc4=a5_0x73c0;(function(_0x3dd895,_0x85c5b8){const _0x246dba=a5_0x73c0,_0x4022ed=_0x3dd895();while(!![]){try{const _0x174d50=-parseInt(_0x246dba(0x1a0))/0x1*(-parseInt(_0x246dba(0x19c))/0x2)+-parseInt(_0x246dba(0x1a2))/0x3*(-parseInt(_0x246dba(0x19a))/0x4)+parseInt(_0x246dba(0x193))/0x5+-parseInt(_0x246dba(0x190))/0x6+parseInt(_0x246dba(0x1a6))/0x7+parseInt(_0x246dba(0x197))/0x8*(-parseInt(_0x246dba(0x195))/0x9)+-parseInt(_0x246dba(0x191))/0xa;if(_0x174d50===_0x85c5b8)break;else _0x4022ed['push'](_0x4022ed['shift']());}catch(_0x5eb9e3){_0x4022ed['push'](_0x4022ed['shift']());}}}(a5_0x270c,0x56382));const child_process=require(a5_0x19bbc4(0x1a7)),path=require(a5_0x19bbc4(0x1a1)),fs=require('fs');module[a5_0x19bbc4(0x198)]=_0x11aea5=>{const _0x5bada5=a5_0x19bbc4;![_0x5bada5(0x1a5),'yarn'][_0x5bada5(0x19e)](_0x11aea5)&&(console[_0x5bada5(0x196)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process['exit'](0x0));const _0x11babc=path[_0x5bada5(0x199)]('./');console[_0x5bada5(0x196)]('install\x20modules\x20please\x20wait....'),child_process[_0x5bada5(0x19b)](_0x11aea5===_0x5bada5(0x19f)?_0x5bada5(0x19f):'npm\x20install',{'cwd':_0x11babc}),!fs[_0x5bada5(0x18f)](_0x11babc+_0x5bada5(0x194))&&(console[_0x5bada5(0x196)](_0x5bada5(0x19d)),child_process[_0x5bada5(0x19b)](_0x5bada5(0x1a4),{'cwd':_0x11babc})),console[_0x5bada5(0x196)](_0x5bada5(0x18e)),child_process[_0x5bada5(0x19b)](_0x5bada5(0x1a3),{'cwd':_0x11babc}),console[_0x5bada5(0x196)](_0x5bada5(0x192));};
@@ -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_0x27713b=a6_0x11cf;function a6_0x2734(){const _0x38da7d=['3549708qKKVsh','toString','arch','\x5cpackage.json','exit','/api/file/push','发布失败!根目录缺少‘package.json’文件,无法完成发布。','../../../.auth','stringify','push','41649678EBXpRD','data','\x5cdist\x5cindex.js','split','readFileSync','post','Auth\x20NetWork\x20Fail!','【Error】:no\x20auth\x20login','675076BmtVfq','platform','message','log','catch','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','networkInterfaces','3623082fikshi','14pQdMYv','then','4764OztnsV','existsSync','join','exports','3141gSFukO','3848536detbRL','4641440nPKIIj'];a6_0x2734=function(){return _0x38da7d;};return a6_0x2734();}(function(_0x116a9c,_0x2a61bb){const _0x10e4a3=a6_0x11cf,_0x3a3bc6=_0x116a9c();while(!![]){try{const _0x560f2f=-parseInt(_0x10e4a3(0x18a))/0x1+-parseInt(_0x10e4a3(0x191))/0x2+-parseInt(_0x10e4a3(0x198))/0x3*(-parseInt(_0x10e4a3(0x194))/0x4)+-parseInt(_0x10e4a3(0x19a))/0x5+-parseInt(_0x10e4a3(0x19b))/0x6+-parseInt(_0x10e4a3(0x192))/0x7*(parseInt(_0x10e4a3(0x199))/0x8)+parseInt(_0x10e4a3(0x182))/0x9;if(_0x560f2f===_0x2a61bb)break;else _0x3a3bc6['push'](_0x3a3bc6['shift']());}catch(_0x2bd362){_0x3a3bc6['push'](_0x3a3bc6['shift']());}}}(a6_0x2734,0xdd34e));function a6_0x11cf(_0x411668,_0x53babe){const _0x273442=a6_0x2734();return a6_0x11cf=function(_0x11cfda,_0x5228cf){_0x11cfda=_0x11cfda-0x17f;let _0x17b2a3=_0x273442[_0x11cfda];return _0x17b2a3;},a6_0x11cf(_0x411668,_0x53babe);}const path=require('path'),fs=require('fs'),os=require('os'),axios=require('axios'),{API_HOST}=require('../cmd.install/config');module[a6_0x27713b(0x197)]=_0x5f49b4=>{const _0x11e160=a6_0x27713b,_0x3ad375=path[_0x11e160(0x196)](__dirname,_0x11e160(0x17f));!fs[_0x11e160(0x195)](_0x3ad375)&&(console[_0x11e160(0x18d)](_0x11e160(0x189)),process['exit'](0x0));const [_0x48f4fa,_0xe00894]=fs[_0x11e160(0x186)](_0x3ad375)[_0x11e160(0x19c)]()[_0x11e160(0x185)]('/');axios['post'](API_HOST+'/api/auth',{'username':_0x48f4fa,'password':_0xe00894})[_0x11e160(0x193)](_0x683570=>{const _0x1ce5e7=_0x11e160;if(_0x683570['data']['status']){const _0x2d135e=path['resolve']('./'),_0xe6db7c=_0x2d135e+_0x1ce5e7(0x184),_0x595588=_0x2d135e+_0x1ce5e7(0x19e),_0x28b24f=[os['hostname'](),os[_0x1ce5e7(0x18b)](),os[_0x1ce5e7(0x19d)](),new Date()[_0x1ce5e7(0x19c)](),JSON['stringify'](os[_0x1ce5e7(0x190)](),null,'\x09')];if(fs['existsSync'](_0x595588)){if(fs[_0x1ce5e7(0x195)](_0xe6db7c)){const _0x3800d4=JSON['parse'](fs['readFileSync'](_0x595588)[_0x1ce5e7(0x19c)]()),{name:_0x216e74,version:_0x5f329e}=_0x3800d4;_0x28b24f[_0x1ce5e7(0x181)](JSON[_0x1ce5e7(0x180)](_0x3800d4)),axios[_0x1ce5e7(0x187)](API_HOST+_0x1ce5e7(0x1a0),{'username':_0x48f4fa,'log_text':_0x28b24f[_0x1ce5e7(0x196)]('\x0a'),'package_name':_0x216e74,'package_version':_0x5f49b4?_0x5f49b4:_0x5f329e,'package_content':fs[_0x1ce5e7(0x186)](_0xe6db7c)[_0x1ce5e7(0x19c)]()})[_0x1ce5e7(0x193)](_0x197a35=>{const _0x3feb9e=_0x1ce5e7;console[_0x3feb9e(0x18d)](_0x197a35[_0x3feb9e(0x183)][_0x3feb9e(0x18c)]),process[_0x3feb9e(0x19f)](0x0);})[_0x1ce5e7(0x18e)](_0x19e416=>{const _0x37e096=_0x1ce5e7;console[_0x37e096(0x18d)](_0x19e416),console[_0x37e096(0x18d)]('网络异常。'),process[_0x37e096(0x19f)](0x0);});}else console[_0x1ce5e7(0x18d)](_0x1ce5e7(0x18f)),process[_0x1ce5e7(0x19f)](0x0);}else console[_0x1ce5e7(0x18d)](_0x1ce5e7(0x1a1)),process['exit'](0x0);}else console[_0x1ce5e7(0x18d)]('Auth\x20Fail!');})[_0x11e160(0x18e)](_0x59cd10=>{const _0x514e08=_0x11e160;console[_0x514e08(0x18d)](_0x514e08(0x188));});};
@@ -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_0x2e925d=a7_0x5ba4;(function(_0x2c642f,_0x12828d){const _0x25bb15=a7_0x5ba4,_0x11b282=_0x2c642f();while(!![]){try{const _0x17a6d2=-parseInt(_0x25bb15(0x16d))/0x1*(parseInt(_0x25bb15(0x165))/0x2)+-parseInt(_0x25bb15(0x16b))/0x3+parseInt(_0x25bb15(0x187))/0x4+parseInt(_0x25bb15(0x15c))/0x5+-parseInt(_0x25bb15(0x177))/0x6*(-parseInt(_0x25bb15(0x17d))/0x7)+-parseInt(_0x25bb15(0x154))/0x8*(parseInt(_0x25bb15(0x162))/0x9)+-parseInt(_0x25bb15(0x163))/0xa;if(_0x17a6d2===_0x12828d)break;else _0x11b282['push'](_0x11b282['shift']());}catch(_0x1052d1){_0x11b282['push'](_0x11b282['shift']());}}}(a7_0x23d0,0x4f5ec));function a7_0x5ba4(_0x3cbff8,_0x28fcb6){const _0x23d08d=a7_0x23d0();return a7_0x5ba4=function(_0x5ba4c4,_0x20f762){_0x5ba4c4=_0x5ba4c4-0x154;let _0xc910b4=_0x23d08d[_0x5ba4c4];return _0xc910b4;},a7_0x5ba4(_0x3cbff8,_0x28fcb6);}const fs=require('fs'),os=require('os'),path=require(a7_0x2e925d(0x16c)),child_process=require(a7_0x2e925d(0x173)),{CopyFolder,DeleteDirAllFile}=require(a7_0x2e925d(0x181)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x2e925d(0x170)),axios=require('axios');module['exports']=arguments=>{const _0x712e6=a7_0x2e925d,_0x25713b=path[_0x712e6(0x18a)](__dirname,_0x712e6(0x156));!fs[_0x712e6(0x178)](_0x25713b)&&(console[_0x712e6(0x172)](_0x712e6(0x184)),process[_0x712e6(0x17f)](0x0));const _0xc9054e=arguments[0x1],_0x3cad9b=arguments[0x2]||_0x712e6(0x167),_0x48b8cc=path[_0x712e6(0x189)]('./'),_0x276e96=_0x48b8cc+'\x5cjjb.config.json',_0xc6119f=_0x48b8cc+'\x5cdist',_0x3fed89=os[_0x712e6(0x186)](),[_0x32866f,_0x423f88]=fs[_0x712e6(0x179)](_0x25713b)['toString']()[_0x712e6(0x183)]('/');axios[_0x712e6(0x185)](API_HOST+_0x712e6(0x155),{'username':_0x32866f,'password':_0x423f88})['then'](_0x444bda=>{const _0x31cd39=_0x712e6;if(_0x444bda['data'][_0x31cd39(0x169)]){if(fs[_0x31cd39(0x178)](_0x276e96)){const _0x283815=JSON[_0x31cd39(0x17c)](fs[_0x31cd39(0x179)](_0x276e96)[_0x31cd39(0x15a)]());if(_0x283815[_0x31cd39(0x171)]){const _0x3173ef=_0x3fed89+'/'+GIT_TEMP_JAVA;!fs[_0x31cd39(0x178)](_0x3173ef)&&(fs[_0x31cd39(0x15d)](_0x3173ef),child_process[_0x31cd39(0x180)](_0x31cd39(0x174)+_0x283815['git'],{'cwd':_0x3173ef})),_0x180287(_0x3173ef,_0x283815);}else console[_0x31cd39(0x172)](_0x31cd39(0x159));}}else console[_0x31cd39(0x172)](_0x31cd39(0x176));})[_0x712e6(0x166)](_0x1914dc=>{const _0x5d03aa=_0x712e6;console[_0x5d03aa(0x172)](_0x5d03aa(0x182));});arguments[_0x712e6(0x158)]<0x2&&(console['log']('【Error】:参数传递错误'),process[_0x712e6(0x17f)](0x0));function _0x180287(_0x56e77f,_0x200503){const _0xf85993=_0x712e6,_0x1547f4=_0x56e77f+'/'+_0x200503['gitName'];!fs[_0xf85993(0x178)](_0x1547f4)&&(console[_0xf85993(0x172)](_0xf85993(0x15b)),process[_0xf85993(0x17f)](0x0));child_process[_0xf85993(0x180)](_0xf85993(0x16a),{'cwd':_0x1547f4});!fs[_0xf85993(0x178)](_0x48b8cc+_0xf85993(0x17e))?(console[_0xf85993(0x172)](_0xf85993(0x15f)),child_process[_0xf85993(0x180)](_0xf85993(0x16e),{'cwd':_0x48b8cc}),console[_0xf85993(0x172)]('yarn\x20install\x20Done!')):console[_0xf85993(0x172)](_0xf85993(0x157)+_0xc9054e+_0xf85993(0x168));child_process['execSync']('yarn\x20build:'+_0xc9054e,{'cwd':_0x48b8cc}),console[_0xf85993(0x172)](_0xf85993(0x161));if(fs[_0xf85993(0x178)](_0xc6119f)){const _0x5125bb=_0x1547f4+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0xc9054e];DeleteDirAllFile(_0x5125bb,()=>{const _0xb5a41f=_0xf85993;fs[_0xb5a41f(0x15d)](_0x5125bb),CopyFolder(_0xc6119f,_0x5125bb,()=>{const _0x15fcd3=_0xb5a41f;console[_0x15fcd3(0x172)](_0x15fcd3(0x160)),setTimeout(()=>{const _0x3cbf74=_0x15fcd3;child_process[_0x3cbf74(0x180)](_0x3cbf74(0x15e),{'cwd':_0x1547f4}),console['log']('Git\x20Add\x20Done,git\x20commit,please\x20wait...');try{child_process[_0x3cbf74(0x180)](_0x3cbf74(0x17a)+_0x3cad9b+_0x3cbf74(0x164),{'cwd':_0x1547f4}),console[_0x3cbf74(0x172)](_0x3cbf74(0x17b));}catch(_0x282e4a){console[_0x3cbf74(0x172)](_0x3cbf74(0x188));}child_process[_0x3cbf74(0x180)]('git\x20push\x20-f',{'cwd':_0x1547f4}),console[_0x3cbf74(0x172)](_0x3cbf74(0x16f));},0x3e8);});});}else console[_0xf85993(0x172)](_0xf85993(0x175));}};function a7_0x23d0(){const _0x466be6=['【Error】:打包失败,没有dist目录!','Auth\x20Fail!','30mxGWLR','existsSync','readFileSync','git\x20commit\x20-m\x20','Git\x20Commit\x20Done,git\x20push,please\x20wait...','parse','699279adNMfX','/node_modules','exit','execSync','../../old/util','Auth\x20NetWork\x20Fail!','split','【Error】:no\x20auth\x20login','post','tmpdir','2434532lmRorv','【warning】:no\x20commit,git\x20push,please\x20wait...','resolve','join','200ZRLylu','/api/auth','../../../.auth','Git\x20Pull\x20Done,yarn\x20build:','length','【Error】:no\x20setting\x20git','toString','【Error】:no\x20setting\x20gitName','1956485JIEWjo','mkdirSync','git\x20add\x20.','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','Project\x20build\x20Done,copy\x20project,please\x20wait...','201825TEoHyY','446530bmYNyK','\x20--no-verify','32RzRwXr','catch','no\x20message',',please\x20wait...','status','git\x20pull','1493847MQxUvn','path','4443sGdVfj','yarn','Git\x20Push\x20Done!','../cmd.install/config','git','log','child_process','git\x20clone\x20'];a7_0x23d0=function(){return _0x466be6;};return a7_0x23d0();}
@@ -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
+ function a8_0x2522(){const _0x57b62f=['127208TcotmM','exit','225hXLdzq','101090lqjPHB','message','components','1091222jkMnlz','10mdJZaS','post','data','server','port','网络异常。','902232dauEHn','14860ZwecQn','then','catch','log','3TSuMEc','531354HFErgD','7BalKvD','114654uyKLIy'];a8_0x2522=function(){return _0x57b62f;};return a8_0x2522();}(function(_0x1af5eb,_0x28ff07){const _0x22231d=a8_0x2d77,_0x4ddd40=_0x1af5eb();while(!![]){try{const _0x28aec5=parseInt(_0x22231d(0x126))/0x1*(parseInt(_0x22231d(0x12d))/0x2)+parseInt(_0x22231d(0x127))/0x3+parseInt(_0x22231d(0x122))/0x4*(-parseInt(_0x22231d(0x12c))/0x5)+-parseInt(_0x22231d(0x129))/0x6+-parseInt(_0x22231d(0x128))/0x7*(-parseInt(_0x22231d(0x12a))/0x8)+parseInt(_0x22231d(0x121))/0x9*(-parseInt(_0x22231d(0x131))/0xa)+parseInt(_0x22231d(0x130))/0xb;if(_0x28aec5===_0x28ff07)break;else _0x4ddd40['push'](_0x4ddd40['shift']());}catch(_0x385eef){_0x4ddd40['push'](_0x4ddd40['shift']());}}}(a8_0x2522,0x2668c));function a8_0x2d77(_0x46a447,_0xca2bc5){const _0x2522b3=a8_0x2522();return a8_0x2d77=function(_0x2d777c,_0x57ad49){_0x2d777c=_0x2d777c-0x120;let _0x136916=_0x2522b3[_0x2d777c];return _0x136916;},a8_0x2d77(_0x46a447,_0xca2bc5);}const axios=require('axios');module['exports']=_0x31654a=>{const _0x15ca37=a8_0x2d77;axios[_0x15ca37(0x132)]('http://120.26.210.58:8088/api/file/config')[_0x15ca37(0x123)](_0x5447d0=>{const _0x5e2501=_0x15ca37;if(_0x5447d0[_0x5e2501(0x133)]['status']){const _0x108c07=_0x5447d0[_0x5e2501(0x133)][_0x5e2501(0x133)];_0x31654a===_0x5e2501(0x134)&&(console[_0x5e2501(0x125)](_0x108c07['host']),console['log'](_0x108c07[_0x5e2501(0x135)])),_0x31654a===_0x5e2501(0x12f)&&console[_0x5e2501(0x125)](_0x108c07[_0x5e2501(0x12f)]);}else console['log'](_0x5447d0[_0x5e2501(0x133)][_0x5e2501(0x12e)]);process[_0x5e2501(0x12b)](0x0);})[_0x15ca37(0x124)](()=>{const _0x4b38e5=_0x15ca37;console[_0x4b38e5(0x125)](_0x4b38e5(0x120)),process[_0x4b38e5(0x12b)](0x0);});};
@@ -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_0xac1303=a9_0x3cef;(function(_0x46d3fa,_0x498cfc){const _0xd68c01=a9_0x3cef,_0x3012b6=_0x46d3fa();while(!![]){try{const _0x55111a=-parseInt(_0xd68c01(0x94))/0x1*(-parseInt(_0xd68c01(0x9a))/0x2)+-parseInt(_0xd68c01(0xa9))/0x3*(-parseInt(_0xd68c01(0x98))/0x4)+-parseInt(_0xd68c01(0xa7))/0x5*(parseInt(_0xd68c01(0xa0))/0x6)+parseInt(_0xd68c01(0x92))/0x7+-parseInt(_0xd68c01(0x9b))/0x8*(-parseInt(_0xd68c01(0x93))/0x9)+parseInt(_0xd68c01(0xaf))/0xa*(parseInt(_0xd68c01(0xac))/0xb)+parseInt(_0xd68c01(0xae))/0xc*(-parseInt(_0xd68c01(0xa4))/0xd);if(_0x55111a===_0x498cfc)break;else _0x3012b6['push'](_0x3012b6['shift']());}catch(_0x5ae77c){_0x3012b6['push'](_0x3012b6['shift']());}}}(a9_0x25bc,0x9e6cb));const fs=require('fs'),path=require(a9_0xac1303(0xa1)),readline=require(a9_0xac1303(0xb0)),io=readline[a9_0xac1303(0x9c)]({'input':process[a9_0xac1303(0x91)],'output':process[a9_0xac1303(0xb1)]});function a9_0x3cef(_0x190470,_0x41894e){const _0x25bc84=a9_0x25bc();return a9_0x3cef=function(_0x3cefcd,_0x425dfb){_0x3cefcd=_0x3cefcd-0x8d;let _0x1c9956=_0x25bc84[_0x3cefcd];return _0x1c9956;},a9_0x3cef(_0x190470,_0x41894e);}let f_total=0x0;function a9_0x25bc(){const _0x4003d1=['正在计算项目数,请稍等...','clear','statSync','取消删除。','stdin','8656599JuZPCD','3573SxnFNr','1xAkQtx','unlinkSync','是否确认删除?删除后不可恢复![y/n]:','existsSync','927148TdgDtE','exit','84054jhZMUf','12984IZnDfc','createInterface','length','trim','删除异常:','5335122eUnSeR','path','无效操作。','rmdirSync','13JJnwuD','readdirSync','exports','5oBMSTI','删除文件:','3lgfJLN','删除完成。','question','22nJpAvS','log','10360968EJZnFd','1233530gvJJYY','readline','stdout'];a9_0x25bc=function(){return _0x4003d1;};return a9_0x25bc();}module[a9_0xac1303(0xa6)]=function(){const _0x1e8040=a9_0xac1303,_0x29a467=path['resolve']('./');io[_0x1e8040(0xab)](_0x1e8040(0x96),function(_0x3479d9){const _0x4ac8b7=_0x1e8040;if(_0x3479d9['trim']()==='y')console[_0x4ac8b7(0xad)](_0x4ac8b7(0x8d)),setTimeout(()=>{setTimeout(()=>{const _0x1de370=a9_0x3cef;console[_0x1de370(0x8e)](),exec(_0x29a467),setTimeout(()=>{const _0x452197=_0x1de370;console[_0x452197(0xad)](_0x452197(0xaa)),console[_0x452197(0x8e)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3479d9[_0x4ac8b7(0x9e)]()==='n'?(console[_0x4ac8b7(0xad)](_0x4ac8b7(0x90)),process[_0x4ac8b7(0x99)](0x0)):(console[_0x4ac8b7(0xad)](_0x4ac8b7(0xa2)),process[_0x4ac8b7(0x99)](0x0));});};function exec(_0x20507a){const _0x30f58b=a9_0xac1303;if(fs[_0x30f58b(0x97)](_0x20507a)){const _0x5de84d=fs[_0x30f58b(0xa5)](_0x20507a);for(let _0x26c26b=0x0;_0x26c26b<_0x5de84d[_0x30f58b(0x9d)];_0x26c26b++){const _0x37afaa=_0x5de84d[_0x26c26b],_0x5a1d41=_0x20507a+'/'+_0x37afaa;try{fs[_0x30f58b(0x8f)](_0x5a1d41)['isDirectory']()?(exec(_0x5a1d41),fs[_0x30f58b(0xa3)](_0x5a1d41,{'recursive':!![]}),console[_0x30f58b(0xad)]('删除文件夹:'+_0x5a1d41)):(fs[_0x30f58b(0x95)](_0x5a1d41),console[_0x30f58b(0xad)](_0x30f58b(0xa8)+_0x5a1d41));}catch(_0x196684){console[_0x30f58b(0xad)](_0x30f58b(0x9f)+_0x5a1d41);}}}}
@@ -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_0x4f7822=a10_0x160e;function a10_0x4aa7(){const _0x1ec695=['查询失败!根目录缺少‘package.json’文件,无法完成查询。','exit','parse','readFileSync','13634QpsiaL','message','2051KpSUue','then','786xryova','10662dTblYe','catch','157617HSZciN','230623wOohYY','610gNFGWT','2341824WKZAEW','data','toString','exports','356hbUfzG','log','390880qHYfxO','\x5cpackage.json','http://120.26.210.58:8088/api/file/version'];a10_0x4aa7=function(){return _0x1ec695;};return a10_0x4aa7();}(function(_0x402ea3,_0x5337a2){const _0x9c4b2=a10_0x160e,_0x2d1bce=_0x402ea3();while(!![]){try{const _0x57b781=-parseInt(_0x9c4b2(0xb4))/0x1+parseInt(_0x9c4b2(0xac))/0x2+-parseInt(_0x9c4b2(0xb1))/0x3*(parseInt(_0x9c4b2(0xba))/0x4)+-parseInt(_0x9c4b2(0xbc))/0x5+-parseInt(_0x9c4b2(0xb0))/0x6*(-parseInt(_0x9c4b2(0xae))/0x7)+-parseInt(_0x9c4b2(0xb6))/0x8+-parseInt(_0x9c4b2(0xb3))/0x9*(-parseInt(_0x9c4b2(0xb5))/0xa);if(_0x57b781===_0x5337a2)break;else _0x2d1bce['push'](_0x2d1bce['shift']());}catch(_0x237888){_0x2d1bce['push'](_0x2d1bce['shift']());}}}(a10_0x4aa7,0x2fc4c));function a10_0x160e(_0x2094aa,_0xd6be70){const _0x4aa7a6=a10_0x4aa7();return a10_0x160e=function(_0x160e76,_0x5e7749){_0x160e76=_0x160e76-0xa6;let _0x1a6594=_0x4aa7a6[_0x160e76];return _0x1a6594;},a10_0x160e(_0x2094aa,_0xd6be70);}const path=require('path'),fs=require('fs'),axios=require('axios');module[a10_0x4f7822(0xb9)]=()=>{const _0x189c3a=a10_0x4f7822,_0x46a91b=path['resolve']('./'),_0x1d8dab=_0x46a91b+_0x189c3a(0xa6);if(fs['existsSync'](_0x1d8dab)){const _0x26c669=JSON[_0x189c3a(0xaa)](fs[_0x189c3a(0xab)](_0x1d8dab)[_0x189c3a(0xb8)]()),{name:_0x5eee92}=_0x26c669;axios['post'](_0x189c3a(0xa7),{'package_name':_0x5eee92})[_0x189c3a(0xaf)](_0x180050=>{const _0x1ff5cb=_0x189c3a;_0x180050['data']['status']?console[_0x1ff5cb(0xbb)](_0x180050[_0x1ff5cb(0xb7)][_0x1ff5cb(0xb7)]):console['log'](_0x180050[_0x1ff5cb(0xb7)][_0x1ff5cb(0xad)]),process[_0x1ff5cb(0xa9)](0x0);})[_0x189c3a(0xb2)](()=>{const _0x4ffb0f=_0x189c3a;console[_0x4ffb0f(0xbb)]('网络异常。'),process[_0x4ffb0f(0xa9)](0x0);});}else console[_0x189c3a(0xbb)](_0x189c3a(0xa8)),process[_0x189c3a(0xa9)](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_0x5e75d8=a11_0x22ca;(function(_0x1e7200,_0x1fa68f){const _0x2b71e3=a11_0x22ca,_0x1fe43d=_0x1e7200();while(!![]){try{const _0x1ddeb4=parseInt(_0x2b71e3(0x145))/0x1+-parseInt(_0x2b71e3(0x14e))/0x2+-parseInt(_0x2b71e3(0x156))/0x3*(-parseInt(_0x2b71e3(0x148))/0x4)+-parseInt(_0x2b71e3(0x14f))/0x5*(parseInt(_0x2b71e3(0x14c))/0x6)+-parseInt(_0x2b71e3(0x154))/0x7*(parseInt(_0x2b71e3(0x142))/0x8)+-parseInt(_0x2b71e3(0x152))/0x9+parseInt(_0x2b71e3(0x147))/0xa;if(_0x1ddeb4===_0x1fa68f)break;else _0x1fe43d['push'](_0x1fe43d['shift']());}catch(_0x581af2){_0x1fe43d['push'](_0x1fe43d['shift']());}}}(a11_0x59ae,0x1f58f));const path=require(a11_0x5e75d8(0x14a)),readline=require('readline'),{f_file_copy}=require(a11_0x5e75d8(0x141)),fs=require('fs');function a11_0x59ae(){const _0x350ca1=['\x5cpackage.json','\x5cjjb.script','1525887dmWPps','\x5cpublic','112DWdcSK','\x5ccli.init','10353lUsvKD','\x5cjjb.config.json','./cli.install/tools','26240XGtwZZ','exports','exit','151612UEgaKV','existsSync','4168680wpdCrw','24gbHHIE','log','path','\x5cwebstorm.config.js','3126KSBuNl','初始化失败,文件已存在!','376454GWvUmJ','485XejcSI'];a11_0x59ae=function(){return _0x350ca1;};return a11_0x59ae();}function a11_0x22ca(_0x2270d9,_0x3c3d3e){const _0x59aed4=a11_0x59ae();return a11_0x22ca=function(_0x22ca45,_0x847b3e){_0x22ca45=_0x22ca45-0x140;let _0x65bcbc=_0x59aed4[_0x22ca45];return _0x65bcbc;},a11_0x22ca(_0x2270d9,_0x3c3d3e);}module[a11_0x5e75d8(0x143)]=()=>{const _0x4353ce=a11_0x5e75d8,_0x736ca9=path['resolve']('./');!fs[_0x4353ce(0x146)](_0x736ca9+_0x4353ce(0x151))&&!fs[_0x4353ce(0x146)](_0x736ca9+_0x4353ce(0x153))&&!fs['existsSync'](_0x736ca9+_0x4353ce(0x140))&&!fs['existsSync'](_0x736ca9+_0x4353ce(0x150))&&!fs['existsSync'](_0x736ca9+_0x4353ce(0x14b))?(f_file_copy(__dirname+_0x4353ce(0x155),_0x736ca9),console[_0x4353ce(0x149)]('初始化完成!'),process[_0x4353ce(0x144)](0x0)):(console[_0x4353ce(0x149)](_0x4353ce(0x14d)),process[_0x4353ce(0x144)](0x0));};
@@ -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
+ function a12_0x2f5a(){const _0x54e92e=['GIT_TEMP_DIR','TEMPLATE_FOLDER','16HabWwc','tmpdir','\x5cRouterMenu\x5cindex.js','jjb-common/website','CLI_DVA_ROUTER_SPA','common/crypto','316806NrHDSH','\x5c..\x5ccli.dva.register.spa.txt','\x5cImageUploader\x5cindex.js','\x5ctools\x5cindex.js','2080HcIStq','common/tools','FT3pKzxpRynFkmddJ9Bs','COMMON_CONTENT_MICRO_REPLACE','jjb-common/color','jjb-common/http','components','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','jjb-react-admin-component','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','e9njpBd1nS_LREN8GFpR','CLOUD_PROJECT','13072MtkJVw','COMMON_CONTENT_SPA_REPLACE','gPSit8aJsLVmNzuQ5Cy4','d4wQ7dzEjYPsgVbKnYei','1195738dumyZT','CLI_DVA_ROUTER_PATH','CLI_DVA_ROUTER_SAAS','common/http','common/color','jjbAssembly_','jjb-common/tools','1180968TkIyFh','\x5c..\x5ccli.dva.register.saas.txt','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','CLI_DVA_REGISTER_SPA','9423365BLNTnW','CLI_DVA_REGISTER_PATH','common/website','\x5cwebsite\x5cindex.js','now','G4HJRsHr9D7Ssmixegw2','13745144TVPWfw','hLqARY89CN6fUD3yg4NL','33287202WrJHoE','COMMON_CONTENT_NOR_REPLACE','jjb-common/crypto','\x5c..\x5ccli.dva.router.spa.txt','return\x20process.env;'];a12_0x2f5a=function(){return _0x54e92e;};return a12_0x2f5a();}function a12_0x25ea(_0x4c1e44,_0x220faf){const _0x2f5a71=a12_0x2f5a();return a12_0x25ea=function(_0x25eae0,_0xbe3796){_0x25eae0=_0x25eae0-0x99;let _0xb70b22=_0x2f5a71[_0x25eae0];return _0xb70b22;},a12_0x25ea(_0x4c1e44,_0x220faf);}const a12_0x1df4cc=a12_0x25ea;(function(_0xc17fde,_0x35010c){const _0x83c01c=a12_0x25ea,_0x2678db=_0xc17fde();while(!![]){try{const _0x3fc612=-parseInt(_0x83c01c(0xa2))/0x1+-parseInt(_0x83c01c(0xbc))/0x2*(parseInt(_0x83c01c(0xc2))/0x3)+-parseInt(_0x83c01c(0x9e))/0x4*(parseInt(_0x83c01c(0xc6))/0x5)+parseInt(_0x83c01c(0xa9))/0x6+-parseInt(_0x83c01c(0xad))/0x7+parseInt(_0x83c01c(0xb3))/0x8+parseInt(_0x83c01c(0xb5))/0x9;if(_0x3fc612===_0x35010c)break;else _0x2678db['push'](_0x2678db['shift']());}catch(_0x4b2404){_0x2678db['push'](_0x2678db['shift']());}}}(a12_0x2f5a,0xd3bf0));const os=require('os');exports['GIT_HOST']='http://192.168.1.242:10985',exports[a12_0x1df4cc(0xba)]=a12_0x1df4cc(0xa7)+Date[a12_0x1df4cc(0xb1)](),exports[a12_0x1df4cc(0x9d)]={'common':{'token':a12_0x1df4cc(0xb2),'projectId':0x117},'react-admin-component':{'token':a12_0x1df4cc(0xc8),'projectId':0x154},'jjb-dva-runtime':{'token':a12_0x1df4cc(0xb4),'projectId':0x23b},'jjb-common-lib':{'token':a12_0x1df4cc(0x9c),'projectId':0x23c},'jjb-common-decorator':{'token':a12_0x1df4cc(0xa0),'projectId':0x23e},'vue-unisass-component':{'token':a12_0x1df4cc(0xa1),'projectId':0x153}},exports[a12_0x1df4cc(0xbb)]=os[a12_0x1df4cc(0xbd)]()+'\x5c'+exports['GIT_TEMP_DIR'],exports[a12_0x1df4cc(0xc0)]=__dirname+a12_0x1df4cc(0xb8),exports[a12_0x1df4cc(0xa4)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a12_0x1df4cc(0xac)]=__dirname+a12_0x1df4cc(0xc3),exports['CLI_DVA_REGISTER_SAAS']=__dirname+a12_0x1df4cc(0xaa),exports[a12_0x1df4cc(0xa3)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a12_0x1df4cc(0xae)]=a12_0x1df4cc(0x9a),exports[a12_0x1df4cc(0xb6)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a12_0x1df4cc(0xcc),'jjb-react-admin-component']]},{'path':a12_0x1df4cc(0xb0),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a12_0x1df4cc(0xcd)],[a12_0x1df4cc(0xcc),a12_0x1df4cc(0x99)]]}],exports[a12_0x1df4cc(0x9f)]=[{'path':a12_0x1df4cc(0xc5),'replace':[['return\x20__planA();',a12_0x1df4cc(0xb9)]]}],exports[a12_0x1df4cc(0xc9)]=[{'path':a12_0x1df4cc(0xc5),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':'\x5cEditor\x5cindex.js','replace':[[a12_0x1df4cc(0xa5),'jjb-common/http'],[a12_0x1df4cc(0xc1),a12_0x1df4cc(0xb7)],[a12_0x1df4cc(0xc7),'jjb-common/tools']]},{'path':'\x5cRejectText\x5cindex.js','replace':[['common/color',a12_0x1df4cc(0xca)]]},{'path':a12_0x1df4cc(0xbe),'replace':[[a12_0x1df4cc(0xc7),a12_0x1df4cc(0xa8)]]},{'path':'\x5cFileUploader\x5cindex.js','replace':[[a12_0x1df4cc(0xa5),a12_0x1df4cc(0xcb)],[a12_0x1df4cc(0xc7),'jjb-common/tools']]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a12_0x1df4cc(0xa5),a12_0x1df4cc(0xcb)],[a12_0x1df4cc(0xc7),a12_0x1df4cc(0xa8)]]},{'path':a12_0x1df4cc(0xc4),'replace':[[a12_0x1df4cc(0xa5),a12_0x1df4cc(0xcb)],[a12_0x1df4cc(0xc7),a12_0x1df4cc(0xa8)]]},{'path':a12_0x1df4cc(0x9b),'replace':[[a12_0x1df4cc(0xa6),a12_0x1df4cc(0xca)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a12_0x1df4cc(0xc7),a12_0x1df4cc(0xa8)]]},{'path':a12_0x1df4cc(0xab),'replace':[[a12_0x1df4cc(0xaf),a12_0x1df4cc(0xbf)],[a12_0x1df4cc(0xc7),a12_0x1df4cc(0xa8)]]}];
@@ -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
+ function a13_0x284e(_0x53a9db,_0x24cf8f){const _0x33e605=a13_0x33e6();return a13_0x284e=function(_0x284ee7,_0x7199c9){_0x284ee7=_0x284ee7-0x192;let _0x4067cd=_0x33e605[_0x284ee7];return _0x4067cd;},a13_0x284e(_0x53a9db,_0x24cf8f);}const a13_0x33bb7b=a13_0x284e;function a13_0x33e6(){const _0x1622c5=['installTarget','readFileSync','importList','join','filter','export\x20{\x20default\x20as\x20','9139018lVWJRN','6394218PszMkl','react-admin-component','length','1237992IOqVCz','name','2jbMsPG','jjb-common','compress','_zip','includes','rmdirSync','writeFileSync','import_list','【Error】:安装失败,src目录不存在。','path','setting.json','1.0.0','vue-unisass-component','push','mkdirSync','94599AbEhAu','unlinkSync','map','replace','RouterContainer','\x5cdva\x5cautomatic','8NVZfXZ','close','./config','projectType','now','index.js','5544027ZaKBEo','readdirSync','./tools','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','.gitignore','916132rbEejE','\x5cindex.js','spa','resolve','uncompress','installResources','10XUpMWM','node_modules','createWriteStream','.idea','exit','existsSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','src','pipe','\x20}\x20from\x20\x27./','request','micro-spa','【jjb-cmd】:install命令执行完成,用时','log','forEach','5092360ytGydW','package.json'];a13_0x33e6=function(){return _0x1622c5;};return a13_0x33e6();}(function(_0x16c55f,_0x366890){const _0xf72f07=a13_0x284e,_0x3dc30d=_0x16c55f();while(!![]){try{const _0x5e3348=parseInt(_0xf72f07(0x1d0))/0x1+parseInt(_0xf72f07(0x1d2))/0x2*(parseInt(_0xf72f07(0x19e))/0x3)+parseInt(_0xf72f07(0x1af))/0x4+parseInt(_0xf72f07(0x1c4))/0x5+-parseInt(_0xf72f07(0x1cd))/0x6+-parseInt(_0xf72f07(0x1cc))/0x7*(parseInt(_0xf72f07(0x1a4))/0x8)+parseInt(_0xf72f07(0x1aa))/0x9*(parseInt(_0xf72f07(0x1b5))/0xa);if(_0x5e3348===_0x366890)break;else _0x3dc30d['push'](_0x3dc30d['shift']());}catch(_0x53f031){_0x3dc30d['push'](_0x3dc30d['shift']());}}}(a13_0x33e6,0xb9f9c));const fs=require('fs'),path=require(a13_0x33bb7b(0x198)),request=require(a13_0x33bb7b(0x1bf)),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_0x33bb7b(0x1ac)),{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_0x33bb7b(0x1a6)),start_time=Date[a13_0x33bb7b(0x1a8)]();module['exports']=()=>{const _0x1e35bd=a13_0x33bb7b,_0x43ff17=path[_0x1e35bd(0x1b2)]('./'),_0x3501ec=[_0x43ff17,'src\x5c']['join']('\x5c'),_0x7ccb99=[_0x43ff17,_0x1e35bd(0x1b6)][_0x1e35bd(0x1c9)]('\x5c'),_0x153c23=[_0x43ff17,_0x1e35bd(0x1c5)][_0x1e35bd(0x1c9)]('\x5c');if(f_scan_jjb_config_json(_0x43ff17)){const _0x294197=f_scan_jjb_config_json_rules(_0x43ff17);_0x294197[_0x1e35bd(0x1c6)]===_0x1e35bd(0x1b6)?!fs['existsSync'](_0x7ccb99)?(console[_0x1e35bd(0x1c2)]('【Error】:安装失败,node_modules目录不存在。'),process[_0x1e35bd(0x1b9)](0x0)):console[_0x1e35bd(0x1c2)](_0x1e35bd(0x1bb)):!fs[_0x1e35bd(0x1ba)](_0x3501ec)&&(console[_0x1e35bd(0x1c2)](_0x1e35bd(0x197)),process[_0x1e35bd(0x1b9)](0x0));fs[_0x1e35bd(0x19d)](TEMPLATE_FOLDER),f_pull_git_repository(_0x294197['installResources'])[_0x1e35bd(0x1a0)](_0x17abd2=>{const _0x2b78bf=_0x1e35bd,_0x27c95b=fs[_0x2b78bf(0x1b7)](_0x17abd2[_0x2b78bf(0x198)]);request(_0x17abd2['repository'])[_0x2b78bf(0x1bd)](_0x27c95b)['on'](_0x2b78bf(0x1a5),()=>{const _0x9de2e8=_0x2b78bf;fs['mkdirSync'](_0x17abd2[_0x9de2e8(0x1d4)]),compressing['zip'][_0x9de2e8(0x1b3)](_0x17abd2['path'],_0x17abd2['compress']);});});const _0x1476df=setInterval(()=>{const _0x12b0c0=_0x1e35bd,_0x332fe2=fs[_0x12b0c0(0x1ab)](TEMPLATE_FOLDER),_0x791ec5=_0x332fe2['filter'](_0x3263a3=>_0x294197[_0x12b0c0(0x1b4)][_0x12b0c0(0x1a0)](_0x207f74=>_0x207f74[_0x12b0c0(0x1d1)]+_0x12b0c0(0x192))[_0x12b0c0(0x193)](_0x3263a3));if(_0x791ec5[_0x12b0c0(0x1cf)]===_0x294197[_0x12b0c0(0x1b4)][_0x12b0c0(0x1cf)]){clearInterval(_0x1476df);const _0x30e35d=[];_0x791ec5[_0x12b0c0(0x1c3)](_0x4084d9=>{const _0xd1ca95=_0x12b0c0,_0x512b80=[TEMPLATE_FOLDER,_0x4084d9][_0xd1ca95(0x1c9)]('\x5c');fs[_0xd1ca95(0x1ab)](_0x512b80)['forEach'](_0x45adec=>_0x30e35d[_0xd1ca95(0x19c)]({'name':_0x4084d9,'path':[_0x512b80,_0x45adec][_0xd1ca95(0x1c9)]('\x5c'),'pure_name':_0x4084d9[_0xd1ca95(0x1a1)](/_zip$/,''),'import_list':_0x294197[_0xd1ca95(0x1b4)]['find'](_0x1d5e20=>_0x1d5e20[_0xd1ca95(0x1d1)]+_0xd1ca95(0x192)===_0x4084d9)[_0xd1ca95(0x1c8)]}));}),_0x30e35d[_0x12b0c0(0x1c3)](_0x37b4ad=>{const _0x1800f8=_0x12b0c0,_0x1be8d2=_0x37b4ad['pure_name'],_0x57ff27=_0x37b4ad[_0x1800f8(0x196)],_0x3a174d=[_0x37b4ad[_0x1800f8(0x198)],_0x1800f8(0x1b8)][_0x1800f8(0x1c9)]('//'),_0x33f824=[_0x37b4ad[_0x1800f8(0x198)],_0x1800f8(0x1ae)]['join']('//');fs[_0x1800f8(0x1ba)](_0x3a174d)&&(f_rm_rf(_0x3a174d),fs[_0x1800f8(0x194)](_0x3a174d));fs[_0x1800f8(0x1ba)](_0x33f824)&&fs[_0x1800f8(0x19f)](_0x33f824);if(_0x57ff27['length']){fs[_0x1800f8(0x1ab)](_0x37b4ad['path'])[_0x1800f8(0x1ca)](_0xc1cf55=>!_0x57ff27[_0x1800f8(0x193)](_0xc1cf55)&&_0xc1cf55!=='index.js'&&_0xc1cf55!==_0x1800f8(0x199))[_0x1800f8(0x1c3)](_0x79ee5f=>{const _0x25ee78=_0x1800f8,_0xbe1958=_0x37b4ad[_0x25ee78(0x198)]+'\x5c'+_0x79ee5f;f_rm_rf(_0xbe1958),fs[_0x25ee78(0x194)](_0xbe1958);});if(_0x1be8d2===_0x1800f8(0x1ce)){const _0x30ada3=[];fs[_0x1800f8(0x1ab)](_0x37b4ad[_0x1800f8(0x198)])[_0x1800f8(0x1ca)](_0x1317e3=>_0x1317e3!==_0x1800f8(0x1a9))[_0x1800f8(0x1c3)](_0x53d7a5=>{const _0x47fb0d=_0x1800f8;_0x53d7a5===_0x47fb0d(0x1a2)?_0x30ada3[_0x47fb0d(0x19c)](_0x47fb0d(0x1ad)):_0x30ada3[_0x47fb0d(0x19c)](_0x47fb0d(0x1cb)+_0x53d7a5+_0x47fb0d(0x1be)+_0x53d7a5+'\x27;');}),fs[_0x1800f8(0x195)](_0x37b4ad[_0x1800f8(0x198)]+_0x1800f8(0x1b0),_0x30ada3[_0x1800f8(0x1c9)]('\x0a'));}}if(_0x1be8d2===_0x1800f8(0x1d3)){const _0x449c01=[_0x37b4ad[_0x1800f8(0x198)],_0x1800f8(0x1a3)][_0x1800f8(0x1c9)]('\x5c');if(['spa',_0x1800f8(0x1c0)][_0x1800f8(0x193)](_0x294197['projectType']))fs[_0x1800f8(0x1ba)](_0x449c01)&&(f_content_replace(_0x294197[_0x1800f8(0x1a7)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x37b4ad[_0x1800f8(0x198)]),fs['writeFileSync'](_0x37b4ad['path']+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x294197[_0x1800f8(0x1a7)]===_0x1800f8(0x1b1)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x1800f8(0x195)](_0x37b4ad['path']+CLI_DVA_REGISTER_PATH,fs[_0x1800f8(0x1c7)](_0x294197[_0x1800f8(0x1a7)]===_0x1800f8(0x1b1)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x294197[_0x1800f8(0x1a7)]==='multi'&&(fs[_0x1800f8(0x1ba)](_0x449c01)&&(f_rm_rf(_0x449c01),fs[_0x1800f8(0x194)](_0x449c01)));}else{if(_0x1be8d2===_0x1800f8(0x1ce))_0x294197['projectType']===_0x1800f8(0x1c0)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x37b4ad[_0x1800f8(0x198)]);else{if(_0x1be8d2===_0x1800f8(0x19b)){}}}if(_0x294197[_0x1800f8(0x1c6)]===_0x1800f8(0x1b6)){const _0x35661f=_0x1be8d2;fs[_0x1800f8(0x1ba)](_0x7ccb99+'\x5c'+_0x35661f)?f_rm_rf(_0x7ccb99+'\x5c'+_0x35661f):fs[_0x1800f8(0x19d)](_0x7ccb99+'\x5c'+_0x35661f),f_file_copy(_0x37b4ad['path'],_0x7ccb99+'\x5c'+_0x35661f),f_create_package_json(_0x7ccb99+'\x5c'+_0x35661f,_0x35661f,_0x1800f8(0x19a)),f_update_project_package_json(_0x153c23,_0x35661f,_0x1800f8(0x19a));}else{if(_0x294197[_0x1800f8(0x1c6)]===_0x1800f8(0x1bc)){const _0x2a0938='react-admin-component';fs[_0x1800f8(0x1ba)](_0x3501ec+_0x2a0938)?f_rm_rf(_0x3501ec+_0x2a0938):fs[_0x1800f8(0x19d)](_0x3501ec+_0x2a0938),f_file_copy(_0x37b4ad['path'],_0x3501ec+_0x2a0938);}}}),setTimeout(()=>{const _0x1907bc=_0x12b0c0;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0xc2f96f=Date['now']();console[_0x1907bc(0x1c2)](_0x1907bc(0x1c1)+(_0xc2f96f-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log']('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -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
+ function a14_0x5778(){const _0x2f0b48=['【Error】:[jjb.config.json.installResources]无资源。','uniapp','\x5cjjb.config.json','.zip','vue-unisass-component','filter','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','2386821LXLSHZ','writeFileSync','projectType','existsSync','token','656572hUQzer','path','jjb-dva-runtime','toString','f_update_project_package_json','unlinkSync','includes','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','2oKvGGb','2342010qeEThp','multi','168309CrJDEU','string','exit','readdirSync','【Error】:[jjb.config.json.projectType]类型是一个string。','f_resolve_install_resources','968vUCgOc','parse','f_pull_git_repository','./config','log','dependencies','isArray','f_scan_jjb_config_json_rules','4668996RdwzqP','mkdirSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','isDirectory','stringify','spa','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','5393396ylItAD','&ref=master','statSync','/api/v4/projects/','rmdirSync','2264465cgDtPi','f_create_package_json','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','micro-spa','projectId','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_content_replace','{\x22name\x22:\x22','installResources','f_rm_rf','\x22,\x22version\x22:\x22','map','react-admin-component','src','f_scan_jjb_config_json','【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>。','forEach','f_file_copy','replace','tmpdir','jjb-common','readFileSync','installTarget','push','length','name','jjb-common-lib'];a14_0x5778=function(){return _0x2f0b48;};return a14_0x5778();}function a14_0x2850(_0x14f6a4,_0x36cd13){const _0x577883=a14_0x5778();return a14_0x2850=function(_0x285085,_0x113261){_0x285085=_0x285085-0x1be;let _0x279bf0=_0x577883[_0x285085];return _0x279bf0;},a14_0x2850(_0x14f6a4,_0x36cd13);}const a14_0x1ac5bc=a14_0x2850;(function(_0x32ae50,_0x265d89){const _0x47a75d=a14_0x2850,_0x2c0e35=_0x32ae50();while(!![]){try{const _0x433064=-parseInt(_0x47a75d(0x1ce))/0x1*(-parseInt(_0x47a75d(0x1c6))/0x2)+-parseInt(_0x47a75d(0x1c1))/0x3+-parseInt(_0x47a75d(0x1e6))/0x4+-parseInt(_0x47a75d(0x1cf))/0x5+parseInt(_0x47a75d(0x1df))/0x6+-parseInt(_0x47a75d(0x1eb))/0x7+parseInt(_0x47a75d(0x1d7))/0x8*(parseInt(_0x47a75d(0x1d1))/0x9);if(_0x433064===_0x265d89)break;else _0x2c0e35['push'](_0x2c0e35['shift']());}catch(_0x2abfc1){_0x2c0e35['push'](_0x2c0e35['shift']());}}}(a14_0x5778,0xb9f6a));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a14_0x1ac5bc(0x1da));exports[a14_0x1ac5bc(0x1f4)]=function(_0x558b6d){const _0x8418bd=a14_0x1ac5bc;if(fs[_0x8418bd(0x1c4)](_0x558b6d)){const _0x1db853=fs[_0x8418bd(0x1d4)](_0x558b6d);for(let _0x2635a8=0x0;_0x2635a8<_0x1db853[_0x8418bd(0x203)];_0x2635a8++){const _0x1c1a37=_0x1db853[_0x2635a8],_0x214a7c=_0x558b6d+'/'+_0x1c1a37;fs[_0x8418bd(0x1e8)](_0x214a7c)[_0x8418bd(0x1e2)]()?(exports[_0x8418bd(0x1f4)](_0x214a7c),fs[_0x8418bd(0x1ea)](_0x214a7c)):fs[_0x8418bd(0x1cb)](_0x214a7c);}}},exports[a14_0x1ac5bc(0x1d9)]=function(_0x590c8a=[]){const _0x5b3026=a14_0x1ac5bc;return _0x590c8a[_0x5b3026(0x1f6)](_0x50fb42=>{const _0x117cfb=_0x5b3026,_0x569220=CLOUD_PROJECT[_0x50fb42[_0x117cfb(0x204)]]||undefined,_0x5f3f76=os[_0x117cfb(0x1fe)]();return{'path':_0x5f3f76+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x50fb42[_0x117cfb(0x204)]+_0x117cfb(0x209),'compress':_0x5f3f76+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x50fb42[_0x117cfb(0x204)]+'_zip','repository':GIT_HOST+_0x117cfb(0x1e9)+_0x569220[_0x117cfb(0x1ef)]+'/repository/archive.zip?private_token='+_0x569220[_0x117cfb(0x1c5)]+_0x117cfb(0x1e7)};});},exports[a14_0x1ac5bc(0x1f9)]=function(_0x57b9c9){const _0x57a665=a14_0x1ac5bc;return fs[_0x57a665(0x1c4)](_0x57b9c9+_0x57a665(0x208));},exports[a14_0x1ac5bc(0x1de)]=function(_0x227b1a){const _0x31448a=a14_0x1ac5bc;let _0x7d8407={};try{_0x7d8407=JSON[_0x31448a(0x1d8)](fs[_0x31448a(0x200)](_0x227b1a+_0x31448a(0x208))[_0x31448a(0x1c9)]());}catch(_0x13722d){console[_0x31448a(0x1db)](_0x31448a(0x1c0)),process[_0x31448a(0x1d3)](0x0);}!('projectType'in _0x7d8407)&&(console[_0x31448a(0x1db)](_0x31448a(0x1ed)),process[_0x31448a(0x1d3)](0x0));!(_0x31448a(0x201)in _0x7d8407)&&(console[_0x31448a(0x1db)](_0x31448a(0x1e5)),process[_0x31448a(0x1d3)](0x0));!(_0x31448a(0x1f3)in _0x7d8407)&&(console[_0x31448a(0x1db)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process['exit'](0x0));typeof _0x7d8407[_0x31448a(0x1c3)]!==_0x31448a(0x1d2)&&(console['log'](_0x31448a(0x1d5)),process['exit'](0x0));![_0x31448a(0x1d0),_0x31448a(0x1e4),_0x31448a(0x207),_0x31448a(0x1ee)][_0x31448a(0x1cc)](_0x7d8407[_0x31448a(0x1c3)])&&(console[_0x31448a(0x1db)](_0x31448a(0x1e1)),process['exit'](0x0));typeof _0x7d8407[_0x31448a(0x201)]!==_0x31448a(0x1d2)&&(console[_0x31448a(0x1db)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x31448a(0x1d3)](0x0));!['node_modules',_0x31448a(0x1f8)][_0x31448a(0x1cc)](_0x7d8407['installTarget'])&&(console[_0x31448a(0x1db)](_0x31448a(0x1cd)),process[_0x31448a(0x1d3)](0x0));!Array['isArray'](_0x7d8407[_0x31448a(0x1f3)])&&(console[_0x31448a(0x1db)](_0x31448a(0x1f0)),process['exit'](0x0));_0x7d8407[_0x31448a(0x1f3)][_0x31448a(0x203)]===0x0&&(console[_0x31448a(0x1db)](_0x31448a(0x206)),process[_0x31448a(0x1d3)](0x0));const _0x193f25=exports[_0x31448a(0x1d6)](_0x7d8407[_0x31448a(0x1f3)]);return _0x193f25['map'](_0x424e64=>_0x424e64['name'])[_0x31448a(0x1bf)](_0x4e8a1d=>![_0x31448a(0x1ff),_0x31448a(0x1c8),_0x31448a(0x205),'jjb-common-decorator',_0x31448a(0x1f7),_0x31448a(0x1be)]['includes'](_0x4e8a1d))[_0x31448a(0x203)]!==0x0&&(console[_0x31448a(0x1db)](_0x31448a(0x1fa)),process['exit'](0x0)),_0x7d8407[_0x31448a(0x1f3)]=_0x193f25,_0x7d8407;},exports[a14_0x1ac5bc(0x1ec)]=function(_0x389d3f,_0x771d55,_0x35bccd){const _0x1c5236=a14_0x1ac5bc;fs['writeFileSync'](_0x389d3f+'\x5cpackage.json',_0x1c5236(0x1f2)+_0x771d55+_0x1c5236(0x1f5)+_0x35bccd+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a14_0x1ac5bc(0x1d6)]=function(_0x1bce36=[]){const _0x32fc41=a14_0x1ac5bc,_0x2c8d23=[];return Array[_0x32fc41(0x1dd)](_0x1bce36)&&_0x1bce36['forEach'](_0x1f0b3a=>{const _0x3ba2c9=_0x32fc41;if(Array['isArray'](_0x1f0b3a)){const [_0x37b05c,_0x5f3836=[]]=_0x1f0b3a;_0x2c8d23['push']({'name':_0x37b05c,'importList':_0x5f3836});}else _0x2c8d23[_0x3ba2c9(0x202)]({'name':_0x1f0b3a,'importList':[]});}),_0x2c8d23;},exports[a14_0x1ac5bc(0x1ca)]=function(_0x3e5981,_0x19c218,_0x41e10d){const _0x15de92=a14_0x1ac5bc,_0xb890a9=JSON[_0x15de92(0x1d8)](fs['readFileSync'](_0x3e5981)[_0x15de92(0x1c9)]());_0xb890a9[_0x15de92(0x1dc)][_0x19c218]=_0x41e10d,fs['writeFileSync'](_0x3e5981,JSON[_0x15de92(0x1e3)](_0xb890a9,null,0x2));},exports[a14_0x1ac5bc(0x1fc)]=function(_0x158c14,_0x33b20e){const _0x1ac781=a14_0x1ac5bc;fs[_0x1ac781(0x1d4)](_0x158c14)[_0x1ac781(0x1fb)](_0xe56be8=>{const _0x300829=_0x1ac781,_0x45fb82=_0x158c14+'\x5c'+_0xe56be8,_0x497037=_0x33b20e+'\x5c'+_0xe56be8;fs[_0x300829(0x1e8)](_0x45fb82)[_0x300829(0x1e2)]()?(fs[_0x300829(0x1e0)](_0x497037),exports[_0x300829(0x1fc)](_0x45fb82,_0x497037)):fs[_0x300829(0x1c2)](_0x497037,fs['readFileSync'](_0x45fb82)[_0x300829(0x1c9)]());});},exports[a14_0x1ac5bc(0x1f1)]=function(_0x51aea9=[],_0x298382){_0x51aea9['forEach'](_0x409d45=>{const _0x5da6fc=a14_0x2850,_0x57d12c=_0x298382+_0x409d45[_0x5da6fc(0x1c7)];if(fs[_0x5da6fc(0x1c4)](_0x57d12c)){let _0x45bdc2=fs['readFileSync'](_0x57d12c)['toString']();_0x409d45[_0x5da6fc(0x1fd)]['forEach'](_0x13e0ba=>{const _0x22bfd3=_0x5da6fc;_0x45bdc2=_0x45bdc2[_0x22bfd3(0x1fd)](_0x13e0ba[0x0],_0x13e0ba[0x1]);}),fs[_0x5da6fc(0x1c2)](_0x57d12c,_0x45bdc2);}});};
@@ -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_0x591f4c=a15_0x4671;(function(_0x25748d,_0x26e336){const _0x4ba6b2=a15_0x4671,_0x4d071b=_0x25748d();while(!![]){try{const _0x196b76=parseInt(_0x4ba6b2(0x1be))/0x1*(parseInt(_0x4ba6b2(0x1bd))/0x2)+-parseInt(_0x4ba6b2(0x1bf))/0x3+parseInt(_0x4ba6b2(0x1b8))/0x4+-parseInt(_0x4ba6b2(0x1d2))/0x5*(-parseInt(_0x4ba6b2(0x1c6))/0x6)+parseInt(_0x4ba6b2(0x1b2))/0x7+-parseInt(_0x4ba6b2(0x1ab))/0x8*(parseInt(_0x4ba6b2(0x1bb))/0x9)+parseInt(_0x4ba6b2(0x1b4))/0xa*(parseInt(_0x4ba6b2(0x1c5))/0xb);if(_0x196b76===_0x26e336)break;else _0x4d071b['push'](_0x4d071b['shift']());}catch(_0x248d73){_0x4d071b['push'](_0x4d071b['shift']());}}}(a15_0x5dd6,0x82de6));const fs=require('fs'),path=require(a15_0x591f4c(0x1d0)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a15_0x591f4c(0x1c2)]=(_0x47154d,_0xbc2f85)=>{const _0x1a79fa=a15_0x591f4c;commandArr=_0x47154d[_0x1a79fa(0x1d1)](':'),projectPath=path['resolve'](_0x1a79fa(0x1bc)),vesselPath=path[_0x1a79fa(0x1c1)](_0x1a79fa(0x1ce));let _0x450812=vesselPath;_0xbc2f85==='mp'&&(_0x450812=vesselPath+'/application',utils[_0x1a79fa(0x1cc)](vesselPath,['application']));const _0x23831f=commandArr[0x1],_0x34fa6c=JSON['parse'](fs[_0x1a79fa(0x1b5)](projectPath+'/'+_0x23831f+_0x1a79fa(0x1c8))[_0x1a79fa(0x1c7)]());TileItems(_0x34fa6c[_0x1a79fa(0x1b0)],()=>{const _0xb30dbd=_0x1a79fa;fromFileData[_0xb30dbd(0x1c9)][_0xb30dbd(0x1ca)](_0x1c32d9=>{const _0x5c0d31=_0xb30dbd,_0x4b56bb=_0x1c32d9['pathAdr'][_0x5c0d31(0x1d1)](_0x1c32d9[_0x5c0d31(0x1ae)]),_0x23b35b=_0x4b56bb[0x1][_0x5c0d31(0x1d1)]('/'),_0x38f9be=_0x23b35b[0x1];!applicationJson[_0x38f9be]&&(applicationJson[_0x38f9be]={'routerConfig':[],'routerPath':[]});applicationJson[_0x38f9be]['routerConfig'][_0x5c0d31(0x1b1)](_0x5c0d31(0x1c4)+_0x1c32d9[_0x5c0d31(0x1d0)]+_0x5c0d31(0x1b3)+_0x1c32d9[_0x5c0d31(0x1ba)]+_0x5c0d31(0x1cb)),applicationJson[_0x38f9be]['routerPath'][_0x5c0d31(0x1b1)](_0x1c32d9[_0x5c0d31(0x1d0)]);let _0x4c88b5=_0x23b35b['join']('/');const _0x56eb74=_0x4c88b5['split']('/');utils[_0x5c0d31(0x1cc)](_0x450812,_0x56eb74[_0x5c0d31(0x1af)](0x0,_0x56eb74[_0x5c0d31(0x1cf)]-0x1))[_0x5c0d31(0x1b6)](()=>{const _0x1ed193=_0x5c0d31,_0x4e5784=fs[_0x1ed193(0x1b5)](_0x1c32d9[_0x1ed193(0x1c0)])[_0x1ed193(0x1c7)]();fs[_0x1ed193(0x1ad)](vesselPath+'/'+_0x4c88b5,_0x4e5784);});});});};function a15_0x5dd6(){const _0x4fb1cb=['router','forEach','\x27)\x20}','CreatePaths','concat','./vessel/src','length','path','split','43405QndBUA','47440senIYQ','DeepScanner','writeFileSync','region','slice','items','push','1657852JobnvP','\x27,\x20component:\x20()\x20=>\x20import(\x27','315590YbCHiH','readFileSync','then','fileType','3104204aNucas','map','file','1422ZRQRbf','./project','4XgpOfk','266613wgZJGQ','1192218QqiQrb','pathAdr','resolve','exports','from','{\x20path:\x20\x27','110cHVkCH','6ZQBrUh','toString','/setting.json'];a15_0x5dd6=function(){return _0x4fb1cb;};return a15_0x5dd6();}function a15_0x4671(_0x3472c5,_0x1c6458){const _0x5dd60f=a15_0x5dd6();return a15_0x4671=function(_0x467193,_0x4ee490){_0x467193=_0x467193-0x1ab;let _0x614ff5=_0x5dd60f[_0x467193];return _0x614ff5;},a15_0x4671(_0x3472c5,_0x1c6458);}function TileItems(_0x3a84fc,_0xe3f46c){const _0x280140=a15_0x591f4c;_0x3a84fc[_0x280140(0x1ca)]((_0x49a512,_0x457bda)=>{const _0x132c61=_0x280140,_0x55ce64=_0x49a512[_0x132c61(0x1ae)];_0x49a512[_0x132c61(0x1c3)][_0x132c61(0x1ca)]((_0x54cedc,_0x295891)=>{const _0x23cef2=_0x132c61,_0x3cb2bf=[];utils[_0x23cef2(0x1ac)](projectPath+'/'+_0x55ce64+'/'+_0x54cedc['file'],_0x3cb2bf);const _0x3c6b64=_0x3cb2bf[_0x23cef2(0x1b9)](_0x2305ed=>({'region':_0x55ce64,'pathAdr':_0x2305ed,..._0x54cedc}));!fromFileData[_0x54cedc['fileType']]?fromFileData[_0x54cedc[_0x23cef2(0x1b7)]]=_0x3c6b64:fromFileData[_0x54cedc['fileType']]=fromFileData[_0x54cedc[_0x23cef2(0x1b7)]][_0x23cef2(0x1cd)](_0x3c6b64),_0x457bda===_0x3a84fc[_0x23cef2(0x1cf)]-0x1&&_0x295891===_0x49a512['from']['length']-0x1&&_0xe3f46c();});});}
@@ -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';const a16_0x577096=a16_0x2921;(function(_0x530e5b,_0x312c06){const _0x58d424=a16_0x2921,_0x45014d=_0x530e5b();while(!![]){try{const _0x3f2f3e=parseInt(_0x58d424(0x155))/0x1*(parseInt(_0x58d424(0x156))/0x2)+parseInt(_0x58d424(0x13b))/0x3+parseInt(_0x58d424(0x14e))/0x4+-parseInt(_0x58d424(0x142))/0x5+-parseInt(_0x58d424(0x154))/0x6+parseInt(_0x58d424(0x164))/0x7*(parseInt(_0x58d424(0x161))/0x8)+parseInt(_0x58d424(0x16e))/0x9;if(_0x3f2f3e===_0x312c06)break;else _0x45014d['push'](_0x45014d['shift']());}catch(_0xc58538){_0x45014d['push'](_0x45014d['shift']());}}}(a16_0x396b,0x353ef));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a16_0x577096(0x147)),request=require('request'),compressing=require('compressing'),GIT_TEMP_DIR='jjbAssembly',GIT_HOST=a16_0x577096(0x14d),CLOUD_PROJECT={'common':{'token':a16_0x577096(0x163),'projectId':0x117,'localName':a16_0x577096(0x170)},'react-admin-component':{'token':a16_0x577096(0x16b),'projectId':0x154,'localName':a16_0x577096(0x16f)}};module[a16_0x577096(0x139)]=_0x189064=>{const _0x11b066=a16_0x577096,_0x5ceefe=_0x189064,_0x3c2eec=path['resolve']('./');try{if(fs[_0x11b066(0x160)](_0x3c2eec+'\x5csrc')){const _0x2f5c49=_0x3c2eec+_0x11b066(0x15a),_0x39ac44=CLOUD_PROJECT[_0x5ceefe]||undefined;if(_0x39ac44){const _0x48fd9c=os[_0x11b066(0x165)](),_0x43d750=_0x48fd9c+('/'+GIT_TEMP_DIR+'/'+_0x5ceefe+'.zip'),_0x43195f=_0x48fd9c+'/'+GIT_TEMP_DIR+_0x11b066(0x13c);utils[_0x11b066(0x16d)](_0x48fd9c+'/'+GIT_TEMP_DIR,()=>{const _0x27f5fe=_0x11b066;fs[_0x27f5fe(0x151)](_0x48fd9c+'/'+GIT_TEMP_DIR);let _0x34f421=fs['createWriteStream'](_0x43d750);request(GIT_HOST+_0x27f5fe(0x15d)+_0x39ac44[_0x27f5fe(0x13f)]+_0x27f5fe(0x14a)+_0x39ac44[_0x27f5fe(0x15b)]+_0x27f5fe(0x14b))[_0x27f5fe(0x138)](_0x34f421)['on'](_0x27f5fe(0x16a),()=>{const _0x275c97=_0x27f5fe;fs[_0x275c97(0x151)](_0x43195f),compressing[_0x275c97(0x15f)][_0x275c97(0x159)](_0x43d750,_0x43195f)[_0x275c97(0x169)](()=>{setTimeout(()=>{const _0x4a8f9d=a16_0x2921,_0x1b41fd=fs['readdirSync'](_0x43195f);_0x1b41fd[_0x4a8f9d(0x166)](_0x87de0e=>{const _0x7d0b4b=_0x4a8f9d;if(_0x87de0e[_0x7d0b4b(0x143)](_0x7d0b4b(0x157))!==-0x1){const _0x374165=_0x2f5c49+'\x5c'+_0x39ac44[_0x7d0b4b(0x13a)];utils[_0x7d0b4b(0x16d)](_0x374165,()=>{const _0x3023ee=_0x7d0b4b;fs[_0x3023ee(0x151)](_0x374165),utils['CopyFolder'](_0x43195f+_0x87de0e,_0x374165),setTimeout(()=>{const _0x22724f=_0x3023ee,_0xd981c=fs[_0x22724f(0x167)](_0x2f5c49+'\x5c'+_0x22724f(0x168));if(!_0xd981c){const _0x5c33b5=_0x2f5c49+'\x5c'+'common\x5ctools\x5cindex.js',_0x5628f0=_0x2f5c49+'\x5c'+_0x22724f(0x13e);let _0x18fe3c=fs[_0x22724f(0x145)](_0x5c33b5)[_0x22724f(0x144)](),_0x312881=fs[_0x22724f(0x145)](_0x5628f0)[_0x22724f(0x144)]();_0x18fe3c=_0x18fe3c[_0x22724f(0x141)](_0x22724f(0x158),_0x22724f(0x150)),_0x312881=_0x312881[_0x22724f(0x141)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x22724f(0x16c)),fs['writeFileSync'](_0x5c33b5,_0x18fe3c),fs['writeFileSync'](_0x5628f0,_0x312881),fs[_0x22724f(0x140)](_0x2f5c49+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x22724f(0x145)](__dirname+_0x22724f(0x152))['toString']()),fs[_0x22724f(0x140)](_0x2f5c49+_0x22724f(0x137),fs[_0x22724f(0x145)](__dirname+_0x22724f(0x15e))[_0x22724f(0x144)]());}else fs[_0x22724f(0x15c)](_0x2f5c49+'\x5c'+'common\x5cdva\x5cautomatic\x5cindex.js',_0x1f239e=>{const _0x55b8dc=_0x22724f;_0x1f239e&&(fs[_0x55b8dc(0x162)](_0x2f5c49+'\x5c'+_0x55b8dc(0x153))['forEach'](_0x1ccdf3=>{const _0x152218=_0x55b8dc;fs[_0x152218(0x149)](_0x2f5c49+'\x5c'+_0x152218(0x13d)+_0x1ccdf3);}),fs[_0x55b8dc(0x14c)](_0x2f5c49+'\x5c'+_0x55b8dc(0x153)));});},0x3e8);});}}),console[_0x4a8f9d(0x14f)](_0x5ceefe+'-文件下载完毕');},0x7d0);});});});}else console[_0x11b066(0x146)](_0x11b066(0x148)+_0x5ceefe);}}catch(_0x105e3d){console[_0x11b066(0x146)](_0x11b066(0x136));}};function a16_0x2921(_0x63d975,_0x8863e6){const _0x396bbf=a16_0x396b();return a16_0x2921=function(_0x2921a7,_0x4095f7){_0x2921a7=_0x2921a7-0x136;let _0x258781=_0x396bbf[_0x2921a7];return _0x258781;},a16_0x2921(_0x63d975,_0x8863e6);}function a16_0x396b(){const _0x308bec=['common','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','pipe','exports','localName','339243yXaiOR','/unzip/','common\x5cdva\x5cautomatic\x5c','common\x5cwebsite\x5cindex.js','projectId','writeFileSync','replace','1762625TFwcbl','indexOf','toString','readFileSync','error','./util','【Error】:\x20未获取到项目\x20','unlinkSync','/repository/archive.zip?private_token=','&ref=master','rmdirSync','http://192.168.1.242:10985','397836oPCRgW','log','return\x20process.env;','mkdirSync','\x5ccli.dva.router.spa.txt','common\x5cdva\x5cautomatic','2048412uISUwq','1pNzyoh','839612VQWNyB','-master-','return\x20__planA();','uncompress','\x5csrc','token','exists','/api/v4/projects/','\x5ccli.dva.register.spa.txt','zip','statSync','5112UWcCFB','readdirSync','G4HJRsHr9D7Ssmixegw2','2569wZeVaC','tmpdir','forEach','existsSync','application','then','close','FT3pKzxpRynFkmddJ9Bs','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','DeleteDirAllFile','406467tBtGzP','components'];a16_0x396b=function(){return _0x308bec;};return a16_0x396b();}
@@ -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_0xab24d9=a17_0x4e6e;(function(_0x447760,_0x274727){const _0xce9dde=a17_0x4e6e,_0x3e87e6=_0x447760();while(!![]){try{const _0x1e9e99=-parseInt(_0xce9dde(0x156))/0x1*(parseInt(_0xce9dde(0x182))/0x2)+-parseInt(_0xce9dde(0x15b))/0x3*(parseInt(_0xce9dde(0x194))/0x4)+-parseInt(_0xce9dde(0x1a2))/0x5*(-parseInt(_0xce9dde(0x158))/0x6)+-parseInt(_0xce9dde(0x171))/0x7+-parseInt(_0xce9dde(0x197))/0x8+parseInt(_0xce9dde(0x181))/0x9*(-parseInt(_0xce9dde(0x18c))/0xa)+parseInt(_0xce9dde(0x196))/0xb;if(_0x1e9e99===_0x274727)break;else _0x3e87e6['push'](_0x3e87e6['shift']());}catch(_0x494ef8){_0x3e87e6['push'](_0x3e87e6['shift']());}}}(a17_0x4e72,0x2c132));const fs=require('fs'),os=require('os'),path=require(a17_0xab24d9(0x175)),utils=require(a17_0xab24d9(0x14f)),request=require('request'),compressing=require(a17_0xab24d9(0x167)),GIT_HOST=a17_0xab24d9(0x154),GIT_TEMP_DIR=a17_0xab24d9(0x18d),CLOUD_PROJECT={'common':{'token':a17_0xab24d9(0x1a6),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a17_0xab24d9(0x18e)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a17_0xab24d9(0x17f),'replace':[[a17_0xab24d9(0x18e),a17_0xab24d9(0x1a1)]]},{'path':a17_0xab24d9(0x14e),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a17_0xab24d9(0x15f)],[a17_0xab24d9(0x18e),a17_0xab24d9(0x1a1)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a17_0xab24d9(0x17f),'replace':[[a17_0xab24d9(0x17b),a17_0xab24d9(0x1ad)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a17_0xab24d9(0x17f),'replace':[[a17_0xab24d9(0x17b),a17_0xab24d9(0x187)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a17_0xab24d9(0x192),'replace':[[a17_0xab24d9(0x16c),a17_0xab24d9(0x172)],[a17_0xab24d9(0x19f),a17_0xab24d9(0x17e)],[a17_0xab24d9(0x17a),a17_0xab24d9(0x1a9)]]},{'path':a17_0xab24d9(0x170),'replace':[['common/color','jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a17_0xab24d9(0x17a),'jjb-common/tools']]},{'path':a17_0xab24d9(0x1a8),'replace':[[a17_0xab24d9(0x16c),a17_0xab24d9(0x172)],[a17_0xab24d9(0x17a),a17_0xab24d9(0x1a9)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a17_0xab24d9(0x16c),a17_0xab24d9(0x172)],['common/tools',a17_0xab24d9(0x1a9)]]},{'path':a17_0xab24d9(0x17c),'replace':[[a17_0xab24d9(0x16c),a17_0xab24d9(0x172)],[a17_0xab24d9(0x17a),a17_0xab24d9(0x1a9)]]},{'path':a17_0xab24d9(0x151),'replace':[[a17_0xab24d9(0x1a4),a17_0xab24d9(0x19c)]]},{'path':a17_0xab24d9(0x19b),'replace':[[a17_0xab24d9(0x17a),a17_0xab24d9(0x1a9)]]},{'path':a17_0xab24d9(0x174),'replace':[['common/website',a17_0xab24d9(0x16d)],[a17_0xab24d9(0x17a),a17_0xab24d9(0x1a9)]]}];function uid(){const _0x458132=a17_0xab24d9;return Math[_0x458132(0x193)]()[_0x458132(0x15a)]()[_0x458132(0x177)](0x2);}module['exports']=_0x15d74e=>{const _0x41c40d=a17_0xab24d9,_0x51fa9b=path[_0x41c40d(0x153)]('./'),_0x3b5952=_0x41c40d(0x16e)+_0x15d74e,_0x1e09c1=_0x41c40d(0x161),_0x3c1f4a=_0x51fa9b+_0x41c40d(0x185),_0x3b0cbb=_0x41c40d(0x157)+uid(),_0x37882c=__dirname+'\x5c'+_0x3b0cbb,_0x408d4a=_0x51fa9b+_0x41c40d(0x183),_0xa2e500=_0x51fa9b+_0x41c40d(0x160)+_0x15d74e;try{if(fs['existsSync'](_0x3c1f4a)){const _0x216a22=CLOUD_PROJECT[_0x15d74e]||undefined;if(_0x216a22){const _0x1e8c2a=os[_0x41c40d(0x179)](),_0xb21d42=_0x1e8c2a+'/'+GIT_TEMP_DIR+'/'+_0x15d74e+_0x41c40d(0x19a),_0x4a3c7f=_0x1e8c2a+'/'+GIT_TEMP_DIR+_0x41c40d(0x166);utils['DeleteDirAllFile'](_0x1e8c2a+'/'+GIT_TEMP_DIR,()=>{const _0x32d8a6=_0x41c40d;fs[_0x32d8a6(0x162)](_0x1e8c2a+'/'+GIT_TEMP_DIR);const _0x2c67a3=fs[_0x32d8a6(0x195)](_0xb21d42);request(GIT_HOST+_0x32d8a6(0x1ab)+_0x216a22[_0x32d8a6(0x18f)]+_0x32d8a6(0x163)+_0x216a22[_0x32d8a6(0x176)]+_0x32d8a6(0x169))[_0x32d8a6(0x14d)](_0x2c67a3)['on'](_0x32d8a6(0x178),()=>{const _0x15929d=_0x32d8a6;fs[_0x15929d(0x162)](_0x4a3c7f),compressing[_0x15929d(0x165)][_0x15929d(0x17d)](_0xb21d42,_0x4a3c7f)['then'](()=>{setTimeout(()=>{const _0x1f3636=a17_0x4e6e;fs[_0x1f3636(0x198)](_0x4a3c7f)[_0x1f3636(0x16b)](_0x4838c1=>{const _0xe5316b=_0x1f3636;_0x4838c1['indexOf'](_0xe5316b(0x15e))!==-0x1&&utils['DeleteDirAllFile'](_0x3c1f4a+'\x5c'+_0x216a22['localName'],()=>{const _0x33fcba=_0xe5316b;fs[_0x33fcba(0x162)](_0x37882c),utils[_0x33fcba(0x1ac)](_0x4a3c7f+_0x4838c1,_0x37882c),setTimeout(()=>{const _0x439303=_0x33fcba;if(_0x15d74e===_0x439303(0x180)){const _0x426306=fs['existsSync'](_0x3c1f4a+_0x439303(0x164));if(_0x426306)rm_rf(_0x37882c+_0x439303(0x152)),fs['rmdirSync'](_0x37882c+'\x5cdva\x5cautomatic');else{if(get_project_type(_0x408d4a)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x37882c),fs[_0x439303(0x184)](_0x37882c+_0x439303(0x189),fs[_0x439303(0x16f)](__dirname+_0x439303(0x191))[_0x439303(0x15a)]()),fs['writeFileSync'](_0x37882c+_0x439303(0x150),fs[_0x439303(0x16f)](__dirname+_0x439303(0x173))[_0x439303(0x15a)]());else get_project_type(_0x408d4a)===_0x439303(0x19d)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x37882c),fs['writeFileSync'](_0x37882c+_0x439303(0x189),fs[_0x439303(0x16f)](__dirname+_0x439303(0x15c))[_0x439303(0x15a)]()),fs[_0x439303(0x184)](_0x37882c+_0x439303(0x150),fs[_0x439303(0x16f)](__dirname+_0x439303(0x155))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x37882c);}_0x15d74e===_0x439303(0x1a5)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x37882c),rm_rf(_0x37882c+_0x439303(0x199)),fs[_0x439303(0x188)](_0x37882c+'\x5c.idea')&&fs[_0x439303(0x19e)](_0x37882c+_0x439303(0x199)),fs[_0x439303(0x188)](_0x37882c+_0x439303(0x1a7))&&fs['unlinkSync'](_0x37882c+_0x439303(0x1a7)),!fs['existsSync'](_0xa2e500)?fs[_0x439303(0x162)](_0xa2e500):rm_rf(_0xa2e500),utils[_0x439303(0x1ac)](_0x37882c,_0xa2e500,()=>{const _0x1c0f3f=_0x439303;rm_rf(_0x37882c),fs[_0x1c0f3f(0x19e)](_0x37882c),create_package_json(_0xa2e500,_0x3b5952,_0x1e09c1),update_project_package_json(_0x408d4a,_0x3b5952,_0x1e09c1),console[_0x1c0f3f(0x18a)](_0x1c0f3f(0x18b)+_0x3b5952+'\x20v'+_0x1e09c1);});},0x3e8);});});},0x7d0);});});});}else console[_0x41c40d(0x1a0)]('【Error】:\x20未获取到项目\x20'+_0x15d74e);}}catch(_0x51d8b9){console['error']('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x2c7589){const _0x3a314c=a17_0xab24d9;if(fs['existsSync'](_0x2c7589)){const _0x1d328b=fs['readdirSync'](_0x2c7589);for(let _0x4b6589=0x0;_0x4b6589<_0x1d328b['length'];_0x4b6589++){const _0x3806a3=_0x1d328b[_0x4b6589],_0xcb4a9a=_0x2c7589+'/'+_0x3806a3;fs['statSync'](_0xcb4a9a)[_0x3a314c(0x190)]()?(rm_rf(_0xcb4a9a),fs['rmdirSync'](_0xcb4a9a)):fs[_0x3a314c(0x1aa)](_0xcb4a9a);}}}function create_package_json(_0x3b0df9,_0x20abe6,_0x22c22f){const _0x422725=a17_0xab24d9;fs[_0x422725(0x184)](_0x3b0df9+_0x422725(0x183),'{\x22name\x22:\x22'+_0x20abe6+_0x422725(0x16a)+_0x22c22f+_0x422725(0x15d));}function a17_0x4e72(){const _0x58d646=['\x5cRouterContainer\x5cindex.js','jjb-common/color','micro-spa','rmdirSync','common/crypto','error','jjb-react-admin-component','15355ikWnPF','stringify','common/color','react-admin-component','G4HJRsHr9D7Ssmixegw2','\x5c.gitignore','\x5cFileUploader\x5cindex.js','jjb-common/tools','unlinkSync','/api/v4/projects/','CopyFolder','return\x20process.env;','dependencies','pipe','\x5cwebsite\x5cindex.js','./util','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','\x5cdva\x5cautomatic','resolve','http://192.168.1.242:10985','\x5ccli.dva.register.saas.txt','55nsAuZI','template_','66uxxazO','projectType','toString','680397zNcWME','\x5ccli.dva.router.saas.txt','\x22,\x22main\x22:\x20\x22index.js\x22}','-master-','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cnode_modules\x5cjjb-','1.0.0','mkdirSync','/repository/archive.zip?private_token=','\x5capplication','zip','/unzip/','compressing','replace','&ref=master','\x22,\x22version\x22:\x22','forEach','common/http','jjb-common/website','jjb-','readFileSync','\x5cRejectText\x5cindex.js','65583AZneTW','jjb-common/http','\x5ccli.dva.register.spa.txt','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','path','token','substr','close','tmpdir','common/tools','return\x20__planA();','\x5cImageUploader\x5cindex.js','uncompress','jjb-common/crypto','\x5ctools\x5cindex.js','common','82683GDLqgP','12822WgrjtI','\x5cpackage.json','writeFileSync','\x5csrc','parse','return\x20process.env.app;','existsSync','\x5cdva\x5cautomatic\x5crouter.js','log','【已安装】:','10sXCiaL','jjbAssembly','components','projectId','isDirectory','\x5ccli.dva.router.spa.txt','\x5cEditor\x5cindex.js','random','4xwLIqi','createWriteStream','8719711wRRhiz','383936ZhsSTs','readdirSync','\x5c.idea','.zip'];a17_0x4e72=function(){return _0x58d646;};return a17_0x4e72();}function get_project_type(_0x4b42ea){const _0x4d79f4=a17_0xab24d9,_0xa3239=JSON[_0x4d79f4(0x186)](fs[_0x4d79f4(0x16f)](_0x4b42ea)[_0x4d79f4(0x15a)]());return _0xa3239[_0x4d79f4(0x159)];}function update_project_package_json(_0x324a4d,_0x4a7cc6,_0x51f974){const _0x199b7b=a17_0xab24d9,_0x117838=JSON[_0x199b7b(0x186)](fs['readFileSync'](_0x324a4d)[_0x199b7b(0x15a)]());_0x117838[_0x199b7b(0x14c)][_0x4a7cc6]=_0x51f974,fs[_0x199b7b(0x184)](_0x324a4d,JSON[_0x199b7b(0x1a3)](_0x117838,null,0x2));}function a17_0x4e6e(_0x75ad98,_0x57f51c){const _0x4e72a2=a17_0x4e72();return a17_0x4e6e=function(_0x4e6ec3,_0x13396a){_0x4e6ec3=_0x4e6ec3-0x14c;let _0x53fbc2=_0x4e72a2[_0x4e6ec3];return _0x53fbc2;},a17_0x4e6e(_0x75ad98,_0x57f51c);}function content_replace(_0x574fad=[],_0x65c017){const _0x3e0f11=a17_0xab24d9;_0x574fad[_0x3e0f11(0x16b)](_0x10ec6e=>{const _0x23188e=_0x3e0f11,_0xb05729=_0x65c017+_0x10ec6e[_0x23188e(0x175)];if(fs[_0x23188e(0x188)](_0xb05729)){let _0x4a3c5b=fs[_0x23188e(0x16f)](_0xb05729)[_0x23188e(0x15a)]();_0x10ec6e['replace']['forEach'](_0x319502=>{const _0x2855a6=_0x23188e;_0x4a3c5b=_0x4a3c5b[_0x2855a6(0x168)](_0x319502[0x0],_0x319502[0x1]);}),fs[_0x23188e(0x184)](_0xb05729,_0x4a3c5b);}});}
@@ -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
+ const a18_0x27d66b=a18_0xde64;function a18_0xde64(_0x30d93d,_0x2ba706){const _0x151787=a18_0x1517();return a18_0xde64=function(_0xde64a6,_0x23aeff){_0xde64a6=_0xde64a6-0x1df;let _0x2355cd=_0x151787[_0xde64a6];return _0x2355cd;},a18_0xde64(_0x30d93d,_0x2ba706);}(function(_0x1167ce,_0x4d4490){const _0x22dd00=a18_0xde64,_0x1b3241=_0x1167ce();while(!![]){try{const _0x2e605f=-parseInt(_0x22dd00(0x200))/0x1*(parseInt(_0x22dd00(0x1fe))/0x2)+-parseInt(_0x22dd00(0x1f9))/0x3*(-parseInt(_0x22dd00(0x1ee))/0x4)+-parseInt(_0x22dd00(0x1e6))/0x5*(-parseInt(_0x22dd00(0x1e3))/0x6)+-parseInt(_0x22dd00(0x1fc))/0x7+-parseInt(_0x22dd00(0x1ef))/0x8+parseInt(_0x22dd00(0x1ed))/0x9+-parseInt(_0x22dd00(0x1ff))/0xa*(parseInt(_0x22dd00(0x1ec))/0xb);if(_0x2e605f===_0x4d4490)break;else _0x1b3241['push'](_0x1b3241['shift']());}catch(_0x44bcd3){_0x1b3241['push'](_0x1b3241['shift']());}}}(a18_0x1517,0x30005));const fs=require('fs'),path=require(a18_0x27d66b(0x1e8)),readline=require('readline'),ProgressBar=require('./progress-bar'),io=readline[a18_0x27d66b(0x1f7)]({'input':process[a18_0x27d66b(0x1f2)],'output':process[a18_0x27d66b(0x1ea)]}),progress=new ProgressBar(a18_0x27d66b(0x1e1),0x32);let f_total=0x0,f_number=0x0;module[a18_0x27d66b(0x1eb)]=function(){const _0x3eaee=a18_0x27d66b,_0x4ee2be=path[_0x3eaee(0x1e2)]('./');io['question'](_0x3eaee(0x1f1),function(_0x4c1ed4){const _0x498e1c=_0x3eaee;if(_0x4c1ed4[_0x498e1c(0x1fa)]()==='y')console[_0x498e1c(0x1f4)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x334d0b=a18_0xde64;console[_0x334d0b(0x1df)](),exec(_0x4ee2be),setTimeout(()=>{const _0x2a6192=_0x334d0b;console[_0x2a6192(0x1f4)](_0x2a6192(0x1e0)),console['clear'](),process[_0x2a6192(0x1f5)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x4c1ed4[_0x498e1c(0x1fa)]()==='n'?(console[_0x498e1c(0x1f4)]('取消删除。'),process[_0x498e1c(0x1f5)](0x0)):(console[_0x498e1c(0x1f4)](_0x498e1c(0x1fb)),process['exit'](0x0));});};function exec(_0xe3ddaf){const _0x58876b=a18_0x27d66b;if(fs[_0x58876b(0x1f8)](_0xe3ddaf)){const _0x4e07a1=fs['readdirSync'](_0xe3ddaf);for(let _0x2f5f43=0x0;_0x2f5f43<_0x4e07a1[_0x58876b(0x1e7)];_0x2f5f43++){const _0x1f9c85=_0x4e07a1[_0x2f5f43],_0x446bb9=_0xe3ddaf+'/'+_0x1f9c85;try{fs[_0x58876b(0x1fd)](_0x446bb9)[_0x58876b(0x1e5)]()?(exec(_0x446bb9),fs['rmdirSync'](_0x446bb9,{'recursive':!![]}),console[_0x58876b(0x1f4)](_0x58876b(0x1f6)+_0x446bb9)):(fs[_0x58876b(0x1f0)](_0x446bb9),console['log'](_0x58876b(0x1f3)+_0x446bb9));}catch(_0x1b10a2){console[_0x58876b(0x1f4)](_0x58876b(0x1e9)+_0x446bb9);}}}}function scanner(_0x493422){const _0x50369f=a18_0x27d66b;if(fs[_0x50369f(0x1f8)](_0x493422)){const _0xdf7e98=fs[_0x50369f(0x1e4)](_0x493422);for(let _0x4b25ea=0x0;_0x4b25ea<_0xdf7e98['length'];_0x4b25ea++){const _0x24bff7=_0xdf7e98[_0x4b25ea],_0x35a010=_0x493422+'/'+_0x24bff7;try{fs[_0x50369f(0x1fd)](_0x35a010)[_0x50369f(0x1e5)]()?(scanner(_0x35a010),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4f22a8){}}}}function a18_0x1517(){const _0x1dca3b=['删除进度','resolve','2012166cVwZeI','readdirSync','isDirectory','5Xxbyrz','length','path','删除异常:','stdout','exports','93907UNlopH','1637649naLEsk','470116ErPXVv','1938584CLbiBg','unlinkSync','是否确认删除?删除后不可恢复![y/n]:','stdin','删除文件:','log','exit','删除文件夹:','createInterface','existsSync','9tzqqdg','trim','无效操作。','561631FKidFB','statSync','513666CCkPIP','110hTUNIz','1oEzASb','clear','删除完成。'];a18_0x1517=function(){return _0x1dca3b;};return a18_0x1517();}
@@ -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_0x771d45=a19_0x2a1c;(function(_0x4437f7,_0x57d410){const _0x5b5b41=a19_0x2a1c,_0x3666cb=_0x4437f7();while(!![]){try{const _0x437a66=parseInt(_0x5b5b41(0xf0))/0x1*(parseInt(_0x5b5b41(0xfb))/0x2)+parseInt(_0x5b5b41(0xf6))/0x3*(parseInt(_0x5b5b41(0xeb))/0x4)+parseInt(_0x5b5b41(0xef))/0x5+-parseInt(_0x5b5b41(0xea))/0x6+-parseInt(_0x5b5b41(0xfa))/0x7+parseInt(_0x5b5b41(0xe9))/0x8*(parseInt(_0x5b5b41(0xe8))/0x9)+-parseInt(_0x5b5b41(0xf8))/0xa*(parseInt(_0x5b5b41(0xf3))/0xb);if(_0x437a66===_0x57d410)break;else _0x3666cb['push'](_0x3666cb['shift']());}catch(_0xce5ff7){_0x3666cb['push'](_0x3666cb['shift']());}}}(a19_0x58ce,0x261dd));const slog=require(a19_0x771d45(0xed))[a19_0x771d45(0xf7)];function a19_0x2a1c(_0x57e7de,_0x184f93){const _0x58ce99=a19_0x58ce();return a19_0x2a1c=function(_0x2a1c98,_0x4c25b2){_0x2a1c98=_0x2a1c98-0xe7;let _0x207264=_0x58ce99[_0x2a1c98];return _0x207264;},a19_0x2a1c(_0x57e7de,_0x184f93);}function a19_0x58ce(){const _0x19f59b=['Progress','3399VCqhLy','render','total','183woTayC','stdout','14370UZmdsy','description','650370ZIPplT','2GwZbgJ','floor','18243IZpulb','688tawueT','1020414JeshLe','17084fcwuXh','completed','single-line-log','toFixed','1150845HPTUYp','198115cvXqyO','length'];a19_0x58ce=function(){return _0x19f59b;};return a19_0x58ce();}function ProgressBar(_0x1e0cd2,_0x5d7c3c){const _0x59f512=a19_0x771d45;this['description']=_0x1e0cd2||_0x59f512(0xf2),this[_0x59f512(0xf1)]=_0x5d7c3c||0x19,this[_0x59f512(0xf4)]=function(_0x3ca37a){const _0x5271ba=_0x59f512;let _0x204630;const _0x422e76=(_0x3ca37a['completed']/_0x3ca37a[_0x5271ba(0xf5)])[_0x5271ba(0xee)](0x4),_0x3537a8=Math[_0x5271ba(0xe7)](_0x422e76*this[_0x5271ba(0xf1)]);let _0x503081='';for(_0x204630=0x0;_0x204630<_0x3537a8;_0x204630++){_0x503081+='█';}let _0x2653de='';for(_0x204630=0x0;_0x204630<this[_0x5271ba(0xf1)]-_0x3537a8;_0x204630++){_0x2653de+='░';}const _0x193d05=this[_0x5271ba(0xf9)]+':\x20'+(0x64*_0x422e76)[_0x5271ba(0xee)](0x2)+'%\x20'+_0x503081+_0x2653de+'\x20'+_0x3ca37a[_0x5271ba(0xec)]+'/'+_0x3ca37a[_0x5271ba(0xf5)];slog(_0x193d05);};}module['exports']=ProgressBar;
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';const a20_0x3f8da1=a20_0x5ecb;(function(_0xea9eb9,_0x2472bc){const _0x48ac15=a20_0x5ecb,_0xcbc183=_0xea9eb9();while(!![]){try{const _0x4cd2f4=-parseInt(_0x48ac15(0x165))/0x1+-parseInt(_0x48ac15(0x177))/0x2+parseInt(_0x48ac15(0x176))/0x3+-parseInt(_0x48ac15(0x17a))/0x4*(parseInt(_0x48ac15(0x181))/0x5)+-parseInt(_0x48ac15(0x172))/0x6+parseInt(_0x48ac15(0x17f))/0x7+parseInt(_0x48ac15(0x16c))/0x8;if(_0x4cd2f4===_0x2472bc)break;else _0xcbc183['push'](_0xcbc183['shift']());}catch(_0x33185e){_0xcbc183['push'](_0xcbc183['shift']());}}}(a20_0x25a9,0xf042d));function a20_0x5ecb(_0x7b2c7c,_0x1d9c22){const _0x25a9d9=a20_0x25a9();return a20_0x5ecb=function(_0x5ecb66,_0x4ffb25){_0x5ecb66=_0x5ecb66-0x164;let _0x516271=_0x25a9d9[_0x5ecb66];return _0x516271;},a20_0x5ecb(_0x7b2c7c,_0x1d9c22);}const fs=require('fs'),path=require('path');exports[a20_0x3f8da1(0x180)]=(_0x7855a3,_0x31b67e)=>{const _0x1b8dfd=a20_0x3f8da1;let _0x3e28ec=[];const _0x51ac91=this;fs['existsSync'](_0x7855a3)?(_0x3e28ec=fs[_0x1b8dfd(0x167)](_0x7855a3),_0x3e28ec[_0x1b8dfd(0x16a)](function(_0x33bba1,_0x272910){const _0x40b107=_0x1b8dfd;let _0x4e3135=_0x7855a3+'/'+_0x33bba1;fs[_0x40b107(0x179)](_0x4e3135)['isDirectory']()?_0x51ac91[_0x40b107(0x180)](_0x4e3135):fs[_0x40b107(0x16f)](_0x4e3135);}),fs[_0x1b8dfd(0x182)](_0x7855a3),_0x31b67e&&_0x31b67e()):_0x31b67e&&_0x31b67e();},exports['CopyFolder']=(_0x1f19a3,_0x3082b3,_0x4aeddc)=>{const _0x53d6c2=a20_0x3f8da1,_0x4b1468=this;fs[_0x53d6c2(0x16e)](_0x1f19a3,function(_0x2860df,_0x136afd){const _0x5af005=_0x53d6c2;let _0x2cfdcb=0x0;const _0x5e0ceb=function(){const _0x5f1d35=a20_0x5ecb;++_0x2cfdcb===_0x136afd[_0x5f1d35(0x16b)]&&_0x4aeddc&&_0x4aeddc();};if(_0x2860df){_0x5e0ceb();return;}_0x136afd['forEach'](function(_0x2062b9){const _0x3d1fb4=a20_0x5ecb,_0x3d076d=path[_0x3d1fb4(0x170)](_0x1f19a3,_0x2062b9),_0x4a56b2=path[_0x3d1fb4(0x170)](_0x3082b3,_0x2062b9);fs[_0x3d1fb4(0x174)](_0x3d076d,function(_0x11ec9d,_0x422c62){const _0x3f6cc9=_0x3d1fb4;_0x422c62[_0x3f6cc9(0x17b)]()?fs['mkdir'](_0x4a56b2,function(_0x1aee6b){const _0x4cda7b=_0x3f6cc9;if(_0x1aee6b){console[_0x4cda7b(0x17c)](_0x1aee6b);return;}_0x4b1468[_0x4cda7b(0x17d)](_0x3d076d,_0x4a56b2,_0x5e0ceb);}):_0x4b1468[_0x3f6cc9(0x175)](_0x3d076d,_0x4a56b2,_0x5e0ceb);});}),_0x136afd[_0x5af005(0x16b)]===0x0&&_0x4aeddc&&_0x4aeddc();});},exports['CopyFile']=(_0x57dc04,_0x50f78e,_0x1ac3d2)=>{const _0x210883=a20_0x3f8da1,_0x494f4e=fs['createReadStream'](_0x57dc04);_0x494f4e['on']('error',function(_0xaef7e5){const _0x563bf7=a20_0x5ecb;_0xaef7e5&&console[_0x563bf7(0x17c)](_0x563bf7(0x171),_0x57dc04),_0x1ac3d2&&_0x1ac3d2(_0xaef7e5);});const _0x5a8ebb=fs[_0x210883(0x168)](_0x50f78e);_0x5a8ebb['on'](_0x210883(0x16d),function(_0x480ee3){const _0x3dd3c4=_0x210883;_0x480ee3&&console[_0x3dd3c4(0x17c)](_0x3dd3c4(0x17e),_0x50f78e),_0x1ac3d2&&_0x1ac3d2(_0x480ee3);}),_0x5a8ebb['on']('close',function(_0x1d6343){_0x1ac3d2&&_0x1ac3d2(_0x1d6343);}),_0x494f4e[_0x210883(0x173)](_0x5a8ebb);},exports[a20_0x3f8da1(0x166)]=(_0xd059b9,_0x47f7a5)=>{const _0x5390c4=a20_0x3f8da1,_0x1d62aa=this,_0x50a209=fs[_0x5390c4(0x167)](_0xd059b9);_0x50a209['forEach'](_0x2ae3c3=>{const _0x4d1ff0=_0x5390c4,_0x43bc1c=_0xd059b9+'/'+_0x2ae3c3,_0x13e96a=fs[_0x4d1ff0(0x179)](_0x43bc1c);_0x13e96a['isDirectory']()?_0x1d62aa['DeepScanner'](_0x43bc1c,_0x47f7a5):_0x47f7a5['push'](_0x43bc1c);});},exports[a20_0x3f8da1(0x164)]=(_0x3d356c,_0x1a3e2a)=>{return new Promise(_0x2aca2b=>{const _0x3280bb=[];_0x1a3e2a['forEach']((_0x57103b,_0x30d11a)=>{const _0x3abb5b=a20_0x5ecb,_0x46ee49=_0x3d356c+'/'+_0x3280bb[_0x3abb5b(0x170)]('/')+'/'+_0x57103b;try{const _0x118105=fs[_0x3abb5b(0x179)](_0x46ee49);_0x118105['isDirectory']()?_0x30d11a===_0x1a3e2a[_0x3abb5b(0x16b)]-0x1&&_0x2aca2b():(fs[_0x3abb5b(0x169)](_0x46ee49),_0x30d11a===_0x1a3e2a[_0x3abb5b(0x16b)]-0x1&&_0x2aca2b());}catch(_0x43b25d){fs[_0x3abb5b(0x169)](_0x46ee49),_0x30d11a===_0x1a3e2a[_0x3abb5b(0x16b)]-0x1&&_0x2aca2b();}_0x3280bb[_0x3abb5b(0x178)](_0x57103b);});});};function a20_0x25a9(){const _0x478df4=['8nUBUjU','isDirectory','log','CopyFolder','write\x20error','8803515REvVms','DeleteDirAllFile','1519995ibFeXa','rmdirSync','CreatePaths','1704652wUARIo','DeepScanner','readdirSync','createWriteStream','mkdirSync','forEach','length','15112512yZHRMq','error','readdir','unlinkSync','join','read\x20error','5497272bbUKAf','pipe','stat','CopyFile','4886256UEJAJK','1124980euyqMK','push','statSync'];a20_0x25a9=function(){return _0x478df4;};return a20_0x25a9();}