jjb-cmd 2.1.9 → 2.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
4
  <li>
5
- <p>2.1.9</p>
5
+ <p>2.1.11</p>
6
+ <div>增加install.app</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.10</p>
6
10
  <div>组件push增加用户名参数给服务端</div>
7
11
  </li>
8
12
  <li>
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.9",
4
+ "version": "2.1.11",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- function a0_0x42c0(_0xa3e9c,_0x397fc2){const _0x31c9a6=a0_0x31c9();return a0_0x42c0=function(_0x42c0da,_0x2d112f){_0x42c0da=_0x42c0da-0x9b;let _0x45642e=_0x31c9a6[_0x42c0da];return _0x45642e;},a0_0x42c0(_0xa3e9c,_0x397fc2);}const a0_0x91e22a=a0_0x42c0;function a0_0x31c9(){const _0x294093=['Auth\x20NetWork\x20Fail!','315eJTJIn','catch','272600UFvmcT','Auth\x20Success!','writeFileSync','axios','17467BnozHv','unlinkSync','209IaMNpR','then','34428VPbnlt','../cmd.install/config','437076dHfPWg','12477843puQShv','post','join','7RtZsTf','existsSync','66JdSxHI','exports','10235576wFYoZE','log','status','6943728oTNTSu'];a0_0x31c9=function(){return _0x294093;};return a0_0x31c9();}(function(_0x4e526b,_0x5b2c97){const _0x1dfcc0=a0_0x42c0,_0x56ec3a=_0x4e526b();while(!![]){try{const _0x20c278=-parseInt(_0x1dfcc0(0xa1))/0x1*(-parseInt(_0x1dfcc0(0xad))/0x2)+parseInt(_0x1dfcc0(0xa7))/0x3+parseInt(_0x1dfcc0(0xa5))/0x4*(parseInt(_0x1dfcc0(0x9b))/0x5)+-parseInt(_0x1dfcc0(0xb2))/0x6+-parseInt(_0x1dfcc0(0xab))/0x7*(parseInt(_0x1dfcc0(0xaf))/0x8)+parseInt(_0x1dfcc0(0xa8))/0x9+parseInt(_0x1dfcc0(0x9d))/0xa*(parseInt(_0x1dfcc0(0xa3))/0xb);if(_0x20c278===_0x5b2c97)break;else _0x56ec3a['push'](_0x56ec3a['shift']());}catch(_0x46c557){_0x56ec3a['push'](_0x56ec3a['shift']());}}}(a0_0x31c9,0xb2b48));const axios=require(a0_0x91e22a(0xa0)),fs=require('fs'),path=require('path'),{API_HOST}=require(a0_0x91e22a(0xa6));module[a0_0x91e22a(0xae)]=_0x48163a=>{const _0x88693a=a0_0x91e22a;console[_0x88693a(0xb0)](_0x48163a);const [_0x5f4fde,_0x27d197]=_0x48163a;axios[_0x88693a(0xa9)](API_HOST+'/api/auth',{'username':_0x5f4fde,'password':_0x27d197})[_0x88693a(0xa4)](_0x223497=>{const _0x1c2b05=_0x88693a,_0x385ac3=path[_0x1c2b05(0xaa)](__dirname,'../../../.auth');_0x223497['data'][_0x1c2b05(0xb1)]?(console[_0x1c2b05(0xb0)](_0x1c2b05(0x9e)),fs[_0x1c2b05(0x9f)](_0x385ac3,_0x5f4fde+'/'+_0x27d197)):(console['log']('Auth\x20Fail!'),fs[_0x1c2b05(0xac)](_0x385ac3)&&fs[_0x1c2b05(0xa2)](_0x385ac3));})[_0x88693a(0x9c)](_0x26aa64=>{const _0x4cbc27=_0x88693a;console['log'](_0x4cbc27(0xb3));});};
1
+ const a0_0x144ec3=a0_0x4f74;function a0_0x4f74(_0x1dbc94,_0x34c45a){const _0x18e26b=a0_0x18e2();return a0_0x4f74=function(_0x4f74c1,_0x4d044b){_0x4f74c1=_0x4f74c1-0x16c;let _0x163246=_0x18e26b[_0x4f74c1];return _0x163246;},a0_0x4f74(_0x1dbc94,_0x34c45a);}(function(_0xdacc07,_0x3fb22c){const _0x5c0231=a0_0x4f74,_0x3b19a3=_0xdacc07();while(!![]){try{const _0x4854ea=parseInt(_0x5c0231(0x17c))/0x1+parseInt(_0x5c0231(0x16c))/0x2*(-parseInt(_0x5c0231(0x177))/0x3)+-parseInt(_0x5c0231(0x173))/0x4+-parseInt(_0x5c0231(0x180))/0x5*(-parseInt(_0x5c0231(0x171))/0x6)+parseInt(_0x5c0231(0x17f))/0x7+parseInt(_0x5c0231(0x174))/0x8+-parseInt(_0x5c0231(0x17a))/0x9;if(_0x4854ea===_0x3fb22c)break;else _0x3b19a3['push'](_0x3b19a3['shift']());}catch(_0x43b74b){_0x3b19a3['push'](_0x3b19a3['shift']());}}}(a0_0x18e2,0x4847a));function a0_0x18e2(){const _0x2ab4a8=['/api/auth','3493385YFjwGk','215CRbeLD','Auth\x20NetWork\x20Fail!','path','join','exports','14MVFofZ','Auth\x20Fail!','existsSync','writeFileSync','../cmd.install/config','57474auDGIo','../../../.auth','57760URpFmy','4121568lxRFWE','data','then','4776cXDbHx','unlinkSync','Auth\x20Success!','13304817ApRwtM','post','373807GZvJqg','log'];a0_0x18e2=function(){return _0x2ab4a8;};return a0_0x18e2();}const axios=require('axios'),fs=require('fs'),path=require(a0_0x144ec3(0x182)),{API_HOST}=require(a0_0x144ec3(0x170));module[a0_0x144ec3(0x184)]=_0x234e3e=>{const _0x2a8898=a0_0x144ec3;console['log'](_0x234e3e);const [_0x4f3786,_0x2a22f3]=_0x234e3e;axios[_0x2a8898(0x17b)](API_HOST+_0x2a8898(0x17e),{'username':_0x4f3786,'password':_0x2a22f3})[_0x2a8898(0x176)](_0x3e5ba2=>{const _0xc541c1=_0x2a8898,_0x4a848f=path[_0xc541c1(0x183)](__dirname,_0xc541c1(0x172));_0x3e5ba2[_0xc541c1(0x175)]['status']?(console[_0xc541c1(0x17d)](_0xc541c1(0x179)),fs[_0xc541c1(0x16f)](_0x4a848f,_0x4f3786+'/'+_0x2a22f3)):(console[_0xc541c1(0x17d)](_0xc541c1(0x16d)),fs[_0xc541c1(0x16e)](_0x4a848f)&&fs[_0xc541c1(0x178)](_0x4a848f));})['catch'](_0x4f6e85=>{const _0x3e9e9e=_0x2a8898;console[_0x3e9e9e(0x17d)](_0x3e9e9e(0x181));});};
@@ -1 +1 @@
1
- function a1_0x4c6a(){const _0x17109b=['-master-','8902670vpbzxq','resolve','zip','/repository/archive.zip?private_token=','log','../cmd.install/tools','初始化完成!','2493300AgAvHR','request','exit','910490zQnEzS','mkdirSync','DeleteDirAllFile','forEach','token','uncompress','then','2xmTJkj','indexOf','2679064phNjmK','exports','CopyFolder','不存在。','6ernbsa','838626gKTavE','9335SBSNma','2061261ZxFECS','projectId','8KFZuIo','/unzip/','【Error】:初始化失败,','pipe','compressing','../../old/util'];a1_0x4c6a=function(){return _0x17109b;};return a1_0x4c6a();}const a1_0x1110ea=a1_0x2814;(function(_0x4e14a8,_0x161ff7){const _0x598000=a1_0x2814,_0x150a81=_0x4e14a8();while(!![]){try{const _0x3bce9f=parseInt(_0x598000(0xfc))/0x1*(parseInt(_0x598000(0x103))/0x2)+parseInt(_0x598000(0xf2))/0x3+-parseInt(_0x598000(0xfe))/0x4+-parseInt(_0x598000(0x104))/0x5*(-parseInt(_0x598000(0x102))/0x6)+parseInt(_0x598000(0xf5))/0x7+parseInt(_0x598000(0xe4))/0x8*(parseInt(_0x598000(0x105))/0x9)+-parseInt(_0x598000(0xeb))/0xa;if(_0x3bce9f===_0x161ff7)break;else _0x150a81['push'](_0x150a81['shift']());}catch(_0x15c14a){_0x150a81['push'](_0x150a81['shift']());}}}(a1_0x4c6a,0x72e83));function a1_0x2814(_0x4f6b53,_0x260760){const _0x4c6af0=a1_0x4c6a();return a1_0x2814=function(_0x2814a0,_0x4430e4){_0x2814a0=_0x2814a0-0xe3;let _0x4c949d=_0x4c6af0[_0x2814a0];return _0x4c949d;},a1_0x2814(_0x4f6b53,_0x260760);}const path=require('path'),{f_file_copy}=require(a1_0x1110ea(0xf0)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a1_0x1110ea(0xe9)),request=require(a1_0x1110ea(0xf3)),compressing=require(a1_0x1110ea(0xe8));module[a1_0x1110ea(0xff)]=_0x3d5aa4=>{const _0x300e7a=a1_0x1110ea,_0x429f16=path[_0x300e7a(0xec)]('./'),_0x1578a6=CLOUD_PROJECT[_0x3d5aa4]||undefined;if(_0x1578a6){const _0x28b980=os['tmpdir'](),_0xd07937=_0x28b980+'/'+GIT_TEMP_DIR+'/'+_0x3d5aa4+'.zip',_0x2c15f0=_0x28b980+'/'+GIT_TEMP_DIR+_0x300e7a(0xe5);utils[_0x300e7a(0xf7)](_0x28b980+'/'+GIT_TEMP_DIR,()=>{const _0x536f07=_0x300e7a;fs[_0x536f07(0xf6)](_0x28b980+'/'+GIT_TEMP_DIR);let _0x4d8015=fs['createWriteStream'](_0xd07937);request(GIT_HOST+'/api/v4/projects/'+_0x1578a6[_0x536f07(0xe3)]+_0x536f07(0xee)+_0x1578a6[_0x536f07(0xf9)]+'&ref=master')[_0x536f07(0xe7)](_0x4d8015)['on']('close',()=>{const _0x3c4d00=_0x536f07;fs[_0x3c4d00(0xf6)](_0x2c15f0),compressing[_0x3c4d00(0xed)][_0x3c4d00(0xfa)](_0xd07937,_0x2c15f0)[_0x3c4d00(0xfb)](()=>{setTimeout(()=>{const _0x302606=a1_0x2814;fs['readdirSync'](_0x2c15f0)[_0x302606(0xf8)](_0x22b90e=>{const _0x1c449a=_0x302606;_0x22b90e[_0x1c449a(0xfd)](_0x1c449a(0xea))!==-0x1&&utils[_0x1c449a(0x100)](_0x2c15f0+_0x22b90e,_0x429f16,()=>{const _0x5d9740=_0x1c449a;console[_0x5d9740(0xef)](_0x5d9740(0xf1)),process[_0x5d9740(0xf4)](0x0);});});},0x7d0);});});});}else console[_0x300e7a(0xef)](_0x300e7a(0xe6)+_0x3d5aa4+_0x300e7a(0x101));};
1
+ const a1_0x37baa7=a1_0x5ce9;(function(_0x306191,_0x44b107){const _0x1405e8=a1_0x5ce9,_0x30a4a8=_0x306191();while(!![]){try{const _0x29c9fe=-parseInt(_0x1405e8(0x1e7))/0x1+parseInt(_0x1405e8(0x1d8))/0x2+-parseInt(_0x1405e8(0x1fa))/0x3*(parseInt(_0x1405e8(0x1f5))/0x4)+-parseInt(_0x1405e8(0x1df))/0x5+parseInt(_0x1405e8(0x1e9))/0x6*(-parseInt(_0x1405e8(0x1e4))/0x7)+parseInt(_0x1405e8(0x1dd))/0x8*(parseInt(_0x1405e8(0x1f9))/0x9)+parseInt(_0x1405e8(0x1e8))/0xa*(parseInt(_0x1405e8(0x1e1))/0xb);if(_0x29c9fe===_0x44b107)break;else _0x30a4a8['push'](_0x30a4a8['shift']());}catch(_0x32cfd4){_0x30a4a8['push'](_0x30a4a8['shift']());}}}(a1_0x2319,0x2c00f));const path=require(a1_0x37baa7(0x1fd)),{f_file_copy}=require(a1_0x37baa7(0x1e6)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x37baa7(0x1d9)),fs=require('fs'),os=require('os'),utils=require('../../old/util'),request=require(a1_0x37baa7(0x1de)),compressing=require(a1_0x37baa7(0x1ec));module['exports']=_0x3a3d4f=>{const _0x3eada9=a1_0x37baa7,_0x3abd6e=path[_0x3eada9(0x1ea)]('./'),_0x3a4d0a=CLOUD_PROJECT[_0x3a3d4f]||undefined;if(_0x3a4d0a){const _0x28fb49=os['tmpdir'](),_0x9ba3a4=_0x28fb49+'/'+GIT_TEMP_DIR+'/'+_0x3a3d4f+_0x3eada9(0x1f3),_0x385dff=_0x28fb49+'/'+GIT_TEMP_DIR+_0x3eada9(0x1eb);utils[_0x3eada9(0x1f4)](_0x28fb49+'/'+GIT_TEMP_DIR,()=>{const _0x443af0=_0x3eada9;fs[_0x443af0(0x1ed)](_0x28fb49+'/'+GIT_TEMP_DIR);let _0x542b60=fs[_0x443af0(0x1dc)](_0x9ba3a4);request(GIT_HOST+_0x443af0(0x1e3)+_0x3a4d0a[_0x443af0(0x1e5)]+'/repository/archive.zip?private_token='+_0x3a4d0a[_0x443af0(0x1e2)]+_0x443af0(0x1e0))[_0x443af0(0x1fc)](_0x542b60)['on'](_0x443af0(0x1f1),()=>{const _0x1ab0ea=_0x443af0;fs[_0x1ab0ea(0x1ed)](_0x385dff),compressing[_0x1ab0ea(0x1f0)][_0x1ab0ea(0x1ef)](_0x9ba3a4,_0x385dff)[_0x1ab0ea(0x1f2)](()=>{setTimeout(()=>{const _0x136642=a1_0x5ce9;fs['readdirSync'](_0x385dff)[_0x136642(0x1fb)](_0x40f394=>{const _0x316826=_0x136642;_0x40f394[_0x316826(0x1db)](_0x316826(0x1f8))!==-0x1&&utils['CopyFolder'](_0x385dff+_0x40f394,_0x3abd6e,()=>{const _0x535cf0=_0x316826;console[_0x535cf0(0x1f7)](_0x535cf0(0x1ee)),process[_0x535cf0(0x1da)](0x0);});});},0x7d0);});});});}else console['log'](_0x3eada9(0x1f6)+_0x3a3d4f+'不存在。');};function a1_0x5ce9(_0x1fecfa,_0x386a4e){const _0x231918=a1_0x2319();return a1_0x5ce9=function(_0x5ce90f,_0x4614db){_0x5ce90f=_0x5ce90f-0x1d8;let _0x4cd080=_0x231918[_0x5ce90f];return _0x4cd080;},a1_0x5ce9(_0x1fecfa,_0x386a4e);}function a1_0x2319(){const _0x176fe6=['token','/api/v4/projects/','133DEuyuN','projectId','../cmd.install/tools','327326gkzYyH','110lDaDAh','54546vAYOVc','resolve','/unzip/','compressing','mkdirSync','初始化完成!','uncompress','zip','close','then','.zip','DeleteDirAllFile','1250488NmJDVQ','【Error】:初始化失败,','log','-master-','9FkDJPa','3wOZwRb','forEach','pipe','path','316638FDGXuV','../cmd.install/config','exit','indexOf','createWriteStream','1623056xFChVC','request','1036660lCTzbT','&ref=master','839047UTkAXx'];a1_0x2319=function(){return _0x176fe6;};return a1_0x2319();}
@@ -1 +1 @@
1
- const a2_0x2c6173=a2_0x40f0;(function(_0x405a7b,_0x55675f){const _0x576116=a2_0x40f0,_0xe9e55b=_0x405a7b();while(!![]){try{const _0x294d8f=-parseInt(_0x576116(0x197))/0x1+-parseInt(_0x576116(0x183))/0x2+-parseInt(_0x576116(0x195))/0x3*(parseInt(_0x576116(0x193))/0x4)+-parseInt(_0x576116(0x18d))/0x5*(parseInt(_0x576116(0x18f))/0x6)+parseInt(_0x576116(0x192))/0x7+-parseInt(_0x576116(0x18e))/0x8+parseInt(_0x576116(0x181))/0x9;if(_0x294d8f===_0x55675f)break;else _0xe9e55b['push'](_0xe9e55b['shift']());}catch(_0xe62a08){_0xe9e55b['push'](_0xe9e55b['shift']());}}}(a2_0x4e5b,0x4eb5c));function a2_0x40f0(_0x1aae68,_0x5125dd){const _0x4e5b82=a2_0x4e5b();return a2_0x40f0=function(_0x40f043,_0x2f3c2c){_0x40f043=_0x40f043-0x17c;let _0xc99ba1=_0x4e5b82[_0x40f043];return _0xc99ba1;},a2_0x40f0(_0x1aae68,_0x5125dd);}const os=require('os');function a2_0x4e5b(){const _0x10bd85=['http://120.26.210.58:8088','jjb-assembly-','jjb-assembly-java','10808739EXmuCG','7V-YUxhmh51Mdhgx4rq4','701724vnaqqR','FqNrmFAgrxasMrbbjvq9','GIT_TEMP_JAVA','G4HJRsHr9D7Ssmixegw2','GIT_HOST','TEMPLATE_FOLDER','tmpdir','ywPtT3xCG6b_vAxp6sTj','CLOUD_PROJECT','FT3pKzxpRynFkmddJ9Bs','5nhGJNP','231456XpCbXa','1001094cVhwPn','now','gPSit8aJsLVmNzuQ5Cy4','4186364uVUeqF','36GvwsAt','API_HOST','133842LwbwEI','e9njpBd1nS_LREN8GFpR','528458MbeJFF','GIT_TEMP_DIR','test'];a2_0x4e5b=function(){return _0x10bd85;};return a2_0x4e5b();}exports[a2_0x2c6173(0x194)]=a2_0x2c6173(0x17e),exports[a2_0x2c6173(0x187)]='http://192.168.1.242:10985',exports[a2_0x2c6173(0x17c)]=a2_0x2c6173(0x17f)+Date[a2_0x2c6173(0x190)](),exports[a2_0x2c6173(0x185)]=a2_0x2c6173(0x180),exports['GIT_JAVA_ENV_JSON']={'development':'dev','production':'prod','test':a2_0x2c6173(0x17d)},exports[a2_0x2c6173(0x18b)]={'common':{'token':a2_0x2c6173(0x186),'projectId':0x117},'react-admin-component':{'token':a2_0x2c6173(0x18c),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a2_0x2c6173(0x196),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x2c6173(0x191),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x2c6173(0x182),'projectId':0x33e},'micro-app':{'token':a2_0x2c6173(0x184),'projectId':0x33d},'lib':{'token':a2_0x2c6173(0x18a),'projectId':0x33c}},exports[a2_0x2c6173(0x188)]=os[a2_0x2c6173(0x189)]()+'\x5c'+exports[a2_0x2c6173(0x17c)];
1
+ function a2_0x3e20(){const _0xc82888=['jjb-assembly-','jjb-assembly-java','1bGlhHF','807864MsSvAM','snBxJ2i5kYarGGcsojhY','127084BSifyX','G4HJRsHr9D7Ssmixegw2','test','7V-YUxhmh51Mdhgx4rq4','now','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','8141660pTCfZN','GIT_TEMP_JAVA','36RBJLzu','12215icukMC','http://192.168.1.242:10985','3270KQRcWW','3128733UTnyEj','10244619KJWxPG','GIT_TEMP_DIR','18qgHwCD','GIT_JAVA_ENV_JSON','306420GNuvXF','CLOUD_PROJECT','gPSit8aJsLVmNzuQ5Cy4','GIT_HOST','tmpdir','http://120.26.210.58:8088'];a2_0x3e20=function(){return _0xc82888;};return a2_0x3e20();}const a2_0x119a33=a2_0x13e7;function a2_0x13e7(_0x457e82,_0x4a91d7){const _0x3e2076=a2_0x3e20();return a2_0x13e7=function(_0x13e77c,_0x5c1d0b){_0x13e77c=_0x13e77c-0x99;let _0x4624af=_0x3e2076[_0x13e77c];return _0x4624af;},a2_0x13e7(_0x457e82,_0x4a91d7);}(function(_0x541e73,_0x47bb8d){const _0x544942=a2_0x13e7,_0x2c9149=_0x541e73();while(!![]){try{const _0x363aab=parseInt(_0x544942(0x9b))/0x1*(parseInt(_0x544942(0x9e))/0x2)+parseInt(_0x544942(0xab))/0x3+-parseInt(_0x544942(0xa7))/0x4*(parseInt(_0x544942(0xb0))/0x5)+parseInt(_0x544942(0xaa))/0x6*(parseInt(_0x544942(0xa8))/0x7)+parseInt(_0x544942(0x9c))/0x8+parseInt(_0x544942(0xae))/0x9*(-parseInt(_0x544942(0xa5))/0xa)+parseInt(_0x544942(0xac))/0xb;if(_0x363aab===_0x47bb8d)break;else _0x2c9149['push'](_0x2c9149['shift']());}catch(_0x2c1c81){_0x2c9149['push'](_0x2c9149['shift']());}}}(a2_0x3e20,0xde24e));const os=require('os');exports['API_HOST']=a2_0x119a33(0xb5),exports[a2_0x119a33(0xb3)]=a2_0x119a33(0xa9),exports[a2_0x119a33(0xad)]=a2_0x119a33(0x99)+Date[a2_0x119a33(0xa2)](),exports[a2_0x119a33(0xa6)]=a2_0x119a33(0x9a),exports[a2_0x119a33(0xaf)]={'development':'dev','production':'prod','test':a2_0x119a33(0xa0)},exports[a2_0x119a33(0xb1)]={'common':{'token':a2_0x119a33(0x9f),'projectId':0x117},'react-admin-component':{'token':a2_0x119a33(0xa4),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0x119a33(0xb2),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a2_0x119a33(0x9d),'projectId':0x33f},'micro-app-ts':{'token':a2_0x119a33(0xa1),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x119a33(0xa3)]=os[a2_0x119a33(0xb4)]()+'\x5c'+exports[a2_0x119a33(0xad)];
@@ -1 +1 @@
1
- const a3_0x4910fb=a3_0x5ad1;(function(_0x27e7d6,_0x39235b){const _0x286bb7=a3_0x5ad1,_0x4b90dd=_0x27e7d6();while(!![]){try{const _0x2abd7f=parseInt(_0x286bb7(0xc4))/0x1+parseInt(_0x286bb7(0xcb))/0x2*(parseInt(_0x286bb7(0xa5))/0x3)+parseInt(_0x286bb7(0xd2))/0x4*(-parseInt(_0x286bb7(0xc5))/0x5)+parseInt(_0x286bb7(0xa4))/0x6+-parseInt(_0x286bb7(0xd3))/0x7*(parseInt(_0x286bb7(0xcc))/0x8)+-parseInt(_0x286bb7(0xbe))/0x9+parseInt(_0x286bb7(0xc7))/0xa;if(_0x2abd7f===_0x39235b)break;else _0x4b90dd['push'](_0x4b90dd['shift']());}catch(_0x333e97){_0x4b90dd['push'](_0x4b90dd['shift']());}}}(a3_0xb594,0x1d9d6));function a3_0x5ad1(_0x58f7f6,_0x543ff0){const _0xb594ba=a3_0xb594();return a3_0x5ad1=function(_0x5ad121,_0x3ba12b){_0x5ad121=_0x5ad121-0x9f;let _0x325abf=_0xb594ba[_0x5ad121];return _0x325abf;},a3_0x5ad1(_0x58f7f6,_0x543ff0);}const fs=require('fs'),path=require(a3_0x4910fb(0xb3)),request=require(a3_0x4910fb(0xbf)),compressing=require(a3_0x4910fb(0xd1)),{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_0x4910fb(0xaf)),{TEMPLATE_FOLDER}=require(a3_0x4910fb(0xd0)),start_time=Date[a3_0x4910fb(0xa8)]();function a3_0xb594(){const _0x28beb6=['filter','find','name','713034ZCnyxc','request','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','uncompress','map','push','66668igcQbh','15fcJIaz','.idea','1026640pGJAwv','.gitignore','repository','【Error】:安装失败,node_modules目录不存在。','4652brcPAA','8xnGTvP','package.json','exports','_zip','./config','compressing','35428LnrkHe','1358672vsNRGo','src','unlinkSync','mkdirSync','forEach','node_modules','installResources','1.0.0','compress','1441398tYzKCs','15AdnEMB','length','join','now','zip','readdirSync','existsSync','importList','log','resolve','./tools','exit','includes','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','path','jjb-common-lib','pure_name','installTarget','createWriteStream','【jjb-cmd】:install命令执行完成,用时','index.js','replace'];a3_0xb594=function(){return _0x28beb6;};return a3_0xb594();}module[a3_0x4910fb(0xce)]=()=>{const _0x417822=a3_0x4910fb,_0x52df9d=path[_0x417822(0xae)]('./'),_0x384be7=[_0x52df9d,'src\x5c'][_0x417822(0xa7)]('\x5c'),_0x4f647f=[_0x52df9d,'node_modules'][_0x417822(0xa7)]('\x5c'),_0x1da411=[_0x52df9d,_0x417822(0xcd)]['join']('\x5c');if(f_scan_jjb_config_json(_0x52df9d)){const _0x133e6c=f_scan_jjb_config_json_rules(_0x52df9d);_0x133e6c[_0x417822(0xb6)]==='node_modules'?!fs[_0x417822(0xab)](_0x4f647f)?(console[_0x417822(0xad)](_0x417822(0xca)),process[_0x417822(0xb0)](0x0)):console[_0x417822(0xad)](_0x417822(0xb2)):!fs[_0x417822(0xab)](_0x384be7)&&(console[_0x417822(0xad)]('【Error】:安装失败,src目录不存在。'),process[_0x417822(0xb0)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x133e6c[_0x417822(0xa1)])[_0x417822(0xc2)](_0x40db91=>{const _0x368f79=_0x417822,_0x247071=fs[_0x368f79(0xb7)](_0x40db91[_0x368f79(0xb3)]);request(_0x40db91[_0x368f79(0xc9)])['pipe'](_0x247071)['on']('close',()=>{const _0x4d9ef6=_0x368f79;fs[_0x4d9ef6(0xd6)](_0x40db91[_0x4d9ef6(0xa3)]),compressing[_0x4d9ef6(0xa9)][_0x4d9ef6(0xc1)](_0x40db91[_0x4d9ef6(0xb3)],_0x40db91[_0x4d9ef6(0xa3)]);});});const _0x340fd7=setInterval(()=>{const _0x2f69e5=_0x417822,_0x2ff85d=fs[_0x2f69e5(0xaa)](TEMPLATE_FOLDER),_0x236350=_0x2ff85d[_0x2f69e5(0xbb)](_0x389293=>_0x133e6c['installResources'][_0x2f69e5(0xc2)](_0x5733b4=>_0x5733b4[_0x2f69e5(0xbd)]+_0x2f69e5(0xcf))[_0x2f69e5(0xb1)](_0x389293));if(_0x236350[_0x2f69e5(0xa6)]===_0x133e6c[_0x2f69e5(0xa1)][_0x2f69e5(0xa6)]){clearInterval(_0x340fd7);const _0x1a5cc0=[];_0x236350[_0x2f69e5(0x9f)](_0x585696=>{const _0x2c7fa1=_0x2f69e5,_0x2095c4=[TEMPLATE_FOLDER,_0x585696][_0x2c7fa1(0xa7)]('\x5c');fs[_0x2c7fa1(0xaa)](_0x2095c4)[_0x2c7fa1(0x9f)](_0x4a24b2=>_0x1a5cc0[_0x2c7fa1(0xc3)]({'name':_0x585696,'path':[_0x2095c4,_0x4a24b2][_0x2c7fa1(0xa7)]('\x5c'),'pure_name':_0x585696[_0x2c7fa1(0xba)](/_zip$/,''),'import_list':_0x133e6c[_0x2c7fa1(0xa1)][_0x2c7fa1(0xbc)](_0x1488fa=>_0x1488fa['name']+_0x2c7fa1(0xcf)===_0x585696)[_0x2c7fa1(0xac)]}));}),_0x1a5cc0[_0x2f69e5(0x9f)](_0x57ce50=>{const _0x1cfc0f=_0x2f69e5,_0x20f314=_0x57ce50[_0x1cfc0f(0xb5)],_0x2b1d9c=_0x57ce50['import_list'],_0x7f5c1e=[_0x57ce50[_0x1cfc0f(0xb3)],_0x1cfc0f(0xc6)]['join']('//'),_0x2b9bf0=[_0x57ce50[_0x1cfc0f(0xb3)],_0x1cfc0f(0xc8)]['join']('//');fs['existsSync'](_0x7f5c1e)&&(f_rm_rf(_0x7f5c1e),fs['rmdirSync'](_0x7f5c1e));fs[_0x1cfc0f(0xab)](_0x2b9bf0)&&fs[_0x1cfc0f(0xd5)](_0x2b9bf0);_0x2b1d9c[_0x1cfc0f(0xa6)]&&fs['readdirSync'](_0x57ce50[_0x1cfc0f(0xb3)])['filter'](_0x148220=>!_0x2b1d9c[_0x1cfc0f(0xb1)](_0x148220)&&_0x148220!==_0x1cfc0f(0xb9)&&_0x148220!=='setting.json')['forEach'](_0x2f1277=>{const _0x3e381b=_0x1cfc0f,_0xf410ed=_0x57ce50[_0x3e381b(0xb3)]+'\x5c'+_0x2f1277;f_rm_rf(_0xf410ed),fs['rmdirSync'](_0xf410ed);});if(_0x133e6c['installTarget']===_0x1cfc0f(0xa0)){const _0x5912cb=_0x20f314;fs['existsSync'](_0x4f647f+'\x5c'+_0x5912cb)?f_rm_rf(_0x4f647f+'\x5c'+_0x5912cb):fs['mkdirSync'](_0x4f647f+'\x5c'+_0x5912cb),_0x5912cb!==_0x1cfc0f(0xb4)?(f_file_copy(_0x57ce50[_0x1cfc0f(0xb3)],_0x4f647f+'\x5c'+_0x5912cb),f_create_package_json(_0x4f647f+'\x5c'+_0x5912cb,_0x5912cb,_0x1cfc0f(0xa2))):f_file_copy(_0x57ce50['path']+'\x5ctypes',_0x4f647f+'\x5c'+_0x5912cb),f_update_project_package_json(_0x1da411,_0x5912cb,_0x1cfc0f(0xa2));}else _0x133e6c[_0x1cfc0f(0xb6)]===_0x1cfc0f(0xd4)&&(fs[_0x1cfc0f(0xab)](_0x384be7+_0x20f314)?f_rm_rf(_0x384be7+_0x20f314):fs[_0x1cfc0f(0xd6)](_0x384be7+_0x20f314),f_file_copy(_0x57ce50['path'],_0x384be7+_0x20f314));}),setTimeout(()=>{const _0x571db2=_0x2f69e5;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x34594c=Date[_0x571db2(0xa8)]();console[_0x571db2(0xad)](_0x571db2(0xb8)+(_0x34594c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x417822(0xad)](_0x417822(0xc0));};
1
+ function a3_0x14fe(){const _0x2cda05=['uncompress','join','unlinkSync','forEach','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','setting.json','compress','3544RcNMRE','length','log','rmdirSync','【jjb-cmd】:install命令执行完成,用时','\x5ctypes','readdirSync','installTarget','673857OTrqEf','4JksLpV','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','.gitignore','exit','index.js','29600050fmbFIy','installResources','1.0.0','path','10onYaNS','pure_name','filter','find','zip','existsSync','node_modules','package.json','exports','16415TcSwsq','map','./config','jjb-common-lib','close','11090862BKFkVd','_zip','pipe','repository','compressing','1125660coNicr','mkdirSync','replace','now','2981775rdbwgo','createWriteStream','8817420HfzPRl','【Error】:安装失败,node_modules目录不存在。','request','【Error】:安装失败,src目录不存在。'];a3_0x14fe=function(){return _0x2cda05;};return a3_0x14fe();}function a3_0x2685(_0x35c76a,_0x2fd2a6){const _0x14fe7d=a3_0x14fe();return a3_0x2685=function(_0x268502,_0x1c1e04){_0x268502=_0x268502-0x96;let _0x38d9fb=_0x14fe7d[_0x268502];return _0x38d9fb;},a3_0x2685(_0x35c76a,_0x2fd2a6);}const a3_0x312644=a3_0x2685;(function(_0x2fb5e5,_0x4a7a1e){const _0x119c90=a3_0x2685,_0x5cd951=_0x2fb5e5();while(!![]){try{const _0x4ccde1=parseInt(_0x119c90(0xae))/0x1+-parseInt(_0x119c90(0x9b))/0x2*(-parseInt(_0x119c90(0xc7))/0x3)+parseInt(_0x119c90(0xc8))/0x4*(-parseInt(_0x119c90(0xb2))/0x5)+-parseInt(_0x119c90(0xb4))/0x6+parseInt(_0x119c90(0xa4))/0x7*(-parseInt(_0x119c90(0xbf))/0x8)+-parseInt(_0x119c90(0xa9))/0x9+parseInt(_0x119c90(0x97))/0xa;if(_0x4ccde1===_0x4a7a1e)break;else _0x5cd951['push'](_0x5cd951['shift']());}catch(_0x229ef9){_0x5cd951['push'](_0x5cd951['shift']());}}}(a3_0x14fe,0xd4d02));const fs=require('fs'),path=require(a3_0x312644(0x9a)),request=require(a3_0x312644(0xb6)),compressing=require(a3_0x312644(0xad)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER}=require(a3_0x312644(0xa6)),start_time=Date[a3_0x312644(0xb1)]();module[a3_0x312644(0xa3)]=()=>{const _0x119b46=a3_0x312644,_0x2127fb=path['resolve']('./'),_0x27c0f5=[_0x2127fb,'src\x5c'][_0x119b46(0xb9)]('\x5c'),_0x431ea4=[_0x2127fb,_0x119b46(0xa1)]['join']('\x5c'),_0x4228b3=[_0x2127fb,_0x119b46(0xa2)][_0x119b46(0xb9)]('\x5c');if(f_scan_jjb_config_json(_0x2127fb)){const _0x3725a3=f_scan_jjb_config_json_rules(_0x2127fb);_0x3725a3[_0x119b46(0xc6)]==='node_modules'?!fs[_0x119b46(0xa0)](_0x431ea4)?(console[_0x119b46(0xc1)](_0x119b46(0xb5)),process[_0x119b46(0xcb)](0x0)):console[_0x119b46(0xc1)](_0x119b46(0xc9)):!fs['existsSync'](_0x27c0f5)&&(console[_0x119b46(0xc1)](_0x119b46(0xb7)),process[_0x119b46(0xcb)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x3725a3['installResources'])['map'](_0x120da4=>{const _0x9ef742=_0x119b46,_0x6d81d5=fs[_0x9ef742(0xb3)](_0x120da4['path']);request(_0x120da4[_0x9ef742(0xac)])[_0x9ef742(0xab)](_0x6d81d5)['on'](_0x9ef742(0xa8),()=>{const _0x34702a=_0x9ef742;fs[_0x34702a(0xaf)](_0x120da4[_0x34702a(0xbe)]),compressing[_0x34702a(0x9f)][_0x34702a(0xb8)](_0x120da4['path'],_0x120da4[_0x34702a(0xbe)]);});});const _0x28d2b1=setInterval(()=>{const _0x3e1bee=_0x119b46,_0x420471=fs[_0x3e1bee(0xc5)](TEMPLATE_FOLDER),_0x2287ca=_0x420471[_0x3e1bee(0x9d)](_0x2ba4ac=>_0x3725a3['installResources'][_0x3e1bee(0xa5)](_0x4bb275=>_0x4bb275['name']+_0x3e1bee(0xaa))['includes'](_0x2ba4ac));if(_0x2287ca[_0x3e1bee(0xc0)]===_0x3725a3[_0x3e1bee(0x98)][_0x3e1bee(0xc0)]){clearInterval(_0x28d2b1);const _0x4ebd8c=[];_0x2287ca[_0x3e1bee(0xbb)](_0x19ef79=>{const _0x162bea=_0x3e1bee,_0x5cbcb3=[TEMPLATE_FOLDER,_0x19ef79][_0x162bea(0xb9)]('\x5c');fs[_0x162bea(0xc5)](_0x5cbcb3)[_0x162bea(0xbb)](_0x7c587c=>_0x4ebd8c['push']({'name':_0x19ef79,'path':[_0x5cbcb3,_0x7c587c][_0x162bea(0xb9)]('\x5c'),'pure_name':_0x19ef79[_0x162bea(0xb0)](/_zip$/,''),'import_list':_0x3725a3[_0x162bea(0x98)][_0x162bea(0x9e)](_0x1586e6=>_0x1586e6['name']+_0x162bea(0xaa)===_0x19ef79)['importList']}));}),_0x4ebd8c[_0x3e1bee(0xbb)](_0x5d3388=>{const _0x1c426e=_0x3e1bee,_0x33930b=_0x5d3388[_0x1c426e(0x9c)],_0x54deef=_0x5d3388['import_list'],_0x448ac4=[_0x5d3388['path'],'.idea'][_0x1c426e(0xb9)]('//'),_0x2196e9=[_0x5d3388['path'],_0x1c426e(0xca)][_0x1c426e(0xb9)]('//');fs[_0x1c426e(0xa0)](_0x448ac4)&&(f_rm_rf(_0x448ac4),fs[_0x1c426e(0xc2)](_0x448ac4));fs[_0x1c426e(0xa0)](_0x2196e9)&&fs[_0x1c426e(0xba)](_0x2196e9);_0x54deef[_0x1c426e(0xc0)]&&fs[_0x1c426e(0xc5)](_0x5d3388[_0x1c426e(0x9a)])[_0x1c426e(0x9d)](_0x519a86=>!_0x54deef['includes'](_0x519a86)&&_0x519a86!==_0x1c426e(0x96)&&_0x519a86!==_0x1c426e(0xbd))['forEach'](_0x324fd6=>{const _0x3252ab=_0x1c426e,_0x46b613=_0x5d3388[_0x3252ab(0x9a)]+'\x5c'+_0x324fd6;f_rm_rf(_0x46b613),fs[_0x3252ab(0xc2)](_0x46b613);});if(_0x3725a3[_0x1c426e(0xc6)]===_0x1c426e(0xa1)){const _0x258869=_0x33930b;fs[_0x1c426e(0xa0)](_0x431ea4+'\x5c'+_0x258869)?f_rm_rf(_0x431ea4+'\x5c'+_0x258869):fs[_0x1c426e(0xaf)](_0x431ea4+'\x5c'+_0x258869),_0x258869!==_0x1c426e(0xa7)?(f_file_copy(_0x5d3388[_0x1c426e(0x9a)],_0x431ea4+'\x5c'+_0x258869),f_create_package_json(_0x431ea4+'\x5c'+_0x258869,_0x258869,'1.0.0')):f_file_copy(_0x5d3388[_0x1c426e(0x9a)]+_0x1c426e(0xc4),_0x431ea4+'\x5c'+_0x258869),f_update_project_package_json(_0x4228b3,_0x258869,_0x1c426e(0x99));}else _0x3725a3[_0x1c426e(0xc6)]==='src'&&(fs['existsSync'](_0x27c0f5+_0x33930b)?f_rm_rf(_0x27c0f5+_0x33930b):fs[_0x1c426e(0xaf)](_0x27c0f5+_0x33930b),f_file_copy(_0x5d3388[_0x1c426e(0x9a)],_0x27c0f5+_0x33930b));}),setTimeout(()=>{const _0x76d19e=_0x3e1bee;f_rm_rf(TEMPLATE_FOLDER),fs[_0x76d19e(0xc2)](TEMPLATE_FOLDER);const _0x41e71c=Date[_0x76d19e(0xb1)]();console[_0x76d19e(0xc1)](_0x76d19e(0xc3)+(_0x41e71c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x119b46(0xbc));};
@@ -1 +1 @@
1
- const a4_0x2e9568=a4_0x47f1;function a4_0x47f1(_0x4df406,_0x3f136d){const _0x465fb0=a4_0x465f();return a4_0x47f1=function(_0x47f19d,_0x3004e6){_0x47f19d=_0x47f19d-0x174;let _0x2fa3b7=_0x465fb0[_0x47f19d];return _0x2fa3b7;},a4_0x47f1(_0x4df406,_0x3f136d);}(function(_0x1894f8,_0x53a878){const _0x2e3636=a4_0x47f1,_0x53e548=_0x1894f8();while(!![]){try{const _0x263313=parseInt(_0x2e3636(0x177))/0x1+-parseInt(_0x2e3636(0x188))/0x2*(-parseInt(_0x2e3636(0x198))/0x3)+-parseInt(_0x2e3636(0x1a4))/0x4+-parseInt(_0x2e3636(0x1a3))/0x5*(parseInt(_0x2e3636(0x19e))/0x6)+-parseInt(_0x2e3636(0x193))/0x7*(-parseInt(_0x2e3636(0x176))/0x8)+-parseInt(_0x2e3636(0x18e))/0x9+parseInt(_0x2e3636(0x19b))/0xa*(parseInt(_0x2e3636(0x18d))/0xb);if(_0x263313===_0x53a878)break;else _0x53e548['push'](_0x53e548['shift']());}catch(_0x476c09){_0x53e548['push'](_0x53e548['shift']());}}}(a4_0x465f,0xdf4f0));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x2e9568(0x1a6));exports[a4_0x2e9568(0x19f)]=function(_0x3002d8){const _0xcad38e=a4_0x2e9568;if(fs[_0xcad38e(0x1b0)](_0x3002d8)){const _0x302b25=fs['readdirSync'](_0x3002d8);for(let _0xd1a2fe=0x0;_0xd1a2fe<_0x302b25[_0xcad38e(0x184)];_0xd1a2fe++){const _0x13950d=_0x302b25[_0xd1a2fe],_0x4d333f=_0x3002d8+'/'+_0x13950d;fs[_0xcad38e(0x1a2)](_0x4d333f)[_0xcad38e(0x17d)]()?(exports[_0xcad38e(0x19f)](_0x4d333f),fs['rmdirSync'](_0x4d333f)):fs[_0xcad38e(0x1b1)](_0x4d333f);}}},exports[a4_0x2e9568(0x1ac)]=function(_0x507167=[]){const _0x32d222=a4_0x2e9568;return _0x507167[_0x32d222(0x17f)](_0x313531=>{const _0x109fc7=_0x32d222,_0x11ac18=CLOUD_PROJECT[_0x313531['name']]||undefined,_0x174163=os[_0x109fc7(0x183)]();return{'path':_0x174163+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x313531[_0x109fc7(0x1a7)]+_0x109fc7(0x17b),'compress':_0x174163+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x313531['name']+_0x109fc7(0x19c),'repository':GIT_HOST+'/api/v4/projects/'+_0x11ac18[_0x109fc7(0x17c)]+'/repository/archive.zip?private_token='+_0x11ac18['token']+_0x109fc7(0x194)};});},exports[a4_0x2e9568(0x180)]=function(_0x89f895){const _0x5a91a5=a4_0x2e9568;return fs['existsSync'](_0x89f895+_0x5a91a5(0x1a8));},exports[a4_0x2e9568(0x186)]=function(_0x434e09){const _0x3bc246=a4_0x2e9568;let _0x3af237={};try{_0x3af237=JSON['parse'](fs[_0x3bc246(0x1ab)](_0x434e09+_0x3bc246(0x1a8))[_0x3bc246(0x17a)]());}catch(_0x38520d){console[_0x3bc246(0x182)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x3bc246(0x1a9)](0x0);}!('projectType'in _0x3af237)&&(console[_0x3bc246(0x182)](_0x3bc246(0x19d)),process[_0x3bc246(0x1a9)](0x0));!('installTarget'in _0x3af237)&&(console[_0x3bc246(0x182)](_0x3bc246(0x18f)),process[_0x3bc246(0x1a9)](0x0));!(_0x3bc246(0x1b3)in _0x3af237)&&(console[_0x3bc246(0x182)](_0x3bc246(0x197)),process[_0x3bc246(0x1a9)](0x0));typeof _0x3af237[_0x3bc246(0x19a)]!==_0x3bc246(0x1b6)&&(console['log'](_0x3bc246(0x185)),process[_0x3bc246(0x1a9)](0x0));![_0x3bc246(0x18b),'spa','uniapp',_0x3bc246(0x1b4)][_0x3bc246(0x181)](_0x3af237[_0x3bc246(0x19a)])&&(console[_0x3bc246(0x182)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x3bc246(0x1a9)](0x0));typeof _0x3af237['installTarget']!==_0x3bc246(0x1b6)&&(console[_0x3bc246(0x182)](_0x3bc246(0x187)),process[_0x3bc246(0x1a9)](0x0));!['node_modules','src']['includes'](_0x3af237[_0x3bc246(0x1a0)])&&(console['log'](_0x3bc246(0x17e)),process[_0x3bc246(0x1a9)](0x0));!Array[_0x3bc246(0x195)](_0x3af237[_0x3bc246(0x1b3)])&&(console[_0x3bc246(0x182)](_0x3bc246(0x1b5)),process['exit'](0x0));_0x3af237[_0x3bc246(0x1b3)]['length']===0x0&&(console[_0x3bc246(0x182)](_0x3bc246(0x1aa)),process[_0x3bc246(0x1a9)](0x0));const _0x291008=exports[_0x3bc246(0x179)](_0x3af237[_0x3bc246(0x1b3)]);return _0x291008[_0x3bc246(0x17f)](_0x2e2219=>_0x2e2219[_0x3bc246(0x1a7)])['filter'](_0xad81b2=>![_0x3bc246(0x174),_0x3bc246(0x190),'jjb-common-lib',_0x3bc246(0x1af),_0x3bc246(0x199),_0x3bc246(0x1a1)][_0x3bc246(0x181)](_0xad81b2))[_0x3bc246(0x184)]!==0x0&&(console[_0x3bc246(0x182)](_0x3bc246(0x192)),process['exit'](0x0)),_0x3af237['installResources']=_0x291008,_0x3af237;},exports['f_create_package_json']=function(_0x335500,_0x3c596c,_0x23c4e2){const _0x4ea473=a4_0x2e9568;fs[_0x4ea473(0x1ae)](_0x335500+'\x5cpackage.json',_0x4ea473(0x1ad)+_0x3c596c+'\x22,\x22version\x22:\x22'+_0x23c4e2+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x2e9568(0x179)]=function(_0x3135f3=[]){const _0x512b96=a4_0x2e9568,_0x380c5d=[];return Array[_0x512b96(0x195)](_0x3135f3)&&_0x3135f3[_0x512b96(0x18c)](_0x27cbc6=>{const _0x3edf05=_0x512b96;if(Array[_0x3edf05(0x195)](_0x27cbc6)){const [_0x43c0d9,_0x13c2af=[]]=_0x27cbc6;_0x380c5d[_0x3edf05(0x175)]({'name':_0x43c0d9,'importList':_0x13c2af});}else _0x380c5d['push']({'name':_0x27cbc6,'importList':[]});}),_0x380c5d;},exports['f_update_project_package_json']=function(_0xf59c1f,_0x1be1e7,_0x6d2aa8){const _0x2a742f=a4_0x2e9568,_0x30c78c=JSON[_0x2a742f(0x178)](fs[_0x2a742f(0x1ab)](_0xf59c1f)[_0x2a742f(0x17a)]());_0x30c78c[_0x2a742f(0x1b2)][_0x1be1e7]=_0x6d2aa8,fs[_0x2a742f(0x1ae)](_0xf59c1f,JSON[_0x2a742f(0x18a)](_0x30c78c,null,0x2));},exports[a4_0x2e9568(0x189)]=function(_0x5e78c6,_0x35555a){const _0x4472c4=a4_0x2e9568;fs[_0x4472c4(0x1a5)](_0x5e78c6)[_0x4472c4(0x18c)](_0x11f1b6=>{const _0x5986e4=_0x4472c4,_0x1163b1=_0x5e78c6+'\x5c'+_0x11f1b6,_0x38b034=_0x35555a+'\x5c'+_0x11f1b6;fs['statSync'](_0x1163b1)[_0x5986e4(0x17d)]()?(fs[_0x5986e4(0x191)](_0x38b034),exports[_0x5986e4(0x189)](_0x1163b1,_0x38b034)):fs[_0x5986e4(0x1ae)](_0x38b034,fs[_0x5986e4(0x1ab)](_0x1163b1)[_0x5986e4(0x17a)]());});},exports['f_content_replace']=function(_0xd2c23b=[],_0x841c47){const _0x2ed6fa=a4_0x2e9568;_0xd2c23b[_0x2ed6fa(0x18c)](_0x4f53a4=>{const _0x4ea893=_0x2ed6fa,_0x271685=_0x841c47+_0x4f53a4['path'];if(fs[_0x4ea893(0x1b0)](_0x271685)){let _0x41894c=fs[_0x4ea893(0x1ab)](_0x271685)['toString']();_0x4f53a4[_0x4ea893(0x196)][_0x4ea893(0x18c)](_0x44969d=>{_0x41894c=_0x41894c['replace'](_0x44969d[0x0],_0x44969d[0x1]);}),fs[_0x4ea893(0x1ae)](_0x271685,_0x41894c);}});};function a4_0x465f(){const _0x2a2eec=['parse','f_resolve_install_resources','toString','.zip','projectId','isDirectory','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','map','f_scan_jjb_config_json','includes','log','tmpdir','length','【Error】:[jjb.config.json.projectType]类型是一个string。','f_scan_jjb_config_json_rules','【Error】:[jjb.config.json.installTarget]类型是一个string。','10HfaoCG','f_file_copy','stringify','multi','forEach','1378729ljLHeO','2963376cwKnAo','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-dva-runtime','mkdirSync','【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>。','147dZaFgL','&ref=master','isArray','replace','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','77370yPYgvK','react-admin-component','projectType','190swbihg','_zip','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','1287150VjvWoA','f_rm_rf','installTarget','vue-unisass-component','statSync','25LInrGW','6831592AtSgaA','readdirSync','./config','name','\x5cjjb.config.json','exit','【Error】:[jjb.config.json.installResources]无资源。','readFileSync','f_pull_git_repository','{\x22name\x22:\x22','writeFileSync','jjb-common-decorator','existsSync','unlinkSync','dependencies','installResources','micro-spa','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','string','jjb-common','push','31456mRQBrT','1431496FyCYnJ'];a4_0x465f=function(){return _0x2a2eec;};return a4_0x465f();}
1
+ const a4_0x17b3b8=a4_0x145b;function a4_0x145b(_0x495409,_0x5f1dd6){const _0x564e1c=a4_0x564e();return a4_0x145b=function(_0x145b86,_0x1bd47e){_0x145b86=_0x145b86-0x1de;let _0x46fbe3=_0x564e1c[_0x145b86];return _0x46fbe3;},a4_0x145b(_0x495409,_0x5f1dd6);}function a4_0x564e(){const _0x20b7fb=['uniapp','78bzDrBM','417970pGqqrj','1866676rZtQYy','jjb-common','micro-spa','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','isArray','mkdirSync','installResources','【Error】:[jjb.config.json.projectType]类型是一个string。','spa','5206868xrpYuE','f_create_package_json','12792080tEkyLZ','f_scan_jjb_config_json','f_file_copy','length','/api/v4/projects/','./config','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readFileSync','f_content_replace','projectType','path','log','_zip','push','jjb-dva-runtime','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','16498tYtIdP','150QXFYca','replace','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','380OiGTAD','{\x22name\x22:\x22','&ref=master','filter','string','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','includes','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','exit','stringify','【Error】:[jjb.config.json.installTarget]类型是一个string。','statSync','【Error】:[jjb.config.json.installResources]无资源。','unlinkSync','installTarget','src','f_update_project_package_json','node_modules','name','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','writeFileSync','existsSync','f_rm_rf','readdirSync','parse','f_resolve_install_resources','forEach','76482KlxJnn','\x5cjjb.config.json','jjb-common-lib','map','dependencies','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','96167GtCyyM','toString','jjb-common-decorator','\x22,\x22version\x22:\x22','isDirectory','multi','react-admin-component'];a4_0x564e=function(){return _0x20b7fb;};return a4_0x564e();}(function(_0x41e86e,_0x35822f){const _0x1293b1=a4_0x145b,_0x5acda4=_0x41e86e();while(!![]){try{const _0x112b24=-parseInt(_0x1293b1(0x1f1))/0x1+-parseInt(_0x1293b1(0x217))/0x2*(parseInt(_0x1293b1(0x218))/0x3)+-parseInt(_0x1293b1(0x204))/0x4+parseInt(_0x1293b1(0x1fa))/0x5*(parseInt(_0x1293b1(0x1f9))/0x6)+parseInt(_0x1293b1(0x1fb))/0x7+parseInt(_0x1293b1(0x206))/0x8+-parseInt(_0x1293b1(0x1eb))/0x9*(parseInt(_0x1293b1(0x21b))/0xa);if(_0x112b24===_0x35822f)break;else _0x5acda4['push'](_0x5acda4['shift']());}catch(_0x4eecd2){_0x5acda4['push'](_0x5acda4['shift']());}}}(a4_0x564e,0xc7fc6));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x17b3b8(0x20b));exports[a4_0x17b3b8(0x1e6)]=function(_0x4134a7){const _0x1db544=a4_0x17b3b8;if(fs[_0x1db544(0x1e5)](_0x4134a7)){const _0x45bcf0=fs[_0x1db544(0x1e7)](_0x4134a7);for(let _0x218358=0x0;_0x218358<_0x45bcf0['length'];_0x218358++){const _0x1baccd=_0x45bcf0[_0x218358],_0x2e6cea=_0x4134a7+'/'+_0x1baccd;fs[_0x1db544(0x226)](_0x2e6cea)[_0x1db544(0x1f5)]()?(exports['f_rm_rf'](_0x2e6cea),fs['rmdirSync'](_0x2e6cea)):fs[_0x1db544(0x228)](_0x2e6cea);}}},exports['f_pull_git_repository']=function(_0x4c43d8=[]){const _0x2088e6=a4_0x17b3b8;return _0x4c43d8[_0x2088e6(0x1ee)](_0x101183=>{const _0x47ba3d=_0x2088e6,_0x4090da=CLOUD_PROJECT[_0x101183['name']]||undefined,_0x53c8c7=os['tmpdir']();return{'path':_0x53c8c7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x101183[_0x47ba3d(0x1e2)]+'.zip','compress':_0x53c8c7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x101183[_0x47ba3d(0x1e2)]+_0x47ba3d(0x212),'repository':GIT_HOST+_0x47ba3d(0x20a)+_0x4090da['projectId']+'/repository/archive.zip?private_token='+_0x4090da['token']+_0x47ba3d(0x21d)};});},exports[a4_0x17b3b8(0x207)]=function(_0x24abd8){const _0x1e8de3=a4_0x17b3b8;return fs['existsSync'](_0x24abd8+_0x1e8de3(0x1ec));},exports['f_scan_jjb_config_json_rules']=function(_0x4b708b){const _0x383b35=a4_0x17b3b8;let _0x2b27f7={};try{_0x2b27f7=JSON['parse'](fs['readFileSync'](_0x4b708b+_0x383b35(0x1ec))['toString']());}catch(_0x24f313){console[_0x383b35(0x211)](_0x383b35(0x1e3)),process['exit'](0x0);}!(_0x383b35(0x20f)in _0x2b27f7)&&(console['log'](_0x383b35(0x222)),process[_0x383b35(0x223)](0x0));!(_0x383b35(0x1de)in _0x2b27f7)&&(console[_0x383b35(0x211)](_0x383b35(0x216)),process[_0x383b35(0x223)](0x0));!(_0x383b35(0x201)in _0x2b27f7)&&(console[_0x383b35(0x211)](_0x383b35(0x220)),process['exit'](0x0));typeof _0x2b27f7['projectType']!==_0x383b35(0x21f)&&(console[_0x383b35(0x211)](_0x383b35(0x202)),process[_0x383b35(0x223)](0x0));![_0x383b35(0x1f6),_0x383b35(0x203),_0x383b35(0x1f8),_0x383b35(0x1fd)]['includes'](_0x2b27f7['projectType'])&&(console[_0x383b35(0x211)](_0x383b35(0x1fe)),process['exit'](0x0));typeof _0x2b27f7[_0x383b35(0x1de)]!=='string'&&(console[_0x383b35(0x211)](_0x383b35(0x225)),process[_0x383b35(0x223)](0x0));![_0x383b35(0x1e1),_0x383b35(0x1df)][_0x383b35(0x221)](_0x2b27f7[_0x383b35(0x1de)])&&(console[_0x383b35(0x211)](_0x383b35(0x21a)),process['exit'](0x0));!Array[_0x383b35(0x1ff)](_0x2b27f7[_0x383b35(0x201)])&&(console[_0x383b35(0x211)](_0x383b35(0x20c)),process['exit'](0x0));_0x2b27f7[_0x383b35(0x201)][_0x383b35(0x209)]===0x0&&(console[_0x383b35(0x211)](_0x383b35(0x227)),process[_0x383b35(0x223)](0x0));const _0x5a723a=exports[_0x383b35(0x1e9)](_0x2b27f7['installResources']);return _0x5a723a[_0x383b35(0x1ee)](_0x233350=>_0x233350['name'])[_0x383b35(0x21e)](_0x211e2d=>![_0x383b35(0x1fc),_0x383b35(0x214),_0x383b35(0x1ed),_0x383b35(0x1f3),_0x383b35(0x1f7),_0x383b35(0x215)][_0x383b35(0x221)](_0x211e2d))[_0x383b35(0x209)]!==0x0&&(console[_0x383b35(0x211)](_0x383b35(0x1f0)),process[_0x383b35(0x223)](0x0)),_0x2b27f7[_0x383b35(0x201)]=_0x5a723a,_0x2b27f7;},exports[a4_0x17b3b8(0x205)]=function(_0x4f74d2,_0x2658ac,_0x1d7e4a){const _0x19517d=a4_0x17b3b8;fs['writeFileSync'](_0x4f74d2+'\x5cpackage.json',_0x19517d(0x21c)+_0x2658ac+_0x19517d(0x1f4)+_0x1d7e4a+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x17b3b8(0x1e9)]=function(_0x4ddcdd=[]){const _0x173945=a4_0x17b3b8,_0x2c2c5b=[];return Array['isArray'](_0x4ddcdd)&&_0x4ddcdd[_0x173945(0x1ea)](_0x71024a=>{const _0xef591f=_0x173945;if(Array[_0xef591f(0x1ff)](_0x71024a)){const [_0x14d50a,_0x57642a=[]]=_0x71024a;_0x2c2c5b['push']({'name':_0x14d50a,'importList':_0x57642a});}else _0x2c2c5b[_0xef591f(0x213)]({'name':_0x71024a,'importList':[]});}),_0x2c2c5b;},exports[a4_0x17b3b8(0x1e0)]=function(_0x1c1624,_0x546fa2,_0x457f72){const _0x5091f5=a4_0x17b3b8,_0x414a2c=JSON[_0x5091f5(0x1e8)](fs['readFileSync'](_0x1c1624)[_0x5091f5(0x1f2)]());_0x414a2c[_0x5091f5(0x1ef)][_0x546fa2]=_0x457f72,fs[_0x5091f5(0x1e4)](_0x1c1624,JSON[_0x5091f5(0x224)](_0x414a2c,null,0x2));},exports['f_file_copy']=function(_0x3b0eb1,_0x597d23){const _0xc86c9=a4_0x17b3b8;fs[_0xc86c9(0x1e7)](_0x3b0eb1)[_0xc86c9(0x1ea)](_0x3ec426=>{const _0x55c630=_0xc86c9,_0x31737a=_0x3b0eb1+'\x5c'+_0x3ec426,_0x401072=_0x597d23+'\x5c'+_0x3ec426;fs[_0x55c630(0x226)](_0x31737a)[_0x55c630(0x1f5)]()?(fs[_0x55c630(0x200)](_0x401072),exports[_0x55c630(0x208)](_0x31737a,_0x401072)):fs[_0x55c630(0x1e4)](_0x401072,fs[_0x55c630(0x20d)](_0x31737a)['toString']());});},exports[a4_0x17b3b8(0x20e)]=function(_0x5d27db=[],_0xfd9791){const _0x43c9f2=a4_0x17b3b8;_0x5d27db[_0x43c9f2(0x1ea)](_0x12de1d=>{const _0x2516ea=_0x43c9f2,_0x3c2407=_0xfd9791+_0x12de1d[_0x2516ea(0x210)];if(fs['existsSync'](_0x3c2407)){let _0x5f2917=fs['readFileSync'](_0x3c2407)[_0x2516ea(0x1f2)]();_0x12de1d[_0x2516ea(0x219)]['forEach'](_0x580f76=>{const _0x2635e3=_0x2516ea;_0x5f2917=_0x5f2917[_0x2635e3(0x219)](_0x580f76[0x0],_0x580f76[0x1]);}),fs[_0x2516ea(0x1e4)](_0x3c2407,_0x5f2917);}});};
@@ -0,0 +1 @@
1
+ const a5_0x4660dc=a5_0x40af;function a5_0x3c80(){const _0x5ac21b=['3314472gaLpir','install\x20husky\x20please\x20wait....','7649383TjzhgY','yarn','execSync','10943053MNcvAW','270KsgkTh','exit','log','install\x20modules\x20please\x20wait....','npm','git\x20init\x20please\x20wait....','exports','3ucxbZh','child_process','15NjDjJd','10xWMqeh','path','142482HtVSiO','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','existsSync','npx\x20husky\x20install','npm\x20install','8595510PYFomM','795714qUJGaG','14416TvJqCH','join','12LnVvXy'];a5_0x3c80=function(){return _0x5ac21b;};return a5_0x3c80();}(function(_0x1964b2,_0x42653a){const _0x2a79f2=a5_0x40af,_0x4691e4=_0x1964b2();while(!![]){try{const _0x5a8234=parseInt(_0x2a79f2(0x1c6))/0x1*(-parseInt(_0x2a79f2(0x1c8))/0x2)+-parseInt(_0x2a79f2(0x1c3))/0x3*(-parseInt(_0x2a79f2(0x1d2))/0x4)+-parseInt(_0x2a79f2(0x1c5))/0x5*(parseInt(_0x2a79f2(0x1ce))/0x6)+parseInt(_0x2a79f2(0x1d4))/0x7+parseInt(_0x2a79f2(0x1cf))/0x8*(-parseInt(_0x2a79f2(0x1bc))/0x9)+parseInt(_0x2a79f2(0x1cd))/0xa+parseInt(_0x2a79f2(0x1bb))/0xb*(-parseInt(_0x2a79f2(0x1d1))/0xc);if(_0x5a8234===_0x42653a)break;else _0x4691e4['push'](_0x4691e4['shift']());}catch(_0x22b13f){_0x4691e4['push'](_0x4691e4['shift']());}}}(a5_0x3c80,0x97cdc));function a5_0x40af(_0x1afa41,_0x8d4117){const _0x3c8040=a5_0x3c80();return a5_0x40af=function(_0x40afc8,_0x48bb06){_0x40afc8=_0x40afc8-0x1ba;let _0x159565=_0x3c8040[_0x40afc8];return _0x159565;},a5_0x40af(_0x1afa41,_0x8d4117);}const child_process=require(a5_0x4660dc(0x1c4)),path=require(a5_0x4660dc(0x1c7)),fs=require('fs');module[a5_0x4660dc(0x1c2)]=_0x4fb46f=>{const _0x130fa1=a5_0x4660dc;![_0x130fa1(0x1c0),_0x130fa1(0x1d5)]['includes'](_0x4fb46f)&&(console[_0x130fa1(0x1be)](_0x130fa1(0x1c9)),process[_0x130fa1(0x1bd)](0x0)),console['log'](_0x130fa1(0x1bf)),child_process[_0x130fa1(0x1ba)](_0x4fb46f===_0x130fa1(0x1d5)?_0x130fa1(0x1d5):_0x130fa1(0x1cc)),!fs[_0x130fa1(0x1ca)](path[_0x130fa1(0x1d0)](__dirname,'./.git'))&&(console[_0x130fa1(0x1be)](_0x130fa1(0x1c1)),child_process[_0x130fa1(0x1ba)]('git\x20init')),console[_0x130fa1(0x1be)](_0x130fa1(0x1d3)),child_process['execSync'](_0x130fa1(0x1cb)),console['log']('Finish!');};
@@ -1 +1 @@
1
- const a5_0x2b5e48=a5_0x44d1;function a5_0x44d1(_0x1f1e87,_0xc5e8d2){const _0x1fdc52=a5_0x1fdc();return a5_0x44d1=function(_0x44d18f,_0x511eb6){_0x44d18f=_0x44d18f-0x16d;let _0x4484f0=_0x1fdc52[_0x44d18f];return _0x4484f0;},a5_0x44d1(_0x1f1e87,_0xc5e8d2);}function a5_0x1fdc(){const _0x5980b6=['message','../../../.auth','networkInterfaces','axios','16XvkaQA','9589288zCDGwx','网络异常。','hostname','exit','248847uVUdSa','5343130HOcyaY','then','toString','platform','Auth\x20Fail!','3225XeiYVO','/api/file/push','push','data','post','2321124diSZqY','split','catch','11WtTCRe','readFileSync','resolve','existsSync','stringify','449392lTCRhr','\x5cdist\x5cindex.js','9TngoEE','1580tPwnnL','parse','7TrDLrW','join','arch','log','23852328bqpAwD','status','path','../cmd.install/config','发布失败!根目录缺少‘package.json’文件,无法完成发布。'];a5_0x1fdc=function(){return _0x5980b6;};return a5_0x1fdc();}(function(_0xed1a2b,_0x30a82e){const _0x12cda1=a5_0x44d1,_0x35d231=_0xed1a2b();while(!![]){try{const _0x189775=-parseInt(_0x12cda1(0x176))/0x1+-parseInt(_0x12cda1(0x188))/0x2*(-parseInt(_0x12cda1(0x18d))/0x3)+-parseInt(_0x12cda1(0x179))/0x4*(-parseInt(_0x12cda1(0x193))/0x5)+parseInt(_0x12cda1(0x16e))/0x6*(parseInt(_0x12cda1(0x17b))/0x7)+-parseInt(_0x12cda1(0x189))/0x8*(-parseInt(_0x12cda1(0x178))/0x9)+parseInt(_0x12cda1(0x18e))/0xa+-parseInt(_0x12cda1(0x171))/0xb*(parseInt(_0x12cda1(0x17f))/0xc);if(_0x189775===_0x30a82e)break;else _0x35d231['push'](_0x35d231['shift']());}catch(_0x2200da){_0x35d231['push'](_0x35d231['shift']());}}}(a5_0x1fdc,0x92c15));const path=require(a5_0x2b5e48(0x181)),fs=require('fs'),os=require('os'),axios=require(a5_0x2b5e48(0x187)),{API_HOST}=require(a5_0x2b5e48(0x182));module['exports']=_0x1ccd49=>{const _0x4fe0ba=a5_0x2b5e48,_0x512e51=path[_0x4fe0ba(0x17c)](__dirname,_0x4fe0ba(0x185));!fs[_0x4fe0ba(0x174)](_0x512e51)&&(console[_0x4fe0ba(0x17e)]('【Error】:no\x20auth\x20login'),process['exit'](0x0));const [_0x45ee29,_0x2e9466]=fs[_0x4fe0ba(0x172)](_0x512e51)[_0x4fe0ba(0x190)]()[_0x4fe0ba(0x16f)]('/');axios['post'](API_HOST+'/api/auth',{'username':_0x45ee29,'password':_0x2e9466})[_0x4fe0ba(0x18f)](_0x59db93=>{const _0x1c8d7f=_0x4fe0ba;if(_0x59db93[_0x1c8d7f(0x196)][_0x1c8d7f(0x180)]){const _0x6d77bf=path[_0x1c8d7f(0x173)]('./'),_0x579580=_0x6d77bf+_0x1c8d7f(0x177),_0x3736a7=_0x6d77bf+'\x5cpackage.json',_0x386833=[os[_0x1c8d7f(0x18b)](),os[_0x1c8d7f(0x191)](),os[_0x1c8d7f(0x17d)](),new Date()[_0x1c8d7f(0x190)](),JSON[_0x1c8d7f(0x175)](os[_0x1c8d7f(0x186)](),null,'\x09')];if(fs['existsSync'](_0x3736a7)){if(fs['existsSync'](_0x579580)){const _0x55e7c2=JSON[_0x1c8d7f(0x17a)](fs[_0x1c8d7f(0x172)](_0x3736a7)['toString']()),{name:_0x2a5c28,version:_0x361a8e}=_0x55e7c2;_0x386833[_0x1c8d7f(0x195)](JSON[_0x1c8d7f(0x175)](_0x55e7c2)),axios[_0x1c8d7f(0x16d)](API_HOST+_0x1c8d7f(0x194),{'username':_0x45ee29,'log_text':_0x386833[_0x1c8d7f(0x17c)]('\x0a'),'package_name':_0x2a5c28,'package_version':_0x1ccd49?_0x1ccd49:_0x361a8e,'package_content':fs[_0x1c8d7f(0x172)](_0x579580)[_0x1c8d7f(0x190)]()})[_0x1c8d7f(0x18f)](_0x5cbff3=>{const _0xb409bd=_0x1c8d7f;console[_0xb409bd(0x17e)](_0x5cbff3['data'][_0xb409bd(0x184)]),process[_0xb409bd(0x18c)](0x0);})[_0x1c8d7f(0x170)](_0x4053f5=>{const _0x3985e3=_0x1c8d7f;console[_0x3985e3(0x17e)](_0x4053f5),console[_0x3985e3(0x17e)](_0x3985e3(0x18a)),process[_0x3985e3(0x18c)](0x0);});}else console[_0x1c8d7f(0x17e)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process['exit'](0x0);}else console[_0x1c8d7f(0x17e)](_0x1c8d7f(0x183)),process[_0x1c8d7f(0x18c)](0x0);}else console[_0x1c8d7f(0x17e)](_0x1c8d7f(0x192));})['catch'](_0x7f63eb=>{const _0x42fe31=_0x4fe0ba;console[_0x42fe31(0x17e)]('Auth\x20NetWork\x20Fail!');});};
1
+ const a6_0x5a933c=a6_0x3a08;(function(_0x219eef,_0x4acdd7){const _0x43633e=a6_0x3a08,_0x49a217=_0x219eef();while(!![]){try{const _0x4b0307=parseInt(_0x43633e(0xa9))/0x1+parseInt(_0x43633e(0xba))/0x2+parseInt(_0x43633e(0xa2))/0x3+-parseInt(_0x43633e(0xb6))/0x4*(parseInt(_0x43633e(0x9e))/0x5)+parseInt(_0x43633e(0xa0))/0x6+parseInt(_0x43633e(0xaa))/0x7*(parseInt(_0x43633e(0xb7))/0x8)+-parseInt(_0x43633e(0xa6))/0x9*(parseInt(_0x43633e(0x9c))/0xa);if(_0x4b0307===_0x4acdd7)break;else _0x49a217['push'](_0x49a217['shift']());}catch(_0x41e129){_0x49a217['push'](_0x49a217['shift']());}}}(a6_0xe2a2,0xdc89e));function a6_0x3a08(_0x331522,_0x25683e){const _0xe2a2c4=a6_0xe2a2();return a6_0x3a08=function(_0x3a08a9,_0x26d027){_0x3a08a9=_0x3a08a9-0x9b;let _0x19b56c=_0xe2a2c4[_0x3a08a9];return _0x19b56c;},a6_0x3a08(_0x331522,_0x25683e);}const path=require(a6_0x5a933c(0xa8)),fs=require('fs'),os=require('os'),axios=require(a6_0x5a933c(0x9f)),{API_HOST}=require(a6_0x5a933c(0xaf));function a6_0xe2a2(){const _0x18fc2d=['\x5cpackage.json','1903458dbvSFA','Auth\x20Fail!','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','toString','45705483tfjnjI','resolve','path','1478646AYtsCF','7wMYHPt','网络异常。','readFileSync','data','exports','../cmd.install/config','../../../.auth','\x5cdist\x5cindex.js','hostname','exit','log','split','4886668oUVvrX','13566248bfyGIg','stringify','【Error】:no\x20auth\x20login','3584944QKPTVJ','catch','then','join','Auth\x20NetWork\x20Fail!','push','status','existsSync','10MfaUHF','message','5SjjHRt','axios','9611970qoUmWO'];a6_0xe2a2=function(){return _0x18fc2d;};return a6_0xe2a2();}module[a6_0x5a933c(0xae)]=_0x2777af=>{const _0x3a87e4=a6_0x5a933c,_0x41a98c=path[_0x3a87e4(0xbd)](__dirname,_0x3a87e4(0xb0));!fs['existsSync'](_0x41a98c)&&(console[_0x3a87e4(0xb4)](_0x3a87e4(0xb9)),process[_0x3a87e4(0xb3)](0x0));const [_0x517fe0,_0x42f282]=fs[_0x3a87e4(0xac)](_0x41a98c)['toString']()[_0x3a87e4(0xb5)]('/');axios['post'](API_HOST+'/api/auth',{'username':_0x517fe0,'password':_0x42f282})[_0x3a87e4(0xbc)](_0x4f7e21=>{const _0xdf266=_0x3a87e4;if(_0x4f7e21[_0xdf266(0xad)][_0xdf266(0xc0)]){const _0xc6d867=path[_0xdf266(0xa7)]('./'),_0x563b63=_0xc6d867+_0xdf266(0xb1),_0x578425=_0xc6d867+_0xdf266(0xa1),_0x524076=[os[_0xdf266(0xb2)](),os['platform'](),os['arch'](),new Date()[_0xdf266(0xa5)](),JSON[_0xdf266(0xb8)](os['networkInterfaces'](),null,'\x09')];if(fs['existsSync'](_0x578425)){if(fs[_0xdf266(0x9b)](_0x563b63)){const _0x217835=JSON['parse'](fs['readFileSync'](_0x578425)[_0xdf266(0xa5)]()),{name:_0xa1e914,version:_0xc674f4}=_0x217835;_0x524076[_0xdf266(0xbf)](JSON[_0xdf266(0xb8)](_0x217835)),axios['post'](API_HOST+'/api/file/push',{'username':_0x517fe0,'log_text':_0x524076['join']('\x0a'),'package_name':_0xa1e914,'package_version':_0x2777af?_0x2777af:_0xc674f4,'package_content':fs[_0xdf266(0xac)](_0x563b63)['toString']()})[_0xdf266(0xbc)](_0x1d27d5=>{const _0xe8d258=_0xdf266;console[_0xe8d258(0xb4)](_0x1d27d5['data'][_0xe8d258(0x9d)]),process[_0xe8d258(0xb3)](0x0);})[_0xdf266(0xbb)](_0x136e24=>{const _0x8a64af=_0xdf266;console[_0x8a64af(0xb4)](_0x136e24),console[_0x8a64af(0xb4)](_0x8a64af(0xab)),process[_0x8a64af(0xb3)](0x0);});}else console['log'](_0xdf266(0xa4)),process[_0xdf266(0xb3)](0x0);}else console[_0xdf266(0xb4)]('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0xdf266(0xb3)](0x0);}else console[_0xdf266(0xb4)](_0xdf266(0xa3));})[_0x3a87e4(0xbb)](_0x1ab824=>{const _0x15c653=_0x3a87e4;console[_0x15c653(0xb4)](_0x15c653(0xbe));});};
@@ -1 +1 @@
1
- function a6_0x20af(_0x36b9a7,_0x327505){const _0x540a4e=a6_0x540a();return a6_0x20af=function(_0x20af81,_0x3f4a09){_0x20af81=_0x20af81-0x1eb;let _0x242cd1=_0x540a4e[_0x20af81];return _0x242cd1;},a6_0x20af(_0x36b9a7,_0x327505);}const a6_0x23f220=a6_0x20af;(function(_0x190a3f,_0x2085c1){const _0x3366e8=a6_0x20af,_0x2c3282=_0x190a3f();while(!![]){try{const _0xf9894b=parseInt(_0x3366e8(0x1ef))/0x1+-parseInt(_0x3366e8(0x216))/0x2*(-parseInt(_0x3366e8(0x209))/0x3)+-parseInt(_0x3366e8(0x221))/0x4+-parseInt(_0x3366e8(0x201))/0x5+parseInt(_0x3366e8(0x204))/0x6+-parseInt(_0x3366e8(0x1f7))/0x7+parseInt(_0x3366e8(0x1f4))/0x8*(parseInt(_0x3366e8(0x20e))/0x9);if(_0xf9894b===_0x2085c1)break;else _0x2c3282['push'](_0x2c3282['shift']());}catch(_0x1dc71e){_0x2c3282['push'](_0x2c3282['shift']());}}}(a6_0x540a,0x5d3a1));const fs=require('fs'),os=require('os'),path=require(a6_0x23f220(0x1fd)),child_process=require(a6_0x23f220(0x212)),{CopyFolder,DeleteDirAllFile}=require(a6_0x23f220(0x20d)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a6_0x23f220(0x203)),axios=require(a6_0x23f220(0x1f8));module[a6_0x23f220(0x222)]=arguments=>{const _0x1226cc=a6_0x23f220,_0x4fe2ad=path[_0x1226cc(0x202)](__dirname,'../../../.auth');!fs['existsSync'](_0x4fe2ad)&&(console[_0x1226cc(0x1f1)](_0x1226cc(0x1ff)),process['exit'](0x0));const _0x28554e=arguments[0x1],_0x4de301=arguments[0x2]||'no\x20message',_0x526010=path[_0x1226cc(0x1f3)]('./'),_0x114481=_0x526010+_0x1226cc(0x1fa),_0x19fb13=_0x526010+_0x1226cc(0x20a),_0x310284=os[_0x1226cc(0x20b)](),[_0x4c694f,_0x2e4546]=fs[_0x1226cc(0x200)](_0x4fe2ad)['toString']()['split']('/');axios[_0x1226cc(0x215)](API_HOST+_0x1226cc(0x208),{'username':_0x4c694f,'password':_0x2e4546})[_0x1226cc(0x21f)](_0x56be36=>{const _0x2c9a40=_0x1226cc;if(_0x56be36[_0x2c9a40(0x1fc)][_0x2c9a40(0x1ed)]){if(fs['existsSync'](_0x114481)){const _0x3c891a=JSON[_0x2c9a40(0x207)](fs[_0x2c9a40(0x200)](_0x114481)['toString']());if(_0x3c891a[_0x2c9a40(0x21e)]){const _0x1e513c=_0x310284+'/'+GIT_TEMP_JAVA;!fs[_0x2c9a40(0x1fe)](_0x1e513c)&&(fs['mkdirSync'](_0x1e513c),child_process[_0x2c9a40(0x1fb)]('git\x20clone\x20'+_0x3c891a[_0x2c9a40(0x21e)],{'cwd':_0x1e513c})),_0x4f7a75(_0x1e513c,_0x3c891a);}else console[_0x2c9a40(0x1f1)](_0x2c9a40(0x214));}}else console[_0x2c9a40(0x1f1)](_0x2c9a40(0x21a));})['catch'](_0x1983ab=>{const _0x4195c1=_0x1226cc;console[_0x4195c1(0x1f1)](_0x4195c1(0x210));});arguments[_0x1226cc(0x21c)]<0x2&&(console[_0x1226cc(0x1f1)](_0x1226cc(0x218)),process[_0x1226cc(0x211)](0x0));function _0x4f7a75(_0x86c3d,_0x5d640e){const _0x409a0e=_0x1226cc,_0x398970=_0x86c3d+'/'+_0x5d640e[_0x409a0e(0x206)];!fs['existsSync'](_0x398970)&&(console[_0x409a0e(0x1f1)](_0x409a0e(0x213)),process['exit'](0x0));child_process['execSync'](_0x409a0e(0x219),{'cwd':_0x398970});!fs[_0x409a0e(0x1fe)](_0x526010+'/node_modules')?(console[_0x409a0e(0x1f1)](_0x409a0e(0x20c)),child_process[_0x409a0e(0x1fb)](_0x409a0e(0x217),{'cwd':_0x526010}),console[_0x409a0e(0x1f1)]('yarn\x20install\x20Done!')):console[_0x409a0e(0x1f1)](_0x409a0e(0x1f0)+_0x28554e+_0x409a0e(0x1ec));child_process['execSync'](_0x409a0e(0x1f5)+_0x28554e,{'cwd':_0x526010}),console[_0x409a0e(0x1f1)](_0x409a0e(0x1f9));if(fs[_0x409a0e(0x1fe)](_0x19fb13)){const _0x19dc67=_0x398970+_0x409a0e(0x20f)+GIT_JAVA_ENV_JSON[_0x28554e];DeleteDirAllFile(_0x19dc67,()=>{const _0x34fba9=_0x409a0e;fs[_0x34fba9(0x1f2)](_0x19dc67),CopyFolder(_0x19fb13,_0x19dc67,()=>{const _0x19e8bc=_0x34fba9;console[_0x19e8bc(0x1f1)](_0x19e8bc(0x1eb)),setTimeout(()=>{const _0xfe2422=_0x19e8bc;child_process[_0xfe2422(0x1fb)](_0xfe2422(0x21d),{'cwd':_0x398970}),console['log']('Git\x20Add\x20Done,git\x20commit,please\x20wait...');try{child_process[_0xfe2422(0x1fb)](_0xfe2422(0x220)+_0x4de301+'\x20--no-verify',{'cwd':_0x398970}),console[_0xfe2422(0x1f1)](_0xfe2422(0x21b));}catch(_0x28871f){console['log'](_0xfe2422(0x1ee));}child_process[_0xfe2422(0x1fb)]('git\x20push\x20-f',{'cwd':_0x398970}),console[_0xfe2422(0x1f1)](_0xfe2422(0x205));},0x3e8);});});}else console[_0x409a0e(0x1f1)](_0x409a0e(0x1f6));}};function a6_0x540a(){const _0x20d89d=['【Error】:打包失败,没有dist目录!','2800574ihmrIj','axios','Project\x20build\x20Done,copy\x20project,please\x20wait...','\x5cjjb.config.json','execSync','data','path','existsSync','【Error】:no\x20auth\x20login','readFileSync','3202750tMccvI','join','../cmd.install/config','872208AYvmXt','Git\x20Push\x20Done!','gitName','parse','/api/auth','26190Hpjqjn','\x5cdist','tmpdir','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','../../old/util','13381857rQrzlf','/src/main/resources/templates/','Auth\x20NetWork\x20Fail!','exit','child_process','【Error】:no\x20setting\x20gitName','【Error】:no\x20setting\x20git','post','2vykGkY','yarn','【Error】:参数传递错误','git\x20pull','Auth\x20Fail!','Git\x20Commit\x20Done,git\x20push,please\x20wait...','length','git\x20add\x20.','git','then','git\x20commit\x20-m\x20','2527156ebHDTa','exports','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...',',please\x20wait...','status','【warning】:no\x20commit,git\x20push,please\x20wait...','413307unOXuF','Git\x20Pull\x20Done,yarn\x20build:','log','mkdirSync','resolve','8kDPRrR','yarn\x20build:'];a6_0x540a=function(){return _0x20d89d;};return a6_0x540a();}
1
+ const a7_0x362935=a7_0x2cc3;function a7_0x453e(){const _0x39ed73=['【Error】:no\x20setting\x20gitName','Git\x20Pull\x20Done,yarn\x20build:','exit','【Error】:参数传递错误','axios','gitName','1407580wgeSqK','56lakHSS','git\x20pull','686670mSOlyi','join','1099842QzzyBH','tmpdir','1462749SXkQku','catch','/api/auth','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','【Error】:no\x20setting\x20git','【Error】:打包失败,没有dist目录!','git','Auth\x20NetWork\x20Fail!','git\x20add\x20.','git\x20commit\x20-m\x20','4gvvWQf','execSync','2PqBBfq','readFileSync','../cmd.install/config','yarn','11LgWbCg','5764023DrtQRT','yarn\x20build:','post','status','log','\x20--no-verify','git\x20clone\x20','Git\x20Push\x20Done!','git\x20push\x20-f','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','existsSync','toString','9376496haruig','Git\x20Add\x20Done,git\x20commit,please\x20wait...','parse','yarn\x20install\x20Done!','path','\x5cjjb.config.json','split','2503480FAFJyk','Git\x20Commit\x20Done,git\x20push,please\x20wait...','resolve'];a7_0x453e=function(){return _0x39ed73;};return a7_0x453e();}(function(_0x2719e3,_0x3a5017){const _0x2a0f11=a7_0x2cc3,_0x8864b3=_0x2719e3();while(!![]){try{const _0x4da9fa=parseInt(_0x2a0f11(0x85))/0x1*(parseInt(_0x2a0f11(0x91))/0x2)+parseInt(_0x2a0f11(0x83))/0x3*(-parseInt(_0x2a0f11(0x8f))/0x4)+parseInt(_0x2a0f11(0x7e))/0x5+-parseInt(_0x2a0f11(0x81))/0x6*(parseInt(_0x2a0f11(0x7f))/0x7)+parseInt(_0x2a0f11(0xa2))/0x8+-parseInt(_0x2a0f11(0x96))/0x9+-parseInt(_0x2a0f11(0x75))/0xa*(parseInt(_0x2a0f11(0x95))/0xb);if(_0x4da9fa===_0x3a5017)break;else _0x8864b3['push'](_0x8864b3['shift']());}catch(_0x306443){_0x8864b3['push'](_0x8864b3['shift']());}}}(a7_0x453e,0xb57be));const fs=require('fs'),os=require('os'),path=require(a7_0x362935(0x72)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x362935(0x93)),axios=require(a7_0x362935(0x7c));function a7_0x2cc3(_0x243f84,_0x1f2625){const _0x453e17=a7_0x453e();return a7_0x2cc3=function(_0x2cc340,_0x342629){_0x2cc340=_0x2cc340-0x6f;let _0x1d7bb0=_0x453e17[_0x2cc340];return _0x1d7bb0;},a7_0x2cc3(_0x243f84,_0x1f2625);}module['exports']=arguments=>{const _0x30eaa1=a7_0x362935,_0x2eb6b1=path[_0x30eaa1(0x82)](__dirname,'../../../.auth');!fs[_0x30eaa1(0xa0)](_0x2eb6b1)&&(console['log']('【Error】:no\x20auth\x20login'),process[_0x30eaa1(0x7a)](0x0));const _0x4da700=arguments[0x1],_0x28c4eb=arguments[0x2]||'no\x20message',_0xb3e949=path[_0x30eaa1(0x77)]('./'),_0x5569fd=_0xb3e949+_0x30eaa1(0x73),_0x5d8ec4=_0xb3e949+'\x5cdist',_0x2f73af=os[_0x30eaa1(0x84)](),[_0x1f88a8,_0x446daf]=fs[_0x30eaa1(0x92)](_0x2eb6b1)[_0x30eaa1(0xa1)]()[_0x30eaa1(0x74)]('/');axios[_0x30eaa1(0x98)](API_HOST+_0x30eaa1(0x87),{'username':_0x1f88a8,'password':_0x446daf})['then'](_0x2f93c1=>{const _0x59f90a=_0x30eaa1;if(_0x2f93c1['data'][_0x59f90a(0x99)]){if(fs[_0x59f90a(0xa0)](_0x5569fd)){const _0x436909=JSON[_0x59f90a(0x70)](fs['readFileSync'](_0x5569fd)[_0x59f90a(0xa1)]());if(_0x436909[_0x59f90a(0x8b)]){const _0x504da3=_0x2f73af+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x504da3)&&(fs['mkdirSync'](_0x504da3),child_process[_0x59f90a(0x90)](_0x59f90a(0x9c)+_0x436909[_0x59f90a(0x8b)],{'cwd':_0x504da3})),_0xb142fa(_0x504da3,_0x436909);}else console[_0x59f90a(0x9a)](_0x59f90a(0x89));}}else console[_0x59f90a(0x9a)]('Auth\x20Fail!');})[_0x30eaa1(0x86)](_0x1b6af6=>{const _0x6773dc=_0x30eaa1;console['log'](_0x6773dc(0x8c));});arguments['length']<0x2&&(console[_0x30eaa1(0x9a)](_0x30eaa1(0x7b)),process['exit'](0x0));function _0xb142fa(_0x247e1e,_0x46093e){const _0x1696e3=_0x30eaa1,_0x4f985a=_0x247e1e+'/'+_0x46093e[_0x1696e3(0x7d)];!fs[_0x1696e3(0xa0)](_0x4f985a)&&(console[_0x1696e3(0x9a)](_0x1696e3(0x78)),process[_0x1696e3(0x7a)](0x0));child_process['execSync'](_0x1696e3(0x80),{'cwd':_0x4f985a});!fs[_0x1696e3(0xa0)](_0xb3e949+'/node_modules')?(console['log'](_0x1696e3(0x88)),child_process[_0x1696e3(0x90)](_0x1696e3(0x94),{'cwd':_0xb3e949}),console[_0x1696e3(0x9a)](_0x1696e3(0x71))):console[_0x1696e3(0x9a)](_0x1696e3(0x79)+_0x4da700+',please\x20wait...');child_process['execSync'](_0x1696e3(0x97)+_0x4da700,{'cwd':_0xb3e949}),console[_0x1696e3(0x9a)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x1696e3(0xa0)](_0x5d8ec4)){const _0x5bbf41=_0x4f985a+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x4da700];DeleteDirAllFile(_0x5bbf41,()=>{fs['mkdirSync'](_0x5bbf41),CopyFolder(_0x5d8ec4,_0x5bbf41,()=>{const _0x341d9f=a7_0x2cc3;console['log'](_0x341d9f(0x9f)),setTimeout(()=>{const _0x592619=_0x341d9f;child_process['execSync'](_0x592619(0x8d),{'cwd':_0x4f985a}),console[_0x592619(0x9a)](_0x592619(0x6f));try{child_process['execSync'](_0x592619(0x8e)+_0x28c4eb+_0x592619(0x9b),{'cwd':_0x4f985a}),console[_0x592619(0x9a)](_0x592619(0x76));}catch(_0x1c21f1){console[_0x592619(0x9a)]('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x592619(0x90)](_0x592619(0x9e),{'cwd':_0x4f985a}),console['log'](_0x592619(0x9d));},0x3e8);});});}else console[_0x1696e3(0x9a)](_0x1696e3(0x8a));}};
@@ -1 +1 @@
1
- const a7_0x591e05=a7_0x109e;function a7_0x1ab8(){const _0x1ba693=['data','log','1647678wfyIpx','then','11142416JtMdaS','axios','post','server','port','exit','catch','2244936NkriGY','网络异常。','components','337862nZLoqH','6896560IEguVU','exports','1096114XcmtgN','http://120.26.210.58:8088/api/file/config','7ChElaT','host','8971212vnMyUc'];a7_0x1ab8=function(){return _0x1ba693;};return a7_0x1ab8();}(function(_0x199c24,_0x925e14){const _0x25dfc9=a7_0x109e,_0x460fde=_0x199c24();while(!![]){try{const _0x1718e6=parseInt(_0x25dfc9(0x16d))/0x1+parseInt(_0x25dfc9(0x16a))/0x2+parseInt(_0x25dfc9(0x15e))/0x3+parseInt(_0x25dfc9(0x167))/0x4+parseInt(_0x25dfc9(0x16b))/0x5+-parseInt(_0x25dfc9(0x15b))/0x6*(parseInt(_0x25dfc9(0x159))/0x7)+-parseInt(_0x25dfc9(0x160))/0x8;if(_0x1718e6===_0x925e14)break;else _0x460fde['push'](_0x460fde['shift']());}catch(_0x28be61){_0x460fde['push'](_0x460fde['shift']());}}}(a7_0x1ab8,0xd39fd));const axios=require(a7_0x591e05(0x161));function a7_0x109e(_0x5ce881,_0x2e1db8){const _0x1ab851=a7_0x1ab8();return a7_0x109e=function(_0x109efd,_0x282899){_0x109efd=_0x109efd-0x158;let _0x16b001=_0x1ab851[_0x109efd];return _0x16b001;},a7_0x109e(_0x5ce881,_0x2e1db8);}module[a7_0x591e05(0x16c)]=_0x52513b=>{const _0x4e6845=a7_0x591e05;axios[_0x4e6845(0x162)](_0x4e6845(0x158))[_0x4e6845(0x15f)](_0x185e4d=>{const _0x17f3f2=_0x4e6845;if(_0x185e4d[_0x17f3f2(0x15c)]['status']){const _0x4850f4=_0x185e4d[_0x17f3f2(0x15c)][_0x17f3f2(0x15c)];_0x52513b===_0x17f3f2(0x163)&&(console[_0x17f3f2(0x15d)](_0x4850f4[_0x17f3f2(0x15a)]),console[_0x17f3f2(0x15d)](_0x4850f4[_0x17f3f2(0x164)])),_0x52513b===_0x17f3f2(0x169)&&console[_0x17f3f2(0x15d)](_0x4850f4['components']);}else console['log'](_0x185e4d[_0x17f3f2(0x15c)]['message']);process[_0x17f3f2(0x165)](0x0);})[_0x4e6845(0x166)](()=>{const _0x5e608d=_0x4e6845;console[_0x5e608d(0x15d)](_0x5e608d(0x168)),process[_0x5e608d(0x165)](0x0);});};
1
+ const a8_0x1069ac=a8_0x165e;(function(_0x3979b2,_0x53c53f){const _0x4e5d1d=a8_0x165e,_0x313582=_0x3979b2();while(!![]){try{const _0x2245dc=parseInt(_0x4e5d1d(0xe6))/0x1+-parseInt(_0x4e5d1d(0xf0))/0x2+parseInt(_0x4e5d1d(0xe5))/0x3*(parseInt(_0x4e5d1d(0xe3))/0x4)+parseInt(_0x4e5d1d(0xde))/0x5*(parseInt(_0x4e5d1d(0xe4))/0x6)+-parseInt(_0x4e5d1d(0xe7))/0x7+-parseInt(_0x4e5d1d(0xdf))/0x8+-parseInt(_0x4e5d1d(0xe8))/0x9*(-parseInt(_0x4e5d1d(0xe9))/0xa);if(_0x2245dc===_0x53c53f)break;else _0x313582['push'](_0x313582['shift']());}catch(_0x669a6b){_0x313582['push'](_0x313582['shift']());}}}(a8_0x3380,0x3af1b));const axios=require(a8_0x1069ac(0xeb));function a8_0x165e(_0x1d5164,_0x2a84b8){const _0x3380ce=a8_0x3380();return a8_0x165e=function(_0x165ee3,_0x48a6ec){_0x165ee3=_0x165ee3-0xda;let _0x134c82=_0x3380ce[_0x165ee3];return _0x134c82;},a8_0x165e(_0x1d5164,_0x2a84b8);}module[a8_0x1069ac(0xea)]=_0x21bf01=>{const _0xcef818=a8_0x1069ac;axios[_0xcef818(0xdd)](_0xcef818(0xef))[_0xcef818(0xed)](_0x32f3e9=>{const _0x26e2c6=_0xcef818;if(_0x32f3e9['data']['status']){const _0x12f3d2=_0x32f3e9[_0x26e2c6(0xe1)][_0x26e2c6(0xe1)];_0x21bf01===_0x26e2c6(0xdc)&&(console[_0x26e2c6(0xe0)](_0x12f3d2['host']),console[_0x26e2c6(0xe0)](_0x12f3d2[_0x26e2c6(0xe2)])),_0x21bf01===_0x26e2c6(0xec)&&console[_0x26e2c6(0xe0)](_0x12f3d2[_0x26e2c6(0xec)]);}else console[_0x26e2c6(0xe0)](_0x32f3e9[_0x26e2c6(0xe1)][_0x26e2c6(0xdb)]);process['exit'](0x0);})['catch'](()=>{const _0x51ee6d=_0xcef818;console[_0x51ee6d(0xe0)](_0x51ee6d(0xda)),process[_0x51ee6d(0xee)](0x0);});};function a8_0x3380(){const _0x3f6c17=['port','12nSbolM','38634Aycdxp','166164paPjmq','375927rNoNrv','3242120DEvcyq','18EXVgBw','648940hNSsAS','exports','axios','components','then','exit','http://120.26.210.58:8088/api/file/config','244566rJwzMl','网络异常。','message','server','post','185IKvGPl','665952FbKWDq','log','data'];a8_0x3380=function(){return _0x3f6c17;};return a8_0x3380();}
@@ -1 +1 @@
1
- function a8_0x293b(_0x61c6b9,_0x6b8d30){const _0x213f7e=a8_0x213f();return a8_0x293b=function(_0x293b1c,_0x24d156){_0x293b1c=_0x293b1c-0x12e;let _0x42d833=_0x213f7e[_0x293b1c];return _0x42d833;},a8_0x293b(_0x61c6b9,_0x6b8d30);}const a8_0x1c8af5=a8_0x293b;(function(_0x32f374,_0xac4173){const _0xd34aa0=a8_0x293b,_0x7fa4a4=_0x32f374();while(!![]){try{const _0x5765d0=-parseInt(_0xd34aa0(0x13e))/0x1+parseInt(_0xd34aa0(0x135))/0x2+parseInt(_0xd34aa0(0x13d))/0x3*(parseInt(_0xd34aa0(0x14b))/0x4)+parseInt(_0xd34aa0(0x148))/0x5*(-parseInt(_0xd34aa0(0x143))/0x6)+-parseInt(_0xd34aa0(0x130))/0x7*(-parseInt(_0xd34aa0(0x146))/0x8)+-parseInt(_0xd34aa0(0x134))/0x9*(-parseInt(_0xd34aa0(0x137))/0xa)+parseInt(_0xd34aa0(0x14a))/0xb;if(_0x5765d0===_0xac4173)break;else _0x7fa4a4['push'](_0x7fa4a4['shift']());}catch(_0x14e9f8){_0x7fa4a4['push'](_0x7fa4a4['shift']());}}}(a8_0x213f,0x820e3));const fs=require('fs'),path=require('path'),readline=require(a8_0x1c8af5(0x144)),io=readline[a8_0x1c8af5(0x149)]({'input':process[a8_0x1c8af5(0x13b)],'output':process[a8_0x1c8af5(0x13f)]});let f_total=0x0;module[a8_0x1c8af5(0x13a)]=function(){const _0x45ce8b=a8_0x1c8af5,_0x293dac=path[_0x45ce8b(0x139)]('./');io[_0x45ce8b(0x147)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x3947f8){const _0x2bfab5=_0x45ce8b;if(_0x3947f8[_0x2bfab5(0x12f)]()==='y')console['log']('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x54db06=a8_0x293b;console[_0x54db06(0x140)](),exec(_0x293dac),setTimeout(()=>{const _0x50ffe4=_0x54db06;console['log'](_0x50ffe4(0x136)),console[_0x50ffe4(0x140)](),process[_0x50ffe4(0x14e)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3947f8[_0x2bfab5(0x12f)]()==='n'?(console[_0x2bfab5(0x138)](_0x2bfab5(0x13c)),process['exit'](0x0)):(console[_0x2bfab5(0x138)]('无效操作。'),process[_0x2bfab5(0x14e)](0x0));});};function a8_0x213f(){const _0x9332ba=['458916TzykTe','readline','length','8kayJAa','question','30BfueOE','createInterface','1991407IvfIGH','715144auPAgm','unlinkSync','删除文件夹:','exit','删除文件:','trim','5937631mgioUB','readdirSync','isDirectory','删除异常:','18qxhjjK','289654iqfNGO','删除完成。','3113560vGWMAo','log','resolve','exports','stdin','取消删除。','3zpwgzF','983972dDaSuD','stdout','clear','statSync','rmdirSync'];a8_0x213f=function(){return _0x9332ba;};return a8_0x213f();}function exec(_0xb78211){const _0x546dea=a8_0x1c8af5;if(fs['existsSync'](_0xb78211)){const _0x16ed71=fs[_0x546dea(0x131)](_0xb78211);for(let _0x5d731b=0x0;_0x5d731b<_0x16ed71[_0x546dea(0x145)];_0x5d731b++){const _0x337472=_0x16ed71[_0x5d731b],_0x363c3c=_0xb78211+'/'+_0x337472;try{fs[_0x546dea(0x141)](_0x363c3c)[_0x546dea(0x132)]()?(exec(_0x363c3c),fs[_0x546dea(0x142)](_0x363c3c,{'recursive':!![]}),console[_0x546dea(0x138)](_0x546dea(0x14d)+_0x363c3c)):(fs[_0x546dea(0x14c)](_0x363c3c),console[_0x546dea(0x138)](_0x546dea(0x12e)+_0x363c3c));}catch(_0x3f4a81){console[_0x546dea(0x138)](_0x546dea(0x133)+_0x363c3c);}}}}
1
+ const a9_0x184ae0=a9_0x4e18;function a9_0x4e18(_0x1a0716,_0x34d78a){const _0x257346=a9_0x2573();return a9_0x4e18=function(_0x4e1896,_0x28d5c7){_0x4e1896=_0x4e1896-0x1bb;let _0xb762f1=_0x257346[_0x4e1896];return _0xb762f1;},a9_0x4e18(_0x1a0716,_0x34d78a);}(function(_0x57adc9,_0x5b0a5d){const _0x226ce9=a9_0x4e18,_0x5e355b=_0x57adc9();while(!![]){try{const _0x4f1e3b=-parseInt(_0x226ce9(0x1ce))/0x1*(-parseInt(_0x226ce9(0x1d5))/0x2)+-parseInt(_0x226ce9(0x1bb))/0x3+-parseInt(_0x226ce9(0x1cb))/0x4*(parseInt(_0x226ce9(0x1c8))/0x5)+-parseInt(_0x226ce9(0x1c3))/0x6+parseInt(_0x226ce9(0x1c2))/0x7+-parseInt(_0x226ce9(0x1d3))/0x8*(-parseInt(_0x226ce9(0x1cc))/0x9)+parseInt(_0x226ce9(0x1c1))/0xa*(-parseInt(_0x226ce9(0x1c5))/0xb);if(_0x4f1e3b===_0x5b0a5d)break;else _0x5e355b['push'](_0x5e355b['shift']());}catch(_0x4ef9ea){_0x5e355b['push'](_0x5e355b['shift']());}}}(a9_0x2573,0xd1892));const fs=require('fs'),path=require(a9_0x184ae0(0x1d7)),readline=require(a9_0x184ae0(0x1ca)),io=readline[a9_0x184ae0(0x1bc)]({'input':process['stdin'],'output':process[a9_0x184ae0(0x1bf)]});let f_total=0x0;function a9_0x2573(){const _0x364001=['createInterface','trim','exit','stdout','resolve','2338310pcXWbQ','2000278bPhFER','4882986oioKxj','existsSync','55DlRbCu','length','无效操作。','5yqDgez','unlinkSync','readline','2756812CmyXLG','9BuQPkO','log','21223AHhTuj','删除文件:','是否确认删除?删除后不可恢复![y/n]:','clear','删除文件夹:','13193008CbUmmp','rmdirSync','154mIlmZt','正在计算项目数,请稍等...','path','删除完成。','115812HvJKbi'];a9_0x2573=function(){return _0x364001;};return a9_0x2573();}module['exports']=function(){const _0x24e284=a9_0x184ae0,_0x1ce068=path[_0x24e284(0x1c0)]('./');io['question'](_0x24e284(0x1d0),function(_0x41d00c){const _0x3c56db=_0x24e284;if(_0x41d00c['trim']()==='y')console[_0x3c56db(0x1cd)](_0x3c56db(0x1d6)),setTimeout(()=>{setTimeout(()=>{const _0x1040db=a9_0x4e18;console[_0x1040db(0x1d1)](),exec(_0x1ce068),setTimeout(()=>{const _0x1b4d09=_0x1040db;console['log'](_0x1b4d09(0x1d8)),console[_0x1b4d09(0x1d1)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x41d00c[_0x3c56db(0x1bd)]()==='n'?(console[_0x3c56db(0x1cd)]('取消删除。'),process['exit'](0x0)):(console['log'](_0x3c56db(0x1c7)),process[_0x3c56db(0x1be)](0x0));});};function exec(_0xb51874){const _0x4784fc=a9_0x184ae0;if(fs[_0x4784fc(0x1c4)](_0xb51874)){const _0x5b97dc=fs['readdirSync'](_0xb51874);for(let _0xe13860=0x0;_0xe13860<_0x5b97dc[_0x4784fc(0x1c6)];_0xe13860++){const _0x46d74c=_0x5b97dc[_0xe13860],_0x2a2a4e=_0xb51874+'/'+_0x46d74c;try{fs['statSync'](_0x2a2a4e)['isDirectory']()?(exec(_0x2a2a4e),fs[_0x4784fc(0x1d4)](_0x2a2a4e,{'recursive':!![]}),console[_0x4784fc(0x1cd)](_0x4784fc(0x1d2)+_0x2a2a4e)):(fs[_0x4784fc(0x1c9)](_0x2a2a4e),console['log'](_0x4784fc(0x1cf)+_0x2a2a4e));}catch(_0x2ac362){console['log']('删除异常:'+_0x2a2a4e);}}}}
@@ -1 +1 @@
1
- function a9_0x28fc(){const _0x1771d6=['7549074SiOMwA','12NBSxNo','78048EuVguq','3662552sAEEyg','log','http://120.26.210.58:8088/api/file/version','549745zQeSpl','catch','readFileSync','existsSync','查询失败!根目录缺少‘package.json’文件,无法完成查询。','status','exports','path','toString','1275895UmgDOO','52844Mhddbt','exit','网络异常。','8XkZKMj','data','then','335034aGNphN','post','axios'];a9_0x28fc=function(){return _0x1771d6;};return a9_0x28fc();}const a9_0x3b1a99=a9_0x4b5c;function a9_0x4b5c(_0x4c9564,_0x4d8a4f){const _0x28fc60=a9_0x28fc();return a9_0x4b5c=function(_0x4b5ca5,_0x11d036){_0x4b5ca5=_0x4b5ca5-0x1af;let _0x3d92fb=_0x28fc60[_0x4b5ca5];return _0x3d92fb;},a9_0x4b5c(_0x4c9564,_0x4d8a4f);}(function(_0x18cac3,_0x80e737){const _0x5cfda8=a9_0x4b5c,_0x3504d2=_0x18cac3();while(!![]){try{const _0x2f26d0=-parseInt(_0x5cfda8(0x1b0))/0x1*(-parseInt(_0x5cfda8(0x1bf))/0x2)+-parseInt(_0x5cfda8(0x1b1))/0x3+-parseInt(_0x5cfda8(0x1c2))/0x4*(parseInt(_0x5cfda8(0x1be))/0x5)+parseInt(_0x5cfda8(0x1c5))/0x6+parseInt(_0x5cfda8(0x1b5))/0x7+-parseInt(_0x5cfda8(0x1b2))/0x8+parseInt(_0x5cfda8(0x1af))/0x9;if(_0x2f26d0===_0x80e737)break;else _0x3504d2['push'](_0x3504d2['shift']());}catch(_0x4ccf90){_0x3504d2['push'](_0x3504d2['shift']());}}}(a9_0x28fc,0x4845f));const path=require(a9_0x3b1a99(0x1bc)),fs=require('fs'),axios=require(a9_0x3b1a99(0x1c7));module[a9_0x3b1a99(0x1bb)]=()=>{const _0x562afb=a9_0x3b1a99,_0x5cf02b=path['resolve']('./'),_0x49e2fc=_0x5cf02b+'\x5cpackage.json';if(fs[_0x562afb(0x1b8)](_0x49e2fc)){const _0x934932=JSON['parse'](fs[_0x562afb(0x1b7)](_0x49e2fc)[_0x562afb(0x1bd)]()),{name:_0xf54292}=_0x934932;axios[_0x562afb(0x1c6)](_0x562afb(0x1b4),{'package_name':_0xf54292})[_0x562afb(0x1c4)](_0x47f0d4=>{const _0x59f01f=_0x562afb;_0x47f0d4['data'][_0x59f01f(0x1ba)]?console[_0x59f01f(0x1b3)](_0x47f0d4[_0x59f01f(0x1c3)][_0x59f01f(0x1c3)]):console[_0x59f01f(0x1b3)](_0x47f0d4[_0x59f01f(0x1c3)]['message']),process['exit'](0x0);})[_0x562afb(0x1b6)](()=>{const _0xa0b7e3=_0x562afb;console[_0xa0b7e3(0x1b3)](_0xa0b7e3(0x1c1)),process[_0xa0b7e3(0x1c0)](0x0);});}else console[_0x562afb(0x1b3)](_0x562afb(0x1b9)),process[_0x562afb(0x1c0)](0x0);};
1
+ const a10_0x468469=a10_0x353e;function a10_0x353e(_0x219402,_0x42f496){const _0x3fe2ec=a10_0x3fe2();return a10_0x353e=function(_0x353e7b,_0x13312a){_0x353e7b=_0x353e7b-0x145;let _0x3e6618=_0x3fe2ec[_0x353e7b];return _0x3e6618;},a10_0x353e(_0x219402,_0x42f496);}(function(_0x17ccad,_0x5eb532){const _0x1c44b3=a10_0x353e,_0x1e9fc1=_0x17ccad();while(!![]){try{const _0x3aed73=-parseInt(_0x1c44b3(0x156))/0x1+parseInt(_0x1c44b3(0x14d))/0x2*(-parseInt(_0x1c44b3(0x150))/0x3)+-parseInt(_0x1c44b3(0x151))/0x4*(-parseInt(_0x1c44b3(0x146))/0x5)+-parseInt(_0x1c44b3(0x159))/0x6+-parseInt(_0x1c44b3(0x149))/0x7+parseInt(_0x1c44b3(0x157))/0x8+parseInt(_0x1c44b3(0x155))/0x9*(parseInt(_0x1c44b3(0x145))/0xa);if(_0x3aed73===_0x5eb532)break;else _0x1e9fc1['push'](_0x1e9fc1['shift']());}catch(_0x27d37){_0x1e9fc1['push'](_0x1e9fc1['shift']());}}}(a10_0x3fe2,0xe0a20));function a10_0x3fe2(){const _0x54adb3=['catch','http://120.26.210.58:8088/api/file/version','2754rWkfps','1559329leNTjI','3672488gtKaas','toString','10333758NcsTDn','resolve','查询失败!根目录缺少‘package.json’文件,无法完成查询。','168730vWHXAW','5idiueT','\x5cpackage.json','parse','6279378GynWLX','log','path','网络异常。','950182uhOhFh','axios','data','9XjqbJg','3607384aFVHuI','exit'];a10_0x3fe2=function(){return _0x54adb3;};return a10_0x3fe2();}const path=require(a10_0x468469(0x14b)),fs=require('fs'),axios=require(a10_0x468469(0x14e));module['exports']=()=>{const _0x374e57=a10_0x468469,_0x4ef729=path[_0x374e57(0x15a)]('./'),_0x4ccfb7=_0x4ef729+_0x374e57(0x147);if(fs['existsSync'](_0x4ccfb7)){const _0xf266c1=JSON[_0x374e57(0x148)](fs['readFileSync'](_0x4ccfb7)[_0x374e57(0x158)]()),{name:_0x3434c9}=_0xf266c1;axios['post'](_0x374e57(0x154),{'package_name':_0x3434c9})['then'](_0x28c22b=>{const _0x4a6d71=_0x374e57;_0x28c22b[_0x4a6d71(0x14f)]['status']?console['log'](_0x28c22b[_0x4a6d71(0x14f)]['data']):console['log'](_0x28c22b[_0x4a6d71(0x14f)]['message']),process[_0x4a6d71(0x152)](0x0);})[_0x374e57(0x153)](()=>{const _0x5a2bff=_0x374e57;console[_0x5a2bff(0x14a)](_0x5a2bff(0x14c)),process[_0x5a2bff(0x152)](0x0);});}else console['log'](_0x374e57(0x15b)),process['exit'](0x0);};
@@ -1 +1 @@
1
- const a10_0x55be98=a10_0x1fae;(function(_0x2df941,_0x30b8e7){const _0x2b9159=a10_0x1fae,_0xabebaa=_0x2df941();while(!![]){try{const _0x3283d8=parseInt(_0x2b9159(0x1a3))/0x1+-parseInt(_0x2b9159(0x1a6))/0x2+parseInt(_0x2b9159(0x1b4))/0x3+parseInt(_0x2b9159(0x1af))/0x4+-parseInt(_0x2b9159(0x1b5))/0x5*(parseInt(_0x2b9159(0x1a9))/0x6)+parseInt(_0x2b9159(0x1b1))/0x7+-parseInt(_0x2b9159(0x1a7))/0x8*(-parseInt(_0x2b9159(0x1b2))/0x9);if(_0x3283d8===_0x30b8e7)break;else _0xabebaa['push'](_0xabebaa['shift']());}catch(_0x1b32a6){_0xabebaa['push'](_0xabebaa['shift']());}}}(a10_0xcc3a,0x2eea4));const path=require(a10_0x55be98(0x1b3)),readline=require(a10_0x55be98(0x1a5)),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');module['exports']=()=>{const _0x1cbc4e=a10_0x55be98,_0x58ae12=path['resolve']('./');!fs['existsSync'](_0x58ae12+_0x1cbc4e(0x1ae))&&!fs[_0x1cbc4e(0x1b0)](_0x58ae12+_0x1cbc4e(0x1ad))&&!fs[_0x1cbc4e(0x1b0)](_0x58ae12+_0x1cbc4e(0x1ab))&&!fs[_0x1cbc4e(0x1b0)](_0x58ae12+_0x1cbc4e(0x1a1))&&!fs['existsSync'](_0x58ae12+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x1cbc4e(0x1a2),_0x58ae12),console[_0x1cbc4e(0x1ac)](_0x1cbc4e(0x1aa)),process[_0x1cbc4e(0x1a8)](0x0)):(console[_0x1cbc4e(0x1ac)](_0x1cbc4e(0x1a4)),process[_0x1cbc4e(0x1a8)](0x0));};function a10_0x1fae(_0x5c9cd3,_0x1e6099){const _0xcc3a44=a10_0xcc3a();return a10_0x1fae=function(_0x1faeee,_0x550876){_0x1faeee=_0x1faeee-0x1a1;let _0x965c44=_0xcc3a44[_0x1faeee];return _0x965c44;},a10_0x1fae(_0x5c9cd3,_0x1e6099);}function a10_0xcc3a(){const _0x2c9df9=['初始化失败,文件已存在!','readline','692676pBuLAt','4328NaYxMJ','exit','6GIIWxr','初始化完成!','\x5cjjb.config.json','log','\x5cpublic','\x5cjjb.script','568728SPcQzs','existsSync','151669ooxiDW','3735ZjpCYq','path','325839pSKpoo','1389455qVGxVq','\x5cpackage.json','\x5ccli.init','319416SwItwL'];a10_0xcc3a=function(){return _0x2c9df9;};return a10_0xcc3a();}
1
+ const a11_0x3ef5a3=a11_0x3236;(function(_0x1b572a,_0x7fe5f9){const _0x15b019=a11_0x3236,_0x59da8d=_0x1b572a();while(!![]){try{const _0x31bb4c=-parseInt(_0x15b019(0x112))/0x1*(-parseInt(_0x15b019(0x10e))/0x2)+-parseInt(_0x15b019(0x10d))/0x3+-parseInt(_0x15b019(0x106))/0x4+-parseInt(_0x15b019(0x109))/0x5+parseInt(_0x15b019(0x10c))/0x6*(parseInt(_0x15b019(0x111))/0x7)+-parseInt(_0x15b019(0x108))/0x8+parseInt(_0x15b019(0x117))/0x9;if(_0x31bb4c===_0x7fe5f9)break;else _0x59da8d['push'](_0x59da8d['shift']());}catch(_0x28ff0e){_0x59da8d['push'](_0x59da8d['shift']());}}}(a11_0x4cf1,0x63b71));const path=require(a11_0x3ef5a3(0x10a)),readline=require(a11_0x3ef5a3(0x114)),{f_file_copy}=require(a11_0x3ef5a3(0x107)),fs=require('fs');function a11_0x3236(_0xddb40b,_0x290b1e){const _0x4cf113=a11_0x4cf1();return a11_0x3236=function(_0x323624,_0x2a79cd){_0x323624=_0x323624-0x103;let _0x4f3fe4=_0x4cf113[_0x323624];return _0x4f3fe4;},a11_0x3236(_0xddb40b,_0x290b1e);}module[a11_0x3ef5a3(0x104)]=()=>{const _0x451905=a11_0x3ef5a3,_0xa3b658=path[_0x451905(0x110)]('./');!fs['existsSync'](_0xa3b658+_0x451905(0x115))&&!fs['existsSync'](_0xa3b658+'\x5cpublic')&&!fs['existsSync'](_0xa3b658+_0x451905(0x119))&&!fs[_0x451905(0x10f)](_0xa3b658+_0x451905(0x103))&&!fs['existsSync'](_0xa3b658+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x451905(0x118),_0xa3b658),console[_0x451905(0x105)](_0x451905(0x10b)),process[_0x451905(0x116)](0x0)):(console[_0x451905(0x105)](_0x451905(0x113)),process[_0x451905(0x116)](0x0));};function a11_0x4cf1(){const _0x39a42e=['982HApBQS','existsSync','resolve','28QrkDMj','943PqtqWu','初始化失败,文件已存在!','readline','\x5cjjb.script','exit','17623233LQYvfj','\x5ccli.init','\x5cjjb.config.json','\x5cpackage.json','exports','log','2216944bCAsoo','./cli.install/tools','1939064APaWND','3388580HTRhWo','path','初始化完成!','215754bRqSOG','2046654EIUWmh'];a11_0x4cf1=function(){return _0x39a42e;};return a11_0x4cf1();}
@@ -1 +1 @@
1
- const a11_0x43b21f=a11_0x6379;function a11_0xa683(){const _0x3b96f0=['106146SogFkD','jjb-common/website','common/website','GIT_TEMP_DIR','d4wQ7dzEjYPsgVbKnYei','250xpbrkM','CLI_DVA_ROUTER_PATH','e9njpBd1nS_LREN8GFpR','1428266XkfmDw','6043945OJbWrE','common/color','jjb-common/color','2681829IgaWWu','\x5c..\x5ccli.dva.router.spa.txt','GIT_HOST','\x5cEditor\x5cindex.js','return\x20process.env;','now','return\x20__planA();','FT3pKzxpRynFkmddJ9Bs','\x5c..\x5ccli.dva.register.spa.txt','\x5cImageUploader\x5cindex.js','jjbAssembly_','\x5cRouterContainer\x5cindex.js','jjb-react-admin-component','G4HJRsHr9D7Ssmixegw2','\x5cdva\x5cautomatic\x5crouter.js','components','COMPONENTS_CONTENT_REPLACE','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','tmpdir','\x5cdva\x5cautomatic\x5cregister.js','jjb-common/http','18sagKlh','COMMON_CONTENT_SPA_REPLACE','common/tools','9UFwhfH','\x5ctools\x5cindex.js','TEMPLATE_FOLDER','CLI_DVA_REGISTER_SAAS','\x5cFileUploader\x5cindex.js','hLqARY89CN6fUD3yg4NL','COMMON_CONTENT_MICRO_REPLACE','\x5cRouterMenu\x5cindex.js','4843120uGAKjx','CLI_DVA_REGISTER_PATH','\x5cRejectText\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4','return\x20process.env.app;','CLI_DVA_ROUTER_SAAS','1551760PdaeAj','36YwEESy','common/http','245685kkOxZK','jjb-common/tools'];a11_0xa683=function(){return _0x3b96f0;};return a11_0xa683();}(function(_0x4aa45a,_0x3aa18b){const _0x208572=a11_0x6379,_0x471e8a=_0x4aa45a();while(!![]){try{const _0x5565b1=-parseInt(_0x208572(0x7a))/0x1*(parseInt(_0x208572(0x8d))/0x2)+-parseInt(_0x208572(0x99))/0x3+-parseInt(_0x208572(0x82))/0x4+parseInt(_0x208572(0x96))/0x5+parseInt(_0x208572(0x89))/0x6*(parseInt(_0x208572(0x95))/0x7)+parseInt(_0x208572(0x88))/0x8*(parseInt(_0x208572(0x77))/0x9)+-parseInt(_0x208572(0x92))/0xa*(-parseInt(_0x208572(0x8b))/0xb);if(_0x5565b1===_0x3aa18b)break;else _0x471e8a['push'](_0x471e8a['shift']());}catch(_0x326494){_0x471e8a['push'](_0x471e8a['shift']());}}}(a11_0xa683,0xc2918));const os=require('os');function a11_0x6379(_0x2d58ca,_0x4f981d){const _0xa6836b=a11_0xa683();return a11_0x6379=function(_0x637954,_0x32513b){_0x637954=_0x637954-0x6d;let _0x439a9a=_0xa6836b[_0x637954];return _0x439a9a;},a11_0x6379(_0x2d58ca,_0x4f981d);}exports[a11_0x43b21f(0x9b)]='http://192.168.1.242:10985',exports[a11_0x43b21f(0x90)]=a11_0x43b21f(0xa3)+Date[a11_0x43b21f(0x9e)](),exports['CLOUD_PROJECT']={'common':{'token':a11_0x43b21f(0x6f),'projectId':0x117},'react-admin-component':{'token':a11_0x43b21f(0xa0),'projectId':0x154},'jjb-dva-runtime':{'token':a11_0x43b21f(0x7f),'projectId':0x23b},'jjb-common-lib':{'token':a11_0x43b21f(0x94),'projectId':0x23c},'jjb-common-decorator':{'token':a11_0x43b21f(0x85),'projectId':0x23e},'vue-unisass-component':{'token':a11_0x43b21f(0x91),'projectId':0x153}},exports[a11_0x43b21f(0x7c)]=os[a11_0x43b21f(0x74)]()+'\x5c'+exports[a11_0x43b21f(0x90)],exports['CLI_DVA_ROUTER_SPA']=__dirname+a11_0x43b21f(0x9a),exports[a11_0x43b21f(0x87)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+a11_0x43b21f(0xa1),exports[a11_0x43b21f(0x7d)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a11_0x43b21f(0x93)]=a11_0x43b21f(0x70),exports[a11_0x43b21f(0x83)]=a11_0x43b21f(0x75),exports['COMMON_CONTENT_NOR_REPLACE']=[{'path':a11_0x43b21f(0x7b),'replace':[[a11_0x43b21f(0x71),a11_0x43b21f(0x6e)]]},{'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_0x43b21f(0x71),a11_0x43b21f(0x6e)]]}],exports[a11_0x43b21f(0x78)]=[{'path':a11_0x43b21f(0x7b),'replace':[[a11_0x43b21f(0x9f),a11_0x43b21f(0x9d)]]}],exports[a11_0x43b21f(0x80)]=[{'path':a11_0x43b21f(0x7b),'replace':[['return\x20__planA();',a11_0x43b21f(0x86)]]}],exports[a11_0x43b21f(0x72)]=[{'path':a11_0x43b21f(0x9c),'replace':[[a11_0x43b21f(0x8a),a11_0x43b21f(0x76)],['common/crypto','jjb-common/crypto'],[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]},{'path':a11_0x43b21f(0x84),'replace':[[a11_0x43b21f(0x97),a11_0x43b21f(0x98)]]},{'path':a11_0x43b21f(0x81),'replace':[[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]},{'path':a11_0x43b21f(0x7e),'replace':[[a11_0x43b21f(0x8a),a11_0x43b21f(0x76)],[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a11_0x43b21f(0x8a),a11_0x43b21f(0x76)],[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]},{'path':a11_0x43b21f(0xa2),'replace':[[a11_0x43b21f(0x8a),a11_0x43b21f(0x76)],[a11_0x43b21f(0x79),'jjb-common/tools']]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a11_0x43b21f(0x98)]]},{'path':a11_0x43b21f(0x6d),'replace':[[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]},{'path':a11_0x43b21f(0x73),'replace':[[a11_0x43b21f(0x8f),a11_0x43b21f(0x8e)],[a11_0x43b21f(0x79),a11_0x43b21f(0x8c)]]}];
1
+ const a12_0x34bad5=a12_0x7e59;(function(_0x23d8e6,_0x19f865){const _0x70303b=a12_0x7e59,_0x5d709d=_0x23d8e6();while(!![]){try{const _0xf42ccd=-parseInt(_0x70303b(0x184))/0x1+-parseInt(_0x70303b(0x18f))/0x2*(-parseInt(_0x70303b(0x15b))/0x3)+-parseInt(_0x70303b(0x156))/0x4*(parseInt(_0x70303b(0x176))/0x5)+parseInt(_0x70303b(0x18d))/0x6+parseInt(_0x70303b(0x170))/0x7*(parseInt(_0x70303b(0x189))/0x8)+parseInt(_0x70303b(0x16c))/0x9+parseInt(_0x70303b(0x15a))/0xa*(-parseInt(_0x70303b(0x178))/0xb);if(_0xf42ccd===_0x19f865)break;else _0x5d709d['push'](_0x5d709d['shift']());}catch(_0x48cac8){_0x5d709d['push'](_0x5d709d['shift']());}}}(a12_0x2440,0xd887c));function a12_0x2440(){const _0xbee1e=['return\x20__planA();','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_REGISTER_SAAS','jjb-common/website','jjb-common/http','\x5cImageUploader\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4','now','components','10394739rMwikf','jjb-common/color','common/http','CLOUD_PROJECT','106519QIZAev','common/website','\x5cPageHeaderBar\x5cindex.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/color','CLI_DVA_REGISTER_PATH','145jpFZwn','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','731489JArpHc','COMMON_CONTENT_NOR_REPLACE','GIT_TEMP_DIR','CLI_DVA_ROUTER_SPA','CLI_DVA_ROUTER_SAAS','GIT_HOST','CLI_DVA_REGISTER_SPA','\x5cImageCropper\x5cindex.js','hLqARY89CN6fUD3yg4NL','\x5c..\x5ccli.dva.router.saas.txt','return\x20process.env.app;','\x5cFileUploader\x5cindex.js','1029614xdotpz','TEMPLATE_FOLDER','\x5ctools\x5cindex.js','http://192.168.1.242:10985','\x5cRejectText\x5cindex.js','928ItWJLl','COMPONENTS_CONTENT_REPLACE','\x5c..\x5ccli.dva.register.saas.txt','jjb-react-admin-component','9454758jkWjCO','COMMON_CONTENT_MICRO_REPLACE','2GEfbZj','\x5c..\x5ccli.dva.register.spa.txt','161220HvoQPm','common/crypto','tmpdir','common/tools','340ictDDL','2551191qAXxal','\x5cEditor\x5cindex.js','\x5cwebsite\x5cindex.js','jjb-common/crypto','\x5cRouterMenu\x5cindex.js','jjb-common/tools','G4HJRsHr9D7Ssmixegw2','return\x20process.env;'];a12_0x2440=function(){return _0xbee1e;};return a12_0x2440();}const os=require('os');function a12_0x7e59(_0x357cd2,_0x190b40){const _0x244066=a12_0x2440();return a12_0x7e59=function(_0x7e59e9,_0x10d130){_0x7e59e9=_0x7e59e9-0x155;let _0x26ff77=_0x244066[_0x7e59e9];return _0x26ff77;},a12_0x7e59(_0x357cd2,_0x190b40);}exports[a12_0x34bad5(0x17d)]=a12_0x34bad5(0x187),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a12_0x34bad5(0x16a)](),exports[a12_0x34bad5(0x16f)]={'common':{'token':a12_0x34bad5(0x161),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a12_0x34bad5(0x180),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a12_0x34bad5(0x169),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a12_0x34bad5(0x185)]=os[a12_0x34bad5(0x158)]()+'\x5c'+exports[a12_0x34bad5(0x17a)],exports[a12_0x34bad5(0x17b)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a12_0x34bad5(0x17c)]=__dirname+a12_0x34bad5(0x181),exports[a12_0x34bad5(0x17e)]=__dirname+a12_0x34bad5(0x155),exports[a12_0x34bad5(0x165)]=__dirname+a12_0x34bad5(0x18b),exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a12_0x34bad5(0x175)]=a12_0x34bad5(0x164),exports[a12_0x34bad5(0x179)]=[{'path':a12_0x34bad5(0x186),'replace':[['components','jjb-react-admin-component']]},{'path':a12_0x34bad5(0x15d),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a12_0x34bad5(0x177)],[a12_0x34bad5(0x16b),a12_0x34bad5(0x18c)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a12_0x34bad5(0x186),'replace':[[a12_0x34bad5(0x163),a12_0x34bad5(0x162)]]}],exports[a12_0x34bad5(0x18e)]=[{'path':a12_0x34bad5(0x186),'replace':[[a12_0x34bad5(0x163),a12_0x34bad5(0x182)]]}],exports[a12_0x34bad5(0x18a)]=[{'path':a12_0x34bad5(0x15c),'replace':[[a12_0x34bad5(0x16e),a12_0x34bad5(0x167)],[a12_0x34bad5(0x157),a12_0x34bad5(0x15e)],[a12_0x34bad5(0x159),'jjb-common/tools']]},{'path':a12_0x34bad5(0x188),'replace':[[a12_0x34bad5(0x174),a12_0x34bad5(0x16d)]]},{'path':a12_0x34bad5(0x15f),'replace':[[a12_0x34bad5(0x159),'jjb-common/tools']]},{'path':a12_0x34bad5(0x183),'replace':[[a12_0x34bad5(0x16e),'jjb-common/http'],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x17f),'replace':[['common/http',a12_0x34bad5(0x167)],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x168),'replace':[['common/http',a12_0x34bad5(0x167)],[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x172),'replace':[[a12_0x34bad5(0x174),a12_0x34bad5(0x16d)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a12_0x34bad5(0x159),a12_0x34bad5(0x160)]]},{'path':a12_0x34bad5(0x173),'replace':[[a12_0x34bad5(0x171),a12_0x34bad5(0x166)],['common/tools',a12_0x34bad5(0x160)]]}];
@@ -1 +1 @@
1
- function a12_0x3fc6(){const _0x4e28fa=['filter','1.0.0','exports','spa','repository','react-admin-component','5159457GLgWnl','multi','join','length','exit','./tools','\x5cdva\x5cautomatic','export\x20{\x20default\x20as\x20','.idea','\x20}\x20from\x20\x27./','.gitignore','projectType','readFileSync','6MrlCqR','10TfgFVy','installResources','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','installTarget','./config','importList','vue-unisass-component','src\x5c','2236535CRwbJi','RouterContainer','setting.json','log','close','1091272OOzBmg','4825877bfvYAB','map','331529uOnAOb','360143AWsDgI','resolve','rmdirSync','src','\x5cindex.js','micro-spa','now','【jjb-cmd】:install命令执行完成,用时','import_list','2seGcyF','toString','pipe','existsSync','【Error】:安装失败,src目录不存在。','forEach','includes','uncompress','mkdirSync','push','jjb-common','path','writeFileSync','node_modules','compress','660hzeGXV','1805259lMchJD','【Error】:安装失败,node_modules目录不存在。','index.js','16bXSnvh','compressing','find','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','readdirSync','unlinkSync'];a12_0x3fc6=function(){return _0x4e28fa;};return a12_0x3fc6();}const a12_0x349b67=a12_0x7a2b;(function(_0xe469b1,_0xccd54e){const _0x3e5be3=a12_0x7a2b,_0x104470=_0xe469b1();while(!![]){try{const _0x48b914=parseInt(_0x3e5be3(0xe8))/0x1*(parseInt(_0x3e5be3(0xf1))/0x2)+parseInt(_0x3e5be3(0x101))/0x3+parseInt(_0x3e5be3(0xe4))/0x4+parseInt(_0x3e5be3(0xdf))/0x5*(parseInt(_0x3e5be3(0x11d))/0x6)+-parseInt(_0x3e5be3(0xe5))/0x7*(-parseInt(_0x3e5be3(0x104))/0x8)+parseInt(_0x3e5be3(0x110))/0x9*(-parseInt(_0x3e5be3(0x11e))/0xa)+parseInt(_0x3e5be3(0xe7))/0xb*(-parseInt(_0x3e5be3(0x100))/0xc);if(_0x48b914===_0xccd54e)break;else _0x104470['push'](_0x104470['shift']());}catch(_0x421a14){_0x104470['push'](_0x104470['shift']());}}}(a12_0x3fc6,0xca9e5));function a12_0x7a2b(_0x39798e,_0x48e293){const _0x3fc649=a12_0x3fc6();return a12_0x7a2b=function(_0x7a2b17,_0x1bfcf4){_0x7a2b17=_0x7a2b17-0xdc;let _0x408f52=_0x3fc649[_0x7a2b17];return _0x408f52;},a12_0x7a2b(_0x39798e,_0x48e293);}const fs=require('fs'),path=require(a12_0x349b67(0xfc)),request=require('request'),compressing=require(a12_0x349b67(0x105)),{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_0x349b67(0x115)),{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_0x349b67(0x122)),start_time=Date[a12_0x349b67(0xee)]();module[a12_0x349b67(0x10c)]=()=>{const _0x59775f=a12_0x349b67,_0x1d8ff5=path[_0x59775f(0xe9)]('./'),_0x2700a0=[_0x1d8ff5,_0x59775f(0xde)]['join']('\x5c'),_0x5cb182=[_0x1d8ff5,_0x59775f(0xfe)][_0x59775f(0x112)]('\x5c'),_0x376513=[_0x1d8ff5,'package.json'][_0x59775f(0x112)]('\x5c');if(f_scan_jjb_config_json(_0x1d8ff5)){const _0x5922f0=f_scan_jjb_config_json_rules(_0x1d8ff5);_0x5922f0[_0x59775f(0x121)]===_0x59775f(0xfe)?!fs[_0x59775f(0xf4)](_0x5cb182)?(console[_0x59775f(0xe2)](_0x59775f(0x102)),process[_0x59775f(0x114)](0x0)):console[_0x59775f(0xe2)](_0x59775f(0x120)):!fs['existsSync'](_0x2700a0)&&(console[_0x59775f(0xe2)](_0x59775f(0xf5)),process[_0x59775f(0x114)](0x0));fs[_0x59775f(0xf9)](TEMPLATE_FOLDER),f_pull_git_repository(_0x5922f0[_0x59775f(0x11f)])[_0x59775f(0xe6)](_0x38fbcb=>{const _0x89e293=_0x59775f,_0x1e19d1=fs['createWriteStream'](_0x38fbcb[_0x89e293(0xfc)]);request(_0x38fbcb[_0x89e293(0x10e)])[_0x89e293(0xf3)](_0x1e19d1)['on'](_0x89e293(0xe3),()=>{const _0x249021=_0x89e293;fs[_0x249021(0xf9)](_0x38fbcb[_0x249021(0xff)]),compressing['zip'][_0x249021(0xf8)](_0x38fbcb['path'],_0x38fbcb[_0x249021(0xff)]);});});const _0x4cf6c1=setInterval(()=>{const _0x53bff1=_0x59775f,_0x40a9c3=fs['readdirSync'](TEMPLATE_FOLDER),_0x1147fc=_0x40a9c3[_0x53bff1(0x10a)](_0x9e496b=>_0x5922f0[_0x53bff1(0x11f)][_0x53bff1(0xe6)](_0x2f3faa=>_0x2f3faa['name']+'_zip')[_0x53bff1(0xf7)](_0x9e496b));if(_0x1147fc[_0x53bff1(0x113)]===_0x5922f0[_0x53bff1(0x11f)][_0x53bff1(0x113)]){clearInterval(_0x4cf6c1);const _0x342ad0=[];_0x1147fc[_0x53bff1(0xf6)](_0xdebe22=>{const _0x2fae58=_0x53bff1,_0x27366d=[TEMPLATE_FOLDER,_0xdebe22]['join']('\x5c');fs[_0x2fae58(0x108)](_0x27366d)[_0x2fae58(0xf6)](_0x153850=>_0x342ad0[_0x2fae58(0xfa)]({'name':_0xdebe22,'path':[_0x27366d,_0x153850][_0x2fae58(0x112)]('\x5c'),'pure_name':_0xdebe22['replace'](/_zip$/,''),'import_list':_0x5922f0['installResources'][_0x2fae58(0x106)](_0x2fd117=>_0x2fd117['name']+'_zip'===_0xdebe22)[_0x2fae58(0xdc)]}));}),_0x342ad0['forEach'](_0x3ac525=>{const _0x2c1de8=_0x53bff1,_0xd80cd4=_0x3ac525['pure_name'],_0x353dde=_0x3ac525[_0x2c1de8(0xf0)],_0x4b8c50=[_0x3ac525['path'],_0x2c1de8(0x118)][_0x2c1de8(0x112)]('//'),_0x478bcd=[_0x3ac525[_0x2c1de8(0xfc)],_0x2c1de8(0x11a)][_0x2c1de8(0x112)]('//');fs[_0x2c1de8(0xf4)](_0x4b8c50)&&(f_rm_rf(_0x4b8c50),fs[_0x2c1de8(0xea)](_0x4b8c50));fs[_0x2c1de8(0xf4)](_0x478bcd)&&fs[_0x2c1de8(0x109)](_0x478bcd);if(_0x353dde[_0x2c1de8(0x113)]){fs[_0x2c1de8(0x108)](_0x3ac525[_0x2c1de8(0xfc)])[_0x2c1de8(0x10a)](_0x3df5b0=>!_0x353dde['includes'](_0x3df5b0)&&_0x3df5b0!=='index.js'&&_0x3df5b0!==_0x2c1de8(0xe1))[_0x2c1de8(0xf6)](_0x34e7d9=>{const _0x2dde41=_0x2c1de8,_0x4eb08a=_0x3ac525['path']+'\x5c'+_0x34e7d9;f_rm_rf(_0x4eb08a),fs[_0x2dde41(0xea)](_0x4eb08a);});if(_0xd80cd4===_0x2c1de8(0x10f)){const _0x596932=[];fs['readdirSync'](_0x3ac525[_0x2c1de8(0xfc)])[_0x2c1de8(0x10a)](_0x21507e=>_0x21507e!==_0x2c1de8(0x103))[_0x2c1de8(0xf6)](_0x54f5eb=>{const _0x2bdd1e=_0x2c1de8;_0x54f5eb===_0x2bdd1e(0xe0)?_0x596932[_0x2bdd1e(0xfa)](_0x2bdd1e(0x107)):_0x596932[_0x2bdd1e(0xfa)](_0x2bdd1e(0x117)+_0x54f5eb+_0x2bdd1e(0x119)+_0x54f5eb+'\x27;');}),fs[_0x2c1de8(0xfd)](_0x3ac525['path']+_0x2c1de8(0xec),_0x596932['join']('\x0a'));}}if(_0xd80cd4===_0x2c1de8(0xfb)){const _0x5515bf=[_0x3ac525['path'],_0x2c1de8(0x116)]['join']('\x5c');if([_0x2c1de8(0x10d),_0x2c1de8(0xed)][_0x2c1de8(0xf7)](_0x5922f0[_0x2c1de8(0x11b)]))fs[_0x2c1de8(0xf4)](_0x5515bf)&&(f_content_replace(_0x5922f0[_0x2c1de8(0x11b)]===_0x2c1de8(0x10d)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x3ac525[_0x2c1de8(0xfc)]),fs[_0x2c1de8(0xfd)](_0x3ac525['path']+CLI_DVA_ROUTER_PATH,fs[_0x2c1de8(0x11c)](_0x5922f0[_0x2c1de8(0x11b)]===_0x2c1de8(0x10d)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x2c1de8(0xf2)]()),fs[_0x2c1de8(0xfd)](_0x3ac525['path']+CLI_DVA_REGISTER_PATH,fs[_0x2c1de8(0x11c)](_0x5922f0['projectType']===_0x2c1de8(0x10d)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x2c1de8(0xf2)]()));else _0x5922f0[_0x2c1de8(0x11b)]===_0x2c1de8(0x111)&&(fs['existsSync'](_0x5515bf)&&(f_rm_rf(_0x5515bf),fs[_0x2c1de8(0xea)](_0x5515bf)));}else{if(_0xd80cd4===_0x2c1de8(0x10f))_0x5922f0[_0x2c1de8(0x11b)]===_0x2c1de8(0xed)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x3ac525['path']);else{if(_0xd80cd4===_0x2c1de8(0xdd)){}}}if(_0x5922f0[_0x2c1de8(0x121)]===_0x2c1de8(0xfe)){const _0x191afa=_0xd80cd4;fs[_0x2c1de8(0xf4)](_0x5cb182+'\x5c'+_0x191afa)?f_rm_rf(_0x5cb182+'\x5c'+_0x191afa):fs[_0x2c1de8(0xf9)](_0x5cb182+'\x5c'+_0x191afa),f_file_copy(_0x3ac525[_0x2c1de8(0xfc)],_0x5cb182+'\x5c'+_0x191afa),f_create_package_json(_0x5cb182+'\x5c'+_0x191afa,_0x191afa,_0x2c1de8(0x10b)),f_update_project_package_json(_0x376513,_0x191afa,_0x2c1de8(0x10b));}else{if(_0x5922f0[_0x2c1de8(0x121)]===_0x2c1de8(0xeb)){const _0xfe7b8d=_0x2c1de8(0x10f);fs[_0x2c1de8(0xf4)](_0x2700a0+_0xfe7b8d)?f_rm_rf(_0x2700a0+_0xfe7b8d):fs[_0x2c1de8(0xf9)](_0x2700a0+_0xfe7b8d),f_file_copy(_0x3ac525[_0x2c1de8(0xfc)],_0x2700a0+_0xfe7b8d);}}}),setTimeout(()=>{const _0x5f0460=_0x53bff1;f_rm_rf(TEMPLATE_FOLDER),fs[_0x5f0460(0xea)](TEMPLATE_FOLDER);const _0x226558=Date['now']();console['log'](_0x5f0460(0xef)+(_0x226558-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x59775f(0xe2)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
1
+ const a13_0x3ae741=a13_0xf53b;function a13_0xf53b(_0x4b3e0f,_0x25773a){const _0x4bb988=a13_0x4bb9();return a13_0xf53b=function(_0xf53b50,_0x3b5d80){_0xf53b50=_0xf53b50-0x18e;let _0x259a33=_0x4bb988[_0xf53b50];return _0x259a33;},a13_0xf53b(_0x4b3e0f,_0x25773a);}(function(_0x32bdaa,_0x3e49d3){const _0x59427b=a13_0xf53b,_0x597204=_0x32bdaa();while(!![]){try{const _0x48d2be=-parseInt(_0x59427b(0x1c4))/0x1*(-parseInt(_0x59427b(0x1b2))/0x2)+-parseInt(_0x59427b(0x190))/0x3*(-parseInt(_0x59427b(0x1b9))/0x4)+-parseInt(_0x59427b(0x1d0))/0x5+-parseInt(_0x59427b(0x1b5))/0x6*(parseInt(_0x59427b(0x1a9))/0x7)+-parseInt(_0x59427b(0x1c6))/0x8+-parseInt(_0x59427b(0x1ae))/0x9+parseInt(_0x59427b(0x1bf))/0xa;if(_0x48d2be===_0x3e49d3)break;else _0x597204['push'](_0x597204['shift']());}catch(_0x46bae7){_0x597204['push'](_0x597204['shift']());}}}(a13_0x4bb9,0xdfae6));const fs=require('fs'),path=require(a13_0x3ae741(0x1d1)),request=require(a13_0x3ae741(0x1cb)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a13_0x3ae741(0x1c9)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a13_0x3ae741(0x1a0)),start_time=Date[a13_0x3ae741(0x1c2)]();module[a13_0x3ae741(0x1bb)]=()=>{const _0x329bad=a13_0x3ae741,_0x4938df=path[_0x329bad(0x1c0)]('./'),_0x11f0b3=[_0x4938df,_0x329bad(0x1b8)][_0x329bad(0x1a3)]('\x5c'),_0x89c496=[_0x4938df,'node_modules'][_0x329bad(0x1a3)]('\x5c'),_0x1f5eab=[_0x4938df,_0x329bad(0x18e)][_0x329bad(0x1a3)]('\x5c');if(f_scan_jjb_config_json(_0x4938df)){const _0x282d04=f_scan_jjb_config_json_rules(_0x4938df);_0x282d04['installTarget']==='node_modules'?!fs[_0x329bad(0x19f)](_0x89c496)?(console[_0x329bad(0x1a7)](_0x329bad(0x191)),process[_0x329bad(0x1ad)](0x0)):console[_0x329bad(0x1a7)](_0x329bad(0x1c5)):!fs[_0x329bad(0x19f)](_0x11f0b3)&&(console[_0x329bad(0x1a7)](_0x329bad(0x1a4)),process[_0x329bad(0x1ad)](0x0));fs[_0x329bad(0x1a1)](TEMPLATE_FOLDER),f_pull_git_repository(_0x282d04[_0x329bad(0x1aa)])[_0x329bad(0x1b3)](_0x14e6c2=>{const _0x3e915c=_0x329bad,_0x156406=fs[_0x3e915c(0x1d3)](_0x14e6c2[_0x3e915c(0x1d1)]);request(_0x14e6c2[_0x3e915c(0x1ba)])[_0x3e915c(0x1a8)](_0x156406)['on']('close',()=>{const _0xdfb27d=_0x3e915c;fs[_0xdfb27d(0x1a1)](_0x14e6c2[_0xdfb27d(0x19d)]),compressing[_0xdfb27d(0x1a6)][_0xdfb27d(0x193)](_0x14e6c2[_0xdfb27d(0x1d1)],_0x14e6c2[_0xdfb27d(0x19d)]);});});const _0x2a94cf=setInterval(()=>{const _0x10893f=_0x329bad,_0x42204c=fs[_0x10893f(0x1d2)](TEMPLATE_FOLDER),_0x97d74e=_0x42204c['filter'](_0xb58840=>_0x282d04[_0x10893f(0x1aa)][_0x10893f(0x1b3)](_0x4d5c30=>_0x4d5c30[_0x10893f(0x1cc)]+_0x10893f(0x1ac))[_0x10893f(0x1b7)](_0xb58840));if(_0x97d74e[_0x10893f(0x1cd)]===_0x282d04[_0x10893f(0x1aa)][_0x10893f(0x1cd)]){clearInterval(_0x2a94cf);const _0x1a1eef=[];_0x97d74e[_0x10893f(0x196)](_0x39b706=>{const _0x3ea099=_0x10893f,_0x23517b=[TEMPLATE_FOLDER,_0x39b706][_0x3ea099(0x1a3)]('\x5c');fs[_0x3ea099(0x1d2)](_0x23517b)[_0x3ea099(0x196)](_0x1b5c7d=>_0x1a1eef['push']({'name':_0x39b706,'path':[_0x23517b,_0x1b5c7d][_0x3ea099(0x1a3)]('\x5c'),'pure_name':_0x39b706[_0x3ea099(0x18f)](/_zip$/,''),'import_list':_0x282d04[_0x3ea099(0x1aa)][_0x3ea099(0x1c3)](_0x1ed4f4=>_0x1ed4f4[_0x3ea099(0x1cc)]+_0x3ea099(0x1ac)===_0x39b706)[_0x3ea099(0x1c8)]}));}),_0x1a1eef[_0x10893f(0x196)](_0x5f02fd=>{const _0x20ecab=_0x10893f,_0x568061=_0x5f02fd[_0x20ecab(0x1cf)],_0x361733=_0x5f02fd['import_list'],_0x429732=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x199)][_0x20ecab(0x1a3)]('//'),_0x22ac26=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x19e)][_0x20ecab(0x1a3)]('//');fs['existsSync'](_0x429732)&&(f_rm_rf(_0x429732),fs[_0x20ecab(0x19a)](_0x429732));fs[_0x20ecab(0x19f)](_0x22ac26)&&fs[_0x20ecab(0x195)](_0x22ac26);if(_0x361733[_0x20ecab(0x1cd)]){fs[_0x20ecab(0x1d2)](_0x5f02fd[_0x20ecab(0x1d1)])[_0x20ecab(0x1c7)](_0x526392=>!_0x361733['includes'](_0x526392)&&_0x526392!==_0x20ecab(0x1ce)&&_0x526392!==_0x20ecab(0x1b4))[_0x20ecab(0x196)](_0x49ff2f=>{const _0x320059=_0x20ecab,_0x316258=_0x5f02fd['path']+'\x5c'+_0x49ff2f;f_rm_rf(_0x316258),fs[_0x320059(0x19a)](_0x316258);});if(_0x568061===_0x20ecab(0x19c)){const _0x29c2ce=[];fs[_0x20ecab(0x1d2)](_0x5f02fd['path'])[_0x20ecab(0x1c7)](_0x37adfb=>_0x37adfb!==_0x20ecab(0x1ce))[_0x20ecab(0x196)](_0x333416=>{const _0x13da6a=_0x20ecab;_0x333416===_0x13da6a(0x19b)?_0x29c2ce['push'](_0x13da6a(0x1a5)):_0x29c2ce[_0x13da6a(0x1af)]('export\x20{\x20default\x20as\x20'+_0x333416+'\x20}\x20from\x20\x27./'+_0x333416+'\x27;');}),fs['writeFileSync'](_0x5f02fd[_0x20ecab(0x1d1)]+_0x20ecab(0x1bd),_0x29c2ce[_0x20ecab(0x1a3)]('\x0a'));}}if(_0x568061==='jjb-common'){const _0x5c1b1b=[_0x5f02fd[_0x20ecab(0x1d1)],_0x20ecab(0x1be)]['join']('\x5c');if(['spa',_0x20ecab(0x197)][_0x20ecab(0x1b7)](_0x282d04['projectType']))fs[_0x20ecab(0x19f)](_0x5c1b1b)&&(f_content_replace(_0x282d04['projectType']===_0x20ecab(0x1bc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5f02fd[_0x20ecab(0x1d1)]),fs[_0x20ecab(0x1b0)](_0x5f02fd['path']+CLI_DVA_ROUTER_PATH,fs[_0x20ecab(0x1b6)](_0x282d04['projectType']===_0x20ecab(0x1bc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x20ecab(0x1b0)](_0x5f02fd[_0x20ecab(0x1d1)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x282d04['projectType']==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x282d04['projectType']===_0x20ecab(0x192)&&(fs[_0x20ecab(0x19f)](_0x5c1b1b)&&(f_rm_rf(_0x5c1b1b),fs[_0x20ecab(0x19a)](_0x5c1b1b)));}else{if(_0x568061===_0x20ecab(0x19c))_0x282d04[_0x20ecab(0x1a2)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5f02fd[_0x20ecab(0x1d1)]);else{if(_0x568061===_0x20ecab(0x1ab)){}}}if(_0x282d04[_0x20ecab(0x194)]===_0x20ecab(0x1c1)){const _0x2d790a=_0x568061;fs[_0x20ecab(0x19f)](_0x89c496+'\x5c'+_0x2d790a)?f_rm_rf(_0x89c496+'\x5c'+_0x2d790a):fs[_0x20ecab(0x1a1)](_0x89c496+'\x5c'+_0x2d790a),f_file_copy(_0x5f02fd['path'],_0x89c496+'\x5c'+_0x2d790a),f_create_package_json(_0x89c496+'\x5c'+_0x2d790a,_0x2d790a,_0x20ecab(0x1b1)),f_update_project_package_json(_0x1f5eab,_0x2d790a,'1.0.0');}else{if(_0x282d04[_0x20ecab(0x194)]==='src'){const _0xb41f7=_0x20ecab(0x19c);fs['existsSync'](_0x11f0b3+_0xb41f7)?f_rm_rf(_0x11f0b3+_0xb41f7):fs[_0x20ecab(0x1a1)](_0x11f0b3+_0xb41f7),f_file_copy(_0x5f02fd['path'],_0x11f0b3+_0xb41f7);}}}),setTimeout(()=>{const _0x272503=_0x10893f;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x22c253=Date[_0x272503(0x1c2)]();console['log'](_0x272503(0x198)+(_0x22c253-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x329bad(0x1a7)](_0x329bad(0x1ca));};function a13_0x4bb9(){const _0x4c23f8=['readFileSync','includes','src\x5c','12868OmepPJ','repository','exports','spa','\x5cindex.js','\x5cdva\x5cautomatic','33474790rfVrCy','resolve','node_modules','now','find','254209phPQik','Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','8511136ADzzdy','filter','importList','./tools','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','request','name','length','index.js','pure_name','786040YOIGfQ','path','readdirSync','createWriteStream','package.json','replace','1251PDujsP','【Error】:安装失败,node_modules目录不存在。','multi','uncompress','installTarget','unlinkSync','forEach','micro-spa','【jjb-cmd】:install命令执行完成,用时','.idea','rmdirSync','RouterContainer','react-admin-component','compress','.gitignore','existsSync','./config','mkdirSync','projectType','join','【Error】:安装失败,src目录不存在。','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','zip','log','pipe','11263wQStRj','installResources','vue-unisass-component','_zip','exit','13552029qbaoxy','push','writeFileSync','1.0.0','6lsVJrq','map','setting.json','6744jWLcXT'];a13_0x4bb9=function(){return _0x4c23f8;};return a13_0x4bb9();}
@@ -1 +1 @@
1
- const a13_0x8df9f=a13_0x356f;(function(_0x14bf56,_0x3c44b6){const _0x20edce=a13_0x356f,_0x3b2364=_0x14bf56();while(!![]){try{const _0x49f937=parseInt(_0x20edce(0x116))/0x1+parseInt(_0x20edce(0xfd))/0x2*(-parseInt(_0x20edce(0x133))/0x3)+-parseInt(_0x20edce(0x120))/0x4*(-parseInt(_0x20edce(0x130))/0x5)+-parseInt(_0x20edce(0x13f))/0x6*(parseInt(_0x20edce(0xf4))/0x7)+parseInt(_0x20edce(0x128))/0x8+parseInt(_0x20edce(0x110))/0x9+-parseInt(_0x20edce(0x100))/0xa;if(_0x49f937===_0x3c44b6)break;else _0x3b2364['push'](_0x3b2364['shift']());}catch(_0x3ad707){_0x3b2364['push'](_0x3b2364['shift']());}}}(a13_0x1fae,0xe2262));function a13_0x356f(_0x25ae0a,_0xfb1733){const _0x1faeef=a13_0x1fae();return a13_0x356f=function(_0x356fd7,_0x5eb541){_0x356fd7=_0x356fd7-0xf4;let _0x306edf=_0x1faeef[_0x356fd7];return _0x306edf;},a13_0x356f(_0x25ae0a,_0xfb1733);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');function a13_0x1fae(){const _0x4b7f50=['src','name','micro-spa','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','react-admin-component','15159861efcPBD','projectId','\x5cjjb.config.json','_zip','jjb-dva-runtime','readFileSync','107598GIlHlU','toString','isArray','f_file_copy','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','filter','\x22,\x22version\x22:\x22','parse','existsSync','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','428224sjCcIz','unlinkSync','f_content_replace','jjb-common','f_rm_rf','installResources','length','exit','7291032GGDGdd','dependencies','\x5cpackage.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>。','uniapp','multi','/repository/archive.zip?private_token=','string','60NCXGxr','jjb-common-lib','【Error】:[jjb.config.json.installResources]无资源。','7734rBbbLY','includes','tmpdir','map','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','f_scan_jjb_config_json','installTarget','node_modules','replace','&ref=master','readdirSync','forEach','8242890dGwhvp','7NxSrhf','【Error】:[jjb.config.json.installTarget]类型是一个string。','spa','path','push','/api/v4/projects/','f_scan_jjb_config_json_rules','writeFileSync','stringify','322qriprL','projectType','statSync','12728990xRuxpm','f_pull_git_repository','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','log','token','rmdirSync','jjb-common-decorator','f_resolve_install_resources','{\x22name\x22:\x22','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','isDirectory'];a13_0x1fae=function(){return _0x4b7f50;};return a13_0x1fae();}exports[a13_0x8df9f(0x124)]=function(_0x1f9587){const _0x24c72f=a13_0x8df9f;if(fs['existsSync'](_0x1f9587)){const _0x6b9fb0=fs[_0x24c72f(0x13d)](_0x1f9587);for(let _0x131b3d=0x0;_0x131b3d<_0x6b9fb0[_0x24c72f(0x126)];_0x131b3d++){const _0x1b3c68=_0x6b9fb0[_0x131b3d],_0x33ec66=_0x1f9587+'/'+_0x1b3c68;fs[_0x24c72f(0xff)](_0x33ec66)[_0x24c72f(0x10a)]()?(exports[_0x24c72f(0x124)](_0x33ec66),fs[_0x24c72f(0x105)](_0x33ec66)):fs[_0x24c72f(0x121)](_0x33ec66);}}},exports[a13_0x8df9f(0x101)]=function(_0x56cac7=[]){const _0x161cdc=a13_0x8df9f;return _0x56cac7[_0x161cdc(0x136)](_0x440a60=>{const _0x453ea6=_0x161cdc,_0x30a5dd=CLOUD_PROJECT[_0x440a60['name']]||undefined,_0x1d6ee3=os[_0x453ea6(0x135)]();return{'path':_0x1d6ee3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x440a60[_0x453ea6(0x10c)]+'.zip','compress':_0x1d6ee3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x440a60['name']+_0x453ea6(0x113),'repository':GIT_HOST+_0x453ea6(0xf9)+_0x30a5dd[_0x453ea6(0x111)]+_0x453ea6(0x12e)+_0x30a5dd[_0x453ea6(0x104)]+_0x453ea6(0x13c)};});},exports[a13_0x8df9f(0x138)]=function(_0x29ade9){const _0x5c5c8d=a13_0x8df9f;return fs['existsSync'](_0x29ade9+_0x5c5c8d(0x112));},exports[a13_0x8df9f(0xfa)]=function(_0x31ac28){const _0x59f87f=a13_0x8df9f;let _0x523b9f={};try{_0x523b9f=JSON[_0x59f87f(0x11d)](fs[_0x59f87f(0x115)](_0x31ac28+_0x59f87f(0x112))[_0x59f87f(0x117)]());}catch(_0x206f69){console[_0x59f87f(0x103)](_0x59f87f(0x11f)),process[_0x59f87f(0x127)](0x0);}!(_0x59f87f(0xfe)in _0x523b9f)&&(console[_0x59f87f(0x103)](_0x59f87f(0x10e)),process[_0x59f87f(0x127)](0x0));!(_0x59f87f(0x139)in _0x523b9f)&&(console['log'](_0x59f87f(0x11a)),process[_0x59f87f(0x127)](0x0));!('installResources'in _0x523b9f)&&(console[_0x59f87f(0x103)](_0x59f87f(0x137)),process[_0x59f87f(0x127)](0x0));typeof _0x523b9f[_0x59f87f(0xfe)]!=='string'&&(console[_0x59f87f(0x103)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x59f87f(0x127)](0x0));![_0x59f87f(0x12d),_0x59f87f(0xf6),_0x59f87f(0x12c),_0x59f87f(0x10d)]['includes'](_0x523b9f[_0x59f87f(0xfe)])&&(console[_0x59f87f(0x103)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x59f87f(0x127)](0x0));typeof _0x523b9f[_0x59f87f(0x139)]!==_0x59f87f(0x12f)&&(console[_0x59f87f(0x103)](_0x59f87f(0xf5)),process[_0x59f87f(0x127)](0x0));![_0x59f87f(0x13a),_0x59f87f(0x10b)]['includes'](_0x523b9f[_0x59f87f(0x139)])&&(console[_0x59f87f(0x103)](_0x59f87f(0x109)),process[_0x59f87f(0x127)](0x0));!Array[_0x59f87f(0x118)](_0x523b9f[_0x59f87f(0x125)])&&(console[_0x59f87f(0x103)](_0x59f87f(0x102)),process[_0x59f87f(0x127)](0x0));_0x523b9f[_0x59f87f(0x125)][_0x59f87f(0x126)]===0x0&&(console['log'](_0x59f87f(0x132)),process[_0x59f87f(0x127)](0x0));const _0x4c0801=exports[_0x59f87f(0x107)](_0x523b9f['installResources']);return _0x4c0801[_0x59f87f(0x136)](_0x2d00dd=>_0x2d00dd[_0x59f87f(0x10c)])[_0x59f87f(0x11b)](_0x46d755=>![_0x59f87f(0x123),_0x59f87f(0x114),_0x59f87f(0x131),_0x59f87f(0x106),_0x59f87f(0x10f),'vue-unisass-component'][_0x59f87f(0x134)](_0x46d755))[_0x59f87f(0x126)]!==0x0&&(console[_0x59f87f(0x103)](_0x59f87f(0x12b)),process['exit'](0x0)),_0x523b9f[_0x59f87f(0x125)]=_0x4c0801,_0x523b9f;},exports['f_create_package_json']=function(_0x5ab7e7,_0x513bf4,_0x5dc6e7){const _0x41d489=a13_0x8df9f;fs[_0x41d489(0xfb)](_0x5ab7e7+_0x41d489(0x12a),_0x41d489(0x108)+_0x513bf4+_0x41d489(0x11c)+_0x5dc6e7+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a13_0x8df9f(0x107)]=function(_0x293f24=[]){const _0x151d13=a13_0x8df9f,_0x2e6d50=[];return Array[_0x151d13(0x118)](_0x293f24)&&_0x293f24[_0x151d13(0x13e)](_0x3e7845=>{const _0x46f558=_0x151d13;if(Array['isArray'](_0x3e7845)){const [_0x167c1b,_0x2002e2=[]]=_0x3e7845;_0x2e6d50[_0x46f558(0xf8)]({'name':_0x167c1b,'importList':_0x2002e2});}else _0x2e6d50[_0x46f558(0xf8)]({'name':_0x3e7845,'importList':[]});}),_0x2e6d50;},exports['f_update_project_package_json']=function(_0x4000b6,_0x56fe03,_0x38f636){const _0x296e61=a13_0x8df9f,_0x4bb5e4=JSON[_0x296e61(0x11d)](fs[_0x296e61(0x115)](_0x4000b6)['toString']());_0x4bb5e4[_0x296e61(0x129)][_0x56fe03]=_0x38f636,fs[_0x296e61(0xfb)](_0x4000b6,JSON[_0x296e61(0xfc)](_0x4bb5e4,null,0x2));},exports[a13_0x8df9f(0x119)]=function(_0x7d812a,_0x3427f3){const _0x2ca299=a13_0x8df9f;fs[_0x2ca299(0x13d)](_0x7d812a)[_0x2ca299(0x13e)](_0x2d8d55=>{const _0x23a277=_0x2ca299,_0x47b59a=_0x7d812a+'\x5c'+_0x2d8d55,_0x80d40a=_0x3427f3+'\x5c'+_0x2d8d55;fs[_0x23a277(0xff)](_0x47b59a)['isDirectory']()?(fs['mkdirSync'](_0x80d40a),exports[_0x23a277(0x119)](_0x47b59a,_0x80d40a)):fs[_0x23a277(0xfb)](_0x80d40a,fs['readFileSync'](_0x47b59a)['toString']());});},exports[a13_0x8df9f(0x122)]=function(_0x4d1348=[],_0x3b478c){_0x4d1348['forEach'](_0x4cfff2=>{const _0x3e5e50=a13_0x356f,_0x4e649c=_0x3b478c+_0x4cfff2[_0x3e5e50(0xf7)];if(fs[_0x3e5e50(0x11e)](_0x4e649c)){let _0x4d3913=fs['readFileSync'](_0x4e649c)['toString']();_0x4cfff2['replace']['forEach'](_0x61ca9c=>{const _0x2f9b40=_0x3e5e50;_0x4d3913=_0x4d3913[_0x2f9b40(0x13b)](_0x61ca9c[0x0],_0x61ca9c[0x1]);}),fs['writeFileSync'](_0x4e649c,_0x4d3913);}});};
1
+ const a14_0x4010cd=a14_0x28a4;function a14_0x28a4(_0x49b4bd,_0x4756e3){const _0x1b1f6a=a14_0x1b1f();return a14_0x28a4=function(_0x28a494,_0x569d69){_0x28a494=_0x28a494-0x132;let _0x25f22f=_0x1b1f6a[_0x28a494];return _0x25f22f;},a14_0x28a4(_0x49b4bd,_0x4756e3);}(function(_0x3ce906,_0x4bc6d8){const _0x64bef3=a14_0x28a4,_0x3dce90=_0x3ce906();while(!![]){try{const _0x548d09=-parseInt(_0x64bef3(0x16c))/0x1+-parseInt(_0x64bef3(0x146))/0x2+-parseInt(_0x64bef3(0x134))/0x3+-parseInt(_0x64bef3(0x13f))/0x4*(parseInt(_0x64bef3(0x155))/0x5)+-parseInt(_0x64bef3(0x151))/0x6*(parseInt(_0x64bef3(0x149))/0x7)+parseInt(_0x64bef3(0x145))/0x8+parseInt(_0x64bef3(0x132))/0x9*(parseInt(_0x64bef3(0x14c))/0xa);if(_0x548d09===_0x4bc6d8)break;else _0x3dce90['push'](_0x3dce90['shift']());}catch(_0x11f0f4){_0x3dce90['push'](_0x3dce90['shift']());}}}(a14_0x1b1f,0x7a193));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a14_0x4010cd(0x15d));function a14_0x1b1f(){const _0x19c08e=['f_create_package_json','\x22,\x22main\x22:\x20\x22index.js\x22}','2830098fTiQtQ','projectType','rmdirSync','f_scan_jjb_config_json','5rcOmZS','f_rm_rf','uniapp','log','f_update_project_package_json','includes','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','{\x22name\x22:\x22','./config','f_file_copy','readdirSync','jjb-dva-runtime','f_content_replace','_zip','dependencies','push','\x22,\x22version\x22:\x22','jjb-common','statSync','name','mkdirSync','tmpdir','map','254777fNpGKd','existsSync','isDirectory','toString','projectId','stringify','/repository/archive.zip?private_token=','f_scan_jjb_config_json_rules','react-admin-component','node_modules','forEach','exit','writeFileSync','9qeHPMP','/api/v4/projects/','1009842bDBzOn','【Error】:[jjb.config.json.installTarget]类型是一个string。','string','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','【Error】:[jjb.config.json.installResources]无资源。','f_resolve_install_resources','multi','replace','vue-unisass-component','jjb-common-lib','&ref=master','2262812jwaSYv','.zip','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','length','installTarget','micro-spa','6056360mgJuHS','564194kKoBXQ','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','installResources','7ZvHzBH','\x5cpackage.json','path','16539440omdHdj','token','readFileSync'];a14_0x1b1f=function(){return _0x19c08e;};return a14_0x1b1f();}exports[a14_0x4010cd(0x156)]=function(_0x577dde){const _0x4a8cc0=a14_0x4010cd;if(fs[_0x4a8cc0(0x16d)](_0x577dde)){const _0x15b01d=fs[_0x4a8cc0(0x15f)](_0x577dde);for(let _0x34ad5d=0x0;_0x34ad5d<_0x15b01d['length'];_0x34ad5d++){const _0x2fb26e=_0x15b01d[_0x34ad5d],_0x312f33=_0x577dde+'/'+_0x2fb26e;fs[_0x4a8cc0(0x167)](_0x312f33)[_0x4a8cc0(0x16e)]()?(exports[_0x4a8cc0(0x156)](_0x312f33),fs[_0x4a8cc0(0x153)](_0x312f33)):fs['unlinkSync'](_0x312f33);}}},exports['f_pull_git_repository']=function(_0x427691=[]){const _0x230cba=a14_0x4010cd;return _0x427691[_0x230cba(0x16b)](_0x24c802=>{const _0x31cbd5=_0x230cba,_0x597f08=CLOUD_PROJECT[_0x24c802['name']]||undefined,_0x359890=os[_0x31cbd5(0x16a)]();return{'path':_0x359890+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x24c802[_0x31cbd5(0x168)]+_0x31cbd5(0x140),'compress':_0x359890+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x24c802[_0x31cbd5(0x168)]+_0x31cbd5(0x162),'repository':GIT_HOST+_0x31cbd5(0x133)+_0x597f08[_0x31cbd5(0x170)]+_0x31cbd5(0x172)+_0x597f08[_0x31cbd5(0x14d)]+_0x31cbd5(0x13e)};});},exports[a14_0x4010cd(0x154)]=function(_0x436904){const _0x417e72=a14_0x4010cd;return fs[_0x417e72(0x16d)](_0x436904+'\x5cjjb.config.json');},exports[a14_0x4010cd(0x173)]=function(_0xd92920){const _0x3307a2=a14_0x4010cd;let _0x18ca20={};try{_0x18ca20=JSON['parse'](fs[_0x3307a2(0x14e)](_0xd92920+'\x5cjjb.config.json')[_0x3307a2(0x16f)]());}catch(_0x5ee28d){console[_0x3307a2(0x158)](_0x3307a2(0x137)),process['exit'](0x0);}!(_0x3307a2(0x152)in _0x18ca20)&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x3307a2(0x177)](0x0));!('installTarget'in _0x18ca20)&&(console[_0x3307a2(0x158)](_0x3307a2(0x15b)),process['exit'](0x0));!('installResources'in _0x18ca20)&&(console['log']('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x3307a2(0x177)](0x0));typeof _0x18ca20[_0x3307a2(0x152)]!==_0x3307a2(0x136)&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));![_0x3307a2(0x13a),'spa',_0x3307a2(0x157),_0x3307a2(0x144)]['includes'](_0x18ca20[_0x3307a2(0x152)])&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process['exit'](0x0));typeof _0x18ca20[_0x3307a2(0x143)]!==_0x3307a2(0x136)&&(console[_0x3307a2(0x158)](_0x3307a2(0x135)),process['exit'](0x0));![_0x3307a2(0x175),'src'][_0x3307a2(0x15a)](_0x18ca20['installTarget'])&&(console[_0x3307a2(0x158)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x3307a2(0x177)](0x0));!Array['isArray'](_0x18ca20[_0x3307a2(0x148)])&&(console[_0x3307a2(0x158)](_0x3307a2(0x147)),process[_0x3307a2(0x177)](0x0));_0x18ca20[_0x3307a2(0x148)][_0x3307a2(0x142)]===0x0&&(console[_0x3307a2(0x158)](_0x3307a2(0x138)),process['exit'](0x0));const _0x19f03d=exports[_0x3307a2(0x139)](_0x18ca20['installResources']);return _0x19f03d[_0x3307a2(0x16b)](_0x4c3d72=>_0x4c3d72[_0x3307a2(0x168)])['filter'](_0x209f7a=>![_0x3307a2(0x166),_0x3307a2(0x160),_0x3307a2(0x13d),'jjb-common-decorator',_0x3307a2(0x174),_0x3307a2(0x13c)]['includes'](_0x209f7a))[_0x3307a2(0x142)]!==0x0&&(console[_0x3307a2(0x158)](_0x3307a2(0x141)),process[_0x3307a2(0x177)](0x0)),_0x18ca20[_0x3307a2(0x148)]=_0x19f03d,_0x18ca20;},exports[a14_0x4010cd(0x14f)]=function(_0x3f8c37,_0x55c804,_0x45b039){const _0xa34324=a14_0x4010cd;fs[_0xa34324(0x178)](_0x3f8c37+_0xa34324(0x14a),_0xa34324(0x15c)+_0x55c804+_0xa34324(0x165)+_0x45b039+_0xa34324(0x150));},exports['f_resolve_install_resources']=function(_0x4fea84=[]){const _0x66d368=a14_0x4010cd,_0x2978d8=[];return Array['isArray'](_0x4fea84)&&_0x4fea84[_0x66d368(0x176)](_0x57dc03=>{const _0x92ddac=_0x66d368;if(Array['isArray'](_0x57dc03)){const [_0x331e04,_0x1c5d67=[]]=_0x57dc03;_0x2978d8[_0x92ddac(0x164)]({'name':_0x331e04,'importList':_0x1c5d67});}else _0x2978d8[_0x92ddac(0x164)]({'name':_0x57dc03,'importList':[]});}),_0x2978d8;},exports[a14_0x4010cd(0x159)]=function(_0xffd300,_0x585ba6,_0x36af60){const _0x213ebb=a14_0x4010cd,_0x57eb2a=JSON['parse'](fs[_0x213ebb(0x14e)](_0xffd300)[_0x213ebb(0x16f)]());_0x57eb2a[_0x213ebb(0x163)][_0x585ba6]=_0x36af60,fs['writeFileSync'](_0xffd300,JSON[_0x213ebb(0x171)](_0x57eb2a,null,0x2));},exports[a14_0x4010cd(0x15e)]=function(_0x6af19a,_0x582c85){const _0x5e55ed=a14_0x4010cd;fs[_0x5e55ed(0x15f)](_0x6af19a)[_0x5e55ed(0x176)](_0x4b1225=>{const _0x20c5a0=_0x5e55ed,_0x537e93=_0x6af19a+'\x5c'+_0x4b1225,_0x2e9f39=_0x582c85+'\x5c'+_0x4b1225;fs[_0x20c5a0(0x167)](_0x537e93)[_0x20c5a0(0x16e)]()?(fs[_0x20c5a0(0x169)](_0x2e9f39),exports[_0x20c5a0(0x15e)](_0x537e93,_0x2e9f39)):fs[_0x20c5a0(0x178)](_0x2e9f39,fs[_0x20c5a0(0x14e)](_0x537e93)[_0x20c5a0(0x16f)]());});},exports[a14_0x4010cd(0x161)]=function(_0x106ead=[],_0x8d9f17){const _0x554c7e=a14_0x4010cd;_0x106ead[_0x554c7e(0x176)](_0x3b0e8e=>{const _0xbc3714=_0x554c7e,_0x21c33e=_0x8d9f17+_0x3b0e8e[_0xbc3714(0x14b)];if(fs[_0xbc3714(0x16d)](_0x21c33e)){let _0x3ddd4d=fs[_0xbc3714(0x14e)](_0x21c33e)[_0xbc3714(0x16f)]();_0x3b0e8e[_0xbc3714(0x13b)][_0xbc3714(0x176)](_0x4a5c5c=>{const _0x4f4918=_0xbc3714;_0x3ddd4d=_0x3ddd4d[_0x4f4918(0x13b)](_0x4a5c5c[0x0],_0x4a5c5c[0x1]);}),fs[_0xbc3714(0x178)](_0x21c33e,_0x3ddd4d);}});};
@@ -1 +1 @@
1
- const a14_0x4051b7=a14_0x481b;function a14_0x481b(_0x2712de,_0x4f70e5){const _0x53f4dc=a14_0x53f4();return a14_0x481b=function(_0x481bd9,_0x381cd6){_0x481bd9=_0x481bd9-0x1dd;let _0x3fd755=_0x53f4dc[_0x481bd9];return _0x3fd755;},a14_0x481b(_0x2712de,_0x4f70e5);}(function(_0x57d3a8,_0x574291){const _0x412bdf=a14_0x481b,_0x1dc2fe=_0x57d3a8();while(!![]){try{const _0x4fac4e=parseInt(_0x412bdf(0x1fe))/0x1+-parseInt(_0x412bdf(0x1e1))/0x2*(-parseInt(_0x412bdf(0x200))/0x3)+-parseInt(_0x412bdf(0x1f4))/0x4+-parseInt(_0x412bdf(0x1e9))/0x5*(-parseInt(_0x412bdf(0x1fb))/0x6)+parseInt(_0x412bdf(0x1f1))/0x7*(parseInt(_0x412bdf(0x1e6))/0x8)+parseInt(_0x412bdf(0x1e8))/0x9+-parseInt(_0x412bdf(0x201))/0xa;if(_0x4fac4e===_0x574291)break;else _0x1dc2fe['push'](_0x1dc2fe['shift']());}catch(_0x2e5c99){_0x1dc2fe['push'](_0x1dc2fe['shift']());}}}(a14_0x53f4,0xddb3e));const fs=require('fs'),path=require('path'),utils=require(a14_0x4051b7(0x1df));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a14_0x4051b7(0x1f5)]=(_0x86edf8,_0xf560e7)=>{const _0x49be54=a14_0x4051b7;commandArr=_0x86edf8[_0x49be54(0x1fa)](':'),projectPath=path['resolve'](_0x49be54(0x1fc)),vesselPath=path['resolve'](_0x49be54(0x1e4));let _0x264ed4=vesselPath;_0xf560e7==='mp'&&(_0x264ed4=vesselPath+'/application',utils[_0x49be54(0x1ea)](vesselPath,['application']));const _0x12a689=commandArr[0x1],_0x8319fc=JSON[_0x49be54(0x1e5)](fs[_0x49be54(0x1f7)](projectPath+'/'+_0x12a689+_0x49be54(0x1de))[_0x49be54(0x1ef)]());TileItems(_0x8319fc['items'],()=>{const _0x4aaa3f=_0x49be54;fromFileData['router'][_0x4aaa3f(0x1f8)](_0x2298be=>{const _0x909dde=_0x4aaa3f,_0x59ab14=_0x2298be[_0x909dde(0x1ff)]['split'](_0x2298be[_0x909dde(0x1e3)]),_0x3c6e22=_0x59ab14[0x1][_0x909dde(0x1fa)]('/'),_0x297b22=_0x3c6e22[0x1];!applicationJson[_0x297b22]&&(applicationJson[_0x297b22]={'routerConfig':[],'routerPath':[]});applicationJson[_0x297b22]['routerConfig'][_0x909dde(0x1ed)](_0x909dde(0x1e7)+_0x2298be[_0x909dde(0x1e2)]+_0x909dde(0x1fd)+_0x2298be[_0x909dde(0x1f0)]+_0x909dde(0x1f6)),applicationJson[_0x297b22][_0x909dde(0x1f9)][_0x909dde(0x1ed)](_0x2298be[_0x909dde(0x1e2)]);let _0x479c9f=_0x3c6e22['join']('/');const _0x527d22=_0x479c9f[_0x909dde(0x1fa)]('/');utils['CreatePaths'](_0x264ed4,_0x527d22[_0x909dde(0x1eb)](0x0,_0x527d22[_0x909dde(0x1dd)]-0x1))[_0x909dde(0x1f2)](()=>{const _0x2c5e3e=_0x909dde,_0x55f446=fs[_0x2c5e3e(0x1f7)](_0x2298be[_0x2c5e3e(0x1ff)])[_0x2c5e3e(0x1ef)]();fs[_0x2c5e3e(0x1ee)](vesselPath+'/'+_0x479c9f,_0x55f446);});});});};function TileItems(_0x182fe1,_0x3086be){const _0x28ad9d=a14_0x4051b7;_0x182fe1[_0x28ad9d(0x1f8)]((_0x2f600e,_0x452ff7)=>{const _0x43f1a3=_0x28ad9d,_0x2599b7=_0x2f600e[_0x43f1a3(0x1e3)];_0x2f600e['from']['forEach']((_0x23c4be,_0x9e17fc)=>{const _0x2edb0f=_0x43f1a3,_0x4bbcc8=[];utils['DeepScanner'](projectPath+'/'+_0x2599b7+'/'+_0x23c4be[_0x2edb0f(0x1f0)],_0x4bbcc8);const _0x333db3=_0x4bbcc8['map'](_0x730fda=>({'region':_0x2599b7,'pathAdr':_0x730fda,..._0x23c4be}));!fromFileData[_0x23c4be[_0x2edb0f(0x1ec)]]?fromFileData[_0x23c4be[_0x2edb0f(0x1ec)]]=_0x333db3:fromFileData[_0x23c4be[_0x2edb0f(0x1ec)]]=fromFileData[_0x23c4be[_0x2edb0f(0x1ec)]][_0x2edb0f(0x1f3)](_0x333db3),_0x452ff7===_0x182fe1['length']-0x1&&_0x9e17fc===_0x2f600e[_0x2edb0f(0x1e0)]['length']-0x1&&_0x3086be();});});}function a14_0x53f4(){const _0x722cd7=['exports','\x27)\x20}','readFileSync','forEach','routerPath','split','876RnkxnI','./project','\x27,\x20component:\x20()\x20=>\x20import(\x27','1568046wFkIPd','pathAdr','479529auayrL','20482310cAChxU','length','/setting.json','./util.js','from','8zxumCK','path','region','./vessel/src','parse','824YKeila','{\x20path:\x20\x27','4332582nwJnli','29195PAcdQk','CreatePaths','slice','fileType','push','writeFileSync','toString','file','74627digjVz','then','concat','6732272mTmQMz'];a14_0x53f4=function(){return _0x722cd7;};return a14_0x53f4();}
1
+ const a15_0x360cdf=a15_0x4bf9;function a15_0x4bf9(_0x527119,_0x219941){const _0x370bd6=a15_0x370b();return a15_0x4bf9=function(_0x4bf968,_0x44c691){_0x4bf968=_0x4bf968-0x158;let _0x1007e7=_0x370bd6[_0x4bf968];return _0x1007e7;},a15_0x4bf9(_0x527119,_0x219941);}(function(_0x1d4d41,_0x5644b6){const _0x29cdca=a15_0x4bf9,_0x4c9f72=_0x1d4d41();while(!![]){try{const _0xbf7284=-parseInt(_0x29cdca(0x166))/0x1*(-parseInt(_0x29cdca(0x16a))/0x2)+parseInt(_0x29cdca(0x163))/0x3+-parseInt(_0x29cdca(0x17b))/0x4+-parseInt(_0x29cdca(0x17d))/0x5*(-parseInt(_0x29cdca(0x16b))/0x6)+parseInt(_0x29cdca(0x16c))/0x7*(parseInt(_0x29cdca(0x172))/0x8)+parseInt(_0x29cdca(0x15a))/0x9*(parseInt(_0x29cdca(0x17a))/0xa)+-parseInt(_0x29cdca(0x164))/0xb;if(_0xbf7284===_0x5644b6)break;else _0x4c9f72['push'](_0x4c9f72['shift']());}catch(_0x104a17){_0x4c9f72['push'](_0x4c9f72['shift']());}}}(a15_0x370b,0xdfb2b));const fs=require('fs'),path=require(a15_0x360cdf(0x15f)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module['exports']=(_0x5a3e35,_0x6f8398)=>{const _0x51c1d7=a15_0x360cdf;commandArr=_0x5a3e35[_0x51c1d7(0x171)](':'),projectPath=path['resolve']('./project'),vesselPath=path[_0x51c1d7(0x175)]('./vessel/src');let _0x36864d=vesselPath;_0x6f8398==='mp'&&(_0x36864d=vesselPath+_0x51c1d7(0x167),utils[_0x51c1d7(0x170)](vesselPath,[_0x51c1d7(0x17c)]));const _0x10c6e5=commandArr[0x1],_0x28c7e2=JSON[_0x51c1d7(0x17e)](fs[_0x51c1d7(0x177)](projectPath+'/'+_0x10c6e5+'/setting.json')[_0x51c1d7(0x176)]());TileItems(_0x28c7e2[_0x51c1d7(0x15c)],()=>{const _0x282403=_0x51c1d7;fromFileData[_0x282403(0x16f)][_0x282403(0x180)](_0x56522c=>{const _0x21877d=_0x282403,_0x1e1e91=_0x56522c[_0x21877d(0x174)]['split'](_0x56522c[_0x21877d(0x158)]),_0x3b2f43=_0x1e1e91[0x1]['split']('/'),_0x1360df=_0x3b2f43[0x1];!applicationJson[_0x1360df]&&(applicationJson[_0x1360df]={'routerConfig':[],'routerPath':[]});applicationJson[_0x1360df][_0x21877d(0x16e)][_0x21877d(0x15b)](_0x21877d(0x173)+_0x56522c[_0x21877d(0x15f)]+_0x21877d(0x17f)+_0x56522c[_0x21877d(0x159)]+_0x21877d(0x16d)),applicationJson[_0x1360df][_0x21877d(0x15e)][_0x21877d(0x15b)](_0x56522c['path']);let _0x1b3497=_0x3b2f43[_0x21877d(0x178)]('/');const _0x24c069=_0x1b3497[_0x21877d(0x171)]('/');utils['CreatePaths'](_0x36864d,_0x24c069['slice'](0x0,_0x24c069[_0x21877d(0x165)]-0x1))[_0x21877d(0x162)](()=>{const _0x1ed70f=_0x21877d,_0x29d445=fs[_0x1ed70f(0x177)](_0x56522c[_0x1ed70f(0x174)])[_0x1ed70f(0x176)]();fs[_0x1ed70f(0x160)](vesselPath+'/'+_0x1b3497,_0x29d445);});});});};function a15_0x370b(){const _0x58af71=['file','369XzLPzP','push','items','map','routerPath','path','writeFileSync','from','then','3237681NbhPaZ','47349170ZAFyxt','length','13126rQkFjG','/application','DeepScanner','fileType','68JsvQvs','666AHWStg','1069516iTNQjZ','\x27)\x20}','routerConfig','router','CreatePaths','split','64HqRyxd','{\x20path:\x20\x27','pathAdr','resolve','toString','readFileSync','join','concat','264970xdASym','438496wKnSZd','application','67395HYVCmk','parse','\x27,\x20component:\x20()\x20=>\x20import(\x27','forEach','region'];a15_0x370b=function(){return _0x58af71;};return a15_0x370b();}function TileItems(_0x44f2a8,_0x26e886){const _0x2fca86=a15_0x360cdf;_0x44f2a8[_0x2fca86(0x180)]((_0x444d8b,_0x2c589f)=>{const _0x939b2c=_0x2fca86,_0x2b5503=_0x444d8b[_0x939b2c(0x158)];_0x444d8b[_0x939b2c(0x161)][_0x939b2c(0x180)]((_0x5ca342,_0x348e4c)=>{const _0x10bf6f=_0x939b2c,_0x49f672=[];utils[_0x10bf6f(0x168)](projectPath+'/'+_0x2b5503+'/'+_0x5ca342[_0x10bf6f(0x159)],_0x49f672);const _0x5c32e2=_0x49f672[_0x10bf6f(0x15d)](_0x1c63d5=>({'region':_0x2b5503,'pathAdr':_0x1c63d5,..._0x5ca342}));!fromFileData[_0x5ca342[_0x10bf6f(0x169)]]?fromFileData[_0x5ca342[_0x10bf6f(0x169)]]=_0x5c32e2:fromFileData[_0x5ca342[_0x10bf6f(0x169)]]=fromFileData[_0x5ca342[_0x10bf6f(0x169)]][_0x10bf6f(0x179)](_0x5c32e2),_0x2c589f===_0x44f2a8[_0x10bf6f(0x165)]-0x1&&_0x348e4c===_0x444d8b['from']['length']-0x1&&_0x26e886();});});}
@@ -1 +1 @@
1
- 'use strict';const a15_0x37a788=a15_0x3b79;(function(_0x5d9966,_0x30816d){const _0x34d9c1=a15_0x3b79,_0xd85545=_0x5d9966();while(!![]){try{const _0x570ff6=-parseInt(_0x34d9c1(0xa7))/0x1+parseInt(_0x34d9c1(0x9b))/0x2*(parseInt(_0x34d9c1(0xad))/0x3)+-parseInt(_0x34d9c1(0xb9))/0x4*(parseInt(_0x34d9c1(0xa2))/0x5)+-parseInt(_0x34d9c1(0xab))/0x6+-parseInt(_0x34d9c1(0x95))/0x7*(-parseInt(_0x34d9c1(0xaf))/0x8)+parseInt(_0x34d9c1(0xa8))/0x9*(-parseInt(_0x34d9c1(0xb4))/0xa)+parseInt(_0x34d9c1(0xc8))/0xb;if(_0x570ff6===_0x30816d)break;else _0xd85545['push'](_0xd85545['shift']());}catch(_0x3b4898){_0xd85545['push'](_0xd85545['shift']());}}}(a15_0x544e,0x9d059));const fs=require('fs'),os=require('os'),path=require(a15_0x37a788(0xb2)),utils=require(a15_0x37a788(0xac)),request=require(a15_0x37a788(0xcc)),compressing=require(a15_0x37a788(0xa0)),GIT_TEMP_DIR=a15_0x37a788(0xca),GIT_HOST=a15_0x37a788(0xc6),CLOUD_PROJECT={'common':{'token':a15_0x37a788(0x9a),'projectId':0x117,'localName':a15_0x37a788(0x96)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a15_0x37a788(0xbb)}};function a15_0x3b79(_0x38f736,_0x21b637){const _0x544e16=a15_0x544e();return a15_0x3b79=function(_0x3b790a,_0x3f1635){_0x3b790a=_0x3b790a-0x92;let _0x55a02d=_0x544e16[_0x3b790a];return _0x55a02d;},a15_0x3b79(_0x38f736,_0x21b637);}function a15_0x544e(){const _0x527a41=['\x5ccli.dva.register.spa.txt','application','existsSync','unlinkSync','185692UrZDAn','close','components','/api/v4/projects/','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','resolve','localName','-文件下载完毕','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','common\x5cdva\x5cautomatic\x5cindex.js','writeFileSync','/repository/archive.zip?private_token=','log','http://192.168.1.242:10985','indexOf','13814922tvhMAV','common\x5cdva\x5cautomatic','jjbAssembly','【Error】:\x20未获取到项目\x20','request','exists','return\x20process.env;','mkdirSync','tmpdir','.zip','projectId','toString','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','57295jpmNHq','common','forEach','statSync','DeleteDirAllFile','G4HJRsHr9D7Ssmixegw2','2RGINgJ','readFileSync','replace','uncompress','then','compressing','\x5ccli.dva.router.spa.txt','25wKgYvY','zip','&ref=master','/unzip/','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','268229sVIkBo','99pruWkH','return\x20__planA();','CopyFolder','2286684uApTNP','./util','722733QekCqq','common\x5ctools\x5cindex.js','248LrhHZi','\x5csrc','error','path','readdirSync','205390lCesnp'];a15_0x544e=function(){return _0x527a41;};return a15_0x544e();}module['exports']=_0x3ebe5b=>{const _0x27c715=a15_0x37a788,_0x321817=_0x3ebe5b,_0x514198=path[_0x27c715(0xbe)]('./');try{if(fs[_0x27c715(0x98)](_0x514198+_0x27c715(0xb0))){const _0x704600=_0x514198+_0x27c715(0xb0),_0x432dc2=CLOUD_PROJECT[_0x321817]||undefined;if(_0x432dc2){const _0x1e0761=os[_0x27c715(0xd0)](),_0x46f89a=_0x1e0761+('/'+GIT_TEMP_DIR+'/'+_0x321817+_0x27c715(0xd1)),_0x515dcc=_0x1e0761+'/'+GIT_TEMP_DIR+_0x27c715(0xa5);utils[_0x27c715(0x99)](_0x1e0761+'/'+GIT_TEMP_DIR,()=>{const _0x514642=_0x27c715;fs[_0x514642(0xcf)](_0x1e0761+'/'+GIT_TEMP_DIR);let _0x254a4c=fs['createWriteStream'](_0x46f89a);request(GIT_HOST+_0x514642(0xbc)+_0x432dc2[_0x514642(0x92)]+_0x514642(0xc4)+_0x432dc2['token']+_0x514642(0xa4))['pipe'](_0x254a4c)['on'](_0x514642(0xba),()=>{const _0x419a34=_0x514642;fs['mkdirSync'](_0x515dcc),compressing[_0x419a34(0xa3)][_0x419a34(0x9e)](_0x46f89a,_0x515dcc)[_0x419a34(0x9f)](()=>{setTimeout(()=>{const _0x4ce27f=a15_0x3b79,_0x5118eb=fs[_0x4ce27f(0xb3)](_0x515dcc);_0x5118eb['forEach'](_0x5eee5f=>{const _0x2095f1=_0x4ce27f;if(_0x5eee5f[_0x2095f1(0xc7)]('-master-')!==-0x1){const _0x53c59b=_0x704600+'\x5c'+_0x432dc2[_0x2095f1(0xbf)];utils[_0x2095f1(0x99)](_0x53c59b,()=>{const _0x14c258=_0x2095f1;fs[_0x14c258(0xcf)](_0x53c59b),utils[_0x14c258(0xaa)](_0x515dcc+_0x5eee5f,_0x53c59b),setTimeout(()=>{const _0x22e939=_0x14c258,_0x1df26a=fs[_0x22e939(0xb7)](_0x704600+'\x5c'+_0x22e939(0xb6));if(!_0x1df26a){const _0x30e2b5=_0x704600+'\x5c'+_0x22e939(0xae),_0x4161f5=_0x704600+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x151d7b=fs[_0x22e939(0x9c)](_0x30e2b5)['toString'](),_0x34816d=fs[_0x22e939(0x9c)](_0x4161f5)[_0x22e939(0x93)]();_0x151d7b=_0x151d7b[_0x22e939(0x9d)](_0x22e939(0xa9),_0x22e939(0xce)),_0x34816d=_0x34816d[_0x22e939(0x9d)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x22e939(0x94)),fs[_0x22e939(0xc3)](_0x30e2b5,_0x151d7b),fs[_0x22e939(0xc3)](_0x4161f5,_0x34816d),fs[_0x22e939(0xc3)](_0x704600+_0x22e939(0xa6),fs['readFileSync'](__dirname+_0x22e939(0xa1))[_0x22e939(0x93)]()),fs[_0x22e939(0xc3)](_0x704600+_0x22e939(0xc1),fs[_0x22e939(0x9c)](__dirname+_0x22e939(0xb5))[_0x22e939(0x93)]());}else fs[_0x22e939(0xcd)](_0x704600+'\x5c'+_0x22e939(0xc2),_0x1aa6a6=>{const _0x286ad9=_0x22e939;_0x1aa6a6&&(fs[_0x286ad9(0xb3)](_0x704600+'\x5c'+_0x286ad9(0xc9))[_0x286ad9(0x97)](_0x13127=>{const _0x3f5ea8=_0x286ad9;fs[_0x3f5ea8(0xb8)](_0x704600+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x13127);}),fs['rmdirSync'](_0x704600+'\x5c'+_0x286ad9(0xc9)));});},0x3e8);});}}),console[_0x4ce27f(0xc5)](_0x321817+_0x4ce27f(0xc0));},0x7d0);});});});}else console[_0x27c715(0xb1)](_0x27c715(0xcb)+_0x321817);}}catch(_0x5920bf){console[_0x27c715(0xb1)](_0x27c715(0xbd));}};
1
+ 'use strict';function a16_0x3577(_0x1c2d15,_0x14cb2a){const _0x3f1ec9=a16_0x3f1e();return a16_0x3577=function(_0x3577e3,_0x383d10){_0x3577e3=_0x3577e3-0xe0;let _0xd957db=_0x3f1ec9[_0x3577e3];return _0xd957db;},a16_0x3577(_0x1c2d15,_0x14cb2a);}const a16_0x18e5a7=a16_0x3577;(function(_0x132264,_0x3fd1ce){const _0x19a78f=a16_0x3577,_0x56e80a=_0x132264();while(!![]){try{const _0x426e76=-parseInt(_0x19a78f(0x104))/0x1+parseInt(_0x19a78f(0x102))/0x2+-parseInt(_0x19a78f(0x11d))/0x3+-parseInt(_0x19a78f(0xe8))/0x4*(parseInt(_0x19a78f(0xee))/0x5)+-parseInt(_0x19a78f(0x118))/0x6*(-parseInt(_0x19a78f(0x113))/0x7)+-parseInt(_0x19a78f(0xf8))/0x8+parseInt(_0x19a78f(0x116))/0x9;if(_0x426e76===_0x3fd1ce)break;else _0x56e80a['push'](_0x56e80a['shift']());}catch(_0x2512f9){_0x56e80a['push'](_0x56e80a['shift']());}}}(a16_0x3f1e,0x1da31));function a16_0x3f1e(){const _0x504ae3=['./util','application','indexOf','common\x5ctools\x5cindex.js','error','25eXgrRP','replace','toString','resolve','readFileSync','close','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','forEach','\x5ccli.dva.register.spa.txt','-文件下载完毕','1713776GDwAkk','/unzip/','common\x5cdva\x5cautomatic\x5c','token','G4HJRsHr9D7Ssmixegw2','rmdirSync','jjbAssembly','\x5csrc','existsSync','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','427134gvFhEf','/repository/archive.zip?private_token=','34802XGVfCD','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','pipe','createWriteStream','.zip','mkdirSync','writeFileSync','FT3pKzxpRynFkmddJ9Bs','-master-','common\x5cdva\x5cautomatic','zip','readdirSync','return\x20__planA();','request','DeleteDirAllFile','1295gDHxJS','then','unlinkSync','2323926uxHJGG','compressing','4458LOkyvV','statSync','&ref=master','tmpdir','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','427722wYspmF','CopyFolder','uncompress','common\x5cdva\x5cautomatic\x5cindex.js','exports','【Error】:\x20未获取到项目\x20','/api/v4/projects/','projectId','path','76996eDjEyH'];a16_0x3f1e=function(){return _0x504ae3;};return a16_0x3f1e();}const fs=require('fs'),os=require('os'),path=require(a16_0x18e5a7(0xe7)),utils=require(a16_0x18e5a7(0xe9)),request=require(a16_0x18e5a7(0x111)),compressing=require(a16_0x18e5a7(0x117)),GIT_TEMP_DIR=a16_0x18e5a7(0xfe),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a16_0x18e5a7(0xfc),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a16_0x18e5a7(0x10b),'projectId':0x154,'localName':'components'}};module[a16_0x18e5a7(0xe3)]=_0x1b655e=>{const _0xfb4797=a16_0x18e5a7,_0x1270cd=_0x1b655e,_0x5d5752=path[_0xfb4797(0xf1)]('./');try{if(fs[_0xfb4797(0x119)](_0x5d5752+_0xfb4797(0xff))){const _0x56fa4b=_0x5d5752+_0xfb4797(0xff),_0x20e3a4=CLOUD_PROJECT[_0x1270cd]||undefined;if(_0x20e3a4){const _0x54b918=os[_0xfb4797(0x11b)](),_0x2f795c=_0x54b918+('/'+GIT_TEMP_DIR+'/'+_0x1270cd+_0xfb4797(0x108)),_0x5cfc4e=_0x54b918+'/'+GIT_TEMP_DIR+_0xfb4797(0xf9);utils[_0xfb4797(0x112)](_0x54b918+'/'+GIT_TEMP_DIR,()=>{const _0x214854=_0xfb4797;fs['mkdirSync'](_0x54b918+'/'+GIT_TEMP_DIR);let _0x423717=fs[_0x214854(0x107)](_0x2f795c);request(GIT_HOST+_0x214854(0xe5)+_0x20e3a4[_0x214854(0xe6)]+_0x214854(0x103)+_0x20e3a4[_0x214854(0xfb)]+_0x214854(0x11a))[_0x214854(0x106)](_0x423717)['on'](_0x214854(0xf3),()=>{const _0x55d86e=_0x214854;fs['mkdirSync'](_0x5cfc4e),compressing[_0x55d86e(0x10e)][_0x55d86e(0xe1)](_0x2f795c,_0x5cfc4e)[_0x55d86e(0x114)](()=>{setTimeout(()=>{const _0x4cd68b=a16_0x3577,_0x1ac6a2=fs[_0x4cd68b(0x10f)](_0x5cfc4e);_0x1ac6a2[_0x4cd68b(0xf5)](_0x2f2b7e=>{const _0x32d6b6=_0x4cd68b;if(_0x2f2b7e[_0x32d6b6(0xeb)](_0x32d6b6(0x10c))!==-0x1){const _0x59d914=_0x56fa4b+'\x5c'+_0x20e3a4['localName'];utils[_0x32d6b6(0x112)](_0x59d914,()=>{const _0x144daa=_0x32d6b6;fs[_0x144daa(0x109)](_0x59d914),utils[_0x144daa(0xe0)](_0x5cfc4e+_0x2f2b7e,_0x59d914),setTimeout(()=>{const _0x551c5d=_0x144daa,_0x4b1ee3=fs[_0x551c5d(0x100)](_0x56fa4b+'\x5c'+_0x551c5d(0xea));if(!_0x4b1ee3){const _0x22d0a8=_0x56fa4b+'\x5c'+_0x551c5d(0xec),_0x5d0d74=_0x56fa4b+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x4f5761=fs[_0x551c5d(0xf2)](_0x22d0a8)['toString'](),_0x28a421=fs[_0x551c5d(0xf2)](_0x5d0d74)[_0x551c5d(0xf0)]();_0x4f5761=_0x4f5761[_0x551c5d(0xef)](_0x551c5d(0x110),'return\x20process.env;'),_0x28a421=_0x28a421['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x551c5d(0xf4)),fs[_0x551c5d(0x10a)](_0x22d0a8,_0x4f5761),fs[_0x551c5d(0x10a)](_0x5d0d74,_0x28a421),fs[_0x551c5d(0x10a)](_0x56fa4b+_0x551c5d(0x11c),fs[_0x551c5d(0xf2)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x551c5d(0xf0)]()),fs['writeFileSync'](_0x56fa4b+_0x551c5d(0x101),fs[_0x551c5d(0xf2)](__dirname+_0x551c5d(0xf6))[_0x551c5d(0xf0)]());}else fs['exists'](_0x56fa4b+'\x5c'+_0x551c5d(0xe2),_0x5d575a=>{const _0x453395=_0x551c5d;_0x5d575a&&(fs[_0x453395(0x10f)](_0x56fa4b+'\x5c'+_0x453395(0x10d))['forEach'](_0x3b58b8=>{const _0xc3e776=_0x453395;fs[_0xc3e776(0x115)](_0x56fa4b+'\x5c'+_0xc3e776(0xfa)+_0x3b58b8);}),fs[_0x453395(0xfd)](_0x56fa4b+'\x5c'+_0x453395(0x10d)));});},0x3e8);});}}),console['log'](_0x1270cd+_0x4cd68b(0xf7));},0x7d0);});});});}else console[_0xfb4797(0xed)](_0xfb4797(0xe4)+_0x1270cd);}}catch(_0x35a82a){console[_0xfb4797(0xed)](_0xfb4797(0x105));}};
@@ -1 +1 @@
1
- 'use strict';function a16_0x41e3(){const _0x39f962=['\x5c.idea','5zhMEDJ','react-admin-component','3544608MIeill','readFileSync','/unzip/','jjb-react-admin-component','spa','1.0.0','return\x20__planA();','rmdirSync','common','246920nmqgvg','\x5cRouterContainer\x5cindex.js','jjb-common/website','compressing','common/tools','2756782NytBRD','1058006MmUjWD','&ref=master','jjb-common/http','jjb-common/tools','\x5ctools\x5cindex.js','token','\x5cFileUploader\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','2725692PiZeos','\x5ccli.dva.router.saas.txt','jjb-','existsSync','uncompress','\x5cdva\x5cautomatic','common/http','then','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','path','indexOf','forEach','1xDkdNF','localName','G4HJRsHr9D7Ssmixegw2','unlinkSync','\x5csrc','/api/v4/projects/','\x5cPageHeaderBar\x5cindex.js','exports','createWriteStream','jjb-common/crypto','stringify','1276680XBMdqM','\x5cdva\x5cautomatic\x5cregister.js','\x5cdva\x5cautomatic\x5crouter.js','dependencies','\x5cRejectText\x5cindex.js','\x5ccli.dva.register.spa.txt','parse','close','length','readdirSync','\x5c.gitignore','projectType','\x5cImageUploader\x5cindex.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','/repository/archive.zip?private_token=','\x5cImageCropper\x5cindex.js','tmpdir','\x5cpackage.json','random','1377342yIYKND','writeFileSync','.zip','isDirectory','return\x20process.env.app;','common/color','error','toString','substr','components','288MxRhVX','http://192.168.1.242:10985','CopyFolder','request','\x5cRouterMenu\x5cindex.js','mkdirSync','statSync','【Error】:\x20未获取到项目\x20','common/website','jjbAssembly','resolve','\x5ccli.dva.router.spa.txt','{\x22name\x22:\x22','common/crypto','log','jjb-common/color','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','replace'];a16_0x41e3=function(){return _0x39f962;};return a16_0x41e3();}const a16_0x362781=a16_0x4379;(function(_0x5d998e,_0x63fcbe){const _0x25da68=a16_0x4379,_0x16aafa=_0x5d998e();while(!![]){try{const _0x7550db=-parseInt(_0x25da68(0x1fb))/0x1*(-parseInt(_0x25da68(0x1e7))/0x2)+parseInt(_0x25da68(0x206))/0x3+-parseInt(_0x25da68(0x1ef))/0x4+parseInt(_0x25da68(0x1d6))/0x5*(parseInt(_0x25da68(0x219))/0x6)+-parseInt(_0x25da68(0x1e6))/0x7+-parseInt(_0x25da68(0x1d8))/0x8+parseInt(_0x25da68(0x1c3))/0x9*(parseInt(_0x25da68(0x1e1))/0xa);if(_0x7550db===_0x63fcbe)break;else _0x16aafa['push'](_0x16aafa['shift']());}catch(_0x1028a2){_0x16aafa['push'](_0x16aafa['shift']());}}}(a16_0x41e3,0x6f503));const fs=require('fs'),os=require('os'),path=require('path'),utils=require('./util'),request=require(a16_0x362781(0x1c6)),compressing=require(a16_0x362781(0x1e4)),GIT_HOST=a16_0x362781(0x1c4),GIT_TEMP_DIR=a16_0x362781(0x1cc),CLOUD_PROJECT={'common':{'token':a16_0x362781(0x1fd),'projectId':0x117,'localName':a16_0x362781(0x1e0)},'react-admin-component':{'token':a16_0x362781(0x1ee),'projectId':0x154,'localName':a16_0x362781(0x1c2)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a16_0x362781(0x1eb),'replace':[[a16_0x362781(0x1c2),'jjb-react-admin-component']]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a16_0x362781(0x1f7)],[a16_0x362781(0x1c2),a16_0x362781(0x1db)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a16_0x362781(0x1eb),'replace':[['return\x20__planA();','return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a16_0x362781(0x1eb),'replace':[[a16_0x362781(0x1de),a16_0x362781(0x1bd)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[['common/http',a16_0x362781(0x1e9)],[a16_0x362781(0x1d0),a16_0x362781(0x204)],['common/tools',a16_0x362781(0x1ea)]]},{'path':a16_0x362781(0x20a),'replace':[['common/color','jjb-common/color']]},{'path':a16_0x362781(0x1c7),'replace':[[a16_0x362781(0x1e5),'jjb-common/tools']]},{'path':a16_0x362781(0x1ed),'replace':[[a16_0x362781(0x1f5),a16_0x362781(0x1e9)],['common/tools',a16_0x362781(0x1ea)]]},{'path':a16_0x362781(0x215),'replace':[[a16_0x362781(0x1f5),a16_0x362781(0x1e9)],['common/tools',a16_0x362781(0x1ea)]]},{'path':a16_0x362781(0x212),'replace':[[a16_0x362781(0x1f5),a16_0x362781(0x1e9)],[a16_0x362781(0x1e5),a16_0x362781(0x1ea)]]},{'path':a16_0x362781(0x201),'replace':[[a16_0x362781(0x1be),a16_0x362781(0x1d2)]]},{'path':a16_0x362781(0x1e2),'replace':[[a16_0x362781(0x1e5),a16_0x362781(0x1ea)]]},{'path':a16_0x362781(0x213),'replace':[[a16_0x362781(0x1cb),a16_0x362781(0x1e3)],['common/tools','jjb-common/tools']]}];function a16_0x4379(_0x3707cc,_0x3b97d2){const _0x41e35d=a16_0x41e3();return a16_0x4379=function(_0x437977,_0x5ca585){_0x437977=_0x437977-0x1bd;let _0x54c43d=_0x41e35d[_0x437977];return _0x54c43d;},a16_0x4379(_0x3707cc,_0x3b97d2);}function uid(){const _0x5c8098=a16_0x362781;return Math[_0x5c8098(0x218)]()[_0x5c8098(0x1c0)]()[_0x5c8098(0x1c1)](0x2);}module[a16_0x362781(0x202)]=_0x2ffdd3=>{const _0x2a088d=a16_0x362781,_0x5c74f6=path[_0x2a088d(0x1cd)]('./'),_0x4581c2=_0x2a088d(0x1f1)+_0x2ffdd3,_0x512085=_0x2a088d(0x1dd),_0x3d2492=_0x5c74f6+_0x2a088d(0x1ff),_0x344c69='template_'+uid(),_0x48132c=__dirname+'\x5c'+_0x344c69,_0x170bf4=_0x5c74f6+_0x2a088d(0x217),_0x2b5b37=_0x5c74f6+'\x5cnode_modules\x5cjjb-'+_0x2ffdd3;try{if(fs[_0x2a088d(0x1f2)](_0x3d2492)){const _0x17b3e1=CLOUD_PROJECT[_0x2ffdd3]||undefined;if(_0x17b3e1){const _0x4f73cc=os[_0x2a088d(0x216)](),_0x7b857c=_0x4f73cc+'/'+GIT_TEMP_DIR+'/'+_0x2ffdd3+_0x2a088d(0x21b),_0x4205e5=_0x4f73cc+'/'+GIT_TEMP_DIR+_0x2a088d(0x1da);utils['DeleteDirAllFile'](_0x4f73cc+'/'+GIT_TEMP_DIR,()=>{const _0x98eace=_0x2a088d;fs['mkdirSync'](_0x4f73cc+'/'+GIT_TEMP_DIR);const _0x5a735b=fs[_0x98eace(0x203)](_0x7b857c);request(GIT_HOST+_0x98eace(0x200)+_0x17b3e1['projectId']+_0x98eace(0x214)+_0x17b3e1[_0x98eace(0x1ec)]+_0x98eace(0x1e8))['pipe'](_0x5a735b)['on'](_0x98eace(0x20d),()=>{const _0x3835f4=_0x98eace;fs[_0x3835f4(0x1c8)](_0x4205e5),compressing['zip'][_0x3835f4(0x1f3)](_0x7b857c,_0x4205e5)[_0x3835f4(0x1f6)](()=>{setTimeout(()=>{const _0x2f0277=a16_0x4379;fs[_0x2f0277(0x20f)](_0x4205e5)[_0x2f0277(0x1fa)](_0xfe30c4=>{const _0x33ec4f=_0x2f0277;_0xfe30c4[_0x33ec4f(0x1f9)]('-master-')!==-0x1&&utils['DeleteDirAllFile'](_0x3d2492+'\x5c'+_0x17b3e1[_0x33ec4f(0x1fc)],()=>{const _0x44379e=_0x33ec4f;fs[_0x44379e(0x1c8)](_0x48132c),utils[_0x44379e(0x1c5)](_0x4205e5+_0xfe30c4,_0x48132c),setTimeout(()=>{const _0x30edfc=_0x44379e;if(_0x2ffdd3===_0x30edfc(0x1e0)){const _0x348867=fs['existsSync'](_0x3d2492+'\x5capplication');if(_0x348867)rm_rf(_0x48132c+_0x30edfc(0x1f4)),fs[_0x30edfc(0x1df)](_0x48132c+'\x5cdva\x5cautomatic');else{if(get_project_type(_0x170bf4)===_0x30edfc(0x1dc))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x48132c),fs[_0x30edfc(0x21a)](_0x48132c+'\x5cdva\x5cautomatic\x5crouter.js',fs['readFileSync'](__dirname+_0x30edfc(0x1ce))['toString']()),fs[_0x30edfc(0x21a)](_0x48132c+_0x30edfc(0x207),fs[_0x30edfc(0x1d9)](__dirname+_0x30edfc(0x20b))[_0x30edfc(0x1c0)]());else get_project_type(_0x170bf4)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x48132c),fs[_0x30edfc(0x21a)](_0x48132c+_0x30edfc(0x208),fs[_0x30edfc(0x1d9)](__dirname+_0x30edfc(0x1f0))[_0x30edfc(0x1c0)]()),fs[_0x30edfc(0x21a)](_0x48132c+_0x30edfc(0x207),fs['readFileSync'](__dirname+'\x5ccli.dva.register.saas.txt')[_0x30edfc(0x1c0)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x48132c);}_0x2ffdd3===_0x30edfc(0x1d7)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x48132c),rm_rf(_0x48132c+_0x30edfc(0x1d5)),fs[_0x30edfc(0x1f2)](_0x48132c+_0x30edfc(0x1d5))&&fs['rmdirSync'](_0x48132c+_0x30edfc(0x1d5)),fs[_0x30edfc(0x1f2)](_0x48132c+_0x30edfc(0x210))&&fs['unlinkSync'](_0x48132c+_0x30edfc(0x210)),!fs[_0x30edfc(0x1f2)](_0x2b5b37)?fs[_0x30edfc(0x1c8)](_0x2b5b37):rm_rf(_0x2b5b37),utils[_0x30edfc(0x1c5)](_0x48132c,_0x2b5b37,()=>{const _0xfb5094=_0x30edfc;rm_rf(_0x48132c),fs[_0xfb5094(0x1df)](_0x48132c),create_package_json(_0x2b5b37,_0x4581c2,_0x512085),update_project_package_json(_0x170bf4,_0x4581c2,_0x512085),console[_0xfb5094(0x1d1)]('【已安装】:'+_0x4581c2+'\x20v'+_0x512085);});},0x3e8);});});},0x7d0);});});});}else console[_0x2a088d(0x1bf)](_0x2a088d(0x1ca)+_0x2ffdd3);}}catch(_0x5b076a){console['error'](_0x2a088d(0x1d3));}};function rm_rf(_0x4c822b){const _0x3ae748=a16_0x362781;if(fs[_0x3ae748(0x1f2)](_0x4c822b)){const _0x418a97=fs[_0x3ae748(0x20f)](_0x4c822b);for(let _0x18f435=0x0;_0x18f435<_0x418a97[_0x3ae748(0x20e)];_0x18f435++){const _0x4198c5=_0x418a97[_0x18f435],_0x4a0084=_0x4c822b+'/'+_0x4198c5;fs[_0x3ae748(0x1c9)](_0x4a0084)[_0x3ae748(0x21c)]()?(rm_rf(_0x4a0084),fs[_0x3ae748(0x1df)](_0x4a0084)):fs[_0x3ae748(0x1fe)](_0x4a0084);}}}function create_package_json(_0x518d33,_0x4d4cd3,_0x53e687){const _0x166841=a16_0x362781;fs['writeFileSync'](_0x518d33+_0x166841(0x217),_0x166841(0x1cf)+_0x4d4cd3+'\x22,\x22version\x22:\x22'+_0x53e687+'\x22,\x22main\x22:\x20\x22index.js\x22}');}function get_project_type(_0x5cfd8d){const _0x38e20e=a16_0x362781,_0x4149e1=JSON['parse'](fs[_0x38e20e(0x1d9)](_0x5cfd8d)[_0x38e20e(0x1c0)]());return _0x4149e1[_0x38e20e(0x211)];}function update_project_package_json(_0x3255f8,_0x565d19,_0xaf45a5){const _0x217d76=a16_0x362781,_0x13c21c=JSON[_0x217d76(0x20c)](fs['readFileSync'](_0x3255f8)[_0x217d76(0x1c0)]());_0x13c21c[_0x217d76(0x209)][_0x565d19]=_0xaf45a5,fs[_0x217d76(0x21a)](_0x3255f8,JSON[_0x217d76(0x205)](_0x13c21c,null,0x2));}function content_replace(_0x43a196=[],_0x503bec){const _0x3266b6=a16_0x362781;_0x43a196[_0x3266b6(0x1fa)](_0xb798dd=>{const _0x32f046=_0x3266b6,_0x5af023=_0x503bec+_0xb798dd[_0x32f046(0x1f8)];if(fs[_0x32f046(0x1f2)](_0x5af023)){let _0xe5c419=fs[_0x32f046(0x1d9)](_0x5af023)[_0x32f046(0x1c0)]();_0xb798dd[_0x32f046(0x1d4)][_0x32f046(0x1fa)](_0x4ed382=>{const _0x212817=_0x32f046;_0xe5c419=_0xe5c419[_0x212817(0x1d4)](_0x4ed382[0x0],_0x4ed382[0x1]);}),fs[_0x32f046(0x21a)](_0x5af023,_0xe5c419);}});}
1
+ 'use strict';const a17_0x226e9f=a17_0x4efd;(function(_0x58b09c,_0x300e0b){const _0x367209=a17_0x4efd,_0x1f8ad9=_0x58b09c();while(!![]){try{const _0x22e2f6=parseInt(_0x367209(0x212))/0x1*(parseInt(_0x367209(0x1e5))/0x2)+-parseInt(_0x367209(0x1c2))/0x3+-parseInt(_0x367209(0x20a))/0x4*(parseInt(_0x367209(0x202))/0x5)+-parseInt(_0x367209(0x1be))/0x6*(parseInt(_0x367209(0x1f5))/0x7)+-parseInt(_0x367209(0x203))/0x8+parseInt(_0x367209(0x1e2))/0x9+parseInt(_0x367209(0x1d7))/0xa;if(_0x22e2f6===_0x300e0b)break;else _0x1f8ad9['push'](_0x1f8ad9['shift']());}catch(_0x22919b){_0x1f8ad9['push'](_0x1f8ad9['shift']());}}}(a17_0x2758,0x7d707));const fs=require('fs'),os=require('os'),path=require(a17_0x226e9f(0x1bc)),utils=require(a17_0x226e9f(0x1f1)),request=require(a17_0x226e9f(0x1ee)),compressing=require('compressing'),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a17_0x226e9f(0x205)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a17_0x226e9f(0x20d)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[[a17_0x226e9f(0x20d),'jjb-react-admin-component']]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a17_0x226e9f(0x213)],['components','jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[[a17_0x226e9f(0x1e8),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a17_0x226e9f(0x1ed),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a17_0x226e9f(0x1f2),'replace':[['common/http',a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x1de),a17_0x226e9f(0x1f0)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1d6),'replace':[[a17_0x226e9f(0x1e4),a17_0x226e9f(0x1f8)]]},{'path':a17_0x226e9f(0x1cf),'replace':[[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x20f),'replace':[[a17_0x226e9f(0x1f9),a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x20c),'jjb-common/tools']]},{'path':a17_0x226e9f(0x1d1),'replace':[[a17_0x226e9f(0x1f9),'jjb-common/http'],['common/tools',a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x206),'replace':[[a17_0x226e9f(0x1f9),a17_0x226e9f(0x1ca)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1f3),'replace':[[a17_0x226e9f(0x1e4),a17_0x226e9f(0x1f8)]]},{'path':a17_0x226e9f(0x1dd),'replace':[[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]},{'path':a17_0x226e9f(0x1fd),'replace':[[a17_0x226e9f(0x1c6),a17_0x226e9f(0x1dc)],[a17_0x226e9f(0x20c),a17_0x226e9f(0x1d3)]]}];function uid(){const _0x312a62=a17_0x226e9f;return Math[_0x312a62(0x1cb)]()[_0x312a62(0x1c4)]()['substr'](0x2);}module[a17_0x226e9f(0x1e6)]=_0x311dc4=>{const _0x27bf1c=a17_0x226e9f,_0x3fc931=path[_0x27bf1c(0x1fe)]('./'),_0x23deac=_0x27bf1c(0x1e7)+_0x311dc4,_0x1e33af=_0x27bf1c(0x1e1),_0x16d71b=_0x3fc931+'\x5csrc',_0x3312ff=_0x27bf1c(0x1ce)+uid(),_0x318d2a=__dirname+'\x5c'+_0x3312ff,_0x56d5bc=_0x3fc931+_0x27bf1c(0x1fa),_0x14db1c=_0x3fc931+_0x27bf1c(0x1ff)+_0x311dc4;try{if(fs[_0x27bf1c(0x20b)](_0x16d71b)){const _0x1cc307=CLOUD_PROJECT[_0x311dc4]||undefined;if(_0x1cc307){const _0x286ba6=os[_0x27bf1c(0x214)](),_0x5a1b97=_0x286ba6+'/'+GIT_TEMP_DIR+'/'+_0x311dc4+_0x27bf1c(0x1d4),_0x4f8a35=_0x286ba6+'/'+GIT_TEMP_DIR+_0x27bf1c(0x1d9);utils[_0x27bf1c(0x208)](_0x286ba6+'/'+GIT_TEMP_DIR,()=>{const _0x4cbcab=_0x27bf1c;fs[_0x4cbcab(0x1ef)](_0x286ba6+'/'+GIT_TEMP_DIR);const _0x564a75=fs[_0x4cbcab(0x207)](_0x5a1b97);request(GIT_HOST+_0x4cbcab(0x1d8)+_0x1cc307[_0x4cbcab(0x1c1)]+_0x4cbcab(0x1fc)+_0x1cc307[_0x4cbcab(0x1df)]+'&ref=master')['pipe'](_0x564a75)['on'](_0x4cbcab(0x204),()=>{const _0x542d07=_0x4cbcab;fs[_0x542d07(0x1ef)](_0x4f8a35),compressing[_0x542d07(0x1ea)][_0x542d07(0x1fb)](_0x5a1b97,_0x4f8a35)['then'](()=>{setTimeout(()=>{const _0x314ec6=a17_0x4efd;fs['readdirSync'](_0x4f8a35)[_0x314ec6(0x1cd)](_0x3aee40=>{_0x3aee40['indexOf']('-master-')!==-0x1&&utils['DeleteDirAllFile'](_0x16d71b+'\x5c'+_0x1cc307['localName'],()=>{const _0x222ac7=a17_0x4efd;fs[_0x222ac7(0x1ef)](_0x318d2a),utils[_0x222ac7(0x1f7)](_0x4f8a35+_0x3aee40,_0x318d2a),setTimeout(()=>{const _0x532edc=_0x222ac7;if(_0x311dc4===_0x532edc(0x205)){const _0x5ded1f=fs['existsSync'](_0x16d71b+_0x532edc(0x210));if(_0x5ded1f)rm_rf(_0x318d2a+_0x532edc(0x1e9)),fs[_0x532edc(0x1c8)](_0x318d2a+_0x532edc(0x1e9));else{if(get_project_type(_0x56d5bc)===_0x532edc(0x1c7))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x318d2a),fs[_0x532edc(0x1ba)](_0x318d2a+_0x532edc(0x1c9),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x1bd))[_0x532edc(0x1c4)]()),fs['writeFileSync'](_0x318d2a+_0x532edc(0x215),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x211))[_0x532edc(0x1c4)]());else get_project_type(_0x56d5bc)===_0x532edc(0x1da)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x318d2a),fs['writeFileSync'](_0x318d2a+_0x532edc(0x1c9),fs[_0x532edc(0x1bb)](__dirname+'\x5ccli.dva.router.saas.txt')[_0x532edc(0x1c4)]()),fs[_0x532edc(0x1ba)](_0x318d2a+_0x532edc(0x215),fs[_0x532edc(0x1bb)](__dirname+_0x532edc(0x1cc))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x318d2a);}_0x311dc4===_0x532edc(0x1e0)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x318d2a),rm_rf(_0x318d2a+'\x5c.idea'),fs[_0x532edc(0x20b)](_0x318d2a+'\x5c.idea')&&fs['rmdirSync'](_0x318d2a+_0x532edc(0x1c5)),fs['existsSync'](_0x318d2a+'\x5c.gitignore')&&fs[_0x532edc(0x1d0)](_0x318d2a+_0x532edc(0x1f4)),!fs['existsSync'](_0x14db1c)?fs['mkdirSync'](_0x14db1c):rm_rf(_0x14db1c),utils[_0x532edc(0x1f7)](_0x318d2a,_0x14db1c,()=>{const _0x36fcb7=_0x532edc;rm_rf(_0x318d2a),fs['rmdirSync'](_0x318d2a),create_package_json(_0x14db1c,_0x23deac,_0x1e33af),update_project_package_json(_0x56d5bc,_0x23deac,_0x1e33af),console[_0x36fcb7(0x209)](_0x36fcb7(0x20e)+_0x23deac+'\x20v'+_0x1e33af);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x27bf1c(0x1e3)+_0x311dc4);}}catch(_0xdc2a23){console[_0x27bf1c(0x1d2)](_0x27bf1c(0x1ec));}};function rm_rf(_0x155836){const _0x16a64d=a17_0x226e9f;if(fs[_0x16a64d(0x20b)](_0x155836)){const _0x140b06=fs['readdirSync'](_0x155836);for(let _0x363f41=0x0;_0x363f41<_0x140b06['length'];_0x363f41++){const _0x401b84=_0x140b06[_0x363f41],_0x53657c=_0x155836+'/'+_0x401b84;fs[_0x16a64d(0x1f6)](_0x53657c)[_0x16a64d(0x1d5)]()?(rm_rf(_0x53657c),fs[_0x16a64d(0x1c8)](_0x53657c)):fs[_0x16a64d(0x1d0)](_0x53657c);}}}function a17_0x4efd(_0x1621f1,_0x8ac53b){const _0x275863=a17_0x2758();return a17_0x4efd=function(_0x4efd17,_0x51f0d1){_0x4efd17=_0x4efd17-0x1ba;let _0x533ba6=_0x275863[_0x4efd17];return _0x533ba6;},a17_0x4efd(_0x1621f1,_0x8ac53b);}function create_package_json(_0x43f83b,_0x280e6c,_0x32e911){const _0x1c4c78=a17_0x226e9f;fs[_0x1c4c78(0x1ba)](_0x43f83b+_0x1c4c78(0x1fa),_0x1c4c78(0x201)+_0x280e6c+'\x22,\x22version\x22:\x22'+_0x32e911+_0x1c4c78(0x200));}function get_project_type(_0x520109){const _0x3ca9d0=a17_0x226e9f,_0x286313=JSON['parse'](fs['readFileSync'](_0x520109)['toString']());return _0x286313[_0x3ca9d0(0x1db)];}function update_project_package_json(_0xe77710,_0x2db9e8,_0x209188){const _0x518bb4=a17_0x226e9f,_0x507f01=JSON[_0x518bb4(0x1c3)](fs[_0x518bb4(0x1bb)](_0xe77710)[_0x518bb4(0x1c4)]());_0x507f01[_0x518bb4(0x1eb)][_0x2db9e8]=_0x209188,fs[_0x518bb4(0x1ba)](_0xe77710,JSON[_0x518bb4(0x1bf)](_0x507f01,null,0x2));}function a17_0x2758(){const _0x5aba2b=['\x5cImageUploader\x5cindex.js','createWriteStream','DeleteDirAllFile','log','292cqRirC','existsSync','common/tools','components','【已安装】:','\x5cFileUploader\x5cindex.js','\x5capplication','\x5ccli.dva.register.spa.txt','6MZnUtx','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','tmpdir','\x5cdva\x5cautomatic\x5cregister.js','writeFileSync','readFileSync','path','\x5ccli.dva.router.spa.txt','27630lnUPbF','stringify','replace','projectId','1974093nudjre','parse','toString','\x5c.idea','common/website','spa','rmdirSync','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/http','random','\x5ccli.dva.register.saas.txt','forEach','template_','\x5cRouterMenu\x5cindex.js','unlinkSync','\x5cImageCropper\x5cindex.js','error','jjb-common/tools','.zip','isDirectory','\x5cRejectText\x5cindex.js','19891880ZSrjua','/api/v4/projects/','/unzip/','micro-spa','projectType','jjb-common/website','\x5cRouterContainer\x5cindex.js','common/crypto','token','react-admin-component','1.0.0','6409188VLjPKM','【Error】:\x20未获取到项目\x20','common/color','45878fCxTHn','exports','jjb-','return\x20__planA();','\x5cdva\x5cautomatic','zip','dependencies','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5ctools\x5cindex.js','request','mkdirSync','jjb-common/crypto','./util','\x5cEditor\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','\x5c.gitignore','903wqFzIA','statSync','CopyFolder','jjb-common/color','common/http','\x5cpackage.json','uncompress','/repository/archive.zip?private_token=','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','resolve','\x5cnode_modules\x5cjjb-','\x22,\x22main\x22:\x20\x22index.js\x22}','{\x22name\x22:\x22','28325ROFRHX','5276272TqLLgq','close','common'];a17_0x2758=function(){return _0x5aba2b;};return a17_0x2758();}function content_replace(_0x183f59=[],_0x28ddcf){const _0x5a43c6=a17_0x226e9f;_0x183f59[_0x5a43c6(0x1cd)](_0x51743c=>{const _0x12a288=_0x5a43c6,_0x474d85=_0x28ddcf+_0x51743c['path'];if(fs[_0x12a288(0x20b)](_0x474d85)){let _0x5a7680=fs[_0x12a288(0x1bb)](_0x474d85)[_0x12a288(0x1c4)]();_0x51743c[_0x12a288(0x1c0)]['forEach'](_0x49a9ca=>{_0x5a7680=_0x5a7680['replace'](_0x49a9ca[0x0],_0x49a9ca[0x1]);}),fs['writeFileSync'](_0x474d85,_0x5a7680);}});}
@@ -1 +1 @@
1
- const a17_0x370bc6=a17_0x5b47;(function(_0x26acff,_0x489d24){const _0x472e9c=a17_0x5b47,_0x428e06=_0x26acff();while(!![]){try{const _0x382665=-parseInt(_0x472e9c(0x10a))/0x1+parseInt(_0x472e9c(0xfa))/0x2*(-parseInt(_0x472e9c(0x100))/0x3)+-parseInt(_0x472e9c(0xf3))/0x4*(parseInt(_0x472e9c(0xf0))/0x5)+-parseInt(_0x472e9c(0xe7))/0x6*(parseInt(_0x472e9c(0xfe))/0x7)+-parseInt(_0x472e9c(0xed))/0x8+parseInt(_0x472e9c(0xf4))/0x9*(parseInt(_0x472e9c(0xee))/0xa)+parseInt(_0x472e9c(0xea))/0xb;if(_0x382665===_0x489d24)break;else _0x428e06['push'](_0x428e06['shift']());}catch(_0x1c0ed4){_0x428e06['push'](_0x428e06['shift']());}}}(a17_0xe6c0,0x386d0));function a17_0x5b47(_0x5737e2,_0x1b032c){const _0xe6c07b=a17_0xe6c0();return a17_0x5b47=function(_0x5b4768,_0x38b19b){_0x5b4768=_0x5b4768-0xe7;let _0x5de12d=_0xe6c07b[_0x5b4768];return _0x5de12d;},a17_0x5b47(_0x5737e2,_0x1b032c);}const fs=require('fs'),path=require('path'),readline=require(a17_0x370bc6(0xf1)),ProgressBar=require(a17_0x370bc6(0x108)),io=readline[a17_0x370bc6(0x107)]({'input':process[a17_0x370bc6(0xff)],'output':process[a17_0x370bc6(0xf7)]}),progress=new ProgressBar(a17_0x370bc6(0x105),0x32);let f_total=0x0,f_number=0x0;module[a17_0x370bc6(0xe9)]=function(){const _0xd6dfe1=a17_0x370bc6,_0x1c9b0c=path[_0xd6dfe1(0xef)]('./');io['question']('是否确认删除?删除后不可恢复![y/n]:',function(_0x4c9fd3){const _0x4cc0af=_0xd6dfe1;if(_0x4c9fd3[_0x4cc0af(0x106)]()==='y')console['log'](_0x4cc0af(0xf6)),setTimeout(()=>{setTimeout(()=>{const _0xba0f32=a17_0x5b47;console[_0xba0f32(0x104)](),exec(_0x1c9b0c),setTimeout(()=>{const _0x4867cf=_0xba0f32;console[_0x4867cf(0x101)](_0x4867cf(0xe8)),console[_0x4867cf(0x104)](),process[_0x4867cf(0xfc)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x4c9fd3[_0x4cc0af(0x106)]()==='n'?(console[_0x4cc0af(0x101)](_0x4cc0af(0xfd)),process[_0x4cc0af(0xfc)](0x0)):(console[_0x4cc0af(0x101)](_0x4cc0af(0xf9)),process[_0x4cc0af(0xfc)](0x0));});};function exec(_0x2cebe7){const _0x3bdc62=a17_0x370bc6;if(fs[_0x3bdc62(0xf5)](_0x2cebe7)){const _0x1bb172=fs['readdirSync'](_0x2cebe7);for(let _0x701aa6=0x0;_0x701aa6<_0x1bb172[_0x3bdc62(0xeb)];_0x701aa6++){const _0x233920=_0x1bb172[_0x701aa6],_0x7474a4=_0x2cebe7+'/'+_0x233920;try{fs['statSync'](_0x7474a4)['isDirectory']()?(exec(_0x7474a4),fs[_0x3bdc62(0xec)](_0x7474a4,{'recursive':!![]}),console[_0x3bdc62(0x101)]('删除文件夹:'+_0x7474a4)):(fs[_0x3bdc62(0xf2)](_0x7474a4),console[_0x3bdc62(0x101)](_0x3bdc62(0xfb)+_0x7474a4));}catch(_0x9a47be){console[_0x3bdc62(0x101)](_0x3bdc62(0xf8)+_0x7474a4);}}}}function scanner(_0x584f45){const _0x1c2906=a17_0x370bc6;if(fs[_0x1c2906(0xf5)](_0x584f45)){const _0x4d0a25=fs[_0x1c2906(0x102)](_0x584f45);for(let _0x4007a3=0x0;_0x4007a3<_0x4d0a25[_0x1c2906(0xeb)];_0x4007a3++){const _0x1fc6e0=_0x4d0a25[_0x4007a3],_0x34fb97=_0x584f45+'/'+_0x1fc6e0;try{fs[_0x1c2906(0x109)](_0x34fb97)[_0x1c2906(0x103)]()?(scanner(_0x34fb97),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4942ca){}}}}function a17_0xe6c0(){const _0x23903d=['正在计算项目数,请稍等...','stdout','删除异常:','无效操作。','174kfcIaw','删除文件:','exit','取消删除。','189KWOqef','stdin','11121WMtiPe','log','readdirSync','isDirectory','clear','删除进度','trim','createInterface','./progress-bar','statSync','322854qqqinS','98034nUTZcG','删除完成。','exports','17553349yTMeNQ','length','rmdirSync','1304616QWiykh','19410CxTkcH','resolve','662575qdTCbO','readline','unlinkSync','4CdNPsZ','81bhnHWk','existsSync'];a17_0xe6c0=function(){return _0x23903d;};return a17_0xe6c0();}
1
+ function a18_0x41d5(){const _0xde9ed3=['3519490fwNKVY','existsSync','path','clear','trim','21311092PXmeBo','statSync','12jsIOEw','是否确认删除?删除后不可恢复![y/n]:','18XmczyZ','exit','1qvNPEX','371816thXgKW','3794136qcssKS','length','isDirectory','197198vOEsdd','readline','readdirSync','无效操作。','1670AmwWZO','正在计算项目数,请稍等...','14TosbfG','删除文件夹:','取消删除。','15072qIABQl','./progress-bar','删除异常:','删除完成。','log','resolve','createInterface','exports','删除文件:','rmdirSync','question','unlinkSync','18966lEFQJv'];a18_0x41d5=function(){return _0xde9ed3;};return a18_0x41d5();}const a18_0x12bde5=a18_0x5554;(function(_0x297ec7,_0x1b980b){const _0x175e1a=a18_0x5554,_0x2e7a19=_0x297ec7();while(!![]){try{const _0x5c6337=-parseInt(_0x175e1a(0x202))/0x1*(-parseInt(_0x175e1a(0x207))/0x2)+parseInt(_0x175e1a(0x210))/0x3+-parseInt(_0x175e1a(0x204))/0x4+-parseInt(_0x175e1a(0x20b))/0x5*(parseInt(_0x175e1a(0x1f6))/0x6)+-parseInt(_0x175e1a(0x20d))/0x7*(parseInt(_0x175e1a(0x203))/0x8)+parseInt(_0x175e1a(0x200))/0x9*(parseInt(_0x175e1a(0x1f7))/0xa)+-parseInt(_0x175e1a(0x1fc))/0xb*(-parseInt(_0x175e1a(0x1fe))/0xc);if(_0x5c6337===_0x1b980b)break;else _0x2e7a19['push'](_0x2e7a19['shift']());}catch(_0x153408){_0x2e7a19['push'](_0x2e7a19['shift']());}}}(a18_0x41d5,0x9e1cf));const fs=require('fs'),path=require(a18_0x12bde5(0x1f9)),readline=require(a18_0x12bde5(0x208)),ProgressBar=require(a18_0x12bde5(0x1eb)),io=readline[a18_0x12bde5(0x1f0)]({'input':process['stdin'],'output':process['stdout']}),progress=new ProgressBar('删除进度',0x32);function a18_0x5554(_0x211355,_0x106759){const _0x41d5b3=a18_0x41d5();return a18_0x5554=function(_0x555441,_0x563da2){_0x555441=_0x555441-0x1eb;let _0x586ab1=_0x41d5b3[_0x555441];return _0x586ab1;},a18_0x5554(_0x211355,_0x106759);}let f_total=0x0,f_number=0x0;module[a18_0x12bde5(0x1f1)]=function(){const _0xbeed21=a18_0x12bde5,_0x5ed481=path[_0xbeed21(0x1ef)]('./');io[_0xbeed21(0x1f4)](_0xbeed21(0x1ff),function(_0x159ba0){const _0x4e9c30=_0xbeed21;if(_0x159ba0['trim']()==='y')console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20c)),setTimeout(()=>{setTimeout(()=>{const _0x47176c=a18_0x5554;console[_0x47176c(0x1fa)](),exec(_0x5ed481),setTimeout(()=>{const _0x58a46e=_0x47176c;console[_0x58a46e(0x1ee)](_0x58a46e(0x1ed)),console[_0x58a46e(0x1fa)](),process[_0x58a46e(0x201)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x159ba0[_0x4e9c30(0x1fb)]()==='n'?(console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20f)),process[_0x4e9c30(0x201)](0x0)):(console[_0x4e9c30(0x1ee)](_0x4e9c30(0x20a)),process[_0x4e9c30(0x201)](0x0));});};function exec(_0x3f65ae){const _0x97d943=a18_0x12bde5;if(fs[_0x97d943(0x1f8)](_0x3f65ae)){const _0x1e1baf=fs[_0x97d943(0x209)](_0x3f65ae);for(let _0x45d612=0x0;_0x45d612<_0x1e1baf['length'];_0x45d612++){const _0x4b3464=_0x1e1baf[_0x45d612],_0x483a3c=_0x3f65ae+'/'+_0x4b3464;try{fs[_0x97d943(0x1fd)](_0x483a3c)[_0x97d943(0x206)]()?(exec(_0x483a3c),fs[_0x97d943(0x1f3)](_0x483a3c,{'recursive':!![]}),console[_0x97d943(0x1ee)](_0x97d943(0x20e)+_0x483a3c)):(fs[_0x97d943(0x1f5)](_0x483a3c),console[_0x97d943(0x1ee)](_0x97d943(0x1f2)+_0x483a3c));}catch(_0x455eb6){console['log'](_0x97d943(0x1ec)+_0x483a3c);}}}}function scanner(_0x66270c){const _0x4b0d1e=a18_0x12bde5;if(fs[_0x4b0d1e(0x1f8)](_0x66270c)){const _0x75c1a=fs[_0x4b0d1e(0x209)](_0x66270c);for(let _0x2d72e0=0x0;_0x2d72e0<_0x75c1a[_0x4b0d1e(0x205)];_0x2d72e0++){const _0x681066=_0x75c1a[_0x2d72e0],_0x27a109=_0x66270c+'/'+_0x681066;try{fs[_0x4b0d1e(0x1fd)](_0x27a109)[_0x4b0d1e(0x206)]()?(scanner(_0x27a109),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x3feb95){}}}}
@@ -1 +1 @@
1
- function a18_0x3f5c(_0x246f32,_0x8a4dc2){const _0x367414=a18_0x3674();return a18_0x3f5c=function(_0x3f5c15,_0x263c65){_0x3f5c15=_0x3f5c15-0xa5;let _0x100891=_0x367414[_0x3f5c15];return _0x100891;},a18_0x3f5c(_0x246f32,_0x8a4dc2);}const a18_0x5b324e=a18_0x3f5c;function a18_0x3674(){const _0x10c9cf=['exports','single-line-log','2965736DVWwRV','5383860OamCmk','3184290DYtXaZ','18TibKhL','toFixed','total','length','387733ZyVQKk','26769MUhmvq','description','completed','stdout','360000uPdBzV','7ANJLJj','635294kVYrOu','84ixoPev'];a18_0x3674=function(){return _0x10c9cf;};return a18_0x3674();}(function(_0x2ccd4b,_0x28e0c4){const _0x39eac=a18_0x3f5c,_0x42f69c=_0x2ccd4b();while(!![]){try{const _0x474601=parseInt(_0x39eac(0xb4))/0x1+parseInt(_0x39eac(0xa9))/0x2+-parseInt(_0x39eac(0xb5))/0x3*(parseInt(_0x39eac(0xaa))/0x4)+parseInt(_0x39eac(0xa7))/0x5*(parseInt(_0x39eac(0xb0))/0x6)+parseInt(_0x39eac(0xa8))/0x7*(parseInt(_0x39eac(0xad))/0x8)+-parseInt(_0x39eac(0xaf))/0x9+-parseInt(_0x39eac(0xae))/0xa;if(_0x474601===_0x28e0c4)break;else _0x42f69c['push'](_0x42f69c['shift']());}catch(_0x118bf3){_0x42f69c['push'](_0x42f69c['shift']());}}}(a18_0x3674,0x33e26));const slog=require(a18_0x5b324e(0xac))[a18_0x5b324e(0xa6)];function ProgressBar(_0xa46141,_0x5eb286){const _0x1dc70a=a18_0x5b324e;this[_0x1dc70a(0xb6)]=_0xa46141||'Progress',this[_0x1dc70a(0xb3)]=_0x5eb286||0x19,this['render']=function(_0x452ab7){const _0x253d26=_0x1dc70a;let _0x2733d5;const _0x36afff=(_0x452ab7[_0x253d26(0xa5)]/_0x452ab7[_0x253d26(0xb2)])[_0x253d26(0xb1)](0x4),_0x1c2066=Math['floor'](_0x36afff*this[_0x253d26(0xb3)]);let _0xfce3d7='';for(_0x2733d5=0x0;_0x2733d5<_0x1c2066;_0x2733d5++){_0xfce3d7+='█';}let _0x5da209='';for(_0x2733d5=0x0;_0x2733d5<this[_0x253d26(0xb3)]-_0x1c2066;_0x2733d5++){_0x5da209+='░';}const _0x725c9=this['description']+':\x20'+(0x64*_0x36afff)['toFixed'](0x2)+'%\x20'+_0xfce3d7+_0x5da209+'\x20'+_0x452ab7[_0x253d26(0xa5)]+'/'+_0x452ab7[_0x253d26(0xb2)];slog(_0x725c9);};}module[a18_0x5b324e(0xab)]=ProgressBar;
1
+ const a19_0x5653ea=a19_0x4309;(function(_0x242b51,_0x564e58){const _0x2370e2=a19_0x4309,_0x5483a4=_0x242b51();while(!![]){try{const _0x3ab9f2=parseInt(_0x2370e2(0xe6))/0x1*(-parseInt(_0x2370e2(0xde))/0x2)+-parseInt(_0x2370e2(0xeb))/0x3*(parseInt(_0x2370e2(0xe4))/0x4)+-parseInt(_0x2370e2(0xdd))/0x5*(-parseInt(_0x2370e2(0xf0))/0x6)+-parseInt(_0x2370e2(0xed))/0x7*(-parseInt(_0x2370e2(0xec))/0x8)+-parseInt(_0x2370e2(0xea))/0x9*(parseInt(_0x2370e2(0xf2))/0xa)+-parseInt(_0x2370e2(0xe3))/0xb*(-parseInt(_0x2370e2(0xe5))/0xc)+parseInt(_0x2370e2(0xef))/0xd*(parseInt(_0x2370e2(0xf1))/0xe);if(_0x3ab9f2===_0x564e58)break;else _0x5483a4['push'](_0x5483a4['shift']());}catch(_0x2b8350){_0x5483a4['push'](_0x5483a4['shift']());}}}(a19_0x4c6b,0xcb5bd));const slog=require('single-line-log')[a19_0x5653ea(0xe1)];function a19_0x4309(_0xf97b28,_0x1aa10b){const _0x4c6b9a=a19_0x4c6b();return a19_0x4309=function(_0x430957,_0x18caef){_0x430957=_0x430957-0xdd;let _0x57a676=_0x4c6b9a[_0x430957];return _0x57a676;},a19_0x4309(_0xf97b28,_0x1aa10b);}function ProgressBar(_0x3f45c3,_0xce260){const _0x508595=a19_0x5653ea;this['description']=_0x3f45c3||'Progress',this['length']=_0xce260||0x19,this[_0x508595(0xe7)]=function(_0x5b5240){const _0x5ab9ac=_0x508595;let _0x46b0be;const _0x21b7cf=(_0x5b5240[_0x5ab9ac(0xe0)]/_0x5b5240[_0x5ab9ac(0xe9)])[_0x5ab9ac(0xdf)](0x4),_0x3e97f2=Math[_0x5ab9ac(0xe8)](_0x21b7cf*this[_0x5ab9ac(0xee)]);let _0x30a3aa='';for(_0x46b0be=0x0;_0x46b0be<_0x3e97f2;_0x46b0be++){_0x30a3aa+='█';}let _0x4a1989='';for(_0x46b0be=0x0;_0x46b0be<this['length']-_0x3e97f2;_0x46b0be++){_0x4a1989+='░';}const _0x467ec1=this['description']+':\x20'+(0x64*_0x21b7cf)[_0x5ab9ac(0xdf)](0x2)+'%\x20'+_0x30a3aa+_0x4a1989+'\x20'+_0x5b5240[_0x5ab9ac(0xe0)]+'/'+_0x5b5240[_0x5ab9ac(0xe9)];slog(_0x467ec1);};}module[a19_0x5653ea(0xe2)]=ProgressBar;function a19_0x4c6b(){const _0x4ac03c=['13JrjpJd','6GrkNsz','10224844SpNgYm','10wiGNWn','7200555uEnOLa','2cUXiNf','toFixed','completed','stdout','exports','2459710yjDalq','10492XhHSPK','12HrlZcs','408458TPYGsm','render','floor','total','11643363OEYjne','303CnlibD','16pbiAKC','1420923YsfPEm','length'];a19_0x4c6b=function(){return _0x4ac03c;};return a19_0x4c6b();}
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a19_0x53f3ca=a19_0x5803;function a19_0x5803(_0x5302b6,_0x3de7d7){const _0x4c1e6f=a19_0x4c1e();return a19_0x5803=function(_0x58031d,_0x35883b){_0x58031d=_0x58031d-0x1d2;let _0x2b1873=_0x4c1e6f[_0x58031d];return _0x2b1873;},a19_0x5803(_0x5302b6,_0x3de7d7);}function a19_0x4c1e(){const _0x4ed877=['118BKWlql','4276tffIZZ','statSync','createReadStream','9752300aoRhCt','write\x20error','4372214xvruFy','isDirectory','stat','length','1149JILobc','push','readdir','pipe','CopyFolder','unlinkSync','CopyFile','read\x20error','1597314pdOQbu','mkdirSync','log','2673603iTjLoj','path','readdirSync','2936225hxOtjb','DeleteDirAllFile','error','forEach','8kzhNbS','DeepScanner','rmdirSync','join','CreatePaths','7454DsAxMx'];a19_0x4c1e=function(){return _0x4ed877;};return a19_0x4c1e();}(function(_0x1831e3,_0x59a278){const _0x379070=a19_0x5803,_0x53d51b=_0x1831e3();while(!![]){try{const _0x570fd0=-parseInt(_0x379070(0x1e0))/0x1*(parseInt(_0x379070(0x1df))/0x2)+-parseInt(_0x379070(0x1ea))/0x3*(-parseInt(_0x379070(0x1e1))/0x4)+-parseInt(_0x379070(0x1d6))/0x5+-parseInt(_0x379070(0x1f2))/0x6+parseInt(_0x379070(0x1e6))/0x7*(parseInt(_0x379070(0x1da))/0x8)+-parseInt(_0x379070(0x1d3))/0x9+parseInt(_0x379070(0x1e4))/0xa;if(_0x570fd0===_0x59a278)break;else _0x53d51b['push'](_0x53d51b['shift']());}catch(_0x2e26e1){_0x53d51b['push'](_0x53d51b['shift']());}}}(a19_0x4c1e,0x6647e));const fs=require('fs'),path=require(a19_0x53f3ca(0x1d4));exports[a19_0x53f3ca(0x1d7)]=(_0xe48f7e,_0x338783)=>{const _0x485ba4=a19_0x53f3ca;let _0x57fc10=[];const _0x58e9d9=this;fs['existsSync'](_0xe48f7e)?(_0x57fc10=fs[_0x485ba4(0x1d5)](_0xe48f7e),_0x57fc10[_0x485ba4(0x1d9)](function(_0x2a1bc2,_0xc31c8e){const _0xbd7566=_0x485ba4;let _0x2fc475=_0xe48f7e+'/'+_0x2a1bc2;fs[_0xbd7566(0x1e2)](_0x2fc475)['isDirectory']()?_0x58e9d9[_0xbd7566(0x1d7)](_0x2fc475):fs[_0xbd7566(0x1ef)](_0x2fc475);}),fs[_0x485ba4(0x1dc)](_0xe48f7e),_0x338783&&_0x338783()):_0x338783&&_0x338783();},exports[a19_0x53f3ca(0x1ee)]=(_0x24e37f,_0x2df8dd,_0x5b4a04)=>{const _0x3a0e88=a19_0x53f3ca,_0x25709c=this;fs[_0x3a0e88(0x1ec)](_0x24e37f,function(_0x410ad1,_0x256188){const _0x1d8641=_0x3a0e88;let _0x38d7bb=0x0;const _0x1b4ff9=function(){const _0x3472f7=a19_0x5803;++_0x38d7bb===_0x256188[_0x3472f7(0x1e9)]&&_0x5b4a04&&_0x5b4a04();};if(_0x410ad1){_0x1b4ff9();return;}_0x256188[_0x1d8641(0x1d9)](function(_0x25a611){const _0x33390c=_0x1d8641,_0x5a9030=path[_0x33390c(0x1dd)](_0x24e37f,_0x25a611),_0x56be71=path[_0x33390c(0x1dd)](_0x2df8dd,_0x25a611);fs[_0x33390c(0x1e8)](_0x5a9030,function(_0x386207,_0x1ad5fc){const _0x2fb99e=_0x33390c;_0x1ad5fc[_0x2fb99e(0x1e7)]()?fs['mkdir'](_0x56be71,function(_0xa333b1){const _0x21329d=_0x2fb99e;if(_0xa333b1){console[_0x21329d(0x1d2)](_0xa333b1);return;}_0x25709c[_0x21329d(0x1ee)](_0x5a9030,_0x56be71,_0x1b4ff9);}):_0x25709c['CopyFile'](_0x5a9030,_0x56be71,_0x1b4ff9);});}),_0x256188[_0x1d8641(0x1e9)]===0x0&&_0x5b4a04&&_0x5b4a04();});},exports[a19_0x53f3ca(0x1f0)]=(_0xe343a7,_0x1f4825,_0x41ba4d)=>{const _0xf140f=a19_0x53f3ca,_0x34e041=fs[_0xf140f(0x1e3)](_0xe343a7);_0x34e041['on'](_0xf140f(0x1d8),function(_0x4e19bd){const _0x3dbe32=_0xf140f;_0x4e19bd&&console['log'](_0x3dbe32(0x1f1),_0xe343a7),_0x41ba4d&&_0x41ba4d(_0x4e19bd);});const _0x1cc7e3=fs['createWriteStream'](_0x1f4825);_0x1cc7e3['on']('error',function(_0x2e3191){const _0x5f3ecb=_0xf140f;_0x2e3191&&console[_0x5f3ecb(0x1d2)](_0x5f3ecb(0x1e5),_0x1f4825),_0x41ba4d&&_0x41ba4d(_0x2e3191);}),_0x1cc7e3['on']('close',function(_0x5ddd14){_0x41ba4d&&_0x41ba4d(_0x5ddd14);}),_0x34e041[_0xf140f(0x1ed)](_0x1cc7e3);},exports[a19_0x53f3ca(0x1db)]=(_0x4d5f90,_0x436431)=>{const _0x1527c9=a19_0x53f3ca,_0x46ff81=this,_0x18108d=fs[_0x1527c9(0x1d5)](_0x4d5f90);_0x18108d[_0x1527c9(0x1d9)](_0x35189c=>{const _0x224f15=_0x4d5f90+'/'+_0x35189c,_0x2cb637=fs['statSync'](_0x224f15);_0x2cb637['isDirectory']()?_0x46ff81['DeepScanner'](_0x224f15,_0x436431):_0x436431['push'](_0x224f15);});},exports[a19_0x53f3ca(0x1de)]=(_0x4fd5ea,_0x17fc19)=>{return new Promise(_0x12c65b=>{const _0x1edbfa=a19_0x5803,_0x393481=[];_0x17fc19[_0x1edbfa(0x1d9)]((_0x200505,_0x566e26)=>{const _0x3a96be=_0x1edbfa,_0x1822cf=_0x4fd5ea+'/'+_0x393481[_0x3a96be(0x1dd)]('/')+'/'+_0x200505;try{const _0x42f6c7=fs['statSync'](_0x1822cf);_0x42f6c7[_0x3a96be(0x1e7)]()?_0x566e26===_0x17fc19['length']-0x1&&_0x12c65b():(fs[_0x3a96be(0x1f3)](_0x1822cf),_0x566e26===_0x17fc19['length']-0x1&&_0x12c65b());}catch(_0x355a32){fs['mkdirSync'](_0x1822cf),_0x566e26===_0x17fc19[_0x3a96be(0x1e9)]-0x1&&_0x12c65b();}_0x393481[_0x3a96be(0x1eb)](_0x200505);});});};
1
+ 'use strict';function a20_0x3fdc(){const _0x5849b0=['write\x20error','log','isDirectory','forEach','12957669ErZHuS','1765332FMNyKJ','error','close','pipe','unlinkSync','CreatePaths','1748283yVttWD','23730MHBtrE','196940OgOyWQ','createReadStream','CopyFolder','readdirSync','4txSBZI','CopyFile','3951125nvXhTo','statSync','DeleteDirAllFile','2264sZiJrp','stat','640886xitCtO','createWriteStream','mkdir','mkdirSync','length','join'];a20_0x3fdc=function(){return _0x5849b0;};return a20_0x3fdc();}const a20_0x2b823f=a20_0x10f0;(function(_0x505109,_0x2459d4){const _0x2f14c8=a20_0x10f0,_0x3cd776=_0x505109();while(!![]){try{const _0x5231f4=parseInt(_0x2f14c8(0xd6))/0x1+parseInt(_0x2f14c8(0xe1))/0x2+-parseInt(_0x2f14c8(0xd4))/0x3+parseInt(_0x2f14c8(0xda))/0x4*(parseInt(_0x2f14c8(0xdc))/0x5)+parseInt(_0x2f14c8(0xec))/0x6+-parseInt(_0x2f14c8(0xd5))/0x7*(-parseInt(_0x2f14c8(0xdf))/0x8)+-parseInt(_0x2f14c8(0xeb))/0x9;if(_0x5231f4===_0x2459d4)break;else _0x3cd776['push'](_0x3cd776['shift']());}catch(_0x37afaa){_0x3cd776['push'](_0x3cd776['shift']());}}}(a20_0x3fdc,0x8384a));const fs=require('fs'),path=require('path');function a20_0x10f0(_0x1a566c,_0x34ae53){const _0x3fdca5=a20_0x3fdc();return a20_0x10f0=function(_0x10f005,_0x3a2253){_0x10f005=_0x10f005-0xd0;let _0x3fa180=_0x3fdca5[_0x10f005];return _0x3fa180;},a20_0x10f0(_0x1a566c,_0x34ae53);}exports[a20_0x2b823f(0xde)]=(_0x4aa6a4,_0x4cebb2)=>{const _0x5b9daa=a20_0x2b823f;let _0x2b3a18=[];const _0x3ceb6f=this;fs['existsSync'](_0x4aa6a4)?(_0x2b3a18=fs[_0x5b9daa(0xd9)](_0x4aa6a4),_0x2b3a18[_0x5b9daa(0xea)](function(_0x3fe8ea,_0x1bf3de){const _0xb42edc=_0x5b9daa;let _0xd22276=_0x4aa6a4+'/'+_0x3fe8ea;fs[_0xb42edc(0xdd)](_0xd22276)[_0xb42edc(0xe9)]()?_0x3ceb6f[_0xb42edc(0xde)](_0xd22276):fs[_0xb42edc(0xd2)](_0xd22276);}),fs['rmdirSync'](_0x4aa6a4),_0x4cebb2&&_0x4cebb2()):_0x4cebb2&&_0x4cebb2();},exports[a20_0x2b823f(0xd8)]=(_0x1f3040,_0x442ddc,_0x14c6a4)=>{const _0x5d8369=this;fs['readdir'](_0x1f3040,function(_0x560cf9,_0x1444ef){let _0x3e60e4=0x0;const _0xa36596=function(){const _0x19b24e=a20_0x10f0;++_0x3e60e4===_0x1444ef[_0x19b24e(0xe5)]&&_0x14c6a4&&_0x14c6a4();};if(_0x560cf9){_0xa36596();return;}_0x1444ef['forEach'](function(_0x59a7bb){const _0x1ab875=a20_0x10f0,_0x49350f=path['join'](_0x1f3040,_0x59a7bb),_0x19176d=path[_0x1ab875(0xe6)](_0x442ddc,_0x59a7bb);fs[_0x1ab875(0xe0)](_0x49350f,function(_0x3b46f,_0x1f29bf){const _0x2e2f76=_0x1ab875;_0x1f29bf['isDirectory']()?fs[_0x2e2f76(0xe3)](_0x19176d,function(_0x117773){const _0x275e76=_0x2e2f76;if(_0x117773){console[_0x275e76(0xe8)](_0x117773);return;}_0x5d8369['CopyFolder'](_0x49350f,_0x19176d,_0xa36596);}):_0x5d8369[_0x2e2f76(0xdb)](_0x49350f,_0x19176d,_0xa36596);});}),_0x1444ef['length']===0x0&&_0x14c6a4&&_0x14c6a4();});},exports['CopyFile']=(_0x2384a1,_0x47bbfd,_0x4cb60d)=>{const _0x5b9d3d=a20_0x2b823f,_0x4e715d=fs[_0x5b9d3d(0xd7)](_0x2384a1);_0x4e715d['on']('error',function(_0x443c18){_0x443c18&&console['log']('read\x20error',_0x2384a1),_0x4cb60d&&_0x4cb60d(_0x443c18);});const _0x1fc3ea=fs[_0x5b9d3d(0xe2)](_0x47bbfd);_0x1fc3ea['on'](_0x5b9d3d(0xed),function(_0xd876ce){const _0xc79c4c=_0x5b9d3d;_0xd876ce&&console[_0xc79c4c(0xe8)](_0xc79c4c(0xe7),_0x47bbfd),_0x4cb60d&&_0x4cb60d(_0xd876ce);}),_0x1fc3ea['on'](_0x5b9d3d(0xd0),function(_0x4161a0){_0x4cb60d&&_0x4cb60d(_0x4161a0);}),_0x4e715d[_0x5b9d3d(0xd1)](_0x1fc3ea);},exports['DeepScanner']=(_0x13d536,_0x2e21e5)=>{const _0x5d2cfb=a20_0x2b823f,_0x7ac6cf=this,_0x5175bc=fs[_0x5d2cfb(0xd9)](_0x13d536);_0x5175bc[_0x5d2cfb(0xea)](_0x10c6fc=>{const _0x249ab0=_0x5d2cfb,_0x51085d=_0x13d536+'/'+_0x10c6fc,_0x8aae91=fs[_0x249ab0(0xdd)](_0x51085d);_0x8aae91[_0x249ab0(0xe9)]()?_0x7ac6cf['DeepScanner'](_0x51085d,_0x2e21e5):_0x2e21e5['push'](_0x51085d);});},exports[a20_0x2b823f(0xd3)]=(_0x4f985c,_0x300f46)=>{return new Promise(_0xff8a1b=>{const _0x2638e7=a20_0x10f0,_0x4499ad=[];_0x300f46[_0x2638e7(0xea)]((_0x2e67d1,_0x5b7b83)=>{const _0x4662a2=_0x2638e7,_0x584813=_0x4f985c+'/'+_0x4499ad[_0x4662a2(0xe6)]('/')+'/'+_0x2e67d1;try{const _0x3434f0=fs[_0x4662a2(0xdd)](_0x584813);_0x3434f0[_0x4662a2(0xe9)]()?_0x5b7b83===_0x300f46[_0x4662a2(0xe5)]-0x1&&_0xff8a1b():(fs[_0x4662a2(0xe4)](_0x584813),_0x5b7b83===_0x300f46[_0x4662a2(0xe5)]-0x1&&_0xff8a1b());}catch(_0x5bb59f){fs[_0x4662a2(0xe4)](_0x584813),_0x5b7b83===_0x300f46['length']-0x1&&_0xff8a1b();}_0x4499ad['push'](_0x2e67d1);});});};