jjb-cmd 2.1.20 → 2.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.21</p>
6
+ <div>修复已知问题</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.20</p>
6
10
  <div>增加publish命令,最新完善push组件体系</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.20",
4
+ "version": "2.1.21",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- function a0_0xb262(){const _0x4fc423=['data','../cmd.install/config','unlinkSync','1312410qrzUoX','Auth\x20Success!','1rtqgBt','axios','7NgmRqW','5103145Qqrydd','/api/auth','status','3072894cyDMvL','434370JgmTVU','275756OPbBDT','join','catch','exports','10940096HXrMuR','log','Auth\x20NetWork\x20Fail!','873nesSda','path','5572904GYDuwy'];a0_0xb262=function(){return _0x4fc423;};return a0_0xb262();}const a0_0x552469=a0_0x83b5;function a0_0x83b5(_0x591a66,_0x3763df){const _0xb26249=a0_0xb262();return a0_0x83b5=function(_0x83b54b,_0x424ee4){_0x83b54b=_0x83b54b-0x1b9;let _0x31d20f=_0xb26249[_0x83b54b];return _0x31d20f;},a0_0x83b5(_0x591a66,_0x3763df);}(function(_0x25263c,_0x2d1b7c){const _0x1b4c3c=a0_0x83b5,_0x522ad8=_0x25263c();while(!![]){try{const _0x4aff3b=-parseInt(_0x1b4c3c(0x1c5))/0x1*(-parseInt(_0x1b4c3c(0x1cd))/0x2)+parseInt(_0x1b4c3c(0x1cb))/0x3+parseInt(_0x1b4c3c(0x1bf))/0x4+parseInt(_0x1b4c3c(0x1c8))/0x5+parseInt(_0x1b4c3c(0x1c3))/0x6*(parseInt(_0x1b4c3c(0x1c7))/0x7)+parseInt(_0x1b4c3c(0x1ba))/0x8+-parseInt(_0x1b4c3c(0x1bd))/0x9*(parseInt(_0x1b4c3c(0x1cc))/0xa);if(_0x4aff3b===_0x2d1b7c)break;else _0x522ad8['push'](_0x522ad8['shift']());}catch(_0x365ea3){_0x522ad8['push'](_0x522ad8['shift']());}}}(a0_0xb262,0xe7a99));const axios=require(a0_0x552469(0x1c6)),fs=require('fs'),path=require(a0_0x552469(0x1be)),{API_HOST}=require(a0_0x552469(0x1c1));module[a0_0x552469(0x1b9)]=_0x5a2c1e=>{const _0x3017c1=a0_0x552469;console[_0x3017c1(0x1bb)](_0x5a2c1e);const [_0x2fc1ad,_0x1379e0]=_0x5a2c1e;axios['post'](API_HOST+_0x3017c1(0x1c9),{'username':_0x2fc1ad,'password':_0x1379e0})['then'](_0x2fcf6b=>{const _0x5c93c2=_0x3017c1,_0xf76ddd=path[_0x5c93c2(0x1ce)](__dirname,'../../../.auth');_0x2fcf6b[_0x5c93c2(0x1c0)][_0x5c93c2(0x1ca)]?(console[_0x5c93c2(0x1bb)](_0x5c93c2(0x1c4)),fs['writeFileSync'](_0xf76ddd,_0x2fc1ad+'/'+_0x1379e0)):(console['log']('Auth\x20Fail!'),fs['existsSync'](_0xf76ddd)&&fs[_0x5c93c2(0x1c2)](_0xf76ddd));})[_0x3017c1(0x1cf)](_0xcb2338=>{const _0x4026c3=_0x3017c1;console['log'](_0x4026c3(0x1bc));});};
1
+ function a0_0x49c7(){const _0x478e78=['575250kXmQfU','log','1822044jlfHBo','post','unlinkSync','512844iWloLG','30SxbOQA','64gpagkE','Auth\x20NetWork\x20Fail!','../../../.auth','14ZBmHOy','539bQuscL','writeFileSync','axios','Auth\x20Fail!','../cmd.install/config','1289550YatODg','/api/auth','data','401886YGYdyf','then','join','Auth\x20Success!','exports','7652PFkgWN','630718GpPnqu','1mOQgjZ'];a0_0x49c7=function(){return _0x478e78;};return a0_0x49c7();}const a0_0x40c341=a0_0xd03b;(function(_0x5c945a,_0x4c3ba1){const _0x7cdba6=a0_0xd03b,_0x393ff4=_0x5c945a();while(!![]){try{const _0x1e3465=parseInt(_0x7cdba6(0x117))/0x1*(-parseInt(_0x7cdba6(0x116))/0x2)+-parseInt(_0x7cdba6(0x11a))/0x3+parseInt(_0x7cdba6(0x115))/0x4*(parseInt(_0x7cdba6(0x11e))/0x5)+parseInt(_0x7cdba6(0x128))/0x6*(-parseInt(_0x7cdba6(0x122))/0x7)+-parseInt(_0x7cdba6(0x11f))/0x8*(parseInt(_0x7cdba6(0x12b))/0x9)+-parseInt(_0x7cdba6(0x118))/0xa+-parseInt(_0x7cdba6(0x123))/0xb*(-parseInt(_0x7cdba6(0x11d))/0xc);if(_0x1e3465===_0x4c3ba1)break;else _0x393ff4['push'](_0x393ff4['shift']());}catch(_0x1abf22){_0x393ff4['push'](_0x393ff4['shift']());}}}(a0_0x49c7,0x52965));function a0_0xd03b(_0x2dc931,_0xa036f5){const _0x49c74e=a0_0x49c7();return a0_0xd03b=function(_0xd03b32,_0x332acf){_0xd03b32=_0xd03b32-0x111;let _0x335c7f=_0x49c74e[_0xd03b32];return _0x335c7f;},a0_0xd03b(_0x2dc931,_0xa036f5);}const axios=require(a0_0x40c341(0x125)),fs=require('fs'),path=require('path'),{API_HOST}=require(a0_0x40c341(0x127));module[a0_0x40c341(0x114)]=_0x91d864=>{const _0x506901=a0_0x40c341;console[_0x506901(0x119)](_0x91d864);const [_0x4743bd,_0xa4aa7d]=_0x91d864;axios[_0x506901(0x11b)](API_HOST+_0x506901(0x129),{'username':_0x4743bd,'password':_0xa4aa7d})[_0x506901(0x111)](_0x4d55a2=>{const _0x2a0ea6=_0x506901,_0x122193=path[_0x2a0ea6(0x112)](__dirname,_0x2a0ea6(0x121));_0x4d55a2[_0x2a0ea6(0x12a)]['status']?(console[_0x2a0ea6(0x119)](_0x2a0ea6(0x113)),fs[_0x2a0ea6(0x124)](_0x122193,_0x4743bd+'/'+_0xa4aa7d)):(console[_0x2a0ea6(0x119)](_0x2a0ea6(0x126)),fs['existsSync'](_0x122193)&&fs[_0x2a0ea6(0x11c)](_0x122193));})['catch'](_0x4d3469=>{const _0x27502f=_0x506901;console[_0x27502f(0x119)](_0x27502f(0x120));});};
@@ -1 +1 @@
1
- const a1_0x1f7c20=a1_0x565d;(function(_0x3b7c30,_0x3a4f4d){const _0xee1297=a1_0x565d,_0x4d39d7=_0x3b7c30();while(!![]){try{const _0x51e08f=parseInt(_0xee1297(0xc5))/0x1+-parseInt(_0xee1297(0xae))/0x2*(-parseInt(_0xee1297(0xca))/0x3)+parseInt(_0xee1297(0xb7))/0x4*(parseInt(_0xee1297(0xbc))/0x5)+-parseInt(_0xee1297(0xb2))/0x6*(-parseInt(_0xee1297(0xb9))/0x7)+parseInt(_0xee1297(0xd7))/0x8+parseInt(_0xee1297(0xaf))/0x9+parseInt(_0xee1297(0xc6))/0xa*(-parseInt(_0xee1297(0xc7))/0xb);if(_0x51e08f===_0x3a4f4d)break;else _0x4d39d7['push'](_0x4d39d7['shift']());}catch(_0x369c0b){_0x4d39d7['push'](_0x4d39d7['shift']());}}}(a1_0x5689,0xab9c0));function a1_0x565d(_0x5b4576,_0x5ab480){const _0x56897d=a1_0x5689();return a1_0x565d=function(_0x565ddd,_0x123314){_0x565ddd=_0x565ddd-0xa9;let _0x1c881b=_0x56897d[_0x565ddd];return _0x1c881b;},a1_0x565d(_0x5b4576,_0x5ab480);}const fs=require('fs'),os=require('os'),path=require('path'),request=require(a1_0x1f7c20(0xbe)),utils=require(a1_0x1f7c20(0xc0)),compressing=require(a1_0x1f7c20(0xcc)),readline=require(a1_0x1f7c20(0xd6)),io=readline[a1_0x1f7c20(0xd4)]({'input':process[a1_0x1f7c20(0xb8)],'output':process[a1_0x1f7c20(0xce)]}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x1f7c20(0xc1));function a1_0x5689(){const _0x9ca63=['question','3599015CnRzsZ','includes','request','resolve','../../old/util','../cmd.install/config','then','exit','token','1113344AdmFBM','116080LDpLHf','3421RZNeqD','yarn','【Error】:初始化失败,','3lRAqlo','log','compressing','pipe','stdout','安装完成,祝您愉快编码!','close','DeleteDirAllFile','createWriteStream','jjb-cmd\x20install.app\x20','createInterface','uncompress','readline','5528488GpIvya','forEach','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','projectId','/repository/archive.zip?private_token=','exports','&ref=master','mkdirSync','522776xMybCf','6958458DFcOpD','/unzip/','readdirSync','1508484ukIsDN','不存在。','-master-','安装中,请耐心等待...','trim','4gVsWwu','stdin','21HRvUca','zip'];a1_0x5689=function(){return _0x9ca63;};return a1_0x5689();}module[a1_0x1f7c20(0xab)]=_0x1e853c=>{const _0x5ec90b=a1_0x1f7c20,_0x12e10f=path[_0x5ec90b(0xbf)]('./'),_0x2f2f91=CLOUD_PROJECT[_0x1e853c]||undefined;if(_0x2f2f91){const _0x44dc30=os['tmpdir'](),_0xdec6e3=_0x44dc30+'/'+GIT_TEMP_DIR+'/'+_0x1e853c+'.zip',_0x218253=_0x44dc30+'/'+GIT_TEMP_DIR+_0x5ec90b(0xb0);utils[_0x5ec90b(0xd1)](_0x44dc30+'/'+GIT_TEMP_DIR,()=>{const _0x415bf8=_0x5ec90b;fs['mkdirSync'](_0x44dc30+'/'+GIT_TEMP_DIR);let _0x4074e2=fs[_0x415bf8(0xd2)](_0xdec6e3);request(GIT_HOST+'/api/v4/projects/'+_0x2f2f91[_0x415bf8(0xa9)]+_0x415bf8(0xaa)+_0x2f2f91[_0x415bf8(0xc4)]+_0x415bf8(0xac))[_0x415bf8(0xcd)](_0x4074e2)['on'](_0x415bf8(0xd0),()=>{const _0x18a854=_0x415bf8;fs[_0x18a854(0xad)](_0x218253),compressing[_0x18a854(0xba)][_0x18a854(0xd5)](_0xdec6e3,_0x218253)[_0x18a854(0xc2)](()=>{setTimeout(()=>{const _0x4b73b0=a1_0x565d;fs[_0x4b73b0(0xb1)](_0x218253)[_0x4b73b0(0xd8)](_0x4bd1d3=>{const _0x1f706a=_0x4b73b0;_0x4bd1d3['indexOf'](_0x1f706a(0xb4))!==-0x1&&utils['CopyFolder'](_0x218253+_0x4bd1d3,_0x12e10f,()=>{const _0x5ddd8b=_0x1f706a;io[_0x5ddd8b(0xbb)]('初始化完成?请选择安装方式![yarn/npm]:',function(_0x33b445){const _0x4f45b2=_0x5ddd8b;[_0x4f45b2(0xc8),'npm'][_0x4f45b2(0xbd)](_0x33b445[_0x4f45b2(0xb6)]())?(console[_0x4f45b2(0xcb)](_0x4f45b2(0xb5)),child_process['execSync'](_0x4f45b2(0xd3)+_0x33b445[_0x4f45b2(0xb6)](),{'cwd':_0x12e10f}),console[_0x4f45b2(0xcb)](_0x4f45b2(0xcf)),process[_0x4f45b2(0xc3)](0x0)):(console[_0x4f45b2(0xcb)](_0x4f45b2(0xd9)),process['exit'](0x0));});});});},0x7d0);});});});}else console[_0x5ec90b(0xcb)](_0x5ec90b(0xc9)+_0x1e853c+_0x5ec90b(0xb3));};
1
+ function a1_0x484e(){const _0x5ca4e0=['tmpdir','.zip','exit','forEach','path','-master-','log','1468696xASXEu','then','初始化完成?请选择安装方式![yarn/npm]:','exports','../cmd.install/config','6565vpYsFv','247894sWQzUB','21wYtluY','npm','readdirSync','93980XMZDaI','24bHAvpz','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','安装完成,祝您愉快编码!','zip','createWriteStream','child_process','yarn','indexOf','&ref=master','trim','6OsgPlf','createInterface','5428104EuBcGv','close','144pozroM','stdin','mkdirSync','72356RQcPZn','安装中,请耐心等待...','/api/v4/projects/','87432SmxUZj','execSync','token'];a1_0x484e=function(){return _0x5ca4e0;};return a1_0x484e();}const a1_0x16f682=a1_0x1607;function a1_0x1607(_0x5bd05f,_0x1b3684){const _0x484ecf=a1_0x484e();return a1_0x1607=function(_0x160745,_0x4809c2){_0x160745=_0x160745-0x117;let _0x506949=_0x484ecf[_0x160745];return _0x506949;},a1_0x1607(_0x5bd05f,_0x1b3684);}(function(_0x442992,_0x4cd523){const _0x2d8a28=a1_0x1607,_0x5739a8=_0x442992();while(!![]){try{const _0x115f33=-parseInt(_0x2d8a28(0x12d))/0x1+parseInt(_0x2d8a28(0x117))/0x2*(parseInt(_0x2d8a28(0x126))/0x3)+-parseInt(_0x2d8a28(0x11c))/0x4*(-parseInt(_0x2d8a28(0x13f))/0x5)+-parseInt(_0x2d8a28(0x130))/0x6*(parseInt(_0x2d8a28(0x118))/0x7)+-parseInt(_0x2d8a28(0x13a))/0x8+parseInt(_0x2d8a28(0x12a))/0x9*(-parseInt(_0x2d8a28(0x11b))/0xa)+parseInt(_0x2d8a28(0x128))/0xb;if(_0x115f33===_0x4cd523)break;else _0x5739a8['push'](_0x5739a8['shift']());}catch(_0x14e31d){_0x5739a8['push'](_0x5739a8['shift']());}}}(a1_0x484e,0x490c9));const fs=require('fs'),os=require('os'),path=require(a1_0x16f682(0x137)),request=require('request'),utils=require('../../old/util'),compressing=require('compressing'),readline=require('readline'),io=readline[a1_0x16f682(0x127)]({'input':process[a1_0x16f682(0x12b)],'output':process['stdout']}),child_process=require(a1_0x16f682(0x121)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x16f682(0x13e));module[a1_0x16f682(0x13d)]=_0x4c7795=>{const _0x1f3c14=a1_0x16f682,_0x33a387=path['resolve']('./'),_0x5ead92=CLOUD_PROJECT[_0x4c7795]||undefined;if(_0x5ead92){const _0x294a4c=os[_0x1f3c14(0x133)](),_0xc9f60a=_0x294a4c+'/'+GIT_TEMP_DIR+'/'+_0x4c7795+_0x1f3c14(0x134),_0x4957a4=_0x294a4c+'/'+GIT_TEMP_DIR+'/unzip/';utils['DeleteDirAllFile'](_0x294a4c+'/'+GIT_TEMP_DIR,()=>{const _0x5aa81c=_0x1f3c14;fs[_0x5aa81c(0x12c)](_0x294a4c+'/'+GIT_TEMP_DIR);let _0x2cb704=fs[_0x5aa81c(0x120)](_0xc9f60a);request(GIT_HOST+_0x5aa81c(0x12f)+_0x5ead92['projectId']+'/repository/archive.zip?private_token='+_0x5ead92[_0x5aa81c(0x132)]+_0x5aa81c(0x124))['pipe'](_0x2cb704)['on'](_0x5aa81c(0x129),()=>{const _0x47c3ea=_0x5aa81c;fs[_0x47c3ea(0x12c)](_0x4957a4),compressing[_0x47c3ea(0x11f)]['uncompress'](_0xc9f60a,_0x4957a4)[_0x47c3ea(0x13b)](()=>{setTimeout(()=>{const _0x3d7014=a1_0x1607;fs[_0x3d7014(0x11a)](_0x4957a4)[_0x3d7014(0x136)](_0x3ed191=>{const _0x2e2b86=_0x3d7014;_0x3ed191[_0x2e2b86(0x123)](_0x2e2b86(0x138))!==-0x1&&utils['CopyFolder'](_0x4957a4+_0x3ed191,_0x33a387,()=>{const _0xa09e93=_0x2e2b86;io['question'](_0xa09e93(0x13c),function(_0x1328d3){const _0x2c6331=_0xa09e93;[_0x2c6331(0x122),_0x2c6331(0x119)]['includes'](_0x1328d3[_0x2c6331(0x125)]())?(console['log'](_0x2c6331(0x12e)),child_process[_0x2c6331(0x131)]('jjb-cmd\x20install.app\x20'+_0x1328d3[_0x2c6331(0x125)](),{'cwd':_0x33a387}),console[_0x2c6331(0x139)](_0x2c6331(0x11e)),process['exit'](0x0)):(console[_0x2c6331(0x139)](_0x2c6331(0x11d)),process[_0x2c6331(0x135)](0x0));});});});},0x7d0);});});});}else console[_0x1f3c14(0x139)]('【Error】:初始化失败,'+_0x4c7795+'不存在。');};
@@ -1 +1 @@
1
- const a2_0x5080d0=a2_0x10df;function a2_0x57ee(){const _0x51ba2e=['403134bBkjAR','tmpdir','3133042qBCDGl','7V-YUxhmh51Mdhgx4rq4','https://cdn.cqjjb.cn/jjb-cloud-config','906870WePBYg','1042181maeWxH','CLOUD_PROJECT','TEMPLATE_FOLDER','http://192.168.1.242:10985','GIT_JAVA_ENV_JSON','2548242bziHqG','20ndGbHF','G4HJRsHr9D7Ssmixegw2','40UDopXD','GIT_TEMP_DIR','prod','1YswYWt','jjb-assembly-','test','125934FMcEec','FT3pKzxpRynFkmddJ9Bs','jjb-assembly-java','8GergxM','ywPtT3xCG6b_vAxp6sTj','gPSit8aJsLVmNzuQ5Cy4','http://120.26.210.58:8088','dev','now','snBxJ2i5kYarGGcsojhY','GIT_TEMP_JAVA','d4wQ7dzEjYPsgVbKnYei','204069mxRRti'];a2_0x57ee=function(){return _0x51ba2e;};return a2_0x57ee();}(function(_0x18e039,_0x1e031b){const _0x22191f=a2_0x10df,_0x5d796a=_0x18e039();while(!![]){try{const _0x2124b1=-parseInt(_0x22191f(0xb3))/0x1*(-parseInt(_0x22191f(0xb6))/0x2)+parseInt(_0x22191f(0xc2))/0x3*(-parseInt(_0x22191f(0xae))/0x4)+-parseInt(_0x22191f(0xc8))/0x5+-parseInt(_0x22191f(0xc3))/0x6+-parseInt(_0x22191f(0xa8))/0x7+parseInt(_0x22191f(0xb9))/0x8*(-parseInt(_0x22191f(0xad))/0x9)+-parseInt(_0x22191f(0xb0))/0xa*(-parseInt(_0x22191f(0xc5))/0xb);if(_0x2124b1===_0x1e031b)break;else _0x5d796a['push'](_0x5d796a['shift']());}catch(_0x17aa2b){_0x5d796a['push'](_0x5d796a['shift']());}}}(a2_0x57ee,0x2c534));function a2_0x10df(_0x1b1e8a,_0x53444d){const _0x57eeb0=a2_0x57ee();return a2_0x10df=function(_0x10df06,_0x490939){_0x10df06=_0x10df06-0xa8;let _0x404898=_0x57eeb0[_0x10df06];return _0x404898;},a2_0x10df(_0x1b1e8a,_0x53444d);}const os=require('os');exports['CONFIG_FILE_HOST']=a2_0x5080d0(0xc7),exports['API_HOST']=a2_0x5080d0(0xbc),exports['GIT_HOST']=a2_0x5080d0(0xab),exports[a2_0x5080d0(0xb1)]=a2_0x5080d0(0xb4)+Date[a2_0x5080d0(0xbe)](),exports[a2_0x5080d0(0xc0)]=a2_0x5080d0(0xb8),exports[a2_0x5080d0(0xac)]={'development':a2_0x5080d0(0xbd),'production':a2_0x5080d0(0xb2),'test':a2_0x5080d0(0xb5)},exports[a2_0x5080d0(0xa9)]={'common':{'token':a2_0x5080d0(0xaf),'projectId':0x117},'react-admin-component':{'token':a2_0x5080d0(0xb7),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0x5080d0(0xbb),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x5080d0(0xc1),'projectId':0x153},'react-component':{'token':a2_0x5080d0(0xbf),'projectId':0x33f},'micro-app-ts':{'token':a2_0x5080d0(0xc6),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a2_0x5080d0(0xba),'projectId':0x33c}},exports[a2_0x5080d0(0xaa)]=os[a2_0x5080d0(0xc4)]()+'\x5c'+exports[a2_0x5080d0(0xb1)];
1
+ function a2_0x4240(_0x2c5f93,_0x25756a){const _0x1d35fc=a2_0x1d35();return a2_0x4240=function(_0x4240b7,_0x14369e){_0x4240b7=_0x4240b7-0xbf;let _0x56d6d3=_0x1d35fc[_0x4240b7];return _0x56d6d3;},a2_0x4240(_0x2c5f93,_0x25756a);}const a2_0x4fe3c4=a2_0x4240;(function(_0x57fd15,_0x436b19){const _0xfdc1d8=a2_0x4240,_0x27a107=_0x57fd15();while(!![]){try{const _0x5a26ba=parseInt(_0xfdc1d8(0xc9))/0x1*(-parseInt(_0xfdc1d8(0xc8))/0x2)+parseInt(_0xfdc1d8(0xc3))/0x3+-parseInt(_0xfdc1d8(0xd3))/0x4*(-parseInt(_0xfdc1d8(0xdb))/0x5)+-parseInt(_0xfdc1d8(0xc5))/0x6*(parseInt(_0xfdc1d8(0xd9))/0x7)+-parseInt(_0xfdc1d8(0xc1))/0x8+-parseInt(_0xfdc1d8(0xbf))/0x9+parseInt(_0xfdc1d8(0xda))/0xa;if(_0x5a26ba===_0x436b19)break;else _0x27a107['push'](_0x27a107['shift']());}catch(_0x4229cf){_0x27a107['push'](_0x27a107['shift']());}}}(a2_0x1d35,0x850ff));const os=require('os');function a2_0x1d35(){const _0x3e6b23=['dev','ywPtT3xCG6b_vAxp6sTj','CONFIG_FILE_HOST','7V-YUxhmh51Mdhgx4rq4','GIT_JAVA_ENV_JSON','tmpdir','TEMPLATE_FOLDER','1084QqsXiV','G4HJRsHr9D7Ssmixegw2','d4wQ7dzEjYPsgVbKnYei','CLOUD_PROJECT','test','e9njpBd1nS_LREN8GFpR','383509mVamYu','12206100mpIMTC','17730FJKrgq','hLqARY89CN6fUD3yg4NL','http://192.168.1.242:10985','GIT_TEMP_DIR','6124005VbwcIC','http://120.26.210.58:8088','6441448EJsxuT','GIT_TEMP_JAVA','2837508LsCuFH','FqNrmFAgrxasMrbbjvq9','72cwBKGe','https://cdn.cqjjb.cn/jjb-cloud-config','gPSit8aJsLVmNzuQ5Cy4','11122GJHAZk','79DwHmLU','snBxJ2i5kYarGGcsojhY','API_HOST'];a2_0x1d35=function(){return _0x3e6b23;};return a2_0x1d35();}exports[a2_0x4fe3c4(0xce)]=a2_0x4fe3c4(0xc6),exports[a2_0x4fe3c4(0xcb)]=a2_0x4fe3c4(0xc0),exports['GIT_HOST']=a2_0x4fe3c4(0xdd),exports[a2_0x4fe3c4(0xde)]='jjb-assembly-'+Date['now'](),exports[a2_0x4fe3c4(0xc2)]='jjb-assembly-java',exports[a2_0x4fe3c4(0xd0)]={'development':a2_0x4fe3c4(0xcc),'production':'prod','test':a2_0x4fe3c4(0xd7)},exports[a2_0x4fe3c4(0xd6)]={'common':{'token':a2_0x4fe3c4(0xd4),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x4fe3c4(0xdc),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x4fe3c4(0xd8),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x4fe3c4(0xc7),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x4fe3c4(0xd5),'projectId':0x153},'react-component':{'token':a2_0x4fe3c4(0xca),'projectId':0x33f},'micro-app-ts':{'token':a2_0x4fe3c4(0xcf),'projectId':0x33e},'micro-app':{'token':a2_0x4fe3c4(0xc4),'projectId':0x33d},'lib':{'token':a2_0x4fe3c4(0xcd),'projectId':0x33c}},exports[a2_0x4fe3c4(0xd2)]=os[a2_0x4fe3c4(0xd1)]()+'\x5c'+exports[a2_0x4fe3c4(0xde)];
@@ -1 +1 @@
1
- function a3_0x5cd0(_0x489140,_0x3cb2a6){const _0x22c3d8=a3_0x22c3();return a3_0x5cd0=function(_0x5cd0a8,_0x486c4a){_0x5cd0a8=_0x5cd0a8-0x17b;let _0xd3d683=_0x22c3d8[_0x5cd0a8];return _0xd3d683;},a3_0x5cd0(_0x489140,_0x3cb2a6);}function a3_0x22c3(){const _0x2fd126=['zip','58686EImnLK','replace','mkdirSync','length','.idea','name','8524910gncLlO','jjb-common-lib','77FzMljy','path','index.js','compressing','1.0.0','repository','Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','【Error】:安装失败,node_modules目录不存在。','【Error】:安装失败,src目录不存在。','./config','push','includes','7106360GYTuWZ','2EJuMyx','6VcemgE','log','1829865zOiTzu','./tools','resolve','uncompress','9sTpmGJ','.gitignore','compress','rmdirSync','readdirSync','importList','【jjb-cmd】:install命令执行完成,用时','unlinkSync','map','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','node_modules','join','package.json','filter','setting.json','forEach','src','exit','364114AFRfrR','now','installResources','30280074Anivuk','installTarget','1470124hganND','existsSync'];a3_0x22c3=function(){return _0x2fd126;};return a3_0x22c3();}const a3_0x5bb5a0=a3_0x5cd0;(function(_0x1f7c55,_0xed7b09){const _0x498934=a3_0x5cd0,_0x39eef4=_0x1f7c55();while(!![]){try{const _0x171f84=parseInt(_0x498934(0x198))/0x1*(parseInt(_0x498934(0x17b))/0x2)+parseInt(_0x498934(0x199))/0x3*(parseInt(_0x498934(0x180))/0x4)+parseInt(_0x498934(0x19b))/0x5+-parseInt(_0x498934(0x183))/0x6*(-parseInt(_0x498934(0x18b))/0x7)+parseInt(_0x498934(0x197))/0x8*(parseInt(_0x498934(0x19f))/0x9)+parseInt(_0x498934(0x189))/0xa+-parseInt(_0x498934(0x17e))/0xb;if(_0x171f84===_0xed7b09)break;else _0x39eef4['push'](_0x39eef4['shift']());}catch(_0x2eec32){_0x39eef4['push'](_0x39eef4['shift']());}}}(a3_0x22c3,0x88e98));const fs=require('fs'),path=require(a3_0x5bb5a0(0x18c)),request=require('request'),compressing=require(a3_0x5bb5a0(0x18e)),{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_0x5bb5a0(0x19c)),{TEMPLATE_FOLDER}=require(a3_0x5bb5a0(0x194)),start_time=Date[a3_0x5bb5a0(0x17c)]();module['exports']=()=>{const _0x12d9f2=a3_0x5bb5a0,_0x18f900=path[_0x12d9f2(0x19d)]('./'),_0x1e01dc=[_0x18f900,'src\x5c'][_0x12d9f2(0x1aa)]('\x5c'),_0x19b8e3=[_0x18f900,_0x12d9f2(0x1a9)]['join']('\x5c'),_0x834e9f=[_0x18f900,_0x12d9f2(0x1ab)][_0x12d9f2(0x1aa)]('\x5c');if(f_scan_jjb_config_json(_0x18f900)){const _0x42c338=f_scan_jjb_config_json_rules(_0x18f900);_0x42c338[_0x12d9f2(0x17f)]==='node_modules'?!fs[_0x12d9f2(0x181)](_0x19b8e3)?(console[_0x12d9f2(0x19a)](_0x12d9f2(0x192)),process[_0x12d9f2(0x1b0)](0x0)):console[_0x12d9f2(0x19a)](_0x12d9f2(0x1a8)):!fs[_0x12d9f2(0x181)](_0x1e01dc)&&(console['log'](_0x12d9f2(0x193)),process[_0x12d9f2(0x1b0)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x42c338[_0x12d9f2(0x17d)])[_0x12d9f2(0x1a7)](_0x29a1bc=>{const _0x3243b0=_0x12d9f2,_0x4a728f=fs['createWriteStream'](_0x29a1bc[_0x3243b0(0x18c)]);request(_0x29a1bc[_0x3243b0(0x190)])['pipe'](_0x4a728f)['on']('close',()=>{const _0x1c3610=_0x3243b0;fs[_0x1c3610(0x185)](_0x29a1bc[_0x1c3610(0x1a1)]),compressing[_0x1c3610(0x182)][_0x1c3610(0x19e)](_0x29a1bc['path'],_0x29a1bc[_0x1c3610(0x1a1)]);});});const _0x3be42d=setInterval(()=>{const _0x1e3957=_0x12d9f2,_0x5f4654=fs[_0x1e3957(0x1a3)](TEMPLATE_FOLDER),_0x374c54=_0x5f4654['filter'](_0x4b773b=>_0x42c338[_0x1e3957(0x17d)][_0x1e3957(0x1a7)](_0x1ec298=>_0x1ec298[_0x1e3957(0x188)]+'_zip')[_0x1e3957(0x196)](_0x4b773b));if(_0x374c54['length']===_0x42c338['installResources'][_0x1e3957(0x186)]){clearInterval(_0x3be42d);const _0x46ef87=[];_0x374c54['forEach'](_0x382762=>{const _0x540b22=_0x1e3957,_0x3f5cf4=[TEMPLATE_FOLDER,_0x382762][_0x540b22(0x1aa)]('\x5c');fs[_0x540b22(0x1a3)](_0x3f5cf4)[_0x540b22(0x1ae)](_0x5cbb92=>_0x46ef87[_0x540b22(0x195)]({'name':_0x382762,'path':[_0x3f5cf4,_0x5cbb92]['join']('\x5c'),'pure_name':_0x382762[_0x540b22(0x184)](/_zip$/,''),'import_list':_0x42c338['installResources']['find'](_0x37876d=>_0x37876d['name']+'_zip'===_0x382762)[_0x540b22(0x1a4)]}));}),_0x46ef87[_0x1e3957(0x1ae)](_0x5264c9=>{const _0x38978f=_0x1e3957,_0x2d0adf=_0x5264c9['pure_name'],_0x3de1f0=_0x5264c9['import_list'],_0x3350b1=[_0x5264c9[_0x38978f(0x18c)],_0x38978f(0x187)]['join']('//'),_0x4dc6ea=[_0x5264c9[_0x38978f(0x18c)],_0x38978f(0x1a0)]['join']('//');fs[_0x38978f(0x181)](_0x3350b1)&&(f_rm_rf(_0x3350b1),fs[_0x38978f(0x1a2)](_0x3350b1));fs[_0x38978f(0x181)](_0x4dc6ea)&&fs[_0x38978f(0x1a6)](_0x4dc6ea);_0x3de1f0[_0x38978f(0x186)]&&fs[_0x38978f(0x1a3)](_0x5264c9['path'])[_0x38978f(0x1ac)](_0x2de7ce=>!_0x3de1f0['includes'](_0x2de7ce)&&_0x2de7ce!==_0x38978f(0x18d)&&_0x2de7ce!==_0x38978f(0x1ad))['forEach'](_0x2a1964=>{const _0x16ded2=_0x38978f,_0x1ee068=_0x5264c9[_0x16ded2(0x18c)]+'\x5c'+_0x2a1964;f_rm_rf(_0x1ee068),fs[_0x16ded2(0x1a2)](_0x1ee068);});if(_0x42c338[_0x38978f(0x17f)]===_0x38978f(0x1a9)){const _0x6b07e0=_0x2d0adf;fs[_0x38978f(0x181)](_0x19b8e3+'\x5c'+_0x6b07e0)?f_rm_rf(_0x19b8e3+'\x5c'+_0x6b07e0):fs['mkdirSync'](_0x19b8e3+'\x5c'+_0x6b07e0),_0x6b07e0!==_0x38978f(0x18a)?(f_file_copy(_0x5264c9['path'],_0x19b8e3+'\x5c'+_0x6b07e0),f_create_package_json(_0x19b8e3+'\x5c'+_0x6b07e0,_0x6b07e0,_0x38978f(0x18f))):f_file_copy(_0x5264c9['path']+'\x5ctypes',_0x19b8e3+'\x5c'+_0x6b07e0),f_update_project_package_json(_0x834e9f,_0x6b07e0,_0x38978f(0x18f));}else _0x42c338['installTarget']===_0x38978f(0x1af)&&(fs['existsSync'](_0x1e01dc+_0x2d0adf)?f_rm_rf(_0x1e01dc+_0x2d0adf):fs['mkdirSync'](_0x1e01dc+_0x2d0adf),f_file_copy(_0x5264c9[_0x38978f(0x18c)],_0x1e01dc+_0x2d0adf));}),setTimeout(()=>{const _0x1e6763=_0x1e3957;f_rm_rf(TEMPLATE_FOLDER),fs[_0x1e6763(0x1a2)](TEMPLATE_FOLDER);const _0x3f8c75=Date['now']();console[_0x1e6763(0x19a)](_0x1e6763(0x1a5)+(_0x3f8c75-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x12d9f2(0x19a)](_0x12d9f2(0x191));};
1
+ const a3_0x456e2e=a3_0x2377;(function(_0x16f037,_0x3dbb51){const _0x527186=a3_0x2377,_0x13e116=_0x16f037();while(!![]){try{const _0x547a2e=parseInt(_0x527186(0xef))/0x1+-parseInt(_0x527186(0xee))/0x2*(-parseInt(_0x527186(0xfe))/0x3)+-parseInt(_0x527186(0xf6))/0x4+parseInt(_0x527186(0x100))/0x5+parseInt(_0x527186(0xec))/0x6+-parseInt(_0x527186(0xe3))/0x7*(parseInt(_0x527186(0xe1))/0x8)+-parseInt(_0x527186(0xe4))/0x9;if(_0x547a2e===_0x3dbb51)break;else _0x13e116['push'](_0x13e116['shift']());}catch(_0x85c02e){_0x13e116['push'](_0x13e116['shift']());}}}(a3_0x3a6f,0xd8525));function a3_0x3a6f(){const _0x1deaff=['includes','filter','exit','./config','createWriteStream','【Error】:安装失败,node_modules目录不存在。','2864HzeSEO','importList','9254LDIdGt','37425168DKoOwt','node_modules','【jjb-cmd】:install命令执行完成,用时','readdirSync','src','compress','push','unlinkSync','9590940vRflzZ','src\x5c','3144598RABziA','787544ztUUmP','mkdirSync','index.js','installResources','uncompress','pure_name','installTarget','663124zUuZzi','rmdirSync','length','jjb-common-lib','existsSync','replace','package.json','log','3vBMqms','name','8625645hfRRep','.idea','join','path','pipe','map','close','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','resolve','forEach','_zip','now'];a3_0x3a6f=function(){return _0x1deaff;};return a3_0x3a6f();}function a3_0x2377(_0x4b8963,_0x2986ff){const _0x3a6f78=a3_0x3a6f();return a3_0x2377=function(_0x23777d,_0x4f807f){_0x23777d=_0x23777d-0xdc;let _0x5d2e4c=_0x3a6f78[_0x23777d];return _0x5d2e4c;},a3_0x2377(_0x4b8963,_0x2986ff);}const fs=require('fs'),path=require(a3_0x456e2e(0x103)),request=require('request'),compressing=require('compressing'),{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_0x456e2e(0xde)),start_time=Date[a3_0x456e2e(0x10b)]();module['exports']=()=>{const _0x5279e1=a3_0x456e2e,_0x1ae174=path[_0x5279e1(0x108)]('./'),_0x15b916=[_0x1ae174,_0x5279e1(0xed)][_0x5279e1(0x102)]('\x5c'),_0xddd1e2=[_0x1ae174,_0x5279e1(0xe5)]['join']('\x5c'),_0x3d4368=[_0x1ae174,_0x5279e1(0xfc)]['join']('\x5c');if(f_scan_jjb_config_json(_0x1ae174)){const _0x16055d=f_scan_jjb_config_json_rules(_0x1ae174);_0x16055d['installTarget']===_0x5279e1(0xe5)?!fs[_0x5279e1(0xfa)](_0xddd1e2)?(console[_0x5279e1(0xfd)](_0x5279e1(0xe0)),process[_0x5279e1(0xdd)](0x0)):console[_0x5279e1(0xfd)](_0x5279e1(0x107)):!fs[_0x5279e1(0xfa)](_0x15b916)&&(console['log']('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x5279e1(0xf0)](TEMPLATE_FOLDER),f_pull_git_repository(_0x16055d[_0x5279e1(0xf2)])['map'](_0x3c89e1=>{const _0x18f970=_0x5279e1,_0x1506ed=fs[_0x18f970(0xdf)](_0x3c89e1['path']);request(_0x3c89e1['repository'])[_0x18f970(0x104)](_0x1506ed)['on'](_0x18f970(0x106),()=>{const _0x48f88e=_0x18f970;fs['mkdirSync'](_0x3c89e1[_0x48f88e(0xe9)]),compressing['zip'][_0x48f88e(0xf3)](_0x3c89e1[_0x48f88e(0x103)],_0x3c89e1[_0x48f88e(0xe9)]);});});const _0x1b0d4b=setInterval(()=>{const _0x1928c0=_0x5279e1,_0x57e905=fs[_0x1928c0(0xe7)](TEMPLATE_FOLDER),_0x4f17f2=_0x57e905[_0x1928c0(0xdc)](_0x135c72=>_0x16055d[_0x1928c0(0xf2)][_0x1928c0(0x105)](_0x277692=>_0x277692[_0x1928c0(0xff)]+_0x1928c0(0x10a))[_0x1928c0(0x10c)](_0x135c72));if(_0x4f17f2[_0x1928c0(0xf8)]===_0x16055d[_0x1928c0(0xf2)][_0x1928c0(0xf8)]){clearInterval(_0x1b0d4b);const _0x370c6c=[];_0x4f17f2[_0x1928c0(0x109)](_0x80c248=>{const _0x12fed1=_0x1928c0,_0x3f3208=[TEMPLATE_FOLDER,_0x80c248]['join']('\x5c');fs['readdirSync'](_0x3f3208)[_0x12fed1(0x109)](_0xdd426b=>_0x370c6c[_0x12fed1(0xea)]({'name':_0x80c248,'path':[_0x3f3208,_0xdd426b][_0x12fed1(0x102)]('\x5c'),'pure_name':_0x80c248[_0x12fed1(0xfb)](/_zip$/,''),'import_list':_0x16055d[_0x12fed1(0xf2)]['find'](_0x30e347=>_0x30e347['name']+'_zip'===_0x80c248)[_0x12fed1(0xe2)]}));}),_0x370c6c[_0x1928c0(0x109)](_0x460f32=>{const _0x4de315=_0x1928c0,_0x27ba4c=_0x460f32[_0x4de315(0xf4)],_0x18ebb6=_0x460f32['import_list'],_0x4cab60=[_0x460f32[_0x4de315(0x103)],_0x4de315(0x101)][_0x4de315(0x102)]('//'),_0x3a2477=[_0x460f32[_0x4de315(0x103)],'.gitignore']['join']('//');fs[_0x4de315(0xfa)](_0x4cab60)&&(f_rm_rf(_0x4cab60),fs['rmdirSync'](_0x4cab60));fs[_0x4de315(0xfa)](_0x3a2477)&&fs[_0x4de315(0xeb)](_0x3a2477);_0x18ebb6[_0x4de315(0xf8)]&&fs[_0x4de315(0xe7)](_0x460f32[_0x4de315(0x103)])['filter'](_0x2e10cf=>!_0x18ebb6[_0x4de315(0x10c)](_0x2e10cf)&&_0x2e10cf!==_0x4de315(0xf1)&&_0x2e10cf!=='setting.json')[_0x4de315(0x109)](_0x48d155=>{const _0x6a5e82=_0x4de315,_0x3ccace=_0x460f32[_0x6a5e82(0x103)]+'\x5c'+_0x48d155;f_rm_rf(_0x3ccace),fs[_0x6a5e82(0xf7)](_0x3ccace);});if(_0x16055d[_0x4de315(0xf5)]===_0x4de315(0xe5)){const _0x210d95=_0x27ba4c;fs['existsSync'](_0xddd1e2+'\x5c'+_0x210d95)?f_rm_rf(_0xddd1e2+'\x5c'+_0x210d95):fs[_0x4de315(0xf0)](_0xddd1e2+'\x5c'+_0x210d95),_0x210d95!==_0x4de315(0xf9)?(f_file_copy(_0x460f32[_0x4de315(0x103)],_0xddd1e2+'\x5c'+_0x210d95),f_create_package_json(_0xddd1e2+'\x5c'+_0x210d95,_0x210d95,'1.0.0')):f_file_copy(_0x460f32[_0x4de315(0x103)]+'\x5ctypes',_0xddd1e2+'\x5c'+_0x210d95),f_update_project_package_json(_0x3d4368,_0x210d95,'1.0.0');}else _0x16055d[_0x4de315(0xf5)]===_0x4de315(0xe8)&&(fs[_0x4de315(0xfa)](_0x15b916+_0x27ba4c)?f_rm_rf(_0x15b916+_0x27ba4c):fs[_0x4de315(0xf0)](_0x15b916+_0x27ba4c),f_file_copy(_0x460f32[_0x4de315(0x103)],_0x15b916+_0x27ba4c));}),setTimeout(()=>{const _0x74b508=_0x1928c0;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x83ddb8=Date[_0x74b508(0x10b)]();console[_0x74b508(0xfd)](_0x74b508(0xe6)+(_0x83ddb8-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5279e1(0xfd)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -1 +1 @@
1
- const a4_0x512a47=a4_0x1a76;(function(_0x18079e,_0x1a9cf1){const _0xf82acc=a4_0x1a76,_0xfb7e92=_0x18079e();while(!![]){try{const _0x1b81e5=parseInt(_0xf82acc(0x71))/0x1*(parseInt(_0xf82acc(0x93))/0x2)+-parseInt(_0xf82acc(0x8c))/0x3+parseInt(_0xf82acc(0xb1))/0x4+parseInt(_0xf82acc(0x87))/0x5+parseInt(_0xf82acc(0x6c))/0x6*(parseInt(_0xf82acc(0x6a))/0x7)+parseInt(_0xf82acc(0x9b))/0x8*(parseInt(_0xf82acc(0xa8))/0x9)+-parseInt(_0xf82acc(0x90))/0xa;if(_0x1b81e5===_0x1a9cf1)break;else _0xfb7e92['push'](_0xfb7e92['shift']());}catch(_0x381c2b){_0xfb7e92['push'](_0xfb7e92['shift']());}}}(a4_0x221a,0x2f268));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x512a47(0xa7));function a4_0x1a76(_0x441b00,_0xdd12e5){const _0x221acc=a4_0x221a();return a4_0x1a76=function(_0x1a7663,_0x2cd280){_0x1a7663=_0x1a7663-0x6a;let _0x3f9343=_0x221acc[_0x1a7663];return _0x3f9343;},a4_0x1a76(_0x441b00,_0xdd12e5);}function a4_0x221a(){const _0x323237=['filter','.zip','f_rm_rf','415809bLScAa','isDirectory','f_resolve_install_resources','\x5cjjb.config.json','5506770vhKLhi','log','【Error】:[jjb.config.json.projectType]类型是一个string。','21046tKEWeW','projectId','map','uniapp','【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>。','string','f_content_replace','jjb-common','40744DlOPjQ','f_file_copy','jjb-dva-runtime','writeFileSync','{\x22name\x22:\x22','stringify','spa','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','token','exit','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_update_project_package_json','./config','387GdrKes','multi','tmpdir','/api/v4/projects/','dependencies','f_create_package_json','react-admin-component','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','jjb-common-lib','541088MsbRlu','&ref=master','micro-spa','parse','\x22,\x22main\x22:\x20\x22index.js\x22}','14iAPYZF','/repository/archive.zip?private_token=','812346grHOJg','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_scan_jjb_config_json','_zip','push','17MfTQOg','rmdirSync','isArray','unlinkSync','toString','name','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','installTarget','existsSync','\x5cpackage.json','mkdirSync','installResources','readFileSync','includes','jjb-common-decorator','forEach','statSync','replace','projectType','length','\x22,\x22version\x22:\x22','392320RyzHvA','【Error】:[jjb.config.json.installResources]无资源。'];a4_0x221a=function(){return _0x323237;};return a4_0x221a();}exports[a4_0x512a47(0x8b)]=function(_0x2f62e1){const _0x55db3a=a4_0x512a47;if(fs[_0x55db3a(0x7a)](_0x2f62e1)){const _0x275775=fs['readdirSync'](_0x2f62e1);for(let _0x5e77a5=0x0;_0x5e77a5<_0x275775[_0x55db3a(0x85)];_0x5e77a5++){const _0x3576e1=_0x275775[_0x5e77a5],_0x506fa0=_0x2f62e1+'/'+_0x3576e1;fs[_0x55db3a(0x82)](_0x506fa0)[_0x55db3a(0x8d)]()?(exports[_0x55db3a(0x8b)](_0x506fa0),fs[_0x55db3a(0x72)](_0x506fa0)):fs[_0x55db3a(0x74)](_0x506fa0);}}},exports['f_pull_git_repository']=function(_0x32eddc=[]){const _0x3c182b=a4_0x512a47;return _0x32eddc[_0x3c182b(0x95)](_0x59c528=>{const _0x13c94f=_0x3c182b,_0x570b1c=CLOUD_PROJECT[_0x59c528[_0x13c94f(0x76)]]||undefined,_0x55710b=os[_0x13c94f(0xaa)]();return{'path':_0x55710b+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x59c528['name']+_0x13c94f(0x8a),'compress':_0x55710b+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x59c528[_0x13c94f(0x76)]+_0x13c94f(0x6f),'repository':GIT_HOST+_0x13c94f(0xab)+_0x570b1c[_0x13c94f(0x94)]+_0x13c94f(0x6b)+_0x570b1c[_0x13c94f(0xa3)]+_0x13c94f(0xb2)};});},exports[a4_0x512a47(0x6e)]=function(_0x573648){const _0x5ec6bf=a4_0x512a47;return fs[_0x5ec6bf(0x7a)](_0x573648+_0x5ec6bf(0x8f));},exports['f_scan_jjb_config_json_rules']=function(_0x3f62e3){const _0x1ebe4d=a4_0x512a47;let _0x4fcd57={};try{_0x4fcd57=JSON[_0x1ebe4d(0xb4)](fs['readFileSync'](_0x3f62e3+_0x1ebe4d(0x8f))[_0x1ebe4d(0x75)]());}catch(_0x5a6e10){console[_0x1ebe4d(0x91)](_0x1ebe4d(0xaf)),process[_0x1ebe4d(0xa4)](0x0);}!(_0x1ebe4d(0x84)in _0x4fcd57)&&(console[_0x1ebe4d(0x91)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x1ebe4d(0xa4)](0x0));!(_0x1ebe4d(0x79)in _0x4fcd57)&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0xa5)),process[_0x1ebe4d(0xa4)](0x0));!(_0x1ebe4d(0x7d)in _0x4fcd57)&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x77)),process[_0x1ebe4d(0xa4)](0x0));typeof _0x4fcd57[_0x1ebe4d(0x84)]!=='string'&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x92)),process[_0x1ebe4d(0xa4)](0x0));![_0x1ebe4d(0xa9),_0x1ebe4d(0xa1),_0x1ebe4d(0x96),_0x1ebe4d(0xb3)]['includes'](_0x4fcd57[_0x1ebe4d(0x84)])&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0xa2)),process[_0x1ebe4d(0xa4)](0x0));typeof _0x4fcd57[_0x1ebe4d(0x79)]!==_0x1ebe4d(0x98)&&(console[_0x1ebe4d(0x91)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x1ebe4d(0xa4)](0x0));!['node_modules','src']['includes'](_0x4fcd57['installTarget'])&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x78)),process[_0x1ebe4d(0xa4)](0x0));!Array[_0x1ebe4d(0x73)](_0x4fcd57[_0x1ebe4d(0x7d)])&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x6d)),process[_0x1ebe4d(0xa4)](0x0));_0x4fcd57[_0x1ebe4d(0x7d)]['length']===0x0&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x88)),process['exit'](0x0));const _0x5daa58=exports['f_resolve_install_resources'](_0x4fcd57['installResources']);return _0x5daa58[_0x1ebe4d(0x95)](_0x276fe2=>_0x276fe2[_0x1ebe4d(0x76)])[_0x1ebe4d(0x89)](_0x16eb21=>![_0x1ebe4d(0x9a),_0x1ebe4d(0x9d),_0x1ebe4d(0xb0),_0x1ebe4d(0x80),_0x1ebe4d(0xae),'vue-unisass-component'][_0x1ebe4d(0x7f)](_0x16eb21))['length']!==0x0&&(console[_0x1ebe4d(0x91)](_0x1ebe4d(0x97)),process[_0x1ebe4d(0xa4)](0x0)),_0x4fcd57['installResources']=_0x5daa58,_0x4fcd57;},exports[a4_0x512a47(0xad)]=function(_0x1ed74f,_0x473f43,_0x4b6814){const _0x1dcce4=a4_0x512a47;fs[_0x1dcce4(0x9e)](_0x1ed74f+_0x1dcce4(0x7b),_0x1dcce4(0x9f)+_0x473f43+_0x1dcce4(0x86)+_0x4b6814+_0x1dcce4(0xb5));},exports[a4_0x512a47(0x8e)]=function(_0x3954e8=[]){const _0x3c2c90=a4_0x512a47,_0x10d0d0=[];return Array['isArray'](_0x3954e8)&&_0x3954e8[_0x3c2c90(0x81)](_0x407e5d=>{const _0x44936d=_0x3c2c90;if(Array[_0x44936d(0x73)](_0x407e5d)){const [_0x1eb357,_0x464d97=[]]=_0x407e5d;_0x10d0d0['push']({'name':_0x1eb357,'importList':_0x464d97});}else _0x10d0d0[_0x44936d(0x70)]({'name':_0x407e5d,'importList':[]});}),_0x10d0d0;},exports[a4_0x512a47(0xa6)]=function(_0x3d4e9d,_0xf79405,_0x4e8819){const _0x2b803b=a4_0x512a47,_0x70d930=JSON['parse'](fs[_0x2b803b(0x7e)](_0x3d4e9d)['toString']());_0x70d930[_0x2b803b(0xac)][_0xf79405]=_0x4e8819,fs[_0x2b803b(0x9e)](_0x3d4e9d,JSON[_0x2b803b(0xa0)](_0x70d930,null,0x2));},exports[a4_0x512a47(0x9c)]=function(_0x52c49e,_0x4a12d5){const _0x5448a1=a4_0x512a47;fs['readdirSync'](_0x52c49e)[_0x5448a1(0x81)](_0x31907d=>{const _0x500d62=_0x5448a1,_0x2d98b1=_0x52c49e+'\x5c'+_0x31907d,_0x37e4ca=_0x4a12d5+'\x5c'+_0x31907d;fs[_0x500d62(0x82)](_0x2d98b1)[_0x500d62(0x8d)]()?(fs[_0x500d62(0x7c)](_0x37e4ca),exports[_0x500d62(0x9c)](_0x2d98b1,_0x37e4ca)):fs['writeFileSync'](_0x37e4ca,fs['readFileSync'](_0x2d98b1)[_0x500d62(0x75)]());});},exports[a4_0x512a47(0x99)]=function(_0x414788=[],_0x359275){const _0x5d7290=a4_0x512a47;_0x414788[_0x5d7290(0x81)](_0x18021b=>{const _0x2512fa=_0x5d7290,_0x429d3e=_0x359275+_0x18021b['path'];if(fs[_0x2512fa(0x7a)](_0x429d3e)){let _0x267c73=fs[_0x2512fa(0x7e)](_0x429d3e)[_0x2512fa(0x75)]();_0x18021b[_0x2512fa(0x83)][_0x2512fa(0x81)](_0x144718=>{const _0x4fc80e=_0x2512fa;_0x267c73=_0x267c73[_0x4fc80e(0x83)](_0x144718[0x0],_0x144718[0x1]);}),fs[_0x2512fa(0x9e)](_0x429d3e,_0x267c73);}});};
1
+ const a4_0x181768=a4_0x15df;(function(_0x587a40,_0x160315){const _0xd56c9=a4_0x15df,_0x367591=_0x587a40();while(!![]){try{const _0x34515e=parseInt(_0xd56c9(0xbd))/0x1+parseInt(_0xd56c9(0xd4))/0x2*(parseInt(_0xd56c9(0xfe))/0x3)+parseInt(_0xd56c9(0xd1))/0x4+-parseInt(_0xd56c9(0xe1))/0x5+parseInt(_0xd56c9(0xf7))/0x6+parseInt(_0xd56c9(0xd7))/0x7*(-parseInt(_0xd56c9(0xf9))/0x8)+-parseInt(_0xd56c9(0xe9))/0x9;if(_0x34515e===_0x160315)break;else _0x367591['push'](_0x367591['shift']());}catch(_0x4f81a1){_0x367591['push'](_0x367591['shift']());}}}(a4_0xe216,0xd5b3d));function a4_0x15df(_0x37dcb7,_0x119afa){const _0xe216f7=a4_0xe216();return a4_0x15df=function(_0x15dfd2,_0x4b26d5){_0x15dfd2=_0x15dfd2-0xb8;let _0x156fed=_0xe216f7[_0x15dfd2];return _0x156fed;},a4_0x15df(_0x37dcb7,_0x119afa);}function a4_0xe216(){const _0x4df448=['isDirectory','\x5cpackage.json','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-dva-runtime','push','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','f_create_package_json','installTarget','f_scan_jjb_config_json','1405940WFWPVw','installResources','f_content_replace','48010uYxeRx','【Error】:[jjb.config.json.projectType]类型是一个string','projectId','5521649rXfhnw','isArray','node_modules','readFileSync','\x5cjjb.config.json','rmdirSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','string','log','3655125HCqzFX','【Error】:[jjb.config.json.installResources]无资源。','jjb-common-lib','{\x22name\x22:\x22','f_rm_rf','f_file_copy','unlinkSync','f_update_project_package_json','1511046rtsQnW','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','_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>。','toString','&ref=master','includes','name','length','projectType','replace','forEach','/api/v4/projects/','350478neeXtl','map','16ddFNVb','.zip','path','f_resolve_install_resources','【Error】:[jjb.config.json.installTarget]类型是一个string。','177opOesB','existsSync','f_pull_git_repository','micro-spa','jjb-common-decorator','tmpdir','1525665QwBSor','multi','vue-unisass-component','jjb-common','filter','exit','./config','writeFileSync','/repository/archive.zip?private_token=','readdirSync','parse'];a4_0xe216=function(){return _0x4df448;};return a4_0xe216();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x181768(0xc3));exports[a4_0x181768(0xe5)]=function(_0x56acc1){const _0x51e23e=a4_0x181768;if(fs[_0x51e23e(0xb8)](_0x56acc1)){const _0x7cf748=fs[_0x51e23e(0xc6)](_0x56acc1);for(let _0x415161=0x0;_0x415161<_0x7cf748[_0x51e23e(0xf2)];_0x415161++){const _0x4f3e01=_0x7cf748[_0x415161],_0x382c8c=_0x56acc1+'/'+_0x4f3e01;fs['statSync'](_0x382c8c)[_0x51e23e(0xc8)]()?(exports[_0x51e23e(0xe5)](_0x382c8c),fs[_0x51e23e(0xdc)](_0x382c8c)):fs[_0x51e23e(0xe7)](_0x382c8c);}}},exports[a4_0x181768(0xb9)]=function(_0x30b8ac=[]){const _0x2914b5=a4_0x181768;return _0x30b8ac[_0x2914b5(0xf8)](_0x18dbf3=>{const _0xb085a1=_0x2914b5,_0x48da0d=CLOUD_PROJECT[_0x18dbf3[_0xb085a1(0xf1)]]||undefined,_0x84f746=os[_0xb085a1(0xbc)]();return{'path':_0x84f746+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x18dbf3[_0xb085a1(0xf1)]+_0xb085a1(0xfa),'compress':_0x84f746+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x18dbf3['name']+_0xb085a1(0xec),'repository':GIT_HOST+_0xb085a1(0xf6)+_0x48da0d[_0xb085a1(0xd6)]+_0xb085a1(0xc5)+_0x48da0d['token']+_0xb085a1(0xef)};});},exports[a4_0x181768(0xd0)]=function(_0x32a994){return fs['existsSync'](_0x32a994+'\x5cjjb.config.json');},exports['f_scan_jjb_config_json_rules']=function(_0x314cdf){const _0x580887=a4_0x181768;let _0x57fdb6={};try{_0x57fdb6=JSON[_0x580887(0xc7)](fs[_0x580887(0xda)](_0x314cdf+_0x580887(0xdb))[_0x580887(0xee)]());}catch(_0x4ac4ac){console['log'](_0x580887(0xeb)),process[_0x580887(0xc2)](0x0);}!(_0x580887(0xf3)in _0x57fdb6)&&(console['log']('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process['exit'](0x0));!(_0x580887(0xcf)in _0x57fdb6)&&(console[_0x580887(0xe0)](_0x580887(0xca)),process[_0x580887(0xc2)](0x0));!(_0x580887(0xd2)in _0x57fdb6)&&(console[_0x580887(0xe0)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x580887(0xc2)](0x0));typeof _0x57fdb6[_0x580887(0xf3)]!==_0x580887(0xdf)&&(console[_0x580887(0xe0)](_0x580887(0xd5)),process[_0x580887(0xc2)](0x0));![_0x580887(0xbe),'spa','uniapp',_0x580887(0xba)][_0x580887(0xf0)](_0x57fdb6[_0x580887(0xf3)])&&(console['log'](_0x580887(0xde)),process[_0x580887(0xc2)](0x0));typeof _0x57fdb6[_0x580887(0xcf)]!==_0x580887(0xdf)&&(console[_0x580887(0xe0)](_0x580887(0xfd)),process[_0x580887(0xc2)](0x0));![_0x580887(0xd9),'src'][_0x580887(0xf0)](_0x57fdb6[_0x580887(0xcf)])&&(console[_0x580887(0xe0)](_0x580887(0xcd)),process[_0x580887(0xc2)](0x0));!Array['isArray'](_0x57fdb6[_0x580887(0xd2)])&&(console[_0x580887(0xe0)](_0x580887(0xdd)),process['exit'](0x0));_0x57fdb6['installResources'][_0x580887(0xf2)]===0x0&&(console['log'](_0x580887(0xe2)),process[_0x580887(0xc2)](0x0));const _0x37f40f=exports[_0x580887(0xfc)](_0x57fdb6[_0x580887(0xd2)]);return _0x37f40f[_0x580887(0xf8)](_0x1bc0f8=>_0x1bc0f8[_0x580887(0xf1)])[_0x580887(0xc1)](_0x2c94fc=>![_0x580887(0xc0),_0x580887(0xcb),_0x580887(0xe3),_0x580887(0xbb),'react-admin-component',_0x580887(0xbf)]['includes'](_0x2c94fc))[_0x580887(0xf2)]!==0x0&&(console[_0x580887(0xe0)](_0x580887(0xed)),process[_0x580887(0xc2)](0x0)),_0x57fdb6[_0x580887(0xd2)]=_0x37f40f,_0x57fdb6;},exports[a4_0x181768(0xce)]=function(_0x2392c8,_0x316bb0,_0x255ae9){const _0x9fa9e0=a4_0x181768;fs['writeFileSync'](_0x2392c8+_0x9fa9e0(0xc9),_0x9fa9e0(0xe4)+_0x316bb0+'\x22,\x22version\x22:\x22'+_0x255ae9+_0x9fa9e0(0xea));},exports[a4_0x181768(0xfc)]=function(_0x1f1a60=[]){const _0x385cd9=a4_0x181768,_0x1a6328=[];return Array['isArray'](_0x1f1a60)&&_0x1f1a60[_0x385cd9(0xf5)](_0x84a52c=>{const _0x49be4c=_0x385cd9;if(Array[_0x49be4c(0xd8)](_0x84a52c)){const [_0x37086b,_0x146914=[]]=_0x84a52c;_0x1a6328[_0x49be4c(0xcc)]({'name':_0x37086b,'importList':_0x146914});}else _0x1a6328[_0x49be4c(0xcc)]({'name':_0x84a52c,'importList':[]});}),_0x1a6328;},exports[a4_0x181768(0xe8)]=function(_0x50572e,_0x3e4016,_0x12ef96){const _0x36e31f=a4_0x181768,_0x9f7231=JSON[_0x36e31f(0xc7)](fs[_0x36e31f(0xda)](_0x50572e)[_0x36e31f(0xee)]());_0x9f7231['dependencies'][_0x3e4016]=_0x12ef96,fs[_0x36e31f(0xc4)](_0x50572e,JSON['stringify'](_0x9f7231,null,0x2));},exports[a4_0x181768(0xe6)]=function(_0x5ef595,_0x4c6a6c){const _0x1b81ea=a4_0x181768;fs['readdirSync'](_0x5ef595)[_0x1b81ea(0xf5)](_0x269a5f=>{const _0x1c3496=_0x1b81ea,_0x63fcb4=_0x5ef595+'\x5c'+_0x269a5f,_0xba3c3d=_0x4c6a6c+'\x5c'+_0x269a5f;fs['statSync'](_0x63fcb4)[_0x1c3496(0xc8)]()?(fs['mkdirSync'](_0xba3c3d),exports[_0x1c3496(0xe6)](_0x63fcb4,_0xba3c3d)):fs[_0x1c3496(0xc4)](_0xba3c3d,fs[_0x1c3496(0xda)](_0x63fcb4)[_0x1c3496(0xee)]());});},exports[a4_0x181768(0xd3)]=function(_0x4d8a16=[],_0x1e20f6){const _0x4a80f2=a4_0x181768;_0x4d8a16[_0x4a80f2(0xf5)](_0x2d0d94=>{const _0x3a4ace=_0x4a80f2,_0x220b9e=_0x1e20f6+_0x2d0d94[_0x3a4ace(0xfb)];if(fs['existsSync'](_0x220b9e)){let _0x292445=fs[_0x3a4ace(0xda)](_0x220b9e)[_0x3a4ace(0xee)]();_0x2d0d94[_0x3a4ace(0xf4)][_0x3a4ace(0xf5)](_0x4fa96b=>{const _0x4ca0fd=_0x3a4ace;_0x292445=_0x292445[_0x4ca0fd(0xf4)](_0x4fa96b[0x0],_0x4fa96b[0x1]);}),fs[_0x3a4ace(0xc4)](_0x220b9e,_0x292445);}});};
@@ -1 +1 @@
1
- const a5_0xd4b39e=a5_0x48b9;(function(_0x2895c2,_0x35d91b){const _0x4b6c75=a5_0x48b9,_0x532ff8=_0x2895c2();while(!![]){try{const _0x16fe65=parseInt(_0x4b6c75(0x13c))/0x1*(-parseInt(_0x4b6c75(0x14c))/0x2)+-parseInt(_0x4b6c75(0x14f))/0x3+parseInt(_0x4b6c75(0x148))/0x4*(-parseInt(_0x4b6c75(0x139))/0x5)+-parseInt(_0x4b6c75(0x137))/0x6*(-parseInt(_0x4b6c75(0x14b))/0x7)+-parseInt(_0x4b6c75(0x141))/0x8*(parseInt(_0x4b6c75(0x13d))/0x9)+-parseInt(_0x4b6c75(0x14a))/0xa*(parseInt(_0x4b6c75(0x147))/0xb)+-parseInt(_0x4b6c75(0x146))/0xc*(-parseInt(_0x4b6c75(0x145))/0xd);if(_0x16fe65===_0x35d91b)break;else _0x532ff8['push'](_0x532ff8['shift']());}catch(_0x33dd54){_0x532ff8['push'](_0x532ff8['shift']());}}}(a5_0x4e12,0xd2d7c));const child_process=require('child_process'),path=require('path'),fs=require('fs');function a5_0x4e12(){const _0x100816=['39818WYkjBo','yarn','git\x20init','1792710tHEKdW','/.git','640884BsAPEe','install\x20husky\x20please\x20wait....','235VfdSwC','npx\x20husky\x20install','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','61wozFxh','9HIsGAp','log','git\x20init\x20please\x20wait....','exports','13419248FOEBXz','includes','npm','execSync','2515383jccBCJ','300ZnSsoJ','4358629gAehTO','91944nFGJDF','Finish!','20gBHLcK','91rYnciR'];a5_0x4e12=function(){return _0x100816;};return a5_0x4e12();}function a5_0x48b9(_0x207b51,_0x1a50b1){const _0x4e1275=a5_0x4e12();return a5_0x48b9=function(_0x48b9bf,_0x34a517){_0x48b9bf=_0x48b9bf-0x136;let _0x147d30=_0x4e1275[_0x48b9bf];return _0x147d30;},a5_0x48b9(_0x207b51,_0x1a50b1);}module[a5_0xd4b39e(0x140)]=_0x36c25d=>{const _0x368189=a5_0xd4b39e;![_0x368189(0x143),'yarn'][_0x368189(0x142)](_0x36c25d)&&(console[_0x368189(0x13e)](_0x368189(0x13b)),process['exit'](0x0));const _0x3f99f4=path['resolve']('./');console['log']('install\x20modules\x20please\x20wait....'),child_process[_0x368189(0x144)](_0x36c25d===_0x368189(0x14d)?_0x368189(0x14d):'npm\x20install',{'cwd':_0x3f99f4}),!fs['existsSync'](_0x3f99f4+_0x368189(0x136))&&(console['log'](_0x368189(0x13f)),child_process[_0x368189(0x144)](_0x368189(0x14e),{'cwd':_0x3f99f4})),console[_0x368189(0x13e)](_0x368189(0x138)),child_process['execSync'](_0x368189(0x13a),{'cwd':_0x3f99f4}),console['log'](_0x368189(0x149));};
1
+ const a5_0x48f1f9=a5_0x5434;(function(_0x47507f,_0x45cd31){const _0x3047c6=a5_0x5434,_0x5412c9=_0x47507f();while(!![]){try{const _0x3cfbd2=parseInt(_0x3047c6(0x1ac))/0x1*(parseInt(_0x3047c6(0x1b3))/0x2)+parseInt(_0x3047c6(0x1b6))/0x3*(parseInt(_0x3047c6(0x1c4))/0x4)+parseInt(_0x3047c6(0x1bc))/0x5+parseInt(_0x3047c6(0x1b8))/0x6*(-parseInt(_0x3047c6(0x1c1))/0x7)+parseInt(_0x3047c6(0x1b7))/0x8*(parseInt(_0x3047c6(0x1c5))/0x9)+-parseInt(_0x3047c6(0x1ad))/0xa+-parseInt(_0x3047c6(0x1bf))/0xb*(-parseInt(_0x3047c6(0x1bd))/0xc);if(_0x3cfbd2===_0x45cd31)break;else _0x5412c9['push'](_0x5412c9['shift']());}catch(_0x4434dd){_0x5412c9['push'](_0x5412c9['shift']());}}}(a5_0x2854,0xc6504));function a5_0x5434(_0x274da0,_0x447834){const _0x285468=a5_0x2854();return a5_0x5434=function(_0x5434ee,_0x3171d1){_0x5434ee=_0x5434ee-0x1aa;let _0x208789=_0x285468[_0x5434ee];return _0x208789;},a5_0x5434(_0x274da0,_0x447834);}const child_process=require(a5_0x48f1f9(0x1af)),path=require(a5_0x48f1f9(0x1c0)),fs=require('fs');function a5_0x2854(){const _0x501233=['resolve','13kOoMRq','9175570MiyiAU','git\x20init','child_process','install\x20modules\x20please\x20wait....','existsSync','includes','35026FGBqnn','execSync','npm\x20install','381TFHSMz','2823752tRBvdL','240LzSVBQ','npm','npx\x20husky\x20install','log','7335hXXzSB','11247168AvCMPL','Finish!','11runMJF','path','137956jnzufH','/.git','yarn','9224zPdZPr','27FvhoPh','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'];a5_0x2854=function(){return _0x501233;};return a5_0x2854();}module['exports']=_0x25e14a=>{const _0x5dc862=a5_0x48f1f9;![_0x5dc862(0x1b9),_0x5dc862(0x1c3)][_0x5dc862(0x1b2)](_0x25e14a)&&(console[_0x5dc862(0x1bb)](_0x5dc862(0x1aa)),process['exit'](0x0));const _0x2b56a8=path[_0x5dc862(0x1ab)]('./');console[_0x5dc862(0x1bb)](_0x5dc862(0x1b0)),child_process['execSync'](_0x25e14a===_0x5dc862(0x1c3)?_0x5dc862(0x1c3):_0x5dc862(0x1b5),{'cwd':_0x2b56a8}),!fs[_0x5dc862(0x1b1)](_0x2b56a8+_0x5dc862(0x1c2))&&(console[_0x5dc862(0x1bb)]('git\x20init\x20please\x20wait....'),child_process[_0x5dc862(0x1b4)](_0x5dc862(0x1ae),{'cwd':_0x2b56a8})),console[_0x5dc862(0x1bb)]('install\x20husky\x20please\x20wait....'),child_process['execSync'](_0x5dc862(0x1ba),{'cwd':_0x2b56a8}),console[_0x5dc862(0x1bb)](_0x5dc862(0x1be));};
@@ -1 +1 @@
1
- function a6_0x335d(_0x2a397c,_0x7a2996){const _0x7920d7=a6_0x7920();return a6_0x335d=function(_0x335dc5,_0x1ead40){_0x335dc5=_0x335dc5-0x167;let _0x3f77e6=_0x7920d7[_0x335dc5];return _0x3f77e6;},a6_0x335d(_0x2a397c,_0x7a2996);}const a6_0x95471b=a6_0x335d;function a6_0x7920(){const _0x175870=['package_content','parse','1247910bkoKyI','Please\x20wait,\x20build\x20...','component_config_content','resolve','post','readFileSync','7826706cqFgnt','axios','package_version','execSync','split','toString','question','data','stdin','child_process','1668956DQranN','【Error】:请必须包含README.md说明文件','\x5ccomponent.config.json','existsSync','\x5cREADME.md','1062184hzVpAb','1FSwQYe','join','515600VnJhMv','message','readme_content','arch','exit','push','hostname','log','84sSjdZL','stringify','../../../.auth','/api/file/publish','/api/auth','1665440XgSwAI','6IvQZEK','../../../package.json','platform','\x5cpackage.json','24088iDhAgV','exports','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','stdout','path','../cmd.install/config','no\x20message','catch'];a6_0x7920=function(){return _0x175870;};return a6_0x7920();}(function(_0x400b45,_0x40e67f){const _0x4fceb9=a6_0x335d,_0x1ed066=_0x400b45();while(!![]){try{const _0x1fbbc5=-parseInt(_0x4fceb9(0x16c))/0x1*(-parseInt(_0x4fceb9(0x19a))/0x2)+parseInt(_0x4fceb9(0x176))/0x3*(parseInt(_0x4fceb9(0x180))/0x4)+parseInt(_0x4fceb9(0x18a))/0x5*(parseInt(_0x4fceb9(0x17c))/0x6)+parseInt(_0x4fceb9(0x17b))/0x7+-parseInt(_0x4fceb9(0x16b))/0x8+-parseInt(_0x4fceb9(0x190))/0x9+-parseInt(_0x4fceb9(0x16e))/0xa;if(_0x1fbbc5===_0x40e67f)break;else _0x1ed066['push'](_0x1ed066['shift']());}catch(_0x16e783){_0x1ed066['push'](_0x1ed066['shift']());}}}(a6_0x7920,0x6a995));const path=require(a6_0x95471b(0x184)),fs=require('fs'),os=require('os'),axios=require(a6_0x95471b(0x191)),readline=require('readline'),io=readline['createInterface']({'input':process[a6_0x95471b(0x198)],'output':process[a6_0x95471b(0x183)]}),child_process=require(a6_0x95471b(0x199)),{API_HOST}=require(a6_0x95471b(0x185));module[a6_0x95471b(0x181)]=_0x354f21=>{const _0x161e21=a6_0x95471b,_0x4e7c46=path['join'](__dirname,_0x161e21(0x178));!fs[_0x161e21(0x169)](_0x4e7c46)&&(console[_0x161e21(0x175)]('【Error】:no\x20auth\x20login'),process['exit'](0x0));const [_0x5dd78d,_0x8f8fa7]=fs[_0x161e21(0x18f)](_0x4e7c46)[_0x161e21(0x195)]()[_0x161e21(0x194)]('/');axios[_0x161e21(0x18e)](API_HOST+_0x161e21(0x17a),{'username':_0x5dd78d,'password':_0x8f8fa7})['then'](_0x33b68b=>{const _0x273cd4=_0x161e21;if(_0x33b68b[_0x273cd4(0x197)]['status']){const _0x128d30=path[_0x273cd4(0x18d)]('./');console['log'](_0x273cd4(0x18b));fs[_0x273cd4(0x169)](_0x128d30+'/yarn.lock')?child_process[_0x273cd4(0x193)]('yarn\x20build:production',{'cwd':_0x128d30}):child_process[_0x273cd4(0x193)]('npm\x20run\x20build:production',{'cwd':_0x128d30});const _0x320138=_0x128d30+'\x5cdist\x5cindex.js',_0x5d16e8=_0x128d30+_0x273cd4(0x17f),_0x53bdca=_0x128d30+_0x273cd4(0x16a),_0x547e4a=_0x128d30+_0x273cd4(0x168),_0x19be37=[os[_0x273cd4(0x174)](),os[_0x273cd4(0x17e)](),os[_0x273cd4(0x171)](),new Date()[_0x273cd4(0x195)]()],_0x38a34c=JSON[_0x273cd4(0x189)](fs[_0x273cd4(0x18f)](path[_0x273cd4(0x16d)](__dirname,_0x273cd4(0x17d)))[_0x273cd4(0x195)]()),{version:_0x1c4945}=_0x38a34c,_0x386de2={'username':_0x5dd78d,'cmd_version':_0x1c4945,'hostname':os[_0x273cd4(0x174)](),'platform':os[_0x273cd4(0x17e)]()};if(fs[_0x273cd4(0x169)](_0x5d16e8)){if(fs[_0x273cd4(0x169)](_0x320138)){const _0x4820f6=JSON[_0x273cd4(0x189)](fs[_0x273cd4(0x18f)](_0x5d16e8)[_0x273cd4(0x195)]()),{name:_0xfe726e,version:_0x1490d4}=_0x4820f6;_0x19be37[_0x273cd4(0x173)](JSON[_0x273cd4(0x177)](_0x4820f6)),_0x386de2['package_name']=_0xfe726e,_0x386de2[_0x273cd4(0x192)]=_0x354f21?_0x354f21:_0x1490d4,_0x386de2[_0x273cd4(0x188)]=fs['readFileSync'](_0x320138)['toString'](),fs[_0x273cd4(0x169)](_0x53bdca)?_0x386de2[_0x273cd4(0x170)]=fs[_0x273cd4(0x18f)](_0x53bdca)[_0x273cd4(0x195)]():(console[_0x273cd4(0x175)](_0x273cd4(0x167)),process[_0x273cd4(0x172)](0x0)),fs[_0x273cd4(0x169)](_0x547e4a)&&(_0x386de2[_0x273cd4(0x18c)]=fs['readFileSync'](_0x547e4a)[_0x273cd4(0x195)]()),io[_0x273cd4(0x196)]('请输入此次提交信息,按Enter确认:',function(_0x53aff6){const _0x297e1a=_0x273cd4;_0x386de2[_0x297e1a(0x16f)]=_0x53aff6||_0x297e1a(0x186),axios[_0x297e1a(0x18e)](API_HOST+_0x297e1a(0x179),_0x386de2)['then'](_0x121270=>{const _0x544574=_0x297e1a;console[_0x544574(0x175)](_0x121270[_0x544574(0x197)][_0x544574(0x16f)]),process[_0x544574(0x172)](0x0);})[_0x297e1a(0x187)](_0x3c7661=>{const _0x2d22b2=_0x297e1a;console[_0x2d22b2(0x175)](_0x3c7661),console['log']('网络异常。'),process['exit'](0x0);});});}else console['log'](_0x273cd4(0x182)),process['exit'](0x0);}else console[_0x273cd4(0x175)]('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0x273cd4(0x172)](0x0);}else console['log']('Auth\x20Fail!');})[_0x161e21(0x187)](_0x5d0c99=>{const _0x4dd789=_0x161e21;console[_0x4dd789(0x175)](_0x5d0c99),console[_0x4dd789(0x175)]('Auth\x20NetWork\x20Fail!');});};
1
+ const a6_0x444c82=a6_0xa9c5;function a6_0xa9c5(_0x2bc5fa,_0x1043f6){const _0x56bd0a=a6_0x56bd();return a6_0xa9c5=function(_0xa9c579,_0x2a4e02){_0xa9c579=_0xa9c579-0x179;let _0x5b4c03=_0x56bd0a[_0xa9c579];return _0x5b4c03;},a6_0xa9c5(_0x2bc5fa,_0x1043f6);}(function(_0xddea55,_0x2e929e){const _0x39f8ea=a6_0xa9c5,_0x24f225=_0xddea55();while(!![]){try{const _0x1ccc3b=-parseInt(_0x39f8ea(0x17e))/0x1*(-parseInt(_0x39f8ea(0x18f))/0x2)+parseInt(_0x39f8ea(0x18e))/0x3+-parseInt(_0x39f8ea(0x1b3))/0x4+parseInt(_0x39f8ea(0x189))/0x5*(-parseInt(_0x39f8ea(0x19d))/0x6)+-parseInt(_0x39f8ea(0x1a1))/0x7+-parseInt(_0x39f8ea(0x183))/0x8*(parseInt(_0x39f8ea(0x194))/0x9)+parseInt(_0x39f8ea(0x1ac))/0xa*(parseInt(_0x39f8ea(0x1a5))/0xb);if(_0x1ccc3b===_0x2e929e)break;else _0x24f225['push'](_0x24f225['shift']());}catch(_0x1491ed){_0x24f225['push'](_0x24f225['shift']());}}}(a6_0x56bd,0x6ac1b));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a6_0x444c82(0x198)),readline=require('readline'),io=readline[a6_0x444c82(0x182)]({'input':process[a6_0x444c82(0x188)],'output':process[a6_0x444c82(0x185)]}),child_process=require(a6_0x444c82(0x184)),{API_HOST}=require(a6_0x444c82(0x17f));function a6_0x56bd(){const _0x33303f=['\x5cdist\x5cindex.js','hostname','exports','Please\x20wait,\x20build\x20...','\x5cpackage.json','\x5ccomponent.config.json','868404foRMDU','package_content','existsSync','post','readFileSync','execSync','2vxGofD','../cmd.install/config','readme_content','platform','createInterface','6632mqHFxd','child_process','stdout','yarn\x20build:production','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','stdin','45IOGuNU','网络异常。','package_version','../../../package.json','Auth\x20Fail!','1015689QhEEvh','448298xWjMQS','【Error】:请必须包含README.md说明文件','message','data','catch','8847rnsyrd','exit','../../../.auth','/api/auth','axios','join','npm\x20run\x20build:production','发布失败!根目录缺少‘package.json’文件,无法完成发布。','\x5cREADME.md','294678DQulMs','resolve','log','push','1848462KFBqRR','/api/file/publish','toString','status','11qQDULF','parse','Auth\x20NetWork\x20Fail!','then','question','【Error】:no\x20auth\x20login','/yarn.lock','13885050FFZwSf'];a6_0x56bd=function(){return _0x33303f;};return a6_0x56bd();}module[a6_0x444c82(0x1af)]=_0x44466f=>{const _0x19ac3d=a6_0x444c82,_0x51be96=path[_0x19ac3d(0x199)](__dirname,_0x19ac3d(0x196));!fs[_0x19ac3d(0x17a)](_0x51be96)&&(console[_0x19ac3d(0x19f)](_0x19ac3d(0x1aa)),process[_0x19ac3d(0x195)](0x0));const [_0x1a22d6,_0x5ddd7a]=fs[_0x19ac3d(0x17c)](_0x51be96)['toString']()['split']('/');axios[_0x19ac3d(0x17b)](API_HOST+_0x19ac3d(0x197),{'username':_0x1a22d6,'password':_0x5ddd7a})[_0x19ac3d(0x1a8)](_0x3010cd=>{const _0x2a38e4=_0x19ac3d;if(_0x3010cd[_0x2a38e4(0x192)][_0x2a38e4(0x1a4)]){const _0x16978b=path[_0x2a38e4(0x19e)]('./');console[_0x2a38e4(0x19f)](_0x2a38e4(0x1b0));fs[_0x2a38e4(0x17a)](_0x16978b+_0x2a38e4(0x1ab))?child_process[_0x2a38e4(0x17d)](_0x2a38e4(0x186),{'cwd':_0x16978b}):child_process['execSync'](_0x2a38e4(0x19a),{'cwd':_0x16978b});const _0x588d15=_0x16978b+_0x2a38e4(0x1ad),_0x22b6f6=_0x16978b+_0x2a38e4(0x1b1),_0x4c69c0=_0x16978b+_0x2a38e4(0x19c),_0x5e0d9b=_0x16978b+_0x2a38e4(0x1b2),_0x59609d=[os[_0x2a38e4(0x1ae)](),os[_0x2a38e4(0x181)](),os['arch'](),new Date()[_0x2a38e4(0x1a3)]()],_0x30afd0=JSON[_0x2a38e4(0x1a6)](fs[_0x2a38e4(0x17c)](path[_0x2a38e4(0x199)](__dirname,_0x2a38e4(0x18c)))[_0x2a38e4(0x1a3)]()),{version:_0x1d8208}=_0x30afd0,_0x2f01db={'username':_0x1a22d6,'cmd_version':_0x1d8208,'hostname':os['hostname'](),'platform':os['platform']()};if(fs['existsSync'](_0x22b6f6)){if(fs[_0x2a38e4(0x17a)](_0x588d15)){const _0x4a5378=JSON[_0x2a38e4(0x1a6)](fs[_0x2a38e4(0x17c)](_0x22b6f6)[_0x2a38e4(0x1a3)]()),{name:_0x398b99,version:_0x4fccc3}=_0x4a5378;_0x59609d[_0x2a38e4(0x1a0)](JSON['stringify'](_0x4a5378)),_0x2f01db['package_name']=_0x398b99,_0x2f01db[_0x2a38e4(0x18b)]=_0x44466f?_0x44466f:_0x4fccc3,_0x2f01db[_0x2a38e4(0x179)]=fs[_0x2a38e4(0x17c)](_0x588d15)[_0x2a38e4(0x1a3)](),fs[_0x2a38e4(0x17a)](_0x4c69c0)?_0x2f01db[_0x2a38e4(0x180)]=fs[_0x2a38e4(0x17c)](_0x4c69c0)[_0x2a38e4(0x1a3)]():(console[_0x2a38e4(0x19f)](_0x2a38e4(0x190)),process[_0x2a38e4(0x195)](0x0)),fs[_0x2a38e4(0x17a)](_0x5e0d9b)?_0x2f01db['component_config_content']=fs[_0x2a38e4(0x17c)](_0x5e0d9b)[_0x2a38e4(0x1a3)]():(console[_0x2a38e4(0x19f)]('【Error】:请必须包含component.config.json组件配置文件'),process[_0x2a38e4(0x195)](0x0)),io[_0x2a38e4(0x1a9)]('请输入此次提交信息,按Enter确认:',function(_0x1c0e4d){const _0x271a50=_0x2a38e4;_0x2f01db[_0x271a50(0x191)]=_0x1c0e4d||'no\x20message',axios[_0x271a50(0x17b)](API_HOST+_0x271a50(0x1a2),_0x2f01db)[_0x271a50(0x1a8)](_0x31ee8a=>{const _0x411b2c=_0x271a50;console[_0x411b2c(0x19f)](_0x31ee8a[_0x411b2c(0x192)][_0x411b2c(0x191)]),process[_0x411b2c(0x195)](0x0);})['catch'](_0x16e203=>{const _0x42944c=_0x271a50;console[_0x42944c(0x19f)](_0x16e203),console[_0x42944c(0x19f)](_0x42944c(0x18a)),process['exit'](0x0);});});}else console['log'](_0x2a38e4(0x187)),process[_0x2a38e4(0x195)](0x0);}else console['log'](_0x2a38e4(0x19b)),process['exit'](0x0);}else console['log'](_0x2a38e4(0x18d));})[_0x19ac3d(0x193)](_0x119a8e=>{const _0x6bd819=_0x19ac3d;console['log'](_0x119a8e),console[_0x6bd819(0x19f)](_0x6bd819(0x1a7));});};
@@ -1 +1 @@
1
- const a7_0x45d3a7=a7_0x33ea;(function(_0x3d0637,_0x4c2431){const _0x5e435a=a7_0x33ea,_0x3e0bbf=_0x3d0637();while(!![]){try{const _0x2532f1=-parseInt(_0x5e435a(0x108))/0x1+-parseInt(_0x5e435a(0x111))/0x2+parseInt(_0x5e435a(0x11d))/0x3+parseInt(_0x5e435a(0xfb))/0x4*(parseInt(_0x5e435a(0xf7))/0x5)+parseInt(_0x5e435a(0x118))/0x6*(-parseInt(_0x5e435a(0x120))/0x7)+-parseInt(_0x5e435a(0x112))/0x8*(parseInt(_0x5e435a(0x11a))/0x9)+parseInt(_0x5e435a(0x109))/0xa;if(_0x2532f1===_0x4c2431)break;else _0x3e0bbf['push'](_0x3e0bbf['shift']());}catch(_0x3bd96d){_0x3e0bbf['push'](_0x3e0bbf['shift']());}}}(a7_0x498d,0x62265));const path=require(a7_0x45d3a7(0x10d)),fs=require('fs'),os=require('os'),axios=require(a7_0x45d3a7(0x100)),{API_HOST}=require(a7_0x45d3a7(0x11b));function a7_0x498d(){const _0x55ed50=['readFileSync','/api/auth','axios','message','发布失败!根目录缺少‘package.json’文件,无法完成发布。','/api/file/push','../../../.auth','toString','then','hostname','654286ZzAhYe','10201670YtlSDO','Auth\x20Fail!','stringify','join','path','parse','post','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','1026844PoCWOi','781840oScZre','log','data','split','Auth\x20NetWork\x20Fail!','status','6rjoOGy','exit','54AVElBr','../cmd.install/config','\x5cdist\x5cindex.js','2384535bqnEwB','platform','arch','297409kqdyWL','239740DxEYMz','existsSync','networkInterfaces','catch','32IhkXhK','【Error】:no\x20auth\x20login','exports'];a7_0x498d=function(){return _0x55ed50;};return a7_0x498d();}function a7_0x33ea(_0x2f4368,_0xbac5b8){const _0x498db9=a7_0x498d();return a7_0x33ea=function(_0x33ea82,_0x2b7c92){_0x33ea82=_0x33ea82-0xf7;let _0x18289e=_0x498db9[_0x33ea82];return _0x18289e;},a7_0x33ea(_0x2f4368,_0xbac5b8);}module[a7_0x45d3a7(0xfd)]=_0x28eb81=>{const _0x153942=a7_0x45d3a7,_0x36e584=path[_0x153942(0x10c)](__dirname,_0x153942(0x104));!fs[_0x153942(0xf8)](_0x36e584)&&(console[_0x153942(0x113)](_0x153942(0xfc)),process[_0x153942(0x119)](0x0));const [_0x41090a,_0x50c0e2]=fs[_0x153942(0xfe)](_0x36e584)['toString']()[_0x153942(0x115)]('/');axios[_0x153942(0x10f)](API_HOST+_0x153942(0xff),{'username':_0x41090a,'password':_0x50c0e2})['then'](_0x15c8a1=>{const _0x690983=_0x153942;if(_0x15c8a1[_0x690983(0x114)][_0x690983(0x117)]){const _0x13ef10=path['resolve']('./'),_0x1f2b6d=_0x13ef10+_0x690983(0x11c),_0x462186=_0x13ef10+'\x5cpackage.json',_0x41b072=[os[_0x690983(0x107)](),os[_0x690983(0x11e)](),os[_0x690983(0x11f)](),new Date()[_0x690983(0x105)](),JSON[_0x690983(0x10b)](os[_0x690983(0xf9)](),null,'\x09')];if(fs[_0x690983(0xf8)](_0x462186)){if(fs[_0x690983(0xf8)](_0x1f2b6d)){const _0x50f325=JSON[_0x690983(0x10e)](fs[_0x690983(0xfe)](_0x462186)[_0x690983(0x105)]()),{name:_0x21f4b7,version:_0x4b1fd8}=_0x50f325;_0x41b072['push'](JSON[_0x690983(0x10b)](_0x50f325)),axios[_0x690983(0x10f)](API_HOST+_0x690983(0x103),{'username':_0x41090a,'log_text':_0x41b072['join']('\x0a'),'package_name':_0x21f4b7,'package_version':_0x28eb81?_0x28eb81:_0x4b1fd8,'package_content':fs[_0x690983(0xfe)](_0x1f2b6d)[_0x690983(0x105)]()})[_0x690983(0x106)](_0x4d93f6=>{const _0x174997=_0x690983;console[_0x174997(0x113)](_0x4d93f6['data'][_0x174997(0x101)]),process[_0x174997(0x119)](0x0);})[_0x690983(0xfa)](_0x4c7db7=>{const _0x1e7716=_0x690983;console[_0x1e7716(0x113)](_0x4c7db7),console[_0x1e7716(0x113)]('网络异常。'),process[_0x1e7716(0x119)](0x0);});}else console[_0x690983(0x113)](_0x690983(0x110)),process[_0x690983(0x119)](0x0);}else console[_0x690983(0x113)](_0x690983(0x102)),process[_0x690983(0x119)](0x0);}else console[_0x690983(0x113)](_0x690983(0x10a));})['catch'](_0x227449=>{const _0x1bcc0b=_0x153942;console[_0x1bcc0b(0x113)](_0x1bcc0b(0x116));});};
1
+ const a7_0x2db693=a7_0x505e;function a7_0x503e(){const _0xf8da7a=['../cmd.install/config','2029218YfQBfu','发布失败!根目录缺少‘package.json’文件,无法完成发布。','网络异常。','33wUMBdA','hostname','8Roqqhk','332689uLfdyK','arch','post','push','42XhiDSy','Auth\x20Fail!','exit','parse','platform','log','exports','existsSync','path','message','axios','\x5cpackage.json','data','status','5089230VbsASS','35ssQhCR','resolve','834770WpvNgA','Auth\x20NetWork\x20Fail!','split','5468967eMNJPR','2777757UiVuAk','catch','join','toString','then','networkInterfaces','178036WbIOwV','/api/auth','/api/file/push','\x5cdist\x5cindex.js','../../../.auth','readFileSync','【Error】:no\x20auth\x20login'];a7_0x503e=function(){return _0xf8da7a;};return a7_0x503e();}(function(_0x3b2acf,_0x31da10){const _0x22854e=a7_0x505e,_0x51ded1=_0x3b2acf();while(!![]){try{const _0x2350d0=parseInt(_0x22854e(0x171))/0x1+parseInt(_0x22854e(0x156))/0x2+parseInt(_0x22854e(0x175))/0x3+parseInt(_0x22854e(0x14e))/0x4*(-parseInt(_0x22854e(0x16f))/0x5)+-parseInt(_0x22854e(0x160))/0x6*(-parseInt(_0x22854e(0x15c))/0x7)+parseInt(_0x22854e(0x15b))/0x8*(-parseInt(_0x22854e(0x174))/0x9)+parseInt(_0x22854e(0x16e))/0xa*(-parseInt(_0x22854e(0x159))/0xb);if(_0x2350d0===_0x31da10)break;else _0x51ded1['push'](_0x51ded1['shift']());}catch(_0x31407b){_0x51ded1['push'](_0x51ded1['shift']());}}}(a7_0x503e,0xa19e8));const path=require(a7_0x2db693(0x168)),fs=require('fs'),os=require('os'),axios=require(a7_0x2db693(0x16a)),{API_HOST}=require(a7_0x2db693(0x155));function a7_0x505e(_0x257426,_0x4bd018){const _0x503e70=a7_0x503e();return a7_0x505e=function(_0x505ee6,_0x3ae648){_0x505ee6=_0x505ee6-0x14c;let _0x2b5c11=_0x503e70[_0x505ee6];return _0x2b5c11;},a7_0x505e(_0x257426,_0x4bd018);}module[a7_0x2db693(0x166)]=_0x445d0e=>{const _0xdd96bc=a7_0x2db693,_0x4a7df0=path[_0xdd96bc(0x177)](__dirname,_0xdd96bc(0x152));!fs[_0xdd96bc(0x167)](_0x4a7df0)&&(console['log'](_0xdd96bc(0x154)),process[_0xdd96bc(0x162)](0x0));const [_0x139b16,_0xf9fe29]=fs[_0xdd96bc(0x153)](_0x4a7df0)['toString']()[_0xdd96bc(0x173)]('/');axios[_0xdd96bc(0x15e)](API_HOST+_0xdd96bc(0x14f),{'username':_0x139b16,'password':_0xf9fe29})['then'](_0x239d46=>{const _0x40ce31=_0xdd96bc;if(_0x239d46['data'][_0x40ce31(0x16d)]){const _0x340b8b=path[_0x40ce31(0x170)]('./'),_0x1fb4b4=_0x340b8b+_0x40ce31(0x151),_0x3e7449=_0x340b8b+_0x40ce31(0x16b),_0x326e7c=[os[_0x40ce31(0x15a)](),os[_0x40ce31(0x164)](),os[_0x40ce31(0x15d)](),new Date()[_0x40ce31(0x178)](),JSON['stringify'](os[_0x40ce31(0x14d)](),null,'\x09')];if(fs[_0x40ce31(0x167)](_0x3e7449)){if(fs['existsSync'](_0x1fb4b4)){const _0x55eddb=JSON[_0x40ce31(0x163)](fs[_0x40ce31(0x153)](_0x3e7449)[_0x40ce31(0x178)]()),{name:_0x1e5c14,version:_0x58dfdb}=_0x55eddb;_0x326e7c[_0x40ce31(0x15f)](JSON['stringify'](_0x55eddb)),axios[_0x40ce31(0x15e)](API_HOST+_0x40ce31(0x150),{'username':_0x139b16,'log_text':_0x326e7c['join']('\x0a'),'package_name':_0x1e5c14,'package_version':_0x445d0e?_0x445d0e:_0x58dfdb,'package_content':fs[_0x40ce31(0x153)](_0x1fb4b4)[_0x40ce31(0x178)]()})[_0x40ce31(0x14c)](_0x22a238=>{const _0xbbbc65=_0x40ce31;console[_0xbbbc65(0x165)](_0x22a238[_0xbbbc65(0x16c)][_0xbbbc65(0x169)]),process[_0xbbbc65(0x162)](0x0);})[_0x40ce31(0x176)](_0x9c1dca=>{const _0x533f5c=_0x40ce31;console['log'](_0x9c1dca),console['log'](_0x533f5c(0x158)),process[_0x533f5c(0x162)](0x0);});}else console[_0x40ce31(0x165)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x40ce31(0x162)](0x0);}else console[_0x40ce31(0x165)](_0x40ce31(0x157)),process[_0x40ce31(0x162)](0x0);}else console[_0x40ce31(0x165)](_0x40ce31(0x161));})[_0xdd96bc(0x176)](_0x3031ee=>{const _0xee813d=_0xdd96bc;console['log'](_0xee813d(0x172));});};
@@ -1 +1 @@
1
- function a8_0x639d(_0x45142a,_0x5eb56b){const _0x1d710d=a8_0x1d71();return a8_0x639d=function(_0x639d87,_0x5ea6db){_0x639d87=_0x639d87-0x17a;let _0x3bbbe1=_0x1d710d[_0x639d87];return _0x3bbbe1;},a8_0x639d(_0x45142a,_0x5eb56b);}const a8_0x457e05=a8_0x639d;function a8_0x1d71(){const _0x2893f5=['toString','child_process','2739387CeltdV','readFileSync','27SJpCak','4014647usKyzX','【Error】:参数传递错误','5bsfWHT','Git\x20Add\x20Done,git\x20commit,please\x20wait...','4543804vXSJFA','gitName','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','【Error】:打包失败,没有dist目录!','1522774VmanQE','git\x20pull','Project\x20build\x20Done,copy\x20project,please\x20wait...','status','1nBxyrX','split','../../../.auth','exports','yarn','length','\x5cjjb.config.json','post','git','yarn\x20install\x20Done!','log','/node_modules','5414430GZWmdA','Auth\x20Fail!',',please\x20wait...','\x20--no-verify','existsSync','【Error】:no\x20setting\x20gitName','resolve','join','2460712wrtvZf','git\x20clone\x20','31887440eYncdl','git\x20add\x20.','data','Auth\x20NetWork\x20Fail!','/api/auth','yarn\x20build:','then','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','Git\x20Pull\x20Done,yarn\x20build:','【warning】:no\x20commit,git\x20push,please\x20wait...','exit','git\x20push\x20-f','../../old/util','execSync','Git\x20Push\x20Done!','parse','mkdirSync'];a8_0x1d71=function(){return _0x2893f5;};return a8_0x1d71();}(function(_0xbf2aa5,_0x4ba648){const _0x3f6343=a8_0x639d,_0x4b973b=_0xbf2aa5();while(!![]){try{const _0x546bb7=parseInt(_0x3f6343(0x19e))/0x1*(-parseInt(_0x3f6343(0x19a))/0x2)+-parseInt(_0x3f6343(0x18e))/0x3+parseInt(_0x3f6343(0x195))/0x4*(-parseInt(_0x3f6343(0x193))/0x5)+parseInt(_0x3f6343(0x1aa))/0x6+parseInt(_0x3f6343(0x191))/0x7+-parseInt(_0x3f6343(0x1b2))/0x8*(parseInt(_0x3f6343(0x190))/0x9)+parseInt(_0x3f6343(0x17b))/0xa;if(_0x546bb7===_0x4ba648)break;else _0x4b973b['push'](_0x4b973b['shift']());}catch(_0x400657){_0x4b973b['push'](_0x4b973b['shift']());}}}(a8_0x1d71,0xe366c));const fs=require('fs'),os=require('os'),path=require('path'),child_process=require(a8_0x457e05(0x18d)),{CopyFolder,DeleteDirAllFile}=require(a8_0x457e05(0x187)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require('../cmd.install/config'),axios=require('axios');module[a8_0x457e05(0x1a1)]=arguments=>{const _0x490a0e=a8_0x457e05,_0x893980=path[_0x490a0e(0x1b1)](__dirname,_0x490a0e(0x1a0));!fs[_0x490a0e(0x1ae)](_0x893980)&&(console[_0x490a0e(0x1a8)](_0x490a0e(0x198)),process[_0x490a0e(0x185)](0x0));const _0x2c86cc=arguments[0x1],_0x1e2fff=arguments[0x2]||'no\x20message',_0x18d550=path[_0x490a0e(0x1b0)]('./'),_0x27a8db=_0x18d550+_0x490a0e(0x1a4),_0x5e9f1b=_0x18d550+'\x5cdist',_0x5d0378=os['tmpdir'](),[_0x1f9430,_0x8d6ec3]=fs['readFileSync'](_0x893980)[_0x490a0e(0x18c)]()[_0x490a0e(0x19f)]('/');axios[_0x490a0e(0x1a5)](API_HOST+_0x490a0e(0x17f),{'username':_0x1f9430,'password':_0x8d6ec3})[_0x490a0e(0x181)](_0x572ce8=>{const _0xdec377=_0x490a0e;if(_0x572ce8[_0xdec377(0x17d)][_0xdec377(0x19d)]){if(fs[_0xdec377(0x1ae)](_0x27a8db)){const _0x3edb07=JSON[_0xdec377(0x18a)](fs[_0xdec377(0x18f)](_0x27a8db)[_0xdec377(0x18c)]());if(_0x3edb07[_0xdec377(0x1a6)]){const _0x442ce9=_0x5d0378+'/'+GIT_TEMP_JAVA;!fs[_0xdec377(0x1ae)](_0x442ce9)&&(fs['mkdirSync'](_0x442ce9),child_process[_0xdec377(0x188)](_0xdec377(0x17a)+_0x3edb07[_0xdec377(0x1a6)],{'cwd':_0x442ce9})),_0x5c8a80(_0x442ce9,_0x3edb07);}else console[_0xdec377(0x1a8)]('【Error】:no\x20setting\x20git');}}else console[_0xdec377(0x1a8)](_0xdec377(0x1ab));})['catch'](_0x4747ef=>{const _0x3081b6=_0x490a0e;console[_0x3081b6(0x1a8)](_0x3081b6(0x17e));});arguments[_0x490a0e(0x1a3)]<0x2&&(console[_0x490a0e(0x1a8)](_0x490a0e(0x192)),process['exit'](0x0));function _0x5c8a80(_0x1bd7b7,_0xa9cb9d){const _0x12a19e=_0x490a0e,_0x2828fc=_0x1bd7b7+'/'+_0xa9cb9d[_0x12a19e(0x196)];!fs[_0x12a19e(0x1ae)](_0x2828fc)&&(console[_0x12a19e(0x1a8)](_0x12a19e(0x1af)),process[_0x12a19e(0x185)](0x0));child_process[_0x12a19e(0x188)](_0x12a19e(0x19b),{'cwd':_0x2828fc});!fs['existsSync'](_0x18d550+_0x12a19e(0x1a9))?(console[_0x12a19e(0x1a8)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x12a19e(0x188)](_0x12a19e(0x1a2),{'cwd':_0x18d550}),console['log'](_0x12a19e(0x1a7))):console[_0x12a19e(0x1a8)](_0x12a19e(0x183)+_0x2c86cc+_0x12a19e(0x1ac));child_process['execSync'](_0x12a19e(0x180)+_0x2c86cc,{'cwd':_0x18d550}),console[_0x12a19e(0x1a8)](_0x12a19e(0x19c));if(fs[_0x12a19e(0x1ae)](_0x5e9f1b)){const _0x4c92dd=_0x2828fc+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x2c86cc];DeleteDirAllFile(_0x4c92dd,()=>{const _0x593675=_0x12a19e;fs[_0x593675(0x18b)](_0x4c92dd),CopyFolder(_0x5e9f1b,_0x4c92dd,()=>{const _0x4ef8f2=_0x593675;console[_0x4ef8f2(0x1a8)](_0x4ef8f2(0x182)),setTimeout(()=>{const _0x26a4f0=_0x4ef8f2;child_process['execSync'](_0x26a4f0(0x17c),{'cwd':_0x2828fc}),console[_0x26a4f0(0x1a8)](_0x26a4f0(0x194));try{child_process['execSync']('git\x20commit\x20-m\x20'+_0x1e2fff+_0x26a4f0(0x1ad),{'cwd':_0x2828fc}),console[_0x26a4f0(0x1a8)](_0x26a4f0(0x197));}catch(_0x5cd7a8){console[_0x26a4f0(0x1a8)](_0x26a4f0(0x184));}child_process[_0x26a4f0(0x188)](_0x26a4f0(0x186),{'cwd':_0x2828fc}),console['log'](_0x26a4f0(0x189));},0x3e8);});});}else console[_0x12a19e(0x1a8)](_0x12a19e(0x199));}};
1
+ const a8_0x568576=a8_0x21aa;function a8_0x21aa(_0x28dff7,_0x360566){const _0x430585=a8_0x4305();return a8_0x21aa=function(_0x21aa7e,_0x5a1fd1){_0x21aa7e=_0x21aa7e-0x1ed;let _0x392813=_0x430585[_0x21aa7e];return _0x392813;},a8_0x21aa(_0x28dff7,_0x360566);}function a8_0x4305(){const _0x51b442=['status','execSync','git\x20push\x20-f','【warning】:no\x20commit,git\x20push,please\x20wait...',',please\x20wait...','log','join','Git\x20Push\x20Done','yarn','Git\x20Add\x20Done,git\x20commit,please\x20wait...','yarn\x20build:','parse','\x5cdist','6638515AVKudS','1173948EsGXVr','Project\x20build\x20Done,copy\x20project,please\x20wait...','catch','35UnMwmJ','【Error】:no\x20setting\x20gitName','2733758DQItyr','no\x20message','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','then','existsSync','803752SKLdsl','git\x20add\x20.','\x5cjjb.config.json','resolve','../../../.auth','mkdirSync','Dist\x20output\x20copy\x20Donegit\x20add,please\x20wait...','git\x20clone\x20','Auth\x20NetWork\x20Fail!','../cmd.install/config','post','path','gitName','git\x20pull','git','/api/auth','toString','8635404hmcytV','exit','Auth\x20Fail!','639sNmVFj','exports','1452JxaUpY','【Error】:参数传递错误','【Error】:打包失败,没有dist目录!','【Error】:no\x20auth\x20login','【Error】:no\x20setting\x20git','Git\x20Commit\x20Done,git\x20push,please\x20wait...','450610PuhqFX','length','5444cacICA','tmpdir','/src/main/resources/templates/'];a8_0x4305=function(){return _0x51b442;};return a8_0x4305();}(function(_0x4766d8,_0x2effbc){const _0x823b39=a8_0x21aa,_0x3e5547=_0x4766d8();while(!![]){try{const _0x4ab363=-parseInt(_0x823b39(0x1f5))/0x1+parseInt(_0x823b39(0x1fa))/0x2+-parseInt(_0x823b39(0x215))/0x3*(-parseInt(_0x823b39(0x21d))/0x4)+-parseInt(_0x823b39(0x1f4))/0x5+-parseInt(_0x823b39(0x210))/0x6+-parseInt(_0x823b39(0x1f8))/0x7*(parseInt(_0x823b39(0x1ff))/0x8)+parseInt(_0x823b39(0x213))/0x9*(parseInt(_0x823b39(0x21b))/0xa);if(_0x4ab363===_0x2effbc)break;else _0x3e5547['push'](_0x3e5547['shift']());}catch(_0x31e00f){_0x3e5547['push'](_0x3e5547['shift']());}}}(a8_0x4305,0xbed88));const fs=require('fs'),os=require('os'),path=require(a8_0x568576(0x20a)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x568576(0x208)),axios=require('axios');module[a8_0x568576(0x214)]=arguments=>{const _0x5c06ee=a8_0x568576,_0x39ff51=path[_0x5c06ee(0x1ed)](__dirname,_0x5c06ee(0x203));!fs[_0x5c06ee(0x1fe)](_0x39ff51)&&(console[_0x5c06ee(0x225)](_0x5c06ee(0x218)),process['exit'](0x0));const _0x3f2a35=arguments[0x1],_0x2d0837=arguments[0x2]||_0x5c06ee(0x1fb),_0x44c6f5=path[_0x5c06ee(0x202)]('./'),_0xb1cb9a=_0x44c6f5+_0x5c06ee(0x201),_0xb21f6e=_0x44c6f5+_0x5c06ee(0x1f3),_0x4636b1=os[_0x5c06ee(0x21e)](),[_0x4ac669,_0x4cfaf6]=fs['readFileSync'](_0x39ff51)[_0x5c06ee(0x20f)]()['split']('/');axios[_0x5c06ee(0x209)](API_HOST+_0x5c06ee(0x20e),{'username':_0x4ac669,'password':_0x4cfaf6})[_0x5c06ee(0x1fd)](_0x2c31b5=>{const _0x2b0e30=_0x5c06ee;if(_0x2c31b5['data'][_0x2b0e30(0x220)]){if(fs[_0x2b0e30(0x1fe)](_0xb1cb9a)){const _0x3c68c5=JSON[_0x2b0e30(0x1f2)](fs['readFileSync'](_0xb1cb9a)[_0x2b0e30(0x20f)]());if(_0x3c68c5['git']){const _0x41776a=_0x4636b1+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x41776a)&&(fs[_0x2b0e30(0x204)](_0x41776a),child_process[_0x2b0e30(0x221)](_0x2b0e30(0x206)+_0x3c68c5[_0x2b0e30(0x20d)],{'cwd':_0x41776a})),_0x189f54(_0x41776a,_0x3c68c5);}else console[_0x2b0e30(0x225)](_0x2b0e30(0x219));}}else console[_0x2b0e30(0x225)](_0x2b0e30(0x212));})[_0x5c06ee(0x1f7)](_0x335e3e=>{const _0x22af40=_0x5c06ee;console[_0x22af40(0x225)](_0x22af40(0x207));});arguments[_0x5c06ee(0x21c)]<0x2&&(console[_0x5c06ee(0x225)](_0x5c06ee(0x216)),process[_0x5c06ee(0x211)](0x0));function _0x189f54(_0x43ef65,_0x40cff8){const _0x4438ff=_0x5c06ee,_0x1b749b=_0x43ef65+'/'+_0x40cff8[_0x4438ff(0x20b)];!fs[_0x4438ff(0x1fe)](_0x1b749b)&&(console[_0x4438ff(0x225)](_0x4438ff(0x1f9)),process[_0x4438ff(0x211)](0x0));child_process[_0x4438ff(0x221)](_0x4438ff(0x20c),{'cwd':_0x1b749b});!fs[_0x4438ff(0x1fe)](_0x44c6f5+'/node_modules')?(console[_0x4438ff(0x225)](_0x4438ff(0x1fc)),child_process['execSync'](_0x4438ff(0x1ef),{'cwd':_0x44c6f5}),console['log']('yarn\x20install\x20Done!')):console[_0x4438ff(0x225)]('Git\x20Pull\x20Done,yarn\x20build:'+_0x3f2a35+_0x4438ff(0x224));child_process[_0x4438ff(0x221)](_0x4438ff(0x1f1)+_0x3f2a35,{'cwd':_0x44c6f5}),console['log'](_0x4438ff(0x1f6));if(fs[_0x4438ff(0x1fe)](_0xb21f6e)){const _0x53b6f4=_0x1b749b+_0x4438ff(0x21f)+GIT_JAVA_ENV_JSON[_0x3f2a35];DeleteDirAllFile(_0x53b6f4,()=>{const _0x3a67bc=_0x4438ff;fs[_0x3a67bc(0x204)](_0x53b6f4),CopyFolder(_0xb21f6e,_0x53b6f4,()=>{const _0x4b08e9=_0x3a67bc;console[_0x4b08e9(0x225)](_0x4b08e9(0x205)),setTimeout(()=>{const _0x2c567b=_0x4b08e9;child_process['execSync'](_0x2c567b(0x200),{'cwd':_0x1b749b}),console[_0x2c567b(0x225)](_0x2c567b(0x1f0));try{child_process[_0x2c567b(0x221)]('git\x20commit\x20-m\x20'+_0x2d0837+'\x20--no-verify',{'cwd':_0x1b749b}),console['log'](_0x2c567b(0x21a));}catch(_0x34983f){console[_0x2c567b(0x225)](_0x2c567b(0x223));}child_process[_0x2c567b(0x221)](_0x2c567b(0x222),{'cwd':_0x1b749b}),console[_0x2c567b(0x225)](_0x2c567b(0x1ee));},0x3e8);});});}else console[_0x4438ff(0x225)](_0x4438ff(0x217));}};
@@ -1 +1 @@
1
- const a9_0x53e67d=a9_0x2769;function a9_0x5b4f(){const _0x3b87cb=['3iZESsn','proxy.js','354356CcyAEo','files','remoteDir','babel','log','191320jpwXcq','【Error】:no\x20','7912XYsXhX','.eslintignore','.babelrc','localDir','resolve','../cmd.install/config','getTime','.prettierrc.js','keys','529562GZnJKo','eslint','utils.js','exit','prettier','jjb.script','1071GMDBHI','.eslintrc.js','1649892dsuika','1390288UhYKuw','server.js','\x20file\x20Success!','join','path','exports','5ACWmlV','660483WwXSJA','error','data','package.json','All\x20Finish!'];a9_0x5b4f=function(){return _0x3b87cb;};return a9_0x5b4f();}(function(_0x31674c,_0x43cfb4){const _0x4b5f1b=a9_0x2769,_0x2b8093=_0x31674c();while(!![]){try{const _0xa4739d=parseInt(_0x4b5f1b(0x123))/0x1+-parseInt(_0x4b5f1b(0x133))/0x2*(parseInt(_0x4b5f1b(0x121))/0x3)+-parseInt(_0x4b5f1b(0x115))/0x4+parseInt(_0x4b5f1b(0x11b))/0x5*(parseInt(_0x4b5f1b(0x114))/0x6)+-parseInt(_0x4b5f1b(0x112))/0x7*(-parseInt(_0x4b5f1b(0x12a))/0x8)+parseInt(_0x4b5f1b(0x11c))/0x9+-parseInt(_0x4b5f1b(0x128))/0xa;if(_0xa4739d===_0x43cfb4)break;else _0x2b8093['push'](_0x2b8093['shift']());}catch(_0x1ba4d3){_0x2b8093['push'](_0x2b8093['shift']());}}}(a9_0x5b4f,0x3655d));const https=require('https'),fs=require('fs'),path=require(a9_0x53e67d(0x119)),{CONFIG_FILE_HOST}=require(a9_0x53e67d(0x12f)),REGISTRY={'eslint':{'remoteDir':a9_0x53e67d(0x134),'files':[a9_0x53e67d(0x113),a9_0x53e67d(0x12b)]},'prettier':{'remoteDir':a9_0x53e67d(0x137),'files':[a9_0x53e67d(0x131),'.prettierignore']},'jjb_script':{'remoteDir':a9_0x53e67d(0x138),'localDir':a9_0x53e67d(0x138),'files':['build.js','config.js',a9_0x53e67d(0x122),a9_0x53e67d(0x116),a9_0x53e67d(0x135)]},'babel':{'remoteDir':a9_0x53e67d(0x126),'files':[a9_0x53e67d(0x12c)]},'microAppPackage':{'remoteDir':'micro.app.package.json','files':[a9_0x53e67d(0x11f)]}},root_path=path[a9_0x53e67d(0x12e)]('./');function recursion(_0x51536d,_0x4ca271,_0x25c39e){const _0x91a5eb=a9_0x53e67d,_0x47ba9d=_0x51536d[_0x91a5eb(0x124)][_0x4ca271];https['get'](CONFIG_FILE_HOST+'/'+(_0x51536d[_0x91a5eb(0x125)]?_0x51536d[_0x91a5eb(0x125)]+'/':'')+_0x47ba9d+'?v='+new Date()[_0x91a5eb(0x130)](),_0x9e24b0=>{const _0x36ca21=_0x91a5eb;let _0x4c8266='';_0x9e24b0['on'](_0x36ca21(0x11e),_0x56e0d6=>{_0x4c8266+=_0x56e0d6;}),_0x9e24b0['on']('end',()=>{const _0x5c8604=_0x36ca21;_0x4c8266&&(fs['writeFileSync'](root_path+'/'+(_0x51536d[_0x5c8604(0x12d)]?_0x51536d[_0x5c8604(0x12d)]+'/':'')+_0x47ba9d,_0x4c8266),console[_0x5c8604(0x127)](_0x47ba9d+_0x5c8604(0x117)),_0x4ca271<_0x51536d[_0x5c8604(0x124)]['length']-0x1?(_0x4ca271++,recursion(_0x51536d,_0x4ca271,_0x25c39e)):(console[_0x5c8604(0x127)](_0x5c8604(0x120)),_0x25c39e&&_0x25c39e()));})['on'](_0x36ca21(0x11d),_0x3efcb4=>{const _0x1f9545=_0x36ca21;console[_0x1f9545(0x127)]('http\x20error\x20',_0x3efcb4);});});}function a9_0x2769(_0x3aa9bd,_0x59ace7){const _0x5b4ff8=a9_0x5b4f();return a9_0x2769=function(_0x276979,_0x3befb5){_0x276979=_0x276979-0x112;let _0xa87983=_0x5b4ff8[_0x276979];return _0xa87983;},a9_0x2769(_0x3aa9bd,_0x59ace7);}module[a9_0x53e67d(0x11a)]=_0x4e8112=>{const _0x224d7c=a9_0x53e67d;!Object[_0x224d7c(0x132)](REGISTRY)['includes'](_0x4e8112)&&(console[_0x224d7c(0x127)](_0x224d7c(0x129)+_0x4e8112+'\x20file,\x20available:['+Object[_0x224d7c(0x132)](REGISTRY)[_0x224d7c(0x118)]('/')+']'),process[_0x224d7c(0x136)](0x0)),recursion(REGISTRY[_0x4e8112],0x0);};
1
+ function a9_0x15c1(_0x597a04,_0x4db869){const _0x20cd69=a9_0x20cd();return a9_0x15c1=function(_0x15c1ca,_0x31b086){_0x15c1ca=_0x15c1ca-0xca;let _0x571d3f=_0x20cd69[_0x15c1ca];return _0x571d3f;},a9_0x15c1(_0x597a04,_0x4db869);}const a9_0xd30697=a9_0x15c1;(function(_0x220e60,_0x572423){const _0x22ff70=a9_0x15c1,_0x5bc99f=_0x220e60();while(!![]){try{const _0x29e02c=-parseInt(_0x22ff70(0xd0))/0x1*(parseInt(_0x22ff70(0xf0))/0x2)+parseInt(_0x22ff70(0xe8))/0x3*(-parseInt(_0x22ff70(0xdc))/0x4)+parseInt(_0x22ff70(0xf2))/0x5*(-parseInt(_0x22ff70(0xd3))/0x6)+-parseInt(_0x22ff70(0xe3))/0x7*(-parseInt(_0x22ff70(0xed))/0x8)+-parseInt(_0x22ff70(0xd2))/0x9*(-parseInt(_0x22ff70(0xda))/0xa)+-parseInt(_0x22ff70(0xd8))/0xb+parseInt(_0x22ff70(0xf3))/0xc*(parseInt(_0x22ff70(0xd1))/0xd);if(_0x29e02c===_0x572423)break;else _0x5bc99f['push'](_0x5bc99f['shift']());}catch(_0x4b25d3){_0x5bc99f['push'](_0x5bc99f['shift']());}}}(a9_0x20cd,0x45203));function a9_0x20cd(){const _0x2742f5=['../cmd.install/config','\x20file\x20Success!','join','229092iHnUrx','26vWneIl','9bFWfHd','6JUvruv','jjb.script','All\x20Finish!','?v=','exit','5440941uKIKnR','exports','3393010BGvEJC','data','4Ksmygc','path','remoteDir','writeFileSync','files','https','server.js','127295HdFbFx','prettier','get','babel','.babelrc','545079PdlRSh','\x20file,\x20available:[','includes','config.js','eslint','8xIZoCZ','build.js','getTime','2ywjGtP','http\x20error\x20','991625MNXtfU','6176364OmqBJT','package.json','.eslintignore','end','.prettierignore','micro.app.package.json','length','log','keys'];a9_0x20cd=function(){return _0x2742f5;};return a9_0x20cd();}const https=require(a9_0xd30697(0xe1)),fs=require('fs'),path=require(a9_0xd30697(0xdd)),{CONFIG_FILE_HOST}=require(a9_0xd30697(0xcd)),REGISTRY={'eslint':{'remoteDir':a9_0xd30697(0xec),'files':['.eslintrc.js',a9_0xd30697(0xf5)]},'prettier':{'remoteDir':a9_0xd30697(0xe4),'files':['.prettierrc.js',a9_0xd30697(0xf7)]},'jjb_script':{'remoteDir':a9_0xd30697(0xd4),'localDir':'jjb.script','files':[a9_0xd30697(0xee),a9_0xd30697(0xeb),'proxy.js',a9_0xd30697(0xe2),'utils.js']},'babel':{'remoteDir':a9_0xd30697(0xe6),'files':[a9_0xd30697(0xe7)]},'microAppPackage':{'remoteDir':a9_0xd30697(0xf8),'files':[a9_0xd30697(0xf4)]}},root_path=path['resolve']('./');function recursion(_0x5ce87f,_0x5b1c3,_0x421c91){const _0x3ab238=a9_0xd30697,_0x3202d2=_0x5ce87f[_0x3ab238(0xe0)][_0x5b1c3];https[_0x3ab238(0xe5)](CONFIG_FILE_HOST+'/'+(_0x5ce87f[_0x3ab238(0xde)]?_0x5ce87f[_0x3ab238(0xde)]+'/':'')+_0x3202d2+_0x3ab238(0xd6)+new Date()[_0x3ab238(0xef)](),_0x36409b=>{const _0x2b800e=_0x3ab238;let _0x4a5a69='';_0x36409b['on'](_0x2b800e(0xdb),_0x41f9c3=>{_0x4a5a69+=_0x41f9c3;}),_0x36409b['on'](_0x2b800e(0xf6),()=>{const _0x347c6c=_0x2b800e;_0x4a5a69&&(fs[_0x347c6c(0xdf)](root_path+'/'+(_0x5ce87f['localDir']?_0x5ce87f['localDir']+'/':'')+_0x3202d2,_0x4a5a69),console['log'](_0x3202d2+_0x347c6c(0xce)),_0x5b1c3<_0x5ce87f['files'][_0x347c6c(0xca)]-0x1?(_0x5b1c3++,recursion(_0x5ce87f,_0x5b1c3,_0x421c91)):(console[_0x347c6c(0xcb)](_0x347c6c(0xd5)),_0x421c91&&_0x421c91()));})['on']('error',_0x32e7d0=>{const _0x244be9=_0x2b800e;console[_0x244be9(0xcb)](_0x244be9(0xf1),_0x32e7d0);});});}module[a9_0xd30697(0xd9)]=_0x35eb53=>{const _0x4aa425=a9_0xd30697;!Object[_0x4aa425(0xcc)](REGISTRY)[_0x4aa425(0xea)](_0x35eb53)&&(console['log']('【Error】:no\x20'+_0x35eb53+_0x4aa425(0xe9)+Object['keys'](REGISTRY)[_0x4aa425(0xcf)]('/')+']'),process[_0x4aa425(0xd7)](0x0)),recursion(REGISTRY[_0x35eb53],0x0);};
@@ -1 +1 @@
1
- function a10_0x5437(){const _0x263c36=['post','462263xEVZNc','log','port','130818McFgHT','网络异常。','765276yhdqwA','1472826ATCRAO','508ccEUPH','then','22iFbmPn','2720448tuFJpu','http://120.26.210.58:8088/api/file/config','9760470ARkqnT','server','components','host','exit','message','data','7KxFFXu','status','exports','4kdanrg','39915gLkgUZ','24wMDfdN'];a10_0x5437=function(){return _0x263c36;};return a10_0x5437();}const a10_0x2fa257=a10_0x500b;(function(_0x4eb601,_0x5cc22e){const _0x39fdd6=a10_0x500b,_0x222644=_0x4eb601();while(!![]){try{const _0x27614a=parseInt(_0x39fdd6(0xa5))/0x1*(-parseInt(_0x39fdd6(0xa1))/0x2)+parseInt(_0x39fdd6(0xab))/0x3+parseInt(_0x39fdd6(0xac))/0x4*(-parseInt(_0x39fdd6(0xa2))/0x5)+parseInt(_0x39fdd6(0xa8))/0x6*(-parseInt(_0x39fdd6(0x9e))/0x7)+-parseInt(_0x39fdd6(0xa3))/0x8*(-parseInt(_0x39fdd6(0xaf))/0x9)+parseInt(_0x39fdd6(0xb1))/0xa+-parseInt(_0x39fdd6(0xae))/0xb*(-parseInt(_0x39fdd6(0xaa))/0xc);if(_0x27614a===_0x5cc22e)break;else _0x222644['push'](_0x222644['shift']());}catch(_0x6e623e){_0x222644['push'](_0x222644['shift']());}}}(a10_0x5437,0x841fd));function a10_0x500b(_0x426d47,_0x33d8ff){const _0x54377e=a10_0x5437();return a10_0x500b=function(_0x500bcc,_0x393d3b){_0x500bcc=_0x500bcc-0x98;let _0x482916=_0x54377e[_0x500bcc];return _0x482916;},a10_0x500b(_0x426d47,_0x33d8ff);}const axios=require('axios');module[a10_0x2fa257(0xa0)]=_0x15f901=>{const _0x1c65ed=a10_0x2fa257;axios[_0x1c65ed(0xa4)](_0x1c65ed(0xb0))[_0x1c65ed(0xad)](_0x4f3295=>{const _0x28bae7=_0x1c65ed;if(_0x4f3295['data'][_0x28bae7(0x9f)]){const _0x25086d=_0x4f3295['data'][_0x28bae7(0x9d)];_0x15f901===_0x28bae7(0x98)&&(console['log'](_0x25086d[_0x28bae7(0x9a)]),console[_0x28bae7(0xa6)](_0x25086d[_0x28bae7(0xa7)])),_0x15f901===_0x28bae7(0x99)&&console[_0x28bae7(0xa6)](_0x25086d[_0x28bae7(0x99)]);}else console['log'](_0x4f3295[_0x28bae7(0x9d)][_0x28bae7(0x9c)]);process[_0x28bae7(0x9b)](0x0);})['catch'](()=>{const _0x574c38=_0x1c65ed;console[_0x574c38(0xa6)](_0x574c38(0xa9)),process['exit'](0x0);});};
1
+ const a10_0x581dd8=a10_0x4675;(function(_0x1cb003,_0x5b0752){const _0x9d88a9=a10_0x4675,_0x3beb6e=_0x1cb003();while(!![]){try{const _0x3927f2=parseInt(_0x9d88a9(0x91))/0x1*(-parseInt(_0x9d88a9(0x9f))/0x2)+-parseInt(_0x9d88a9(0x9a))/0x3*(parseInt(_0x9d88a9(0x9d))/0x4)+parseInt(_0x9d88a9(0x8f))/0x5+-parseInt(_0x9d88a9(0x90))/0x6*(-parseInt(_0x9d88a9(0x96))/0x7)+parseInt(_0x9d88a9(0x93))/0x8+parseInt(_0x9d88a9(0x8e))/0x9+-parseInt(_0x9d88a9(0x98))/0xa;if(_0x3927f2===_0x5b0752)break;else _0x3beb6e['push'](_0x3beb6e['shift']());}catch(_0x3dd329){_0x3beb6e['push'](_0x3beb6e['shift']());}}}(a10_0x405d,0x1d360));const axios=require(a10_0x581dd8(0xa0));function a10_0x405d(){const _0x4be8d8=['host','1988190FLhSaw','642360JksSgU','6NmcZXJ','24793MPzguI','http://120.26.210.58:8088/api/file/config','1463952evCsOs','post','exit','14448Dmrhya','exports','2060060eLrxBl','catch','15663VXbwXm','components','log','8AGBrAt','data','16SfbNtw','axios','status','message','port','then'];a10_0x405d=function(){return _0x4be8d8;};return a10_0x405d();}function a10_0x4675(_0x53dc66,_0x2d42a4){const _0x405d16=a10_0x405d();return a10_0x4675=function(_0x467532,_0x84103a){_0x467532=_0x467532-0x8a;let _0x300b65=_0x405d16[_0x467532];return _0x300b65;},a10_0x4675(_0x53dc66,_0x2d42a4);}module[a10_0x581dd8(0x97)]=_0x325a04=>{const _0x40ded5=a10_0x581dd8;axios[_0x40ded5(0x94)](_0x40ded5(0x92))[_0x40ded5(0x8c)](_0x52a840=>{const _0x2fb0f9=_0x40ded5;if(_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0xa1)]){const _0x3ae316=_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0x9e)];_0x325a04==='server'&&(console['log'](_0x3ae316[_0x2fb0f9(0x8d)]),console[_0x2fb0f9(0x9c)](_0x3ae316[_0x2fb0f9(0x8b)])),_0x325a04===_0x2fb0f9(0x9b)&&console['log'](_0x3ae316[_0x2fb0f9(0x9b)]);}else console['log'](_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0x8a)]);process[_0x2fb0f9(0x95)](0x0);})[_0x40ded5(0x99)](()=>{const _0x73d975=_0x40ded5;console[_0x73d975(0x9c)]('网络异常。'),process[_0x73d975(0x95)](0x0);});};
@@ -1 +1 @@
1
- const a11_0x453e40=a11_0x79c1;(function(_0x54c288,_0x230d61){const _0x180cff=a11_0x79c1,_0x1e8d4f=_0x54c288();while(!![]){try{const _0x3df62f=parseInt(_0x180cff(0x19a))/0x1+-parseInt(_0x180cff(0x19e))/0x2*(parseInt(_0x180cff(0x1af))/0x3)+-parseInt(_0x180cff(0x19d))/0x4*(parseInt(_0x180cff(0x1ae))/0x5)+parseInt(_0x180cff(0x1b4))/0x6*(parseInt(_0x180cff(0x1b1))/0x7)+-parseInt(_0x180cff(0x1a8))/0x8+-parseInt(_0x180cff(0x199))/0x9+parseInt(_0x180cff(0x19f))/0xa;if(_0x3df62f===_0x230d61)break;else _0x1e8d4f['push'](_0x1e8d4f['shift']());}catch(_0x55f8a7){_0x1e8d4f['push'](_0x1e8d4f['shift']());}}}(a11_0x3369,0x5257a));const fs=require('fs'),path=require('path'),readline=require(a11_0x453e40(0x1ad)),io=readline['createInterface']({'input':process['stdin'],'output':process[a11_0x453e40(0x1ab)]});function a11_0x79c1(_0x22d306,_0x2d1ada){const _0x3369ff=a11_0x3369();return a11_0x79c1=function(_0x79c182,_0x1cb731){_0x79c182=_0x79c182-0x199;let _0xb13ebe=_0x3369ff[_0x79c182];return _0xb13ebe;},a11_0x79c1(_0x22d306,_0x2d1ada);}let f_total=0x0;module[a11_0x453e40(0x1b5)]=function(){const _0x53c003=a11_0x453e40,_0x464f73=path['resolve']('./');io[_0x53c003(0x1ac)](_0x53c003(0x19b),function(_0x259293){const _0xf2be6c=_0x53c003;if(_0x259293[_0xf2be6c(0x1b2)]()==='y')console[_0xf2be6c(0x19c)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x464f73),setTimeout(()=>{const _0x35da3d=a11_0x79c1;console[_0x35da3d(0x19c)](_0x35da3d(0x1a0)),console[_0x35da3d(0x1aa)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x259293[_0xf2be6c(0x1b2)]()==='n'?(console[_0xf2be6c(0x19c)]('取消删除。'),process[_0xf2be6c(0x1a6)](0x0)):(console[_0xf2be6c(0x19c)](_0xf2be6c(0x1b3)),process[_0xf2be6c(0x1a6)](0x0));});};function a11_0x3369(){const _0x1c5e05=['rmdirSync','4291088latvbV','删除文件:','clear','stdout','question','readline','25210vJQjnI','6mFGXsg','existsSync','137452vmdUxE','trim','无效操作。','6HFjHVy','exports','删除文件夹:','3406752oLQLDf','313931EmzoNk','是否确认删除?删除后不可恢复![y/n]:','log','244WxAfcM','483526jheNhs','17097090UNnkus','删除完成。','statSync','isDirectory','length','readdirSync','unlinkSync','exit'];a11_0x3369=function(){return _0x1c5e05;};return a11_0x3369();}function exec(_0x4f8fd5){const _0x1aaa25=a11_0x453e40;if(fs[_0x1aaa25(0x1b0)](_0x4f8fd5)){const _0x44eab5=fs[_0x1aaa25(0x1a4)](_0x4f8fd5);for(let _0x3a8e44=0x0;_0x3a8e44<_0x44eab5[_0x1aaa25(0x1a3)];_0x3a8e44++){const _0x33ffcd=_0x44eab5[_0x3a8e44],_0x5bcf8c=_0x4f8fd5+'/'+_0x33ffcd;try{fs[_0x1aaa25(0x1a1)](_0x5bcf8c)[_0x1aaa25(0x1a2)]()?(exec(_0x5bcf8c),fs[_0x1aaa25(0x1a7)](_0x5bcf8c,{'recursive':!![]}),console[_0x1aaa25(0x19c)](_0x1aaa25(0x1b6)+_0x5bcf8c)):(fs[_0x1aaa25(0x1a5)](_0x5bcf8c),console[_0x1aaa25(0x19c)](_0x1aaa25(0x1a9)+_0x5bcf8c));}catch(_0x20ecca){console[_0x1aaa25(0x19c)]('删除异常:'+_0x5bcf8c);}}}}
1
+ const a11_0x32e971=a11_0xe1b0;function a11_0xe1b0(_0x46a43f,_0x5b2ee4){const _0x53b062=a11_0x53b0();return a11_0xe1b0=function(_0xe1b0f2,_0x5168b6){_0xe1b0f2=_0xe1b0f2-0x17d;let _0x1f7b18=_0x53b062[_0xe1b0f2];return _0x1f7b18;},a11_0xe1b0(_0x46a43f,_0x5b2ee4);}(function(_0x5601cd,_0x25d148){const _0x15415b=a11_0xe1b0,_0x3cb81d=_0x5601cd();while(!![]){try{const _0x47fea0=parseInt(_0x15415b(0x186))/0x1*(parseInt(_0x15415b(0x188))/0x2)+parseInt(_0x15415b(0x19a))/0x3*(parseInt(_0x15415b(0x190))/0x4)+parseInt(_0x15415b(0x199))/0x5*(parseInt(_0x15415b(0x187))/0x6)+-parseInt(_0x15415b(0x18a))/0x7+-parseInt(_0x15415b(0x18b))/0x8*(parseInt(_0x15415b(0x194))/0x9)+-parseInt(_0x15415b(0x18e))/0xa*(-parseInt(_0x15415b(0x1a0))/0xb)+-parseInt(_0x15415b(0x1a1))/0xc*(parseInt(_0x15415b(0x182))/0xd);if(_0x47fea0===_0x25d148)break;else _0x3cb81d['push'](_0x3cb81d['shift']());}catch(_0x338902){_0x3cb81d['push'](_0x3cb81d['shift']());}}}(a11_0x53b0,0xe61a5));const fs=require('fs'),path=require(a11_0x32e971(0x18f)),readline=require(a11_0x32e971(0x189)),io=readline[a11_0x32e971(0x180)]({'input':process[a11_0x32e971(0x192)],'output':process[a11_0x32e971(0x193)]});let f_total=0x0;module['exports']=function(){const _0xb4bd47=a11_0x32e971,_0x4bdfb3=path[_0xb4bd47(0x184)]('./');io[_0xb4bd47(0x191)](_0xb4bd47(0x197),function(_0x5e7514){const _0x53f098=_0xb4bd47;if(_0x5e7514['trim']()==='y')console['log']('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x555e2b=a11_0xe1b0;console[_0x555e2b(0x181)](),exec(_0x4bdfb3),setTimeout(()=>{const _0x54af77=_0x555e2b;console[_0x54af77(0x19b)]('删除完成。'),console['clear'](),process[_0x54af77(0x195)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x5e7514[_0x53f098(0x19f)]()==='n'?(console[_0x53f098(0x19b)](_0x53f098(0x19d)),process['exit'](0x0)):(console[_0x53f098(0x19b)](_0x53f098(0x19e)),process[_0x53f098(0x195)](0x0));});};function exec(_0x2e1503){const _0x1891e1=a11_0x32e971;if(fs[_0x1891e1(0x19c)](_0x2e1503)){const _0x4af5db=fs[_0x1891e1(0x18c)](_0x2e1503);for(let _0x44c693=0x0;_0x44c693<_0x4af5db[_0x1891e1(0x18d)];_0x44c693++){const _0x96aada=_0x4af5db[_0x44c693],_0x2ea673=_0x2e1503+'/'+_0x96aada;try{fs[_0x1891e1(0x196)](_0x2ea673)[_0x1891e1(0x17d)]()?(exec(_0x2ea673),fs[_0x1891e1(0x183)](_0x2ea673,{'recursive':!![]}),console[_0x1891e1(0x19b)](_0x1891e1(0x198)+_0x2ea673)):(fs[_0x1891e1(0x185)](_0x2ea673),console[_0x1891e1(0x19b)](_0x1891e1(0x17e)+_0x2ea673));}catch(_0x17ffa8){console['log'](_0x1891e1(0x17f)+_0x2ea673);}}}}function a11_0x53b0(){const _0x37c3a9=['18EcoIzN','exit','statSync','是否确认删除?删除后不可恢复![y/n]:','删除文件夹:','178960mGscMO','3akFjdm','log','existsSync','取消删除。','无效操作。','trim','154yARpAq','972GVmvUM','isDirectory','删除文件:','删除异常:','createInterface','clear','27989plZgMk','rmdirSync','resolve','unlinkSync','12653rvcRNM','270OUGPoK','38NzeAmn','readline','10873940VDKZlt','5890936mMzsFv','readdirSync','length','1329960lbZJwp','path','1720228PveiTN','question','stdin','stdout'];a11_0x53b0=function(){return _0x37c3a9;};return a11_0x53b0();}
@@ -1 +1 @@
1
- const a12_0x34db27=a12_0x5ab5;(function(_0x255796,_0x52aa53){const _0x5e35bb=a12_0x5ab5,_0x249bb8=_0x255796();while(!![]){try{const _0x11f12e=parseInt(_0x5e35bb(0x81))/0x1+parseInt(_0x5e35bb(0x6a))/0x2*(parseInt(_0x5e35bb(0x71))/0x3)+-parseInt(_0x5e35bb(0x7e))/0x4+-parseInt(_0x5e35bb(0x75))/0x5*(parseInt(_0x5e35bb(0x6c))/0x6)+-parseInt(_0x5e35bb(0x7b))/0x7*(parseInt(_0x5e35bb(0x72))/0x8)+-parseInt(_0x5e35bb(0x77))/0x9+parseInt(_0x5e35bb(0x80))/0xa*(parseInt(_0x5e35bb(0x7a))/0xb);if(_0x11f12e===_0x52aa53)break;else _0x249bb8['push'](_0x249bb8['shift']());}catch(_0x2c7f3d){_0x249bb8['push'](_0x249bb8['shift']());}}}(a12_0x2fcd,0xa1235));function a12_0x2fcd(){const _0x5becbe=['网络异常。','4803335dbIPjW','status','2086011EIQUQk','then','parse','11fngsku','2351776gIWkTL','exports','/api/file/version','1357940uYDYUK','axios','4518470jyfhyi','1258935sRQubZ','existsSync','817138iEwSrB','exit','6lzQzUv','data','log','../cmd.install/config','查询失败!根目录缺少‘package.json’文件,无法完成查询。','6UOXcsM','8iJJyhB','post'];a12_0x2fcd=function(){return _0x5becbe;};return a12_0x2fcd();}const path=require('path'),fs=require('fs'),axios=require(a12_0x34db27(0x7f)),{API_HOST}=require(a12_0x34db27(0x6f));function a12_0x5ab5(_0x33c2c7,_0x5ddffe){const _0x2fcd4d=a12_0x2fcd();return a12_0x5ab5=function(_0x5ab560,_0x2c276e){_0x5ab560=_0x5ab560-0x6a;let _0x260cc7=_0x2fcd4d[_0x5ab560];return _0x260cc7;},a12_0x5ab5(_0x33c2c7,_0x5ddffe);}module[a12_0x34db27(0x7c)]=()=>{const _0x2eeaf7=a12_0x34db27,_0x3d5fce=path['resolve']('./'),_0x47572b=_0x3d5fce+'\x5cpackage.json';if(fs[_0x2eeaf7(0x82)](_0x47572b)){const _0x1f5fbf=JSON[_0x2eeaf7(0x79)](fs['readFileSync'](_0x47572b)['toString']()),{name:_0x1036de}=_0x1f5fbf;axios[_0x2eeaf7(0x73)](API_HOST+_0x2eeaf7(0x7d),{'package_name':_0x1036de})[_0x2eeaf7(0x78)](_0x5b5603=>{const _0x2e040c=_0x2eeaf7;_0x5b5603[_0x2e040c(0x6d)][_0x2e040c(0x76)]?console['log'](_0x5b5603[_0x2e040c(0x6d)]['data']):console[_0x2e040c(0x6e)](_0x5b5603[_0x2e040c(0x6d)]['message']),process[_0x2e040c(0x6b)](0x0);})['catch'](()=>{const _0x210089=_0x2eeaf7;console['log'](_0x210089(0x74)),process[_0x210089(0x6b)](0x0);});}else console[_0x2eeaf7(0x6e)](_0x2eeaf7(0x70)),process['exit'](0x0);};
1
+ function a12_0x3993(_0x15ce0e,_0x2b4ebe){const _0x263092=a12_0x2630();return a12_0x3993=function(_0x3993cd,_0x485dd6){_0x3993cd=_0x3993cd-0x1ea;let _0xd2e3e9=_0x263092[_0x3993cd];return _0xd2e3e9;},a12_0x3993(_0x15ce0e,_0x2b4ebe);}const a12_0x42b4d0=a12_0x3993;(function(_0x2361cd,_0x4a43b4){const _0x4039cc=a12_0x3993,_0x5ec6ae=_0x2361cd();while(!![]){try{const _0x332e92=parseInt(_0x4039cc(0x1ec))/0x1+-parseInt(_0x4039cc(0x200))/0x2*(-parseInt(_0x4039cc(0x1f2))/0x3)+parseInt(_0x4039cc(0x1f8))/0x4+-parseInt(_0x4039cc(0x1fe))/0x5*(parseInt(_0x4039cc(0x1f4))/0x6)+parseInt(_0x4039cc(0x1fd))/0x7*(-parseInt(_0x4039cc(0x1ed))/0x8)+-parseInt(_0x4039cc(0x1fb))/0x9*(parseInt(_0x4039cc(0x1f7))/0xa)+parseInt(_0x4039cc(0x201))/0xb;if(_0x332e92===_0x4a43b4)break;else _0x5ec6ae['push'](_0x5ec6ae['shift']());}catch(_0x459ead){_0x5ec6ae['push'](_0x5ec6ae['shift']());}}}(a12_0x2630,0xed8af));const path=require(a12_0x42b4d0(0x1ea)),fs=require('fs'),axios=require(a12_0x42b4d0(0x1f5)),{API_HOST}=require(a12_0x42b4d0(0x1fc));function a12_0x2630(){const _0x7839d6=['217AXPWGa','5fvKNTk','message','334XawwXg','39031740bLfqub','resolve','parse','path','status','800809XNFQZO','389184VCsWCl','\x5cpackage.json','log','toString','then','8523ZZFAkR','readFileSync','8670114NwCwgk','axios','data','40VoORmQ','2148328hjCWOS','exit','/api/file/version','3227841HoZqdD','../cmd.install/config'];a12_0x2630=function(){return _0x7839d6;};return a12_0x2630();}module['exports']=()=>{const _0x1f34c2=a12_0x42b4d0,_0x492515=path[_0x1f34c2(0x202)]('./'),_0x42faeb=_0x492515+_0x1f34c2(0x1ee);if(fs['existsSync'](_0x42faeb)){const _0x109758=JSON[_0x1f34c2(0x203)](fs[_0x1f34c2(0x1f3)](_0x42faeb)[_0x1f34c2(0x1f0)]()),{name:_0x593399}=_0x109758;axios['post'](API_HOST+_0x1f34c2(0x1fa),{'package_name':_0x593399})[_0x1f34c2(0x1f1)](_0xf32d6d=>{const _0xe338f4=_0x1f34c2;_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1eb)]?console[_0xe338f4(0x1ef)](_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1f6)]):console['log'](_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1ff)]),process[_0xe338f4(0x1f9)](0x0);})['catch'](()=>{const _0x30b830=_0x1f34c2;console[_0x30b830(0x1ef)]('网络异常。'),process[_0x30b830(0x1f9)](0x0);});}else console['log']('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x1f34c2(0x1f9)](0x0);};
@@ -1 +1 @@
1
- const a13_0x3af338=a13_0xec12;(function(_0x1e716c,_0x53ee3a){const _0x1b54a8=a13_0xec12,_0xa4773=_0x1e716c();while(!![]){try{const _0x5379c1=parseInt(_0x1b54a8(0x1ee))/0x1*(parseInt(_0x1b54a8(0x1ec))/0x2)+-parseInt(_0x1b54a8(0x1e2))/0x3+-parseInt(_0x1b54a8(0x1eb))/0x4+-parseInt(_0x1b54a8(0x1f7))/0x5*(parseInt(_0x1b54a8(0x1f8))/0x6)+-parseInt(_0x1b54a8(0x1f2))/0x7+parseInt(_0x1b54a8(0x1e7))/0x8*(-parseInt(_0x1b54a8(0x1e5))/0x9)+-parseInt(_0x1b54a8(0x1e9))/0xa*(-parseInt(_0x1b54a8(0x1ed))/0xb);if(_0x5379c1===_0x53ee3a)break;else _0xa4773['push'](_0xa4773['shift']());}catch(_0x250a6a){_0xa4773['push'](_0xa4773['shift']());}}}(a13_0x186e,0x7241d));const path=require(a13_0x3af338(0x1f3)),readline=require(a13_0x3af338(0x1e3)),{f_file_copy}=require(a13_0x3af338(0x1e4)),fs=require('fs');module[a13_0x3af338(0x1e1)]=()=>{const _0x3b76a2=a13_0x3af338,_0x5ad34b=path[_0x3b76a2(0x1e8)]('./');!fs[_0x3b76a2(0x1f1)](_0x5ad34b+_0x3b76a2(0x1ea))&&!fs[_0x3b76a2(0x1f1)](_0x5ad34b+'\x5cpublic')&&!fs[_0x3b76a2(0x1f1)](_0x5ad34b+_0x3b76a2(0x1f5))&&!fs[_0x3b76a2(0x1f1)](_0x5ad34b+_0x3b76a2(0x1ef))&&!fs[_0x3b76a2(0x1f1)](_0x5ad34b+_0x3b76a2(0x1f4))?(f_file_copy(__dirname+_0x3b76a2(0x1df),_0x5ad34b),console[_0x3b76a2(0x1f0)](_0x3b76a2(0x1e0)),process[_0x3b76a2(0x1e6)](0x0)):(console[_0x3b76a2(0x1f0)](_0x3b76a2(0x1f6)),process[_0x3b76a2(0x1e6)](0x0));};function a13_0xec12(_0x431ab3,_0x47539f){const _0x186ea1=a13_0x186e();return a13_0xec12=function(_0xec12a9,_0x46fec6){_0xec12a9=_0xec12a9-0x1df;let _0x43dd4c=_0x186ea1[_0xec12a9];return _0x43dd4c;},a13_0xec12(_0x431ab3,_0x47539f);}function a13_0x186e(){const _0x14070a=['1962366sGxgpn','readline','./cli.install/tools','9dewClG','exit','2461496lDlMZd','resolve','50nDlwMw','\x5cjjb.script','1201836rVJeRO','2ikFacw','5995583yDxvAl','237154rfuwZj','\x5cpackage.json','log','existsSync','4765257OKUGrJ','path','\x5cwebstorm.config.js','\x5cjjb.config.json','初始化失败,文件已存在!','1555unSCTn','10638PEMRTg','\x5ccli.init','初始化完成!','exports'];a13_0x186e=function(){return _0x14070a;};return a13_0x186e();}
1
+ const a13_0x5be95f=a13_0x226e;(function(_0x3575d0,_0x19d6ef){const _0x147efd=a13_0x226e,_0x184c98=_0x3575d0();while(!![]){try{const _0x13c3bf=parseInt(_0x147efd(0x126))/0x1*(parseInt(_0x147efd(0x122))/0x2)+-parseInt(_0x147efd(0x129))/0x3+-parseInt(_0x147efd(0x127))/0x4+-parseInt(_0x147efd(0x128))/0x5+-parseInt(_0x147efd(0x12d))/0x6+-parseInt(_0x147efd(0x11d))/0x7+parseInt(_0x147efd(0x11c))/0x8;if(_0x13c3bf===_0x19d6ef)break;else _0x184c98['push'](_0x184c98['shift']());}catch(_0x5cae7a){_0x184c98['push'](_0x184c98['shift']());}}}(a13_0x2c2b,0xe8f5f));function a13_0x226e(_0x26f457,_0x224e40){const _0x2c2bcb=a13_0x2c2b();return a13_0x226e=function(_0x226e4d,_0x4be522){_0x226e4d=_0x226e4d-0x11c;let _0x56dcc9=_0x2c2bcb[_0x226e4d];return _0x56dcc9;},a13_0x226e(_0x26f457,_0x224e40);}const path=require(a13_0x5be95f(0x11f)),readline=require('readline'),{f_file_copy}=require(a13_0x5be95f(0x12e)),fs=require('fs');function a13_0x2c2b(){const _0x510c8c=['4056090agRrvw','./cli.install/tools','\x5cjjb.config.json','39370656gbrAyj','13110559HqUycH','\x5cpackage.json','path','初始化完成!','\x5cwebstorm.config.js','3598130RDadZD','初始化失败,文件已存在!','\x5cpublic','exit','1NFGVuy','7575144cDoHBW','408335EzTazb','3725355RtkOsO','log','exports','existsSync'];a13_0x2c2b=function(){return _0x510c8c;};return a13_0x2c2b();}module[a13_0x5be95f(0x12b)]=()=>{const _0x34fa16=a13_0x5be95f,_0x3a00f9=path['resolve']('./');!fs[_0x34fa16(0x12c)](_0x3a00f9+'\x5cjjb.script')&&!fs['existsSync'](_0x3a00f9+_0x34fa16(0x124))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x12f))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x11e))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x121))?(f_file_copy(__dirname+'\x5ccli.init',_0x3a00f9),console[_0x34fa16(0x12a)](_0x34fa16(0x120)),process[_0x34fa16(0x125)](0x0)):(console['log'](_0x34fa16(0x123)),process[_0x34fa16(0x125)](0x0));};
@@ -1 +1 @@
1
- const a14_0x4bb32a=a14_0x2a8e;(function(_0x28a38f,_0x24c464){const _0x75c68a=a14_0x2a8e,_0x156e6f=_0x28a38f();while(!![]){try{const _0x478d5a=-parseInt(_0x75c68a(0x106))/0x1*(-parseInt(_0x75c68a(0x125))/0x2)+-parseInt(_0x75c68a(0xef))/0x3+-parseInt(_0x75c68a(0x126))/0x4+parseInt(_0x75c68a(0xfa))/0x5+-parseInt(_0x75c68a(0x11d))/0x6+parseInt(_0x75c68a(0x107))/0x7+-parseInt(_0x75c68a(0xf7))/0x8*(-parseInt(_0x75c68a(0xf0))/0x9);if(_0x478d5a===_0x24c464)break;else _0x156e6f['push'](_0x156e6f['shift']());}catch(_0x5bd9ef){_0x156e6f['push'](_0x156e6f['shift']());}}}(a14_0xf277,0x78073));function a14_0x2a8e(_0x590815,_0x368334){const _0xf277f1=a14_0xf277();return a14_0x2a8e=function(_0x2a8e60,_0x2c7c1){_0x2a8e60=_0x2a8e60-0xe9;let _0x4dea4f=_0xf277f1[_0x2a8e60];return _0x4dea4f;},a14_0x2a8e(_0x590815,_0x368334);}function a14_0xf277(){const _0x48d917=['common/website','common/color','CLI_DVA_REGISTER_PATH','\x5c..\x5ccli.dva.register.saas.txt','return\x20process.env.app;','\x5c..\x5ccli.dva.register.spa.txt','COMMON_CONTENT_NOR_REPLACE','gPSit8aJsLVmNzuQ5Cy4','COMMON_CONTENT_SPA_REPLACE','jjb-common/tools','GIT_TEMP_DIR','CLI_DVA_REGISTER_SAAS','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cImageCropper\x5cindex.js','http://192.168.1.242:10985','CLI_DVA_ROUTER_PATH','e9njpBd1nS_LREN8GFpR','5083302EITLjd','hLqARY89CN6fUD3yg4NL','\x5cEditor\x5cindex.js','\x5cImageUploader\x5cindex.js','TEMPLATE_FOLDER','\x5c..\x5ccli.dva.router.saas.txt','CLI_DVA_ROUTER_SAAS','\x5ctools\x5cindex.js','40166PadSgr','380828wfcyUq','\x5cRouterMenu\x5cindex.js','jjb-common/website','jjbAssembly_','jjb-common/color','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_ROUTER_SPA','2268930pZhGNk','9aCgfTQ','common/http','jjb-common/crypto','common/tools','return\x20process.env;','\x5cFileUploader\x5cindex.js','GIT_HOST','5784088PYrkva','\x5cRouterContainer\x5cindex.js','tmpdir','3964800dcRtNd','jjb-common/http','common/crypto','G4HJRsHr9D7Ssmixegw2','jjb-react-admin-component','components','now','\x5cRejectText\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','COMPONENTS_CONTENT_REPLACE','CLI_DVA_REGISTER_SPA','\x5c..\x5ccli.dva.router.spa.txt','23tghqvu','1487423VAvUOT','\x5cPageHeaderBar\x5cindex.js','CLOUD_PROJECT','\x5cwebsite\x5cindex.js','return\x20__planA();'];a14_0xf277=function(){return _0x48d917;};return a14_0xf277();}const os=require('os');exports[a14_0x4bb32a(0xf6)]=a14_0x4bb32a(0x11a),exports[a14_0x4bb32a(0x116)]=a14_0x4bb32a(0xeb)+Date[a14_0x4bb32a(0x100)](),exports[a14_0x4bb32a(0x109)]={'common':{'token':a14_0x4bb32a(0xfd),'projectId':0x117},'react-admin-component':{'token':a14_0x4bb32a(0x102),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x4bb32a(0x11e),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x4bb32a(0x11c),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x4bb32a(0x113),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a14_0x4bb32a(0x121)]=os[a14_0x4bb32a(0xf9)]()+'\x5c'+exports[a14_0x4bb32a(0x116)],exports[a14_0x4bb32a(0xee)]=__dirname+a14_0x4bb32a(0x105),exports[a14_0x4bb32a(0x123)]=__dirname+a14_0x4bb32a(0x122),exports[a14_0x4bb32a(0x104)]=__dirname+a14_0x4bb32a(0x111),exports[a14_0x4bb32a(0x117)]=__dirname+a14_0x4bb32a(0x10f),exports[a14_0x4bb32a(0x11b)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a14_0x4bb32a(0x10e)]=a14_0x4bb32a(0xed),exports[a14_0x4bb32a(0x112)]=[{'path':a14_0x4bb32a(0x124),'replace':[[a14_0x4bb32a(0xff),a14_0x4bb32a(0xfe)]]},{'path':a14_0x4bb32a(0x10a),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a14_0x4bb32a(0xff),'jjb-react-admin-component']]}],exports[a14_0x4bb32a(0x114)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x4bb32a(0x10b),a14_0x4bb32a(0xf4)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x4bb32a(0x10b),a14_0x4bb32a(0x110)]]}],exports[a14_0x4bb32a(0x103)]=[{'path':a14_0x4bb32a(0x11f),'replace':[['common/http','jjb-common/http'],[a14_0x4bb32a(0xfc),a14_0x4bb32a(0xf2)],[a14_0x4bb32a(0xf3),a14_0x4bb32a(0x115)]]},{'path':a14_0x4bb32a(0x101),'replace':[[a14_0x4bb32a(0x10d),'jjb-common/color']]},{'path':a14_0x4bb32a(0xe9),'replace':[['common/tools',a14_0x4bb32a(0x115)]]},{'path':a14_0x4bb32a(0xf5),'replace':[[a14_0x4bb32a(0xf1),a14_0x4bb32a(0xfb)],[a14_0x4bb32a(0xf3),a14_0x4bb32a(0x115)]]},{'path':a14_0x4bb32a(0x119),'replace':[[a14_0x4bb32a(0xf1),a14_0x4bb32a(0xfb)],[a14_0x4bb32a(0xf3),'jjb-common/tools']]},{'path':a14_0x4bb32a(0x120),'replace':[[a14_0x4bb32a(0xf1),'jjb-common/http'],[a14_0x4bb32a(0xf3),a14_0x4bb32a(0x115)]]},{'path':a14_0x4bb32a(0x108),'replace':[[a14_0x4bb32a(0x10d),a14_0x4bb32a(0xec)]]},{'path':a14_0x4bb32a(0xf8),'replace':[[a14_0x4bb32a(0xf3),a14_0x4bb32a(0x115)]]},{'path':a14_0x4bb32a(0x118),'replace':[[a14_0x4bb32a(0x10c),a14_0x4bb32a(0xea)],['common/tools',a14_0x4bb32a(0x115)]]}];
1
+ function a14_0x44ff(){const _0x5b588f=['GIT_TEMP_DIR','\x5cwebsite\x5cindex.js','\x5cRouterMenu\x5cindex.js','e9njpBd1nS_LREN8GFpR','CLI_DVA_ROUTER_PATH','gPSit8aJsLVmNzuQ5Cy4','CLI_DVA_ROUTER_SPA','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','1793172BJcLnW','\x5cImageCropper\x5cindex.js','common/http','jjb-common/website','common/tools','\x5cEditor\x5cindex.js','CLOUD_PROJECT','863565oNHJID','jjb-common/tools','components','jjbAssembly_','1838456QKysYN','now','COMMON_CONTENT_NOR_REPLACE','TEMPLATE_FOLDER','G4HJRsHr9D7Ssmixegw2','d4wQ7dzEjYPsgVbKnYei','\x5ctools\x5cindex.js','jjb-common/color','4ZdXRkT','\x5c..\x5ccli.dva.router.saas.txt','FT3pKzxpRynFkmddJ9Bs','jjb-react-admin-component','27LNOxVs','jjb-common/http','CLI_DVA_ROUTER_SAAS','\x5cdva\x5cautomatic\x5crouter.js','\x5c..\x5ccli.dva.register.spa.txt','hLqARY89CN6fUD3yg4NL','tmpdir','\x5cFileUploader\x5cindex.js','CLI_DVA_REGISTER_SPA','\x5cRejectText\x5cindex.js','905825MVlbCg','http://192.168.1.242:10985','\x5cImageUploader\x5cindex.js','\x5c..\x5ccli.dva.router.spa.txt','jjb-common/crypto','\x5cRouterContainer\x5cindex.js','common/website','\x5cdva\x5cautomatic\x5cregister.js','2815232ZgLfRM','return\x20__planA();','1807940kvZEYa','CLI_DVA_REGISTER_PATH','318672rWpXTJ','GIT_HOST'];a14_0x44ff=function(){return _0x5b588f;};return a14_0x44ff();}const a14_0x13b77c=a14_0x3f5f;(function(_0x331f49,_0x133fe8){const _0x4d5289=a14_0x3f5f,_0x5a871b=_0x331f49();while(!![]){try{const _0x25b0ba=parseInt(_0x4d5289(0x194))/0x1+-parseInt(_0x4d5289(0x167))/0x2+parseInt(_0x4d5289(0x169))/0x3+-parseInt(_0x4d5289(0x186))/0x4*(-parseInt(_0x4d5289(0x17a))/0x5)+parseInt(_0x4d5289(0x173))/0x6+-parseInt(_0x4d5289(0x19c))/0x7+-parseInt(_0x4d5289(0x17e))/0x8*(-parseInt(_0x4d5289(0x18a))/0x9);if(_0x25b0ba===_0x133fe8)break;else _0x5a871b['push'](_0x5a871b['shift']());}catch(_0x3141c5){_0x5a871b['push'](_0x5a871b['shift']());}}}(a14_0x44ff,0xd3a53));function a14_0x3f5f(_0x7b65a4,_0x439751){const _0x44ffd4=a14_0x44ff();return a14_0x3f5f=function(_0x3f5fba,_0x149f02){_0x3f5fba=_0x3f5fba-0x166;let _0x557061=_0x44ffd4[_0x3f5fba];return _0x557061;},a14_0x3f5f(_0x7b65a4,_0x439751);}const os=require('os');exports[a14_0x13b77c(0x16a)]=a14_0x13b77c(0x195),exports['GIT_TEMP_DIR']=a14_0x13b77c(0x17d)+Date[a14_0x13b77c(0x17f)](),exports[a14_0x13b77c(0x179)]={'common':{'token':a14_0x13b77c(0x182),'projectId':0x117},'react-admin-component':{'token':a14_0x13b77c(0x188),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x13b77c(0x18f),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x13b77c(0x16e),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x13b77c(0x170),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x13b77c(0x183),'projectId':0x153}},exports[a14_0x13b77c(0x181)]=os[a14_0x13b77c(0x190)]()+'\x5c'+exports[a14_0x13b77c(0x16b)],exports[a14_0x13b77c(0x171)]=__dirname+a14_0x13b77c(0x197),exports[a14_0x13b77c(0x18c)]=__dirname+a14_0x13b77c(0x187),exports[a14_0x13b77c(0x192)]=__dirname+a14_0x13b77c(0x18e),exports['CLI_DVA_REGISTER_SAAS']=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a14_0x13b77c(0x16f)]=a14_0x13b77c(0x18d),exports[a14_0x13b77c(0x168)]=a14_0x13b77c(0x19b),exports[a14_0x13b77c(0x180)]=[{'path':a14_0x13b77c(0x184),'replace':[[a14_0x13b77c(0x17c),a14_0x13b77c(0x189)]]},{'path':a14_0x13b77c(0x16c),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a14_0x13b77c(0x17c),'jjb-react-admin-component']]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x13b77c(0x166),'return\x20process.env;']]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a14_0x13b77c(0x184),'replace':[[a14_0x13b77c(0x166),'return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a14_0x13b77c(0x178),'replace':[[a14_0x13b77c(0x175),a14_0x13b77c(0x18b)],['common/crypto',a14_0x13b77c(0x198)],[a14_0x13b77c(0x177),'jjb-common/tools']]},{'path':a14_0x13b77c(0x193),'replace':[['common/color',a14_0x13b77c(0x185)]]},{'path':a14_0x13b77c(0x16d),'replace':[[a14_0x13b77c(0x177),'jjb-common/tools']]},{'path':a14_0x13b77c(0x191),'replace':[[a14_0x13b77c(0x175),'jjb-common/http'],['common/tools','jjb-common/tools']]},{'path':a14_0x13b77c(0x174),'replace':[[a14_0x13b77c(0x175),a14_0x13b77c(0x18b)],['common/tools',a14_0x13b77c(0x17b)]]},{'path':a14_0x13b77c(0x196),'replace':[[a14_0x13b77c(0x175),'jjb-common/http'],['common/tools',a14_0x13b77c(0x17b)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a14_0x13b77c(0x185)]]},{'path':a14_0x13b77c(0x199),'replace':[[a14_0x13b77c(0x177),a14_0x13b77c(0x17b)]]},{'path':a14_0x13b77c(0x172),'replace':[[a14_0x13b77c(0x19a),a14_0x13b77c(0x176)],[a14_0x13b77c(0x177),a14_0x13b77c(0x17b)]]}];
@@ -1 +1 @@
1
- const a15_0x39a08d=a15_0x327c;function a15_0x327c(_0x2e527a,_0x3cadb){const _0x57f2e8=a15_0x57f2();return a15_0x327c=function(_0x327cd7,_0x219fde){_0x327cd7=_0x327cd7-0xa1;let _0xc3ed5d=_0x57f2e8[_0x327cd7];return _0xc3ed5d;},a15_0x327c(_0x2e527a,_0x3cadb);}(function(_0x1215b2,_0x42040c){const _0x37a503=a15_0x327c,_0x35e105=_0x1215b2();while(!![]){try{const _0x2bbe38=-parseInt(_0x37a503(0xdc))/0x1*(parseInt(_0x37a503(0xbd))/0x2)+-parseInt(_0x37a503(0xc4))/0x3*(parseInt(_0x37a503(0xdb))/0x4)+parseInt(_0x37a503(0xb9))/0x5+parseInt(_0x37a503(0xdf))/0x6+-parseInt(_0x37a503(0xdd))/0x7*(-parseInt(_0x37a503(0xad))/0x8)+-parseInt(_0x37a503(0xe1))/0x9+parseInt(_0x37a503(0xb3))/0xa*(parseInt(_0x37a503(0xda))/0xb);if(_0x2bbe38===_0x42040c)break;else _0x35e105['push'](_0x35e105['shift']());}catch(_0x4bb7b){_0x35e105['push'](_0x35e105['shift']());}}}(a15_0x57f2,0xd064a));const fs=require('fs'),path=require(a15_0x39a08d(0xce)),request=require(a15_0x39a08d(0xae)),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(a15_0x39a08d(0xcc)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date[a15_0x39a08d(0xc6)]();module['exports']=()=>{const _0x1cba5b=a15_0x39a08d,_0x863dcc=path[_0x1cba5b(0xd1)]('./'),_0x5c09e4=[_0x863dcc,'src\x5c']['join']('\x5c'),_0x415832=[_0x863dcc,_0x1cba5b(0xb4)][_0x1cba5b(0xa4)]('\x5c'),_0x5e9b85=[_0x863dcc,_0x1cba5b(0xd2)][_0x1cba5b(0xa4)]('\x5c');if(f_scan_jjb_config_json(_0x863dcc)){const _0x4f3fa6=f_scan_jjb_config_json_rules(_0x863dcc);_0x4f3fa6['installTarget']===_0x1cba5b(0xb4)?!fs[_0x1cba5b(0xd4)](_0x415832)?(console[_0x1cba5b(0xc3)](_0x1cba5b(0xd5)),process[_0x1cba5b(0xb0)](0x0)):console[_0x1cba5b(0xc3)](_0x1cba5b(0xb5)):!fs[_0x1cba5b(0xd4)](_0x5c09e4)&&(console[_0x1cba5b(0xc3)](_0x1cba5b(0xb2)),process[_0x1cba5b(0xb0)](0x0));fs[_0x1cba5b(0xd9)](TEMPLATE_FOLDER),f_pull_git_repository(_0x4f3fa6['installResources'])[_0x1cba5b(0xcb)](_0x15bf71=>{const _0x217889=_0x1cba5b,_0x1b3595=fs[_0x217889(0xd0)](_0x15bf71[_0x217889(0xce)]);request(_0x15bf71['repository'])[_0x217889(0xc0)](_0x1b3595)['on'](_0x217889(0xba),()=>{const _0x3a2475=_0x217889;fs[_0x3a2475(0xd9)](_0x15bf71[_0x3a2475(0xc7)]),compressing[_0x3a2475(0xb1)][_0x3a2475(0xe2)](_0x15bf71['path'],_0x15bf71['compress']);});});const _0xa65aab=setInterval(()=>{const _0x45b8c2=_0x1cba5b,_0x5c8256=fs['readdirSync'](TEMPLATE_FOLDER),_0x4b4bd0=_0x5c8256[_0x45b8c2(0xbc)](_0x295e2c=>_0x4f3fa6[_0x45b8c2(0xbb)]['map'](_0x230d30=>_0x230d30[_0x45b8c2(0xd8)]+_0x45b8c2(0xbf))['includes'](_0x295e2c));if(_0x4b4bd0['length']===_0x4f3fa6[_0x45b8c2(0xbb)][_0x45b8c2(0xc2)]){clearInterval(_0xa65aab);const _0x4e63d9=[];_0x4b4bd0[_0x45b8c2(0xaa)](_0x465fdb=>{const _0x3972ce=_0x45b8c2,_0x29ba6c=[TEMPLATE_FOLDER,_0x465fdb][_0x3972ce(0xa4)]('\x5c');fs[_0x3972ce(0xa9)](_0x29ba6c)[_0x3972ce(0xaa)](_0x5b32a1=>_0x4e63d9[_0x3972ce(0xe5)]({'name':_0x465fdb,'path':[_0x29ba6c,_0x5b32a1][_0x3972ce(0xa4)]('\x5c'),'pure_name':_0x465fdb['replace'](/_zip$/,''),'import_list':_0x4f3fa6[_0x3972ce(0xbb)][_0x3972ce(0xa8)](_0x248d2b=>_0x248d2b[_0x3972ce(0xd8)]+_0x3972ce(0xbf)===_0x465fdb)[_0x3972ce(0xcf)]}));}),_0x4e63d9[_0x45b8c2(0xaa)](_0x5c0018=>{const _0x1c7ce4=_0x45b8c2,_0x58a3be=_0x5c0018[_0x1c7ce4(0xcd)],_0x1ad6c9=_0x5c0018['import_list'],_0x3ab2c8=[_0x5c0018['path'],_0x1c7ce4(0xd3)][_0x1c7ce4(0xa4)]('//'),_0x43593a=[_0x5c0018[_0x1c7ce4(0xce)],_0x1c7ce4(0xa1)][_0x1c7ce4(0xa4)]('//');fs[_0x1c7ce4(0xd4)](_0x3ab2c8)&&(f_rm_rf(_0x3ab2c8),fs[_0x1c7ce4(0xd7)](_0x3ab2c8));fs[_0x1c7ce4(0xd4)](_0x43593a)&&fs[_0x1c7ce4(0xb6)](_0x43593a);if(_0x1ad6c9[_0x1c7ce4(0xc2)]){fs[_0x1c7ce4(0xa9)](_0x5c0018[_0x1c7ce4(0xce)])['filter'](_0x1c5bd8=>!_0x1ad6c9[_0x1c7ce4(0xc1)](_0x1c5bd8)&&_0x1c5bd8!==_0x1c7ce4(0xa3)&&_0x1c5bd8!==_0x1c7ce4(0xab))['forEach'](_0x245914=>{const _0x5ab839=_0x1c7ce4,_0x27e6c9=_0x5c0018['path']+'\x5c'+_0x245914;f_rm_rf(_0x27e6c9),fs[_0x5ab839(0xd7)](_0x27e6c9);});if(_0x58a3be===_0x1c7ce4(0xac)){const _0x4c9ac9=[];fs[_0x1c7ce4(0xa9)](_0x5c0018[_0x1c7ce4(0xce)])['filter'](_0x597721=>_0x597721!==_0x1c7ce4(0xa3))[_0x1c7ce4(0xaa)](_0x2cbbf1=>{const _0x4a73d1=_0x1c7ce4;_0x2cbbf1===_0x4a73d1(0xe3)?_0x4c9ac9[_0x4a73d1(0xe5)](_0x4a73d1(0xbe)):_0x4c9ac9[_0x4a73d1(0xe5)](_0x4a73d1(0xe4)+_0x2cbbf1+_0x4a73d1(0xd6)+_0x2cbbf1+'\x27;');}),fs['writeFileSync'](_0x5c0018[_0x1c7ce4(0xce)]+_0x1c7ce4(0xb8),_0x4c9ac9[_0x1c7ce4(0xa4)]('\x0a'));}}if(_0x58a3be===_0x1c7ce4(0xb7)){const _0x3a78b1=[_0x5c0018[_0x1c7ce4(0xce)],'\x5cdva\x5cautomatic']['join']('\x5c');if([_0x1c7ce4(0xde),_0x1c7ce4(0xa5)][_0x1c7ce4(0xc1)](_0x4f3fa6[_0x1c7ce4(0xc8)]))fs[_0x1c7ce4(0xd4)](_0x3a78b1)&&(f_content_replace(_0x4f3fa6['projectType']===_0x1c7ce4(0xde)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5c0018[_0x1c7ce4(0xce)]),fs[_0x1c7ce4(0xaf)](_0x5c0018[_0x1c7ce4(0xce)]+CLI_DVA_ROUTER_PATH,fs[_0x1c7ce4(0xc9)](_0x4f3fa6[_0x1c7ce4(0xc8)]===_0x1c7ce4(0xde)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x1c7ce4(0xa7)]()),fs[_0x1c7ce4(0xaf)](_0x5c0018['path']+CLI_DVA_REGISTER_PATH,fs[_0x1c7ce4(0xc9)](_0x4f3fa6['projectType']===_0x1c7ce4(0xde)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x4f3fa6[_0x1c7ce4(0xc8)]===_0x1c7ce4(0xe0)&&(fs[_0x1c7ce4(0xd4)](_0x3a78b1)&&(f_rm_rf(_0x3a78b1),fs['rmdirSync'](_0x3a78b1)));}else{if(_0x58a3be===_0x1c7ce4(0xac))_0x4f3fa6[_0x1c7ce4(0xc8)]===_0x1c7ce4(0xa5)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5c0018[_0x1c7ce4(0xce)]);else{if(_0x58a3be==='vue-unisass-component'){}}}if(_0x4f3fa6[_0x1c7ce4(0xa6)]===_0x1c7ce4(0xb4)){const _0x3b1dd2=_0x58a3be;fs[_0x1c7ce4(0xd4)](_0x415832+'\x5c'+_0x3b1dd2)?f_rm_rf(_0x415832+'\x5c'+_0x3b1dd2):fs[_0x1c7ce4(0xd9)](_0x415832+'\x5c'+_0x3b1dd2),f_file_copy(_0x5c0018['path'],_0x415832+'\x5c'+_0x3b1dd2),f_create_package_json(_0x415832+'\x5c'+_0x3b1dd2,_0x3b1dd2,_0x1c7ce4(0xca)),f_update_project_package_json(_0x5e9b85,_0x3b1dd2,_0x1c7ce4(0xca));}else{if(_0x4f3fa6[_0x1c7ce4(0xa6)]===_0x1c7ce4(0xc5)){const _0xbfcd72='react-admin-component';fs[_0x1c7ce4(0xd4)](_0x5c09e4+_0xbfcd72)?f_rm_rf(_0x5c09e4+_0xbfcd72):fs['mkdirSync'](_0x5c09e4+_0xbfcd72),f_file_copy(_0x5c0018[_0x1c7ce4(0xce)],_0x5c09e4+_0xbfcd72);}}}),setTimeout(()=>{const _0x486f71=_0x45b8c2;f_rm_rf(TEMPLATE_FOLDER),fs[_0x486f71(0xd7)](TEMPLATE_FOLDER);const _0x1d539c=Date['now']();console[_0x486f71(0xc3)]('【jjb-cmd】:install命令执行完成,用时'+(_0x1d539c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x1cba5b(0xc3)](_0x1cba5b(0xa2));};function a15_0x57f2(){const _0x4d738d=['RouterContainer','export\x20{\x20default\x20as\x20','push','.gitignore','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','index.js','join','micro-spa','installTarget','toString','find','readdirSync','forEach','setting.json','react-admin-component','8TKFEiX','request','writeFileSync','exit','zip','【Error】:安装失败,src目录不存在。','10CYakyp','node_modules','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','unlinkSync','jjb-common','\x5cindex.js','210625vlxdzF','close','installResources','filter','2TvJoSo','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','_zip','pipe','includes','length','log','111fxMwOX','src','now','compress','projectType','readFileSync','1.0.0','map','./tools','pure_name','path','importList','createWriteStream','resolve','package.json','.idea','existsSync','【Error】:安装失败,node_modules目录不存在。','\x20}\x20from\x20\x27./','rmdirSync','name','mkdirSync','44001012TOkLHn','161844rzSSGr','1405333zwTOLN','2294453OvLTla','spa','724662wyHhal','multi','6613245cUGaoy','uncompress'];a15_0x57f2=function(){return _0x4d738d;};return a15_0x57f2();}
1
+ function a15_0x9545(_0x5be98c,_0x23d32e){const _0x29195a=a15_0x2919();return a15_0x9545=function(_0x9545f1,_0x4eb675){_0x9545f1=_0x9545f1-0x18d;let _0x3af9f5=_0x29195a[_0x9545f1];return _0x3af9f5;},a15_0x9545(_0x5be98c,_0x23d32e);}const a15_0x306f45=a15_0x9545;(function(_0x55a767,_0x162b23){const _0x1beeb7=a15_0x9545,_0xcb8cfe=_0x55a767();while(!![]){try{const _0x3bbccc=parseInt(_0x1beeb7(0x1a6))/0x1+parseInt(_0x1beeb7(0x1aa))/0x2+parseInt(_0x1beeb7(0x194))/0x3*(parseInt(_0x1beeb7(0x1c2))/0x4)+-parseInt(_0x1beeb7(0x1c5))/0x5+-parseInt(_0x1beeb7(0x1a3))/0x6+-parseInt(_0x1beeb7(0x1ae))/0x7*(-parseInt(_0x1beeb7(0x1a1))/0x8)+-parseInt(_0x1beeb7(0x192))/0x9*(parseInt(_0x1beeb7(0x1d0))/0xa);if(_0x3bbccc===_0x162b23)break;else _0xcb8cfe['push'](_0xcb8cfe['shift']());}catch(_0x553ce8){_0xcb8cfe['push'](_0xcb8cfe['shift']());}}}(a15_0x2919,0xd8d7c));const fs=require('fs'),path=require('path'),request=require(a15_0x306f45(0x1ce)),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(a15_0x306f45(0x1ba)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0x306f45(0x1a0)),start_time=Date[a15_0x306f45(0x1ab)]();function a15_0x2919(){const _0x327d10=['existsSync','readdirSync','5043140mrODWX','installResources','name','multi','【jjb-cmd】:install命令执行完成,用时','replace','\x20}\x20from\x20\x27./','map','filter','request','createWriteStream','1370DkGXZb','src\x5c','_zip','join','【Error】:安装失败,node_modules目录不存在。','exit','length','22068YHfRwq','【Error】:安装失败,src目录不存在。','474sLoykP','resolve','unlinkSync','rmdirSync','repository','jjb-common','spa','1.0.0','setting.json','node_modules','react-admin-component','zip','./config','53272iMhGue','writeFileSync','4157868TPHokV','mkdirSync','toString','1253109ZtAqFh','projectType','import_list','package.json','191840CLBRWQ','now','export\x20{\x20default\x20as\x20','src','1589wUzeYv','path','close','installTarget','importList','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','\x5cdva\x5cautomatic','vue-unisass-component','pipe','pure_name','micro-spa','forEach','./tools','.idea','includes','push','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','readFileSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','log','1648bLGbJW'];a15_0x2919=function(){return _0x327d10;};return a15_0x2919();}module['exports']=()=>{const _0x341b0f=a15_0x306f45,_0x893c21=path[_0x341b0f(0x195)]('./'),_0x5d5071=[_0x893c21,_0x341b0f(0x1d1)][_0x341b0f(0x18e)]('\x5c'),_0x32c536=[_0x893c21,_0x341b0f(0x19d)][_0x341b0f(0x18e)]('\x5c'),_0x2fe4ed=[_0x893c21,_0x341b0f(0x1a9)][_0x341b0f(0x18e)]('\x5c');if(f_scan_jjb_config_json(_0x893c21)){const _0x33d2a6=f_scan_jjb_config_json_rules(_0x893c21);_0x33d2a6[_0x341b0f(0x1b1)]==='node_modules'?!fs[_0x341b0f(0x1c3)](_0x32c536)?(console[_0x341b0f(0x1c1)](_0x341b0f(0x18f)),process['exit'](0x0)):console[_0x341b0f(0x1c1)](_0x341b0f(0x1c0)):!fs[_0x341b0f(0x1c3)](_0x5d5071)&&(console[_0x341b0f(0x1c1)](_0x341b0f(0x193)),process[_0x341b0f(0x190)](0x0));fs[_0x341b0f(0x1a4)](TEMPLATE_FOLDER),f_pull_git_repository(_0x33d2a6[_0x341b0f(0x1c6)])[_0x341b0f(0x1cc)](_0x178909=>{const _0x142293=_0x341b0f,_0x236f05=fs[_0x142293(0x1cf)](_0x178909[_0x142293(0x1af)]);request(_0x178909[_0x142293(0x198)])[_0x142293(0x1b6)](_0x236f05)['on'](_0x142293(0x1b0),()=>{const _0x27ab53=_0x142293;fs[_0x27ab53(0x1a4)](_0x178909['compress']),compressing[_0x27ab53(0x19f)]['uncompress'](_0x178909[_0x27ab53(0x1af)],_0x178909['compress']);});});const _0x510aee=setInterval(()=>{const _0x5cab42=_0x341b0f,_0x149b14=fs['readdirSync'](TEMPLATE_FOLDER),_0x166efd=_0x149b14[_0x5cab42(0x1cd)](_0x52d911=>_0x33d2a6['installResources']['map'](_0x30070d=>_0x30070d['name']+_0x5cab42(0x18d))[_0x5cab42(0x1bc)](_0x52d911));if(_0x166efd['length']===_0x33d2a6[_0x5cab42(0x1c6)][_0x5cab42(0x191)]){clearInterval(_0x510aee);const _0x909627=[];_0x166efd['forEach'](_0x222250=>{const _0x35216a=_0x5cab42,_0x2f8c32=[TEMPLATE_FOLDER,_0x222250][_0x35216a(0x18e)]('\x5c');fs[_0x35216a(0x1c4)](_0x2f8c32)[_0x35216a(0x1b9)](_0x4efb66=>_0x909627[_0x35216a(0x1bd)]({'name':_0x222250,'path':[_0x2f8c32,_0x4efb66]['join']('\x5c'),'pure_name':_0x222250[_0x35216a(0x1ca)](/_zip$/,''),'import_list':_0x33d2a6['installResources']['find'](_0x40c5eb=>_0x40c5eb[_0x35216a(0x1c7)]+_0x35216a(0x18d)===_0x222250)[_0x35216a(0x1b2)]}));}),_0x909627[_0x5cab42(0x1b9)](_0x3d685d=>{const _0x4c086b=_0x5cab42,_0x5c8feb=_0x3d685d[_0x4c086b(0x1b7)],_0x5af956=_0x3d685d[_0x4c086b(0x1a8)],_0x437bcf=[_0x3d685d[_0x4c086b(0x1af)],_0x4c086b(0x1bb)][_0x4c086b(0x18e)]('//'),_0x11293c=[_0x3d685d[_0x4c086b(0x1af)],'.gitignore'][_0x4c086b(0x18e)]('//');fs[_0x4c086b(0x1c3)](_0x437bcf)&&(f_rm_rf(_0x437bcf),fs['rmdirSync'](_0x437bcf));fs[_0x4c086b(0x1c3)](_0x11293c)&&fs[_0x4c086b(0x196)](_0x11293c);if(_0x5af956[_0x4c086b(0x191)]){fs[_0x4c086b(0x1c4)](_0x3d685d[_0x4c086b(0x1af)])[_0x4c086b(0x1cd)](_0x4bdfe9=>!_0x5af956[_0x4c086b(0x1bc)](_0x4bdfe9)&&_0x4bdfe9!=='index.js'&&_0x4bdfe9!==_0x4c086b(0x19c))[_0x4c086b(0x1b9)](_0x8bdfa2=>{const _0x4ed2cd=_0x4c086b,_0x2cd7b6=_0x3d685d[_0x4ed2cd(0x1af)]+'\x5c'+_0x8bdfa2;f_rm_rf(_0x2cd7b6),fs['rmdirSync'](_0x2cd7b6);});if(_0x5c8feb===_0x4c086b(0x19e)){const _0x3b5f91=[];fs[_0x4c086b(0x1c4)](_0x3d685d[_0x4c086b(0x1af)])[_0x4c086b(0x1cd)](_0x1175ee=>_0x1175ee!=='index.js')[_0x4c086b(0x1b9)](_0x2f01fb=>{const _0x205c7a=_0x4c086b;_0x2f01fb==='RouterContainer'?_0x3b5f91['push'](_0x205c7a(0x1be)):_0x3b5f91[_0x205c7a(0x1bd)](_0x205c7a(0x1ac)+_0x2f01fb+_0x205c7a(0x1cb)+_0x2f01fb+'\x27;');}),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+'\x5cindex.js',_0x3b5f91[_0x4c086b(0x18e)]('\x0a'));}}if(_0x5c8feb===_0x4c086b(0x199)){const _0x22c1d9=[_0x3d685d[_0x4c086b(0x1af)],_0x4c086b(0x1b4)][_0x4c086b(0x18e)]('\x5c');if([_0x4c086b(0x19a),_0x4c086b(0x1b8)][_0x4c086b(0x1bc)](_0x33d2a6[_0x4c086b(0x1a7)]))fs[_0x4c086b(0x1c3)](_0x22c1d9)&&(f_content_replace(_0x33d2a6[_0x4c086b(0x1a7)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x3d685d[_0x4c086b(0x1af)]),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x19a)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+CLI_DVA_REGISTER_PATH,fs[_0x4c086b(0x1bf)](_0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x19a)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x4c086b(0x1a5)]()));else _0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x1c8)&&(fs[_0x4c086b(0x1c3)](_0x22c1d9)&&(f_rm_rf(_0x22c1d9),fs[_0x4c086b(0x197)](_0x22c1d9)));}else{if(_0x5c8feb===_0x4c086b(0x19e))_0x33d2a6['projectType']===_0x4c086b(0x1b8)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x3d685d[_0x4c086b(0x1af)]);else{if(_0x5c8feb===_0x4c086b(0x1b5)){}}}if(_0x33d2a6['installTarget']===_0x4c086b(0x19d)){const _0x14eb26=_0x5c8feb;fs[_0x4c086b(0x1c3)](_0x32c536+'\x5c'+_0x14eb26)?f_rm_rf(_0x32c536+'\x5c'+_0x14eb26):fs[_0x4c086b(0x1a4)](_0x32c536+'\x5c'+_0x14eb26),f_file_copy(_0x3d685d[_0x4c086b(0x1af)],_0x32c536+'\x5c'+_0x14eb26),f_create_package_json(_0x32c536+'\x5c'+_0x14eb26,_0x14eb26,'1.0.0'),f_update_project_package_json(_0x2fe4ed,_0x14eb26,_0x4c086b(0x19b));}else{if(_0x33d2a6[_0x4c086b(0x1b1)]===_0x4c086b(0x1ad)){const _0x273651=_0x4c086b(0x19e);fs[_0x4c086b(0x1c3)](_0x5d5071+_0x273651)?f_rm_rf(_0x5d5071+_0x273651):fs[_0x4c086b(0x1a4)](_0x5d5071+_0x273651),f_file_copy(_0x3d685d[_0x4c086b(0x1af)],_0x5d5071+_0x273651);}}}),setTimeout(()=>{const _0x278690=_0x5cab42;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x396f2c=Date[_0x278690(0x1ab)]();console[_0x278690(0x1c1)](_0x278690(0x1c9)+(_0x396f2c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x341b0f(0x1c1)](_0x341b0f(0x1b3));};
@@ -1 +1 @@
1
- function a16_0x51fa(){const _0x57e3b3=['【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','uniapp','existsSync','f_file_copy','f_create_package_json','includes','name','filter','jjb-dva-runtime','node_modules','projectId','/api/v4/projects/','_zip','writeFileSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json.installResources]无资源。','exit','1011213KOltCJ','statSync','replace','tmpdir','parse','3210IoAyeh','projectType','map','16mLLrJC','log','f_pull_git_repository','unlinkSync','167973NkuUcd','51700JLjkUW','f_scan_jjb_config_json','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','isDirectory','push','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','./config','micro-spa','vue-unisass-component','f_resolve_install_resources','path','readFileSync','.zip','\x22,\x22version\x22:\x22','163512iJGWxL','【Error】:[jjb.config.json.installTarget]类型是一个string。','jjb-common-lib','jjb-common','149146MWyYjK','installTarget','f_update_project_package_json','string','toString','token','multi','forEach','\x5cjjb.config.json','installResources','spa','1275ccTrYt','/repository/archive.zip?private_token=','f_rm_rf','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','length','740924oGXDYI','readdirSync','isArray','\x5cpackage.json','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','dependencies'];a16_0x51fa=function(){return _0x57e3b3;};return a16_0x51fa();}const a16_0x5c52e6=a16_0x235b;(function(_0x32a368,_0x11d5f0){const _0x47de2a=a16_0x235b,_0x507479=_0x32a368();while(!![]){try{const _0x4d69cf=parseInt(_0x47de2a(0x109))/0x1+-parseInt(_0x47de2a(0x11b))/0x2+parseInt(_0x47de2a(0x108))/0x3+-parseInt(_0x47de2a(0x12b))/0x4+-parseInt(_0x47de2a(0x126))/0x5*(-parseInt(_0x47de2a(0x101))/0x6)+parseInt(_0x47de2a(0x142))/0x7+parseInt(_0x47de2a(0x104))/0x8*(parseInt(_0x47de2a(0x117))/0x9);if(_0x4d69cf===_0x11d5f0)break;else _0x507479['push'](_0x507479['shift']());}catch(_0x2f0cc2){_0x507479['push'](_0x507479['shift']());}}}(a16_0x51fa,0x284f3));function a16_0x235b(_0x2507a2,_0x5df330){const _0x51faef=a16_0x51fa();return a16_0x235b=function(_0x235bf0,_0x112e07){_0x235bf0=_0x235bf0-0x100;let _0x2b70cf=_0x51faef[_0x235bf0];return _0x2b70cf;},a16_0x235b(_0x2507a2,_0x5df330);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x5c52e6(0x10f));exports['f_rm_rf']=function(_0x5c41a7){const _0x3b6320=a16_0x5c52e6;if(fs[_0x3b6320(0x133)](_0x5c41a7)){const _0x2edb75=fs[_0x3b6320(0x12c)](_0x5c41a7);for(let _0x479beb=0x0;_0x479beb<_0x2edb75[_0x3b6320(0x12a)];_0x479beb++){const _0x45ec15=_0x2edb75[_0x479beb],_0x3f66d0=_0x5c41a7+'/'+_0x45ec15;fs['statSync'](_0x3f66d0)['isDirectory']()?(exports[_0x3b6320(0x128)](_0x3f66d0),fs['rmdirSync'](_0x3f66d0)):fs[_0x3b6320(0x107)](_0x3f66d0);}}},exports[a16_0x5c52e6(0x106)]=function(_0x103f65=[]){const _0x416cb8=a16_0x5c52e6;return _0x103f65[_0x416cb8(0x103)](_0x7286e3=>{const _0x2d0e3c=_0x416cb8,_0x5cc752=CLOUD_PROJECT[_0x7286e3[_0x2d0e3c(0x137)]]||undefined,_0x4c48f2=os[_0x2d0e3c(0x145)]();return{'path':_0x4c48f2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x7286e3[_0x2d0e3c(0x137)]+_0x2d0e3c(0x115),'compress':_0x4c48f2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x7286e3[_0x2d0e3c(0x137)]+_0x2d0e3c(0x13d),'repository':GIT_HOST+_0x2d0e3c(0x13c)+_0x5cc752[_0x2d0e3c(0x13b)]+_0x2d0e3c(0x127)+_0x5cc752[_0x2d0e3c(0x120)]+'&ref=master'};});},exports[a16_0x5c52e6(0x10a)]=function(_0x5b09b5){const _0x2ac67a=a16_0x5c52e6;return fs[_0x2ac67a(0x133)](_0x5b09b5+_0x2ac67a(0x123));},exports['f_scan_jjb_config_json_rules']=function(_0x51ba42){const _0x4b76cf=a16_0x5c52e6;let _0xfb4547={};try{_0xfb4547=JSON[_0x4b76cf(0x100)](fs[_0x4b76cf(0x114)](_0x51ba42+_0x4b76cf(0x123))[_0x4b76cf(0x11f)]());}catch(_0x4e7727){console[_0x4b76cf(0x105)](_0x4b76cf(0x12f)),process['exit'](0x0);}!(_0x4b76cf(0x102)in _0xfb4547)&&(console[_0x4b76cf(0x105)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x4b76cf(0x141)](0x0));!(_0x4b76cf(0x11c)in _0xfb4547)&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x10b)),process[_0x4b76cf(0x141)](0x0));!(_0x4b76cf(0x124)in _0xfb4547)&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x131)),process[_0x4b76cf(0x141)](0x0));typeof _0xfb4547[_0x4b76cf(0x102)]!==_0x4b76cf(0x11e)&&(console[_0x4b76cf(0x105)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x4b76cf(0x141)](0x0));![_0x4b76cf(0x121),_0x4b76cf(0x125),_0x4b76cf(0x132),_0x4b76cf(0x110)][_0x4b76cf(0x136)](_0xfb4547[_0x4b76cf(0x102)])&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x13f)),process[_0x4b76cf(0x141)](0x0));typeof _0xfb4547[_0x4b76cf(0x11c)]!==_0x4b76cf(0x11e)&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x118)),process[_0x4b76cf(0x141)](0x0));![_0x4b76cf(0x13a),'src'][_0x4b76cf(0x136)](_0xfb4547['installTarget'])&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x10e)),process['exit'](0x0));!Array[_0x4b76cf(0x12d)](_0xfb4547[_0x4b76cf(0x124)])&&(console[_0x4b76cf(0x105)](_0x4b76cf(0x129)),process[_0x4b76cf(0x141)](0x0));_0xfb4547[_0x4b76cf(0x124)][_0x4b76cf(0x12a)]===0x0&&(console['log'](_0x4b76cf(0x140)),process[_0x4b76cf(0x141)](0x0));const _0x3ca9f2=exports['f_resolve_install_resources'](_0xfb4547['installResources']);return _0x3ca9f2[_0x4b76cf(0x103)](_0x5a5179=>_0x5a5179[_0x4b76cf(0x137)])[_0x4b76cf(0x138)](_0x48b17a=>![_0x4b76cf(0x11a),_0x4b76cf(0x139),_0x4b76cf(0x119),'jjb-common-decorator','react-admin-component',_0x4b76cf(0x111)][_0x4b76cf(0x136)](_0x48b17a))[_0x4b76cf(0x12a)]!==0x0&&(console[_0x4b76cf(0x105)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x4b76cf(0x141)](0x0)),_0xfb4547['installResources']=_0x3ca9f2,_0xfb4547;},exports[a16_0x5c52e6(0x135)]=function(_0x568b24,_0x1ef294,_0x3c8520){const _0xfd24ae=a16_0x5c52e6;fs[_0xfd24ae(0x13e)](_0x568b24+_0xfd24ae(0x12e),'{\x22name\x22:\x22'+_0x1ef294+_0xfd24ae(0x116)+_0x3c8520+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a16_0x5c52e6(0x112)]=function(_0x43f224=[]){const _0x175022=a16_0x5c52e6,_0x5c053e=[];return Array[_0x175022(0x12d)](_0x43f224)&&_0x43f224[_0x175022(0x122)](_0x3f2216=>{const _0xc2351d=_0x175022;if(Array[_0xc2351d(0x12d)](_0x3f2216)){const [_0xbb56bf,_0x22a882=[]]=_0x3f2216;_0x5c053e[_0xc2351d(0x10d)]({'name':_0xbb56bf,'importList':_0x22a882});}else _0x5c053e[_0xc2351d(0x10d)]({'name':_0x3f2216,'importList':[]});}),_0x5c053e;},exports[a16_0x5c52e6(0x11d)]=function(_0x188258,_0x45b181,_0x424b5d){const _0x2e1102=a16_0x5c52e6,_0x3b430c=JSON[_0x2e1102(0x100)](fs[_0x2e1102(0x114)](_0x188258)[_0x2e1102(0x11f)]());_0x3b430c[_0x2e1102(0x130)][_0x45b181]=_0x424b5d,fs[_0x2e1102(0x13e)](_0x188258,JSON['stringify'](_0x3b430c,null,0x2));},exports['f_file_copy']=function(_0x434fda,_0x46b682){const _0x27d7d1=a16_0x5c52e6;fs['readdirSync'](_0x434fda)[_0x27d7d1(0x122)](_0x383a9d=>{const _0x30e0ec=_0x27d7d1,_0x5d5898=_0x434fda+'\x5c'+_0x383a9d,_0xbf8681=_0x46b682+'\x5c'+_0x383a9d;fs[_0x30e0ec(0x143)](_0x5d5898)[_0x30e0ec(0x10c)]()?(fs['mkdirSync'](_0xbf8681),exports[_0x30e0ec(0x134)](_0x5d5898,_0xbf8681)):fs[_0x30e0ec(0x13e)](_0xbf8681,fs[_0x30e0ec(0x114)](_0x5d5898)[_0x30e0ec(0x11f)]());});},exports['f_content_replace']=function(_0x3828bc=[],_0x41b056){_0x3828bc['forEach'](_0x109df3=>{const _0x3de7c8=a16_0x235b,_0x4ed531=_0x41b056+_0x109df3[_0x3de7c8(0x113)];if(fs[_0x3de7c8(0x133)](_0x4ed531)){let _0x206830=fs[_0x3de7c8(0x114)](_0x4ed531)[_0x3de7c8(0x11f)]();_0x109df3[_0x3de7c8(0x144)][_0x3de7c8(0x122)](_0x590bf0=>{_0x206830=_0x206830['replace'](_0x590bf0[0x0],_0x590bf0[0x1]);}),fs[_0x3de7c8(0x13e)](_0x4ed531,_0x206830);}});};
1
+ function a16_0x1fea(_0x2b2280,_0x35061e){const _0x209cbd=a16_0x209c();return a16_0x1fea=function(_0x1fea20,_0x5bf77c){_0x1fea20=_0x1fea20-0x167;let _0x14e0f3=_0x209cbd[_0x1fea20];return _0x14e0f3;},a16_0x1fea(_0x2b2280,_0x35061e);}const a16_0x5c2995=a16_0x1fea;(function(_0x9d7d60,_0x17313e){const _0x33ed6e=a16_0x1fea,_0xa69427=_0x9d7d60();while(!![]){try{const _0xcde72a=parseInt(_0x33ed6e(0x19e))/0x1*(-parseInt(_0x33ed6e(0x16e))/0x2)+parseInt(_0x33ed6e(0x17e))/0x3*(-parseInt(_0x33ed6e(0x17c))/0x4)+-parseInt(_0x33ed6e(0x184))/0x5*(-parseInt(_0x33ed6e(0x1a8))/0x6)+-parseInt(_0x33ed6e(0x1a2))/0x7+parseInt(_0x33ed6e(0x16d))/0x8*(parseInt(_0x33ed6e(0x180))/0x9)+parseInt(_0x33ed6e(0x18d))/0xa+-parseInt(_0x33ed6e(0x189))/0xb*(-parseInt(_0x33ed6e(0x1a3))/0xc);if(_0xcde72a===_0x17313e)break;else _0xa69427['push'](_0xa69427['shift']());}catch(_0x137bc8){_0xa69427['push'](_0xa69427['shift']());}}}(a16_0x209c,0x2c412));function a16_0x209c(){const _0x420988=['/api/v4/projects/','jjb-dva-runtime','428388cFsPMu','f_rm_rf','path','installTarget','token','f_update_project_package_json','\x22,\x22main\x22:\x20\x22index.js\x22}','readFileSync','statSync','log','\x5cjjb.config.json','【Error】:[jjb.config.json.installTarget]类型是一个string。','33848RQJLxk','29652pWoEjR','exit','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','&ref=master','push','.zip','f_resolve_install_resources','vue-unisass-component','spa','stringify','map','f_create_package_json','installResources','node_modules','10400tMVzXW','isArray','63RHvYDJ','string','441SFPxnQ','f_content_replace','isDirectory','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','5JgUNhD','rmdirSync','uniapp','f_file_copy','projectId','712866Yuijdi','\x5cpackage.json','existsSync','unlinkSync','522840RayBZS','./config','dependencies','length','toString','forEach','projectType','f_scan_jjb_config_json_rules','{\x22name\x22:\x22','f_pull_git_repository','readdirSync','includes','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','writeFileSync','name','micro-spa','parse','17NyJbYp','filter','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','replace','1169861HxebKw','60jdojNB','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','_zip'];a16_0x209c=function(){return _0x420988;};return a16_0x209c();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x5c2995(0x18e));exports[a16_0x5c2995(0x1a9)]=function(_0x32eb21){const _0xc2355f=a16_0x5c2995;if(fs[_0xc2355f(0x18b)](_0x32eb21)){const _0x3fcce9=fs[_0xc2355f(0x197)](_0x32eb21);for(let _0x542042=0x0;_0x542042<_0x3fcce9[_0xc2355f(0x190)];_0x542042++){const _0x561cbd=_0x3fcce9[_0x542042],_0x30a86e=_0x32eb21+'/'+_0x561cbd;fs[_0xc2355f(0x169)](_0x30a86e)[_0xc2355f(0x182)]()?(exports[_0xc2355f(0x1a9)](_0x30a86e),fs[_0xc2355f(0x185)](_0x30a86e)):fs[_0xc2355f(0x18c)](_0x30a86e);}}},exports[a16_0x5c2995(0x196)]=function(_0x3cc579=[]){const _0x561e7e=a16_0x5c2995;return _0x3cc579[_0x561e7e(0x178)](_0x20f91e=>{const _0x195ed1=_0x561e7e,_0xfcc7d3=CLOUD_PROJECT[_0x20f91e['name']]||undefined,_0x18e766=os['tmpdir']();return{'path':_0x18e766+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x20f91e[_0x195ed1(0x19b)]+_0x195ed1(0x173),'compress':_0x18e766+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x20f91e['name']+_0x195ed1(0x1a5),'repository':GIT_HOST+_0x195ed1(0x1a6)+_0xfcc7d3[_0x195ed1(0x188)]+'/repository/archive.zip?private_token='+_0xfcc7d3[_0x195ed1(0x1ac)]+_0x195ed1(0x171)};});},exports['f_scan_jjb_config_json']=function(_0x1eb304){const _0x1d20a1=a16_0x5c2995;return fs['existsSync'](_0x1eb304+_0x1d20a1(0x16b));},exports[a16_0x5c2995(0x194)]=function(_0x375514){const _0xa97c3f=a16_0x5c2995;let _0xf26a9a={};try{_0xf26a9a=JSON[_0xa97c3f(0x19d)](fs['readFileSync'](_0x375514+_0xa97c3f(0x16b))[_0xa97c3f(0x191)]());}catch(_0x33003e){console[_0xa97c3f(0x16a)](_0xa97c3f(0x183)),process[_0xa97c3f(0x16f)](0x0);}!('projectType'in _0xf26a9a)&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0xa97c3f(0x16f)](0x0));!('installTarget'in _0xf26a9a)&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0xa97c3f(0x16f)](0x0));!(_0xa97c3f(0x17a)in _0xf26a9a)&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x1a4)),process[_0xa97c3f(0x16f)](0x0));typeof _0xf26a9a[_0xa97c3f(0x193)]!==_0xa97c3f(0x17f)&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));!['multi',_0xa97c3f(0x176),_0xa97c3f(0x186),_0xa97c3f(0x19c)][_0xa97c3f(0x198)](_0xf26a9a['projectType'])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x199)),process[_0xa97c3f(0x16f)](0x0));typeof _0xf26a9a[_0xa97c3f(0x1ab)]!==_0xa97c3f(0x17f)&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x16c)),process[_0xa97c3f(0x16f)](0x0));![_0xa97c3f(0x17b),'src'][_0xa97c3f(0x198)](_0xf26a9a[_0xa97c3f(0x1ab)])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x1a0)),process['exit'](0x0));!Array[_0xa97c3f(0x17d)](_0xf26a9a[_0xa97c3f(0x17a)])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x170)),process[_0xa97c3f(0x16f)](0x0));_0xf26a9a[_0xa97c3f(0x17a)][_0xa97c3f(0x190)]===0x0&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0xa97c3f(0x16f)](0x0));const _0x24b75c=exports[_0xa97c3f(0x174)](_0xf26a9a[_0xa97c3f(0x17a)]);return _0x24b75c[_0xa97c3f(0x178)](_0x120d02=>_0x120d02['name'])[_0xa97c3f(0x19f)](_0x585015=>!['jjb-common',_0xa97c3f(0x1a7),'jjb-common-lib','jjb-common-decorator','react-admin-component',_0xa97c3f(0x175)]['includes'](_0x585015))['length']!==0x0&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0xa97c3f(0x16f)](0x0)),_0xf26a9a[_0xa97c3f(0x17a)]=_0x24b75c,_0xf26a9a;},exports[a16_0x5c2995(0x179)]=function(_0x40eb49,_0x49076f,_0x5a146e){const _0x3b7f37=a16_0x5c2995;fs[_0x3b7f37(0x19a)](_0x40eb49+_0x3b7f37(0x18a),_0x3b7f37(0x195)+_0x49076f+'\x22,\x22version\x22:\x22'+_0x5a146e+_0x3b7f37(0x167));},exports['f_resolve_install_resources']=function(_0x1aca89=[]){const _0x4b693e=a16_0x5c2995,_0x1328e4=[];return Array[_0x4b693e(0x17d)](_0x1aca89)&&_0x1aca89[_0x4b693e(0x192)](_0x57077d=>{const _0x56bc6c=_0x4b693e;if(Array[_0x56bc6c(0x17d)](_0x57077d)){const [_0x2b6dd6,_0x1b90fe=[]]=_0x57077d;_0x1328e4[_0x56bc6c(0x172)]({'name':_0x2b6dd6,'importList':_0x1b90fe});}else _0x1328e4['push']({'name':_0x57077d,'importList':[]});}),_0x1328e4;},exports[a16_0x5c2995(0x1ad)]=function(_0x43261c,_0x42e81c,_0x3eb270){const _0x3a5d32=a16_0x5c2995,_0x192262=JSON['parse'](fs['readFileSync'](_0x43261c)[_0x3a5d32(0x191)]());_0x192262[_0x3a5d32(0x18f)][_0x42e81c]=_0x3eb270,fs[_0x3a5d32(0x19a)](_0x43261c,JSON[_0x3a5d32(0x177)](_0x192262,null,0x2));},exports['f_file_copy']=function(_0x546a0f,_0x145498){const _0x4a6865=a16_0x5c2995;fs[_0x4a6865(0x197)](_0x546a0f)[_0x4a6865(0x192)](_0x327eaa=>{const _0x106f07=_0x4a6865,_0xff82c=_0x546a0f+'\x5c'+_0x327eaa,_0x2663e7=_0x145498+'\x5c'+_0x327eaa;fs['statSync'](_0xff82c)[_0x106f07(0x182)]()?(fs['mkdirSync'](_0x2663e7),exports[_0x106f07(0x187)](_0xff82c,_0x2663e7)):fs[_0x106f07(0x19a)](_0x2663e7,fs[_0x106f07(0x168)](_0xff82c)[_0x106f07(0x191)]());});},exports[a16_0x5c2995(0x181)]=function(_0x1c4214=[],_0x120ac0){const _0x17665a=a16_0x5c2995;_0x1c4214[_0x17665a(0x192)](_0x4466d2=>{const _0x12733a=_0x17665a,_0x523ac5=_0x120ac0+_0x4466d2[_0x12733a(0x1aa)];if(fs[_0x12733a(0x18b)](_0x523ac5)){let _0x3916f2=fs[_0x12733a(0x168)](_0x523ac5)['toString']();_0x4466d2[_0x12733a(0x1a1)][_0x12733a(0x192)](_0x2a314a=>{const _0x2c1e47=_0x12733a;_0x3916f2=_0x3916f2[_0x2c1e47(0x1a1)](_0x2a314a[0x0],_0x2a314a[0x1]);}),fs['writeFileSync'](_0x523ac5,_0x3916f2);}});};
@@ -1 +1 @@
1
- const a17_0x390f9c=a17_0x47a4;(function(_0x3d17ba,_0xcf36b5){const _0x1f0cb7=a17_0x47a4,_0x1d0f7e=_0x3d17ba();while(!![]){try{const _0x33eb56=parseInt(_0x1f0cb7(0x1e0))/0x1*(-parseInt(_0x1f0cb7(0x1d5))/0x2)+-parseInt(_0x1f0cb7(0x1d6))/0x3*(parseInt(_0x1f0cb7(0x1b8))/0x4)+parseInt(_0x1f0cb7(0x1c7))/0x5*(parseInt(_0x1f0cb7(0x1bd))/0x6)+-parseInt(_0x1f0cb7(0x1c9))/0x7+-parseInt(_0x1f0cb7(0x1dc))/0x8*(-parseInt(_0x1f0cb7(0x1bc))/0x9)+-parseInt(_0x1f0cb7(0x1da))/0xa+-parseInt(_0x1f0cb7(0x1bb))/0xb*(-parseInt(_0x1f0cb7(0x1c5))/0xc);if(_0x33eb56===_0xcf36b5)break;else _0x1d0f7e['push'](_0x1d0f7e['shift']());}catch(_0x55ca57){_0x1d0f7e['push'](_0x1d0f7e['shift']());}}}(a17_0x339f,0x8722a));const fs=require('fs'),path=require('path'),utils=require(a17_0x390f9c(0x1dd));function a17_0x47a4(_0xba3dd,_0x25ca92){const _0x339f95=a17_0x339f();return a17_0x47a4=function(_0x47a414,_0x1c66ce){_0x47a414=_0x47a414-0x1b8;let _0x211693=_0x339f95[_0x47a414];return _0x211693;},a17_0x47a4(_0xba3dd,_0x25ca92);}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a17_0x390f9c(0x1d8)]=(_0x773f37,_0xb4e598)=>{const _0x145ff0=a17_0x390f9c;commandArr=_0x773f37['split'](':'),projectPath=path[_0x145ff0(0x1db)](_0x145ff0(0x1ca)),vesselPath=path['resolve'](_0x145ff0(0x1cd));let _0x57c9a3=vesselPath;_0xb4e598==='mp'&&(_0x57c9a3=vesselPath+_0x145ff0(0x1d2),utils[_0x145ff0(0x1c2)](vesselPath,[_0x145ff0(0x1df)]));const _0x4a5532=commandArr[0x1],_0x29dbd7=JSON[_0x145ff0(0x1ba)](fs[_0x145ff0(0x1cf)](projectPath+'/'+_0x4a5532+_0x145ff0(0x1c6))['toString']());TileItems(_0x29dbd7[_0x145ff0(0x1c0)],()=>{const _0x57ac26=_0x145ff0;fromFileData[_0x57ac26(0x1cc)][_0x57ac26(0x1e2)](_0x30cfbf=>{const _0x4a1ca8=_0x57ac26,_0x568ac8=_0x30cfbf[_0x4a1ca8(0x1d4)][_0x4a1ca8(0x1bf)](_0x30cfbf[_0x4a1ca8(0x1d0)]),_0x54ce45=_0x568ac8[0x1][_0x4a1ca8(0x1bf)]('/'),_0x90d914=_0x54ce45[0x1];!applicationJson[_0x90d914]&&(applicationJson[_0x90d914]={'routerConfig':[],'routerPath':[]});applicationJson[_0x90d914][_0x4a1ca8(0x1c8)][_0x4a1ca8(0x1ce)]('{\x20path:\x20\x27'+_0x30cfbf[_0x4a1ca8(0x1c4)]+'\x27,\x20component:\x20()\x20=>\x20import(\x27'+_0x30cfbf[_0x4a1ca8(0x1be)]+_0x4a1ca8(0x1e4)),applicationJson[_0x90d914][_0x4a1ca8(0x1d3)][_0x4a1ca8(0x1ce)](_0x30cfbf[_0x4a1ca8(0x1c4)]);let _0x2c9b83=_0x54ce45[_0x4a1ca8(0x1c1)]('/');const _0x90e5ae=_0x2c9b83['split']('/');utils[_0x4a1ca8(0x1c2)](_0x57c9a3,_0x90e5ae[_0x4a1ca8(0x1c3)](0x0,_0x90e5ae[_0x4a1ca8(0x1b9)]-0x1))[_0x4a1ca8(0x1d7)](()=>{const _0x288a1e=_0x4a1ca8,_0x58c548=fs['readFileSync'](_0x30cfbf['pathAdr'])[_0x288a1e(0x1e3)]();fs[_0x288a1e(0x1d9)](vesselPath+'/'+_0x2c9b83,_0x58c548);});});});};function TileItems(_0x3bdd99,_0x13b7d4){const _0x18f7dd=a17_0x390f9c;_0x3bdd99[_0x18f7dd(0x1e2)]((_0x5cc4be,_0x279acf)=>{const _0x17abde=_0x18f7dd,_0x489e48=_0x5cc4be[_0x17abde(0x1d0)];_0x5cc4be['from']['forEach']((_0x1f0cb2,_0x2c532e)=>{const _0x5db02f=_0x17abde,_0x1c5748=[];utils['DeepScanner'](projectPath+'/'+_0x489e48+'/'+_0x1f0cb2[_0x5db02f(0x1be)],_0x1c5748);const _0x524f0b=_0x1c5748[_0x5db02f(0x1de)](_0x506c75=>({'region':_0x489e48,'pathAdr':_0x506c75,..._0x1f0cb2}));!fromFileData[_0x1f0cb2[_0x5db02f(0x1e1)]]?fromFileData[_0x1f0cb2[_0x5db02f(0x1e1)]]=_0x524f0b:fromFileData[_0x1f0cb2['fileType']]=fromFileData[_0x1f0cb2[_0x5db02f(0x1e1)]][_0x5db02f(0x1cb)](_0x524f0b),_0x279acf===_0x3bdd99[_0x5db02f(0x1b9)]-0x1&&_0x2c532e===_0x5cc4be[_0x5db02f(0x1d1)][_0x5db02f(0x1b9)]-0x1&&_0x13b7d4();});});}function a17_0x339f(){const _0x396a31=['split','items','join','CreatePaths','slice','path','492wxqEPj','/setting.json','5CTTNHJ','routerConfig','2678018xwqIIb','./project','concat','router','./vessel/src','push','readFileSync','region','from','/application','routerPath','pathAdr','2342BxdArd','3AeQzyj','then','exports','writeFileSync','4096310EKyPSe','resolve','1050888TNhiuV','./util.js','map','application','682TBlupf','fileType','forEach','toString','\x27)\x20}','3078748mplJwc','length','parse','335357HcSvzl','45QxXwHk','6043536eWFmzU','file'];a17_0x339f=function(){return _0x396a31;};return a17_0x339f();}
1
+ const a17_0x5166e8=a17_0x3185;(function(_0x52c282,_0x40e0f2){const _0x687985=a17_0x3185,_0x399ab9=_0x52c282();while(!![]){try{const _0xe4c728=parseInt(_0x687985(0x181))/0x1*(-parseInt(_0x687985(0x188))/0x2)+-parseInt(_0x687985(0x193))/0x3*(parseInt(_0x687985(0x1a5))/0x4)+parseInt(_0x687985(0x1a3))/0x5*(parseInt(_0x687985(0x18c))/0x6)+-parseInt(_0x687985(0x198))/0x7+-parseInt(_0x687985(0x18e))/0x8*(-parseInt(_0x687985(0x190))/0x9)+parseInt(_0x687985(0x19a))/0xa*(-parseInt(_0x687985(0x197))/0xb)+parseInt(_0x687985(0x180))/0xc*(parseInt(_0x687985(0x195))/0xd);if(_0xe4c728===_0x40e0f2)break;else _0x399ab9['push'](_0x399ab9['shift']());}catch(_0x1d7748){_0x399ab9['push'](_0x399ab9['shift']());}}}(a17_0x32a9,0x28288));function a17_0x3185(_0x3b41ba,_0x4bd82b){const _0x32a9db=a17_0x32a9();return a17_0x3185=function(_0x31859e,_0x256066){_0x31859e=_0x31859e-0x17a;let _0x4489a0=_0x32a9db[_0x31859e];return _0x4489a0;},a17_0x3185(_0x3b41ba,_0x4bd82b);}const fs=require('fs'),path=require(a17_0x5166e8(0x19f)),utils=require(a17_0x5166e8(0x17c));function a17_0x32a9(){const _0x41cbde=['readFileSync','routerConfig','from','exports','path','parse','DeepScanner','forEach','350rfMQoU','writeFileSync','812fRRGTQ','file','/setting.json','./util.js','join','push','split','447852iHSwib','1NwVYgv','\x27,\x20component:\x20()\x20=>\x20import(\x27','CreatePaths','pathAdr','slice','./vessel/src','{\x20path:\x20\x27','541430TXWcIp','resolve','routerPath','/application','1164IQhOxA','region','251888eBYFaq','then','36yodHrm','router','length','3975ZTzBPj','map','234DkrfIG','fileType','638jPxVoS','50330mEXMCb','concat','17230uISmhD'];a17_0x32a9=function(){return _0x41cbde;};return a17_0x32a9();}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a17_0x5166e8(0x19e)]=(_0x4531b2,_0x3ebd64)=>{const _0x21da05=a17_0x5166e8;commandArr=_0x4531b2[_0x21da05(0x17f)](':'),projectPath=path['resolve']('./project'),vesselPath=path[_0x21da05(0x189)](_0x21da05(0x186));let _0x35d246=vesselPath;_0x3ebd64==='mp'&&(_0x35d246=vesselPath+_0x21da05(0x18b),utils[_0x21da05(0x183)](vesselPath,['application']));const _0x10cc91=commandArr[0x1],_0x133d45=JSON[_0x21da05(0x1a0)](fs[_0x21da05(0x19b)](projectPath+'/'+_0x10cc91+_0x21da05(0x17b))['toString']());TileItems(_0x133d45['items'],()=>{const _0x4a0c28=_0x21da05;fromFileData[_0x4a0c28(0x191)][_0x4a0c28(0x1a2)](_0x264d67=>{const _0x3020f4=_0x4a0c28,_0x2cdd85=_0x264d67[_0x3020f4(0x184)][_0x3020f4(0x17f)](_0x264d67[_0x3020f4(0x18d)]),_0x5b3d06=_0x2cdd85[0x1][_0x3020f4(0x17f)]('/'),_0x46285a=_0x5b3d06[0x1];!applicationJson[_0x46285a]&&(applicationJson[_0x46285a]={'routerConfig':[],'routerPath':[]});applicationJson[_0x46285a][_0x3020f4(0x19c)]['push'](_0x3020f4(0x187)+_0x264d67[_0x3020f4(0x19f)]+_0x3020f4(0x182)+_0x264d67['file']+'\x27)\x20}'),applicationJson[_0x46285a][_0x3020f4(0x18a)][_0x3020f4(0x17e)](_0x264d67[_0x3020f4(0x19f)]);let _0x18d6ee=_0x5b3d06[_0x3020f4(0x17d)]('/');const _0x5ab410=_0x18d6ee['split']('/');utils[_0x3020f4(0x183)](_0x35d246,_0x5ab410[_0x3020f4(0x185)](0x0,_0x5ab410[_0x3020f4(0x192)]-0x1))[_0x3020f4(0x18f)](()=>{const _0xa38d8f=_0x3020f4,_0x4f7da4=fs[_0xa38d8f(0x19b)](_0x264d67[_0xa38d8f(0x184)])['toString']();fs[_0xa38d8f(0x1a4)](vesselPath+'/'+_0x18d6ee,_0x4f7da4);});});});};function TileItems(_0x5022e7,_0x52b5e7){const _0x4f69e6=a17_0x5166e8;_0x5022e7[_0x4f69e6(0x1a2)]((_0x56a074,_0x581ad1)=>{const _0x2b61b5=_0x4f69e6,_0x4e3c83=_0x56a074['region'];_0x56a074['from'][_0x2b61b5(0x1a2)]((_0xd0846d,_0x2e6edd)=>{const _0x18d391=_0x2b61b5,_0x2f7082=[];utils[_0x18d391(0x1a1)](projectPath+'/'+_0x4e3c83+'/'+_0xd0846d[_0x18d391(0x17a)],_0x2f7082);const _0x4ed289=_0x2f7082[_0x18d391(0x194)](_0x273d33=>({'region':_0x4e3c83,'pathAdr':_0x273d33,..._0xd0846d}));!fromFileData[_0xd0846d[_0x18d391(0x196)]]?fromFileData[_0xd0846d[_0x18d391(0x196)]]=_0x4ed289:fromFileData[_0xd0846d[_0x18d391(0x196)]]=fromFileData[_0xd0846d[_0x18d391(0x196)]][_0x18d391(0x199)](_0x4ed289),_0x581ad1===_0x5022e7[_0x18d391(0x192)]-0x1&&_0x2e6edd===_0x56a074[_0x18d391(0x19d)][_0x18d391(0x192)]-0x1&&_0x52b5e7();});});}
@@ -1 +1 @@
1
- 'use strict';const a18_0x35bd10=a18_0xdb8a;(function(_0x372bbe,_0x5d94bb){const _0x1a6626=a18_0xdb8a,_0x3508aa=_0x372bbe();while(!![]){try{const _0x1324bb=parseInt(_0x1a6626(0x206))/0x1+-parseInt(_0x1a6626(0x1ee))/0x2+-parseInt(_0x1a6626(0x205))/0x3*(parseInt(_0x1a6626(0x1f8))/0x4)+parseInt(_0x1a6626(0x20f))/0x5*(-parseInt(_0x1a6626(0x213))/0x6)+parseInt(_0x1a6626(0x1f7))/0x7*(-parseInt(_0x1a6626(0x1f1))/0x8)+parseInt(_0x1a6626(0x1e9))/0x9*(parseInt(_0x1a6626(0x1ea))/0xa)+parseInt(_0x1a6626(0x1e4))/0xb*(parseInt(_0x1a6626(0x217))/0xc);if(_0x1324bb===_0x5d94bb)break;else _0x3508aa['push'](_0x3508aa['shift']());}catch(_0x1f5442){_0x3508aa['push'](_0x3508aa['shift']());}}}(a18_0x212a,0xefafa));const fs=require('fs'),os=require('os'),path=require(a18_0x35bd10(0x1e6)),utils=require('./util'),request=require(a18_0x35bd10(0x1e7)),compressing=require(a18_0x35bd10(0x1f6)),GIT_TEMP_DIR=a18_0x35bd10(0x1f2),GIT_HOST=a18_0x35bd10(0x1e0),CLOUD_PROJECT={'common':{'token':a18_0x35bd10(0x218),'projectId':0x117,'localName':a18_0x35bd10(0x1ef)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a18_0x35bd10(0x1e2)}};module[a18_0x35bd10(0x20e)]=_0x526c43=>{const _0x5cc54c=a18_0x35bd10,_0x1c0dc5=_0x526c43,_0x1135a1=path['resolve']('./');try{if(fs[_0x5cc54c(0x1e1)](_0x1135a1+_0x5cc54c(0x1dc))){const _0x5b7ba6=_0x1135a1+_0x5cc54c(0x1dc),_0x3c22f4=CLOUD_PROJECT[_0x1c0dc5]||undefined;if(_0x3c22f4){const _0x578a1b=os[_0x5cc54c(0x1ec)](),_0x5660eb=_0x578a1b+('/'+GIT_TEMP_DIR+'/'+_0x1c0dc5+_0x5cc54c(0x1f3)),_0x5dc01b=_0x578a1b+'/'+GIT_TEMP_DIR+_0x5cc54c(0x1e3);utils[_0x5cc54c(0x1f9)](_0x578a1b+'/'+GIT_TEMP_DIR,()=>{const _0x192ca8=_0x5cc54c;fs['mkdirSync'](_0x578a1b+'/'+GIT_TEMP_DIR);let _0x2ec78a=fs[_0x192ca8(0x203)](_0x5660eb);request(GIT_HOST+_0x192ca8(0x209)+_0x3c22f4[_0x192ca8(0x1e5)]+_0x192ca8(0x1f4)+_0x3c22f4[_0x192ca8(0x1eb)]+_0x192ca8(0x200))[_0x192ca8(0x202)](_0x2ec78a)['on'](_0x192ca8(0x201),()=>{const _0x56c874=_0x192ca8;fs[_0x56c874(0x1d9)](_0x5dc01b),compressing[_0x56c874(0x211)][_0x56c874(0x1e8)](_0x5660eb,_0x5dc01b)[_0x56c874(0x216)](()=>{setTimeout(()=>{const _0x42bc1b=a18_0xdb8a,_0x1d46f9=fs[_0x42bc1b(0x210)](_0x5dc01b);_0x1d46f9['forEach'](_0x4d1b5d=>{const _0x1fc2d9=_0x42bc1b;if(_0x4d1b5d[_0x1fc2d9(0x1ff)](_0x1fc2d9(0x214))!==-0x1){const _0x55493b=_0x5b7ba6+'\x5c'+_0x3c22f4[_0x1fc2d9(0x1da)];utils[_0x1fc2d9(0x1f9)](_0x55493b,()=>{const _0x115f84=_0x1fc2d9;fs[_0x115f84(0x1d9)](_0x55493b),utils['CopyFolder'](_0x5dc01b+_0x4d1b5d,_0x55493b),setTimeout(()=>{const _0x244d44=_0x115f84,_0x33b54c=fs[_0x244d44(0x1fb)](_0x5b7ba6+'\x5c'+_0x244d44(0x1fa));if(!_0x33b54c){const _0x19f8e1=_0x5b7ba6+'\x5c'+_0x244d44(0x1dd),_0x298bed=_0x5b7ba6+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x544fd2=fs[_0x244d44(0x219)](_0x19f8e1)[_0x244d44(0x1f5)](),_0x1aff7d=fs[_0x244d44(0x219)](_0x298bed)['toString']();_0x544fd2=_0x544fd2[_0x244d44(0x20d)](_0x244d44(0x20b),_0x244d44(0x1db)),_0x1aff7d=_0x1aff7d['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x244d44(0x1de)](_0x19f8e1,_0x544fd2),fs[_0x244d44(0x1de)](_0x298bed,_0x1aff7d),fs[_0x244d44(0x1de)](_0x5b7ba6+_0x244d44(0x1fd),fs[_0x244d44(0x219)](__dirname+_0x244d44(0x20a))[_0x244d44(0x1f5)]()),fs[_0x244d44(0x1de)](_0x5b7ba6+_0x244d44(0x1fc),fs[_0x244d44(0x219)](__dirname+_0x244d44(0x208))[_0x244d44(0x1f5)]());}else fs['exists'](_0x5b7ba6+'\x5c'+_0x244d44(0x204),_0x55fde5=>{const _0x5d0126=_0x244d44;_0x55fde5&&(fs[_0x5d0126(0x210)](_0x5b7ba6+'\x5c'+_0x5d0126(0x212))[_0x5d0126(0x215)](_0x590c6e=>{const _0x3ad6f7=_0x5d0126;fs[_0x3ad6f7(0x207)](_0x5b7ba6+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x590c6e);}),fs[_0x5d0126(0x1df)](_0x5b7ba6+'\x5c'+_0x5d0126(0x212)));});},0x3e8);});}}),console['log'](_0x1c0dc5+_0x42bc1b(0x1fe));},0x7d0);});});});}else console[_0x5cc54c(0x1f0)](_0x5cc54c(0x1ed)+_0x1c0dc5);}}catch(_0x2dca44){console[_0x5cc54c(0x1f0)](_0x5cc54c(0x20c));}};function a18_0xdb8a(_0x2660b4,_0x13e770){const _0x212aec=a18_0x212a();return a18_0xdb8a=function(_0xdb8a43,_0x150581){_0xdb8a43=_0xdb8a43-0x1d9;let _0xe91259=_0x212aec[_0xdb8a43];return _0xe91259;},a18_0xdb8a(_0x2660b4,_0x13e770);}function a18_0x212a(){const _0x288985=['components','/unzip/','7264433epSvGZ','projectId','path','request','uncompress','7638939xacFbZ','20yUFbjh','token','tmpdir','【Error】:\x20未获取到项目\x20','1615516REoSRr','common','error','8iakQiJ','jjbAssembly','.zip','/repository/archive.zip?private_token=','toString','compressing','1394197ROhNFX','1997836wlpyaS','DeleteDirAllFile','application','existsSync','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','-文件下载完毕','indexOf','&ref=master','close','pipe','createWriteStream','common\x5cdva\x5cautomatic\x5cindex.js','3yzCbzX','994321AMLhvz','unlinkSync','\x5ccli.dva.register.spa.txt','/api/v4/projects/','\x5ccli.dva.router.spa.txt','return\x20__planA();','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','replace','exports','16535KWxYBD','readdirSync','zip','common\x5cdva\x5cautomatic','2766lHruFo','-master-','forEach','then','24qtUaeM','G4HJRsHr9D7Ssmixegw2','readFileSync','mkdirSync','localName','return\x20process.env;','\x5csrc','common\x5ctools\x5cindex.js','writeFileSync','rmdirSync','http://192.168.1.242:10985','statSync'];a18_0x212a=function(){return _0x288985;};return a18_0x212a();}
1
+ 'use strict';function a18_0x4faf(){const _0x251f1e=['\x5ccli.dva.register.spa.txt','-master-','close','existsSync','\x5csrc','common\x5cwebsite\x5cindex.js','2817XyTpNH','path','/repository/archive.zip?private_token=','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','log','then','resolve','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','tmpdir','rmdirSync','10GOEiYy','2754dUfcAl','\x5ccli.dva.router.spa.txt','zip','token','error','/unzip/','pipe','exports','1305492mrftOH','uncompress','replace','return\x20__planA();','http://192.168.1.242:10985','forEach','/api/v4/projects/','common\x5ctools\x5cindex.js','.zip','readFileSync','readdirSync','application','toString','116GtNXzd','4GnchKS','statSync','return\x20process.env;','DeleteDirAllFile','writeFileSync','22689jUUjkw','FT3pKzxpRynFkmddJ9Bs','common\x5cdva\x5cautomatic\x5cindex.js','mkdirSync','4424lgherx','unlinkSync','5217091btEHEc','1440376wlmCwf','227605AzcUEk','./util','common\x5cdva\x5cautomatic\x5c','localName','projectId','common\x5cdva\x5cautomatic'];a18_0x4faf=function(){return _0x251f1e;};return a18_0x4faf();}const a18_0x36fdcb=a18_0x444b;function a18_0x444b(_0x2ce1e9,_0x3d4f63){const _0x4fafcb=a18_0x4faf();return a18_0x444b=function(_0x444b41,_0x364534){_0x444b41=_0x444b41-0xaa;let _0x51f3c3=_0x4fafcb[_0x444b41];return _0x51f3c3;},a18_0x444b(_0x2ce1e9,_0x3d4f63);}(function(_0x23f571,_0x1cce1a){const _0x202936=a18_0x444b,_0xb94373=_0x23f571();while(!![]){try{const _0x42d3d7=parseInt(_0x202936(0xb3))/0x1*(parseInt(_0x202936(0xc9))/0x2)+parseInt(_0x202936(0xce))/0x3*(-parseInt(_0x202936(0xc8))/0x4)+parseInt(_0x202936(0xd6))/0x5+-parseInt(_0x202936(0xbb))/0x6+parseInt(_0x202936(0xd5))/0x7+parseInt(_0x202936(0xd2))/0x8*(-parseInt(_0x202936(0xe2))/0x9)+parseInt(_0x202936(0xb2))/0xa*(parseInt(_0x202936(0xd4))/0xb);if(_0x42d3d7===_0x1cce1a)break;else _0xb94373['push'](_0xb94373['shift']());}catch(_0x2aaedc){_0xb94373['push'](_0xb94373['shift']());}}}(a18_0x4faf,0x1d8f8));const fs=require('fs'),os=require('os'),path=require(a18_0x36fdcb(0xe3)),utils=require(a18_0x36fdcb(0xd7)),request=require('request'),compressing=require('compressing'),GIT_TEMP_DIR='jjbAssembly',GIT_HOST=a18_0x36fdcb(0xbf),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':'common'},'react-admin-component':{'token':a18_0x36fdcb(0xcf),'projectId':0x154,'localName':'components'}};module[a18_0x36fdcb(0xba)]=_0x55a583=>{const _0x40b918=a18_0x36fdcb,_0x393ffa=_0x55a583,_0x44fe0e=path[_0x40b918(0xae)]('./');try{if(fs[_0x40b918(0xca)](_0x44fe0e+_0x40b918(0xe0))){const _0x39e2c1=_0x44fe0e+_0x40b918(0xe0),_0x164f0a=CLOUD_PROJECT[_0x393ffa]||undefined;if(_0x164f0a){const _0x455ced=os[_0x40b918(0xb0)](),_0x43c8cc=_0x455ced+('/'+GIT_TEMP_DIR+'/'+_0x393ffa+_0x40b918(0xc3)),_0x2e3b9b=_0x455ced+'/'+GIT_TEMP_DIR+_0x40b918(0xb8);utils['DeleteDirAllFile'](_0x455ced+'/'+GIT_TEMP_DIR,()=>{const _0x418fc6=_0x40b918;fs[_0x418fc6(0xd1)](_0x455ced+'/'+GIT_TEMP_DIR);let _0x9f87e6=fs['createWriteStream'](_0x43c8cc);request(GIT_HOST+_0x418fc6(0xc1)+_0x164f0a[_0x418fc6(0xda)]+_0x418fc6(0xe4)+_0x164f0a[_0x418fc6(0xb6)]+'&ref=master')[_0x418fc6(0xb9)](_0x9f87e6)['on'](_0x418fc6(0xde),()=>{const _0x55592a=_0x418fc6;fs[_0x55592a(0xd1)](_0x2e3b9b),compressing[_0x55592a(0xb5)][_0x55592a(0xbc)](_0x43c8cc,_0x2e3b9b)[_0x55592a(0xad)](()=>{setTimeout(()=>{const _0x28956b=a18_0x444b,_0x5f24fb=fs[_0x28956b(0xc5)](_0x2e3b9b);_0x5f24fb[_0x28956b(0xc0)](_0x38166b=>{const _0xff4006=_0x28956b;if(_0x38166b[_0xff4006(0xaa)](_0xff4006(0xdd))!==-0x1){const _0x43e996=_0x39e2c1+'\x5c'+_0x164f0a[_0xff4006(0xd9)];utils[_0xff4006(0xcc)](_0x43e996,()=>{const _0x5b1f06=_0xff4006;fs[_0x5b1f06(0xd1)](_0x43e996),utils['CopyFolder'](_0x2e3b9b+_0x38166b,_0x43e996),setTimeout(()=>{const _0x493b82=_0x5b1f06,_0x2f8503=fs[_0x493b82(0xdf)](_0x39e2c1+'\x5c'+_0x493b82(0xc6));if(!_0x2f8503){const _0x3a514c=_0x39e2c1+'\x5c'+_0x493b82(0xc2),_0x16225b=_0x39e2c1+'\x5c'+_0x493b82(0xe1);let _0x1e8890=fs[_0x493b82(0xc4)](_0x3a514c)['toString'](),_0x9af708=fs['readFileSync'](_0x16225b)[_0x493b82(0xc7)]();_0x1e8890=_0x1e8890[_0x493b82(0xbd)](_0x493b82(0xbe),_0x493b82(0xcb)),_0x9af708=_0x9af708[_0x493b82(0xbd)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x493b82(0xaf)),fs[_0x493b82(0xcd)](_0x3a514c,_0x1e8890),fs[_0x493b82(0xcd)](_0x16225b,_0x9af708),fs[_0x493b82(0xcd)](_0x39e2c1+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x493b82(0xc4)](__dirname+_0x493b82(0xb4))[_0x493b82(0xc7)]()),fs[_0x493b82(0xcd)](_0x39e2c1+_0x493b82(0xab),fs['readFileSync'](__dirname+_0x493b82(0xdc))['toString']());}else fs['exists'](_0x39e2c1+'\x5c'+_0x493b82(0xd0),_0x17f8b8=>{const _0x3e34d1=_0x493b82;_0x17f8b8&&(fs[_0x3e34d1(0xc5)](_0x39e2c1+'\x5c'+'common\x5cdva\x5cautomatic')[_0x3e34d1(0xc0)](_0x31ec4e=>{const _0x20578c=_0x3e34d1;fs[_0x20578c(0xd3)](_0x39e2c1+'\x5c'+_0x20578c(0xd8)+_0x31ec4e);}),fs[_0x3e34d1(0xb1)](_0x39e2c1+'\x5c'+_0x3e34d1(0xdb)));});},0x3e8);});}}),console[_0x28956b(0xac)](_0x393ffa+'-文件下载完毕');},0x7d0);});});});}else console[_0x40b918(0xb7)]('【Error】:\x20未获取到项目\x20'+_0x393ffa);}}catch(_0x16acd4){console[_0x40b918(0xb7)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
@@ -1 +1 @@
1
- 'use strict';const a19_0x24dfed=a19_0x146e;function a19_0x146e(_0x407080,_0x2dbddf){const _0x12ada6=a19_0x12ad();return a19_0x146e=function(_0x146ec6,_0x27823c){_0x146ec6=_0x146ec6-0x178;let _0x4db2e2=_0x12ada6[_0x146ec6];return _0x4db2e2;},a19_0x146e(_0x407080,_0x2dbddf);}function a19_0x12ad(){const _0x325c0b=['tmpdir','jjb-common/crypto','./util','common/http','FT3pKzxpRynFkmddJ9Bs','\x5cRouterMenu\x5cindex.js','\x5cImageCropper\x5cindex.js','zip','{\x22name\x22:\x22','jjb-common/http','\x5cwebsite\x5cindex.js','jjb-common/tools','writeFileSync','existsSync','substr','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','then','\x5c.idea','readFileSync','CopyFolder','forEach','\x5cdva\x5cautomatic\x5cregister.js','jjb-common/color','【Error】:\x20未获取到项目\x20','unlinkSync','\x5ccli.dva.router.spa.txt','common/tools','replace','\x5ccli.dva.register.spa.txt','indexOf','pipe','&ref=master','mkdirSync','4456963feyuJz','uncompress','micro-spa','-master-','\x5ctools\x5cindex.js','/api/v4/projects/','components','1952502YXqvgD','stringify','return\x20process.env.app;','toString','request','projectType','\x5cnode_modules\x5cjjb-','exports','jjb-common/website','return\x20process.env;','\x22,\x22main\x22:\x20\x22index.js\x22}','common/color','rmdirSync','token','G4HJRsHr9D7Ssmixegw2','react-admin-component','【已安装】:','\x5cdva\x5cautomatic','common','\x5cdva\x5cautomatic\x5crouter.js','error','1.0.0','jjb-','\x5cEditor\x5cindex.js','\x5capplication','4hDalGd','path','\x5cpackage.json','DeleteDirAllFile','1515boEccj','/unzip/','\x5ccli.dva.router.saas.txt','projectId','.zip','common/crypto','http://192.168.1.242:10985','readdirSync','random','502342HFINaT','5784FaWPnZ','jjb-react-admin-component','\x5cRouterContainer\x5cindex.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','statSync','54472DJNKsR','parse','\x5cPageHeaderBar\x5cindex.js','9mRJlRy','dependencies','13245740vaEIlq','length','createWriteStream','\x5cImageUploader\x5cindex.js','643472uagXEo','spa','return\x20__planA();'];a19_0x12ad=function(){return _0x325c0b;};return a19_0x12ad();}(function(_0x4c4afe,_0x357e39){const _0x4e0b0e=a19_0x146e,_0x106741=_0x4c4afe();while(!![]){try{const _0x39b9c7=-parseInt(_0x4e0b0e(0x1a4))/0x1*(-parseInt(_0x4e0b0e(0x1b1))/0x2)+-parseInt(_0x4e0b0e(0x18b))/0x3+-parseInt(_0x4e0b0e(0x1c0))/0x4+parseInt(_0x4e0b0e(0x1a8))/0x5*(-parseInt(_0x4e0b0e(0x1b2))/0x6)+-parseInt(_0x4e0b0e(0x184))/0x7+parseInt(_0x4e0b0e(0x1b7))/0x8+-parseInt(_0x4e0b0e(0x1ba))/0x9*(-parseInt(_0x4e0b0e(0x1bc))/0xa);if(_0x39b9c7===_0x357e39)break;else _0x106741['push'](_0x106741['shift']());}catch(_0x4050ba){_0x106741['push'](_0x106741['shift']());}}}(a19_0x12ad,0x9166c));const fs=require('fs'),os=require('os'),path=require(a19_0x24dfed(0x1a5)),utils=require(a19_0x24dfed(0x1c5)),request=require(a19_0x24dfed(0x18f)),compressing=require('compressing'),GIT_HOST=a19_0x24dfed(0x1ae),GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':a19_0x24dfed(0x199),'projectId':0x117,'localName':a19_0x24dfed(0x19d)},'react-admin-component':{'token':a19_0x24dfed(0x1c7),'projectId':0x154,'localName':a19_0x24dfed(0x18a)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x24dfed(0x188),'replace':[[a19_0x24dfed(0x18a),a19_0x24dfed(0x1b3)]]},{'path':a19_0x24dfed(0x1cd),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x24dfed(0x1d2)],[a19_0x24dfed(0x18a),a19_0x24dfed(0x1b3)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x24dfed(0x188),'replace':[['return\x20__planA();',a19_0x24dfed(0x194)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x24dfed(0x188),'replace':[[a19_0x24dfed(0x1c2),a19_0x24dfed(0x18d)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x24dfed(0x1a2),'replace':[['common/http','jjb-common/http'],[a19_0x24dfed(0x1ad),a19_0x24dfed(0x1c4)],[a19_0x24dfed(0x17d),a19_0x24dfed(0x1ce)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a19_0x24dfed(0x196),a19_0x24dfed(0x179)]]},{'path':a19_0x24dfed(0x1c8),'replace':[[a19_0x24dfed(0x17d),a19_0x24dfed(0x1ce)]]},{'path':'\x5cFileUploader\x5cindex.js','replace':[[a19_0x24dfed(0x1c6),a19_0x24dfed(0x1cc)],[a19_0x24dfed(0x17d),a19_0x24dfed(0x1ce)]]},{'path':a19_0x24dfed(0x1c9),'replace':[[a19_0x24dfed(0x1c6),a19_0x24dfed(0x1cc)],['common/tools','jjb-common/tools']]},{'path':a19_0x24dfed(0x1bf),'replace':[['common/http',a19_0x24dfed(0x1cc)],['common/tools',a19_0x24dfed(0x1ce)]]},{'path':a19_0x24dfed(0x1b9),'replace':[[a19_0x24dfed(0x196),'jjb-common/color']]},{'path':a19_0x24dfed(0x1b4),'replace':[[a19_0x24dfed(0x17d),'jjb-common/tools']]},{'path':a19_0x24dfed(0x1b5),'replace':[['common/website',a19_0x24dfed(0x193)],[a19_0x24dfed(0x17d),a19_0x24dfed(0x1ce)]]}];function uid(){const _0x26cb3b=a19_0x24dfed;return Math[_0x26cb3b(0x1b0)]()[_0x26cb3b(0x18e)]()[_0x26cb3b(0x1d1)](0x2);}module[a19_0x24dfed(0x192)]=_0x5cb610=>{const _0x78768e=a19_0x24dfed,_0x50956=path['resolve']('./'),_0x1411e7=_0x78768e(0x1a1)+_0x5cb610,_0x1d8760=_0x78768e(0x1a0),_0x1c7c57=_0x50956+'\x5csrc',_0x58eb8c='template_'+uid(),_0x5aad6c=__dirname+'\x5c'+_0x58eb8c,_0x24cb45=_0x50956+'\x5cpackage.json',_0x3fec14=_0x50956+_0x78768e(0x191)+_0x5cb610;try{if(fs['existsSync'](_0x1c7c57)){const _0x595bc7=CLOUD_PROJECT[_0x5cb610]||undefined;if(_0x595bc7){const _0x136a7e=os[_0x78768e(0x1c3)](),_0x3a0c06=_0x136a7e+'/'+GIT_TEMP_DIR+'/'+_0x5cb610+_0x78768e(0x1ac),_0x483516=_0x136a7e+'/'+GIT_TEMP_DIR+_0x78768e(0x1a9);utils['DeleteDirAllFile'](_0x136a7e+'/'+GIT_TEMP_DIR,()=>{const _0x29b80f=_0x78768e;fs[_0x29b80f(0x183)](_0x136a7e+'/'+GIT_TEMP_DIR);const _0x1f9393=fs[_0x29b80f(0x1be)](_0x3a0c06);request(GIT_HOST+_0x29b80f(0x189)+_0x595bc7[_0x29b80f(0x1ab)]+'/repository/archive.zip?private_token='+_0x595bc7[_0x29b80f(0x198)]+_0x29b80f(0x182))[_0x29b80f(0x181)](_0x1f9393)['on']('close',()=>{const _0x560f92=_0x29b80f;fs['mkdirSync'](_0x483516),compressing[_0x560f92(0x1ca)][_0x560f92(0x185)](_0x3a0c06,_0x483516)[_0x560f92(0x1d3)](()=>{setTimeout(()=>{const _0x2af856=a19_0x146e;fs[_0x2af856(0x1af)](_0x483516)[_0x2af856(0x1d7)](_0x4d0318=>{const _0x2dddcb=_0x2af856;_0x4d0318[_0x2dddcb(0x180)](_0x2dddcb(0x187))!==-0x1&&utils[_0x2dddcb(0x1a7)](_0x1c7c57+'\x5c'+_0x595bc7['localName'],()=>{const _0x13af20=_0x2dddcb;fs['mkdirSync'](_0x5aad6c),utils[_0x13af20(0x1d6)](_0x483516+_0x4d0318,_0x5aad6c),setTimeout(()=>{const _0x51be4c=_0x13af20;if(_0x5cb610===_0x51be4c(0x19d)){const _0x3ab3c8=fs[_0x51be4c(0x1d0)](_0x1c7c57+_0x51be4c(0x1a3));if(_0x3ab3c8)rm_rf(_0x5aad6c+_0x51be4c(0x19c)),fs[_0x51be4c(0x197)](_0x5aad6c+_0x51be4c(0x19c));else{if(get_project_type(_0x24cb45)===_0x51be4c(0x1c1))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x5aad6c),fs[_0x51be4c(0x1cf)](_0x5aad6c+_0x51be4c(0x19e),fs[_0x51be4c(0x1d5)](__dirname+_0x51be4c(0x17c))[_0x51be4c(0x18e)]()),fs['writeFileSync'](_0x5aad6c+_0x51be4c(0x178),fs['readFileSync'](__dirname+_0x51be4c(0x17f))[_0x51be4c(0x18e)]());else get_project_type(_0x24cb45)===_0x51be4c(0x186)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x5aad6c),fs[_0x51be4c(0x1cf)](_0x5aad6c+_0x51be4c(0x19e),fs['readFileSync'](__dirname+_0x51be4c(0x1aa))['toString']()),fs[_0x51be4c(0x1cf)](_0x5aad6c+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x51be4c(0x1d5)](__dirname+'\x5ccli.dva.register.saas.txt')[_0x51be4c(0x18e)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x5aad6c);}_0x5cb610===_0x51be4c(0x19a)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x5aad6c),rm_rf(_0x5aad6c+_0x51be4c(0x1d4)),fs[_0x51be4c(0x1d0)](_0x5aad6c+_0x51be4c(0x1d4))&&fs[_0x51be4c(0x197)](_0x5aad6c+_0x51be4c(0x1d4)),fs['existsSync'](_0x5aad6c+'\x5c.gitignore')&&fs[_0x51be4c(0x17b)](_0x5aad6c+'\x5c.gitignore'),!fs[_0x51be4c(0x1d0)](_0x3fec14)?fs['mkdirSync'](_0x3fec14):rm_rf(_0x3fec14),utils[_0x51be4c(0x1d6)](_0x5aad6c,_0x3fec14,()=>{const _0x2d7e2d=_0x51be4c;rm_rf(_0x5aad6c),fs['rmdirSync'](_0x5aad6c),create_package_json(_0x3fec14,_0x1411e7,_0x1d8760),update_project_package_json(_0x24cb45,_0x1411e7,_0x1d8760),console['log'](_0x2d7e2d(0x19b)+_0x1411e7+'\x20v'+_0x1d8760);});},0x3e8);});});},0x7d0);});});});}else console[_0x78768e(0x19f)](_0x78768e(0x17a)+_0x5cb610);}}catch(_0x505a55){console[_0x78768e(0x19f)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0xeaca16){const _0x450466=a19_0x24dfed;if(fs[_0x450466(0x1d0)](_0xeaca16)){const _0x165bf5=fs[_0x450466(0x1af)](_0xeaca16);for(let _0x528313=0x0;_0x528313<_0x165bf5[_0x450466(0x1bd)];_0x528313++){const _0x1a8fc4=_0x165bf5[_0x528313],_0x2454aa=_0xeaca16+'/'+_0x1a8fc4;fs[_0x450466(0x1b6)](_0x2454aa)['isDirectory']()?(rm_rf(_0x2454aa),fs[_0x450466(0x197)](_0x2454aa)):fs[_0x450466(0x17b)](_0x2454aa);}}}function create_package_json(_0x2d1de9,_0x449e5d,_0x417c04){const _0xa9c954=a19_0x24dfed;fs['writeFileSync'](_0x2d1de9+_0xa9c954(0x1a6),_0xa9c954(0x1cb)+_0x449e5d+'\x22,\x22version\x22:\x22'+_0x417c04+_0xa9c954(0x195));}function get_project_type(_0x476319){const _0x53a18b=a19_0x24dfed,_0x5a4473=JSON['parse'](fs[_0x53a18b(0x1d5)](_0x476319)[_0x53a18b(0x18e)]());return _0x5a4473[_0x53a18b(0x190)];}function update_project_package_json(_0x5ec874,_0x5e069e,_0x18e279){const _0x349e57=a19_0x24dfed,_0x90059e=JSON[_0x349e57(0x1b8)](fs[_0x349e57(0x1d5)](_0x5ec874)[_0x349e57(0x18e)]());_0x90059e[_0x349e57(0x1bb)][_0x5e069e]=_0x18e279,fs['writeFileSync'](_0x5ec874,JSON[_0x349e57(0x18c)](_0x90059e,null,0x2));}function content_replace(_0x3f3c85=[],_0x5ccfad){const _0x272966=a19_0x24dfed;_0x3f3c85[_0x272966(0x1d7)](_0x221b4f=>{const _0x2f5d80=_0x272966,_0x4d30dc=_0x5ccfad+_0x221b4f['path'];if(fs[_0x2f5d80(0x1d0)](_0x4d30dc)){let _0x1fe1b4=fs[_0x2f5d80(0x1d5)](_0x4d30dc)[_0x2f5d80(0x18e)]();_0x221b4f[_0x2f5d80(0x17e)][_0x2f5d80(0x1d7)](_0x56c992=>{_0x1fe1b4=_0x1fe1b4['replace'](_0x56c992[0x0],_0x56c992[0x1]);}),fs[_0x2f5d80(0x1cf)](_0x4d30dc,_0x1fe1b4);}});}
1
+ 'use strict';function a19_0x2711(_0x5e2f5e,_0x31b40e){const _0x4e153f=a19_0x4e15();return a19_0x2711=function(_0x2711f6,_0x27c247){_0x2711f6=_0x2711f6-0x11d;let _0x377477=_0x4e153f[_0x2711f6];return _0x377477;},a19_0x2711(_0x5e2f5e,_0x31b40e);}const a19_0x20570c=a19_0x2711;(function(_0x2356b1,_0x307319){const _0x300ef8=a19_0x2711,_0x21dad6=_0x2356b1();while(!![]){try{const _0x381ca9=parseInt(_0x300ef8(0x141))/0x1+parseInt(_0x300ef8(0x152))/0x2+parseInt(_0x300ef8(0x11e))/0x3*(parseInt(_0x300ef8(0x15f))/0x4)+-parseInt(_0x300ef8(0x12e))/0x5*(-parseInt(_0x300ef8(0x129))/0x6)+parseInt(_0x300ef8(0x176))/0x7*(parseInt(_0x300ef8(0x130))/0x8)+parseInt(_0x300ef8(0x153))/0x9*(-parseInt(_0x300ef8(0x163))/0xa)+-parseInt(_0x300ef8(0x13a))/0xb;if(_0x381ca9===_0x307319)break;else _0x21dad6['push'](_0x21dad6['shift']());}catch(_0x579fd2){_0x21dad6['push'](_0x21dad6['shift']());}}}(a19_0x4e15,0xc2e84));function a19_0x4e15(){const _0x1db0ae=['253252uXnNem','components','FT3pKzxpRynFkmddJ9Bs','indexOf','4266410lRQGQr','common/crypto','error','common/http','react-admin-component','\x22,\x22version\x22:\x22','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','close','-master-','readFileSync','\x5cImageUploader\x5cindex.js','mkdirSync','exports','CopyFolder','DeleteDirAllFile','common/website','log','\x5c.idea','replace','7mLWfcY','dependencies','./util','return\x20process.env;','1.0.0','&ref=master','localName','/api/v4/projects/','\x5csrc','micro-spa','\x5cRejectText\x5cindex.js','\x5cdva\x5cautomatic\x5crouter.js','rmdirSync','33tolHxH','\x5cFileUploader\x5cindex.js','jjb-common/color','existsSync','random','\x5cImageCropper\x5cindex.js','{\x22name\x22:\x22','return\x20__planA();','stringify','jjbAssembly','\x5cEditor\x5cindex.js','1808124iPgzDU','jjb-common/http','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common','common/color','5MuYusQ','return\x20process.env.app;','7668288YxeTJc','writeFileSync','pipe','\x5cRouterMenu\x5cindex.js','\x5ccli.dva.router.saas.txt','http://192.168.1.242:10985','\x5cRouterContainer\x5cindex.js','G4HJRsHr9D7Ssmixegw2','spa','tmpdir','19950458txBsVp','jjb-common/tools','\x5cdva\x5cautomatic','\x5cpackage.json','forEach','uncompress','then','895321vYDShY','projectType','compressing','\x5c.gitignore','\x5ccli.dva.register.saas.txt','jjb-common/website','\x5capplication','\x22,\x22main\x22:\x20\x22index.js\x22}','isDirectory','projectId','path','readdirSync','jjb-react-admin-component','\x5cdva\x5cautomatic\x5cregister.js','\x5ctools\x5cindex.js','/repository/archive.zip?private_token=','\x5cwebsite\x5cindex.js','2080574pmpsBc','27gyQwUh','template_','.zip','parse','toString','\x5cnode_modules\x5cjjb-','jjb-','common/tools','substr','\x5cPageHeaderBar\x5cindex.js','statSync','unlinkSync'];a19_0x4e15=function(){return _0x1db0ae;};return a19_0x4e15();}const fs=require('fs'),os=require('os'),path=require(a19_0x20570c(0x14b)),utils=require(a19_0x20570c(0x178)),request=require('request'),compressing=require(a19_0x20570c(0x143)),GIT_HOST=a19_0x20570c(0x135),GIT_TEMP_DIR=a19_0x20570c(0x127),CLOUD_PROJECT={'common':{'token':a19_0x20570c(0x137),'projectId':0x117,'localName':a19_0x20570c(0x12c)},'react-admin-component':{'token':a19_0x20570c(0x161),'projectId':0x154,'localName':a19_0x20570c(0x160)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x20570c(0x14f),'replace':[[a19_0x20570c(0x160),a19_0x20570c(0x14d)]]},{'path':a19_0x20570c(0x151),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x20570c(0x12b)],[a19_0x20570c(0x160),a19_0x20570c(0x14d)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();',a19_0x20570c(0x179)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x20570c(0x14f),'replace':[[a19_0x20570c(0x125),a19_0x20570c(0x12f)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x20570c(0x128),'replace':[['common/http',a19_0x20570c(0x12a)],[a19_0x20570c(0x164),'jjb-common/crypto'],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x180),'replace':[[a19_0x20570c(0x12d),a19_0x20570c(0x120)]]},{'path':a19_0x20570c(0x133),'replace':[[a19_0x20570c(0x15a),'jjb-common/tools']]},{'path':a19_0x20570c(0x11f),'replace':[[a19_0x20570c(0x166),'jjb-common/http'],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x123),'replace':[[a19_0x20570c(0x166),a19_0x20570c(0x12a)],['common/tools',a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x16d),'replace':[[a19_0x20570c(0x166),a19_0x20570c(0x12a)],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x15c),'replace':[['common/color','jjb-common/color']]},{'path':a19_0x20570c(0x136),'replace':[[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x169),'replace':[[a19_0x20570c(0x172),a19_0x20570c(0x146)],[a19_0x20570c(0x15a),'jjb-common/tools']]}];function uid(){const _0x14a6cc=a19_0x20570c;return Math[_0x14a6cc(0x122)]()['toString']()[_0x14a6cc(0x15b)](0x2);}module[a19_0x20570c(0x16f)]=_0x29cf69=>{const _0x2fd305=a19_0x20570c,_0x7ec000=path['resolve']('./'),_0xaf0482=_0x2fd305(0x159)+_0x29cf69,_0x33953f=_0x2fd305(0x17a),_0x588e12=_0x7ec000+_0x2fd305(0x17e),_0x243cc0=_0x2fd305(0x154)+uid(),_0x263791=__dirname+'\x5c'+_0x243cc0,_0x9bc4a1=_0x7ec000+'\x5cpackage.json',_0x60956a=_0x7ec000+_0x2fd305(0x158)+_0x29cf69;try{if(fs[_0x2fd305(0x121)](_0x588e12)){const _0x35ee55=CLOUD_PROJECT[_0x29cf69]||undefined;if(_0x35ee55){const _0x4a30d4=os[_0x2fd305(0x139)](),_0x13a4bf=_0x4a30d4+'/'+GIT_TEMP_DIR+'/'+_0x29cf69+_0x2fd305(0x155),_0x1ab74d=_0x4a30d4+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x2fd305(0x171)](_0x4a30d4+'/'+GIT_TEMP_DIR,()=>{const _0x43ddab=_0x2fd305;fs[_0x43ddab(0x16e)](_0x4a30d4+'/'+GIT_TEMP_DIR);const _0x42496b=fs['createWriteStream'](_0x13a4bf);request(GIT_HOST+_0x43ddab(0x17d)+_0x35ee55[_0x43ddab(0x14a)]+_0x43ddab(0x150)+_0x35ee55['token']+_0x43ddab(0x17b))[_0x43ddab(0x132)](_0x42496b)['on'](_0x43ddab(0x16a),()=>{const _0x4a89dd=_0x43ddab;fs[_0x4a89dd(0x16e)](_0x1ab74d),compressing['zip'][_0x4a89dd(0x13f)](_0x13a4bf,_0x1ab74d)[_0x4a89dd(0x140)](()=>{setTimeout(()=>{const _0xdf68ec=a19_0x2711;fs['readdirSync'](_0x1ab74d)[_0xdf68ec(0x13e)](_0x8859f5=>{const _0x469ea1=_0xdf68ec;_0x8859f5[_0x469ea1(0x162)](_0x469ea1(0x16b))!==-0x1&&utils[_0x469ea1(0x171)](_0x588e12+'\x5c'+_0x35ee55[_0x469ea1(0x17c)],()=>{const _0x38ae2c=_0x469ea1;fs[_0x38ae2c(0x16e)](_0x263791),utils['CopyFolder'](_0x1ab74d+_0x8859f5,_0x263791),setTimeout(()=>{const _0x10d0fb=_0x38ae2c;if(_0x29cf69==='common'){const _0x3e16e6=fs[_0x10d0fb(0x121)](_0x588e12+_0x10d0fb(0x147));if(_0x3e16e6)rm_rf(_0x263791+'\x5cdva\x5cautomatic'),fs[_0x10d0fb(0x11d)](_0x263791+_0x10d0fb(0x13c));else{if(get_project_type(_0x9bc4a1)===_0x10d0fb(0x138))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x263791),fs['writeFileSync'](_0x263791+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x10d0fb(0x16c)](__dirname+'\x5ccli.dva.router.spa.txt')['toString']()),fs[_0x10d0fb(0x131)](_0x263791+_0x10d0fb(0x14e),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')[_0x10d0fb(0x157)]());else get_project_type(_0x9bc4a1)===_0x10d0fb(0x17f)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x263791),fs['writeFileSync'](_0x263791+_0x10d0fb(0x181),fs[_0x10d0fb(0x16c)](__dirname+_0x10d0fb(0x134))[_0x10d0fb(0x157)]()),fs[_0x10d0fb(0x131)](_0x263791+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x10d0fb(0x145))[_0x10d0fb(0x157)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x263791);}_0x29cf69===_0x10d0fb(0x167)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x263791),rm_rf(_0x263791+'\x5c.idea'),fs[_0x10d0fb(0x121)](_0x263791+_0x10d0fb(0x174))&&fs['rmdirSync'](_0x263791+_0x10d0fb(0x174)),fs[_0x10d0fb(0x121)](_0x263791+'\x5c.gitignore')&&fs[_0x10d0fb(0x15e)](_0x263791+_0x10d0fb(0x144)),!fs[_0x10d0fb(0x121)](_0x60956a)?fs[_0x10d0fb(0x16e)](_0x60956a):rm_rf(_0x60956a),utils[_0x10d0fb(0x170)](_0x263791,_0x60956a,()=>{const _0x142ad5=_0x10d0fb;rm_rf(_0x263791),fs[_0x142ad5(0x11d)](_0x263791),create_package_json(_0x60956a,_0xaf0482,_0x33953f),update_project_package_json(_0x9bc4a1,_0xaf0482,_0x33953f),console[_0x142ad5(0x173)]('【已安装】:'+_0xaf0482+'\x20v'+_0x33953f);});},0x3e8);});});},0x7d0);});});});}else console[_0x2fd305(0x165)]('【Error】:\x20未获取到项目\x20'+_0x29cf69);}}catch(_0x45fbca){console[_0x2fd305(0x165)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x521f42){const _0x21db81=a19_0x20570c;if(fs[_0x21db81(0x121)](_0x521f42)){const _0x2a98a7=fs[_0x21db81(0x14c)](_0x521f42);for(let _0x4715fe=0x0;_0x4715fe<_0x2a98a7['length'];_0x4715fe++){const _0x55e0d4=_0x2a98a7[_0x4715fe],_0x154745=_0x521f42+'/'+_0x55e0d4;fs[_0x21db81(0x15d)](_0x154745)[_0x21db81(0x149)]()?(rm_rf(_0x154745),fs['rmdirSync'](_0x154745)):fs[_0x21db81(0x15e)](_0x154745);}}}function create_package_json(_0x2c9fe3,_0x38d33f,_0x5bb2f3){const _0x12a8a3=a19_0x20570c;fs[_0x12a8a3(0x131)](_0x2c9fe3+_0x12a8a3(0x13d),_0x12a8a3(0x124)+_0x38d33f+_0x12a8a3(0x168)+_0x5bb2f3+_0x12a8a3(0x148));}function get_project_type(_0x47e78c){const _0x116301=a19_0x20570c,_0x532dd7=JSON[_0x116301(0x156)](fs['readFileSync'](_0x47e78c)[_0x116301(0x157)]());return _0x532dd7[_0x116301(0x142)];}function update_project_package_json(_0x20c9d5,_0x363af2,_0x382d5a){const _0x46ab6a=a19_0x20570c,_0x4bd5a0=JSON[_0x46ab6a(0x156)](fs['readFileSync'](_0x20c9d5)[_0x46ab6a(0x157)]());_0x4bd5a0[_0x46ab6a(0x177)][_0x363af2]=_0x382d5a,fs[_0x46ab6a(0x131)](_0x20c9d5,JSON[_0x46ab6a(0x126)](_0x4bd5a0,null,0x2));}function content_replace(_0x1b5625=[],_0x7c27a5){const _0x2c7970=a19_0x20570c;_0x1b5625[_0x2c7970(0x13e)](_0x1d2c5c=>{const _0x5353a4=_0x2c7970,_0xc8277f=_0x7c27a5+_0x1d2c5c[_0x5353a4(0x14b)];if(fs[_0x5353a4(0x121)](_0xc8277f)){let _0x13ab37=fs[_0x5353a4(0x16c)](_0xc8277f)[_0x5353a4(0x157)]();_0x1d2c5c[_0x5353a4(0x175)][_0x5353a4(0x13e)](_0x50711f=>{const _0x27e6e7=_0x5353a4;_0x13ab37=_0x13ab37[_0x27e6e7(0x175)](_0x50711f[0x0],_0x50711f[0x1]);}),fs['writeFileSync'](_0xc8277f,_0x13ab37);}});}
@@ -1 +1 @@
1
- function a20_0x2dd0(_0x14011b,_0x1a42ac){const _0x696fe8=a20_0x696f();return a20_0x2dd0=function(_0x2dd037,_0x2ab638){_0x2dd037=_0x2dd037-0xc9;let _0x5ccde2=_0x696fe8[_0x2dd037];return _0x5ccde2;},a20_0x2dd0(_0x14011b,_0x1a42ac);}const a20_0x37dd6b=a20_0x2dd0;function a20_0x696f(){const _0x4a50a0=['18nIfhdt','path','readline','log','删除文件夹:','readdirSync','删除完成。','是否确认删除?删除后不可恢复![y/n]:','stdout','375DeJdjs','1tXDtsK','trim','isDirectory','existsSync','exit','正在计算项目数,请稍等...','resolve','stdin','unlinkSync','./progress-bar','取消删除。','statSync','length','48789mkJreV','1830lMMTfA','50412DftqDh','1245797eXxfYy','19855814zMOTza','38496lcQRsS','1631342TaToZo','createInterface','5203448TgNQFa','无效操作。','删除异常:','删除文件:'];a20_0x696f=function(){return _0x4a50a0;};return a20_0x696f();}(function(_0x100a3e,_0xe49b9d){const _0x56f9b7=a20_0x2dd0,_0x4f276f=_0x100a3e();while(!![]){try{const _0x276970=-parseInt(_0x56f9b7(0xcb))/0x1*(parseInt(_0x56f9b7(0xde))/0x2)+parseInt(_0x56f9b7(0xdd))/0x3+-parseInt(_0x56f9b7(0xda))/0x4*(-parseInt(_0x56f9b7(0xca))/0x5)+parseInt(_0x56f9b7(0xe4))/0x6*(parseInt(_0x56f9b7(0xdb))/0x7)+parseInt(_0x56f9b7(0xe0))/0x8+parseInt(_0x56f9b7(0xd8))/0x9*(parseInt(_0x56f9b7(0xd9))/0xa)+-parseInt(_0x56f9b7(0xdc))/0xb;if(_0x276970===_0xe49b9d)break;else _0x4f276f['push'](_0x4f276f['shift']());}catch(_0x127727){_0x4f276f['push'](_0x4f276f['shift']());}}}(a20_0x696f,0x7d6a3));const fs=require('fs'),path=require(a20_0x37dd6b(0xe5)),readline=require(a20_0x37dd6b(0xe6)),ProgressBar=require(a20_0x37dd6b(0xd4)),io=readline[a20_0x37dd6b(0xdf)]({'input':process[a20_0x37dd6b(0xd2)],'output':process[a20_0x37dd6b(0xc9)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x5458a0=a20_0x37dd6b,_0x5854a8=path[_0x5458a0(0xd1)]('./');io['question'](_0x5458a0(0xeb),function(_0x53e889){const _0x4c3015=_0x5458a0;if(_0x53e889[_0x4c3015(0xcc)]()==='y')console['log'](_0x4c3015(0xd0)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x5854a8),setTimeout(()=>{const _0x1e4b9f=a20_0x2dd0;console['log'](_0x1e4b9f(0xea)),console['clear'](),process[_0x1e4b9f(0xcf)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x53e889[_0x4c3015(0xcc)]()==='n'?(console[_0x4c3015(0xe7)](_0x4c3015(0xd5)),process['exit'](0x0)):(console[_0x4c3015(0xe7)](_0x4c3015(0xe1)),process[_0x4c3015(0xcf)](0x0));});};function exec(_0x1e2725){const _0x1116a5=a20_0x37dd6b;if(fs['existsSync'](_0x1e2725)){const _0x489948=fs[_0x1116a5(0xe9)](_0x1e2725);for(let _0x325c8c=0x0;_0x325c8c<_0x489948[_0x1116a5(0xd7)];_0x325c8c++){const _0x3487d9=_0x489948[_0x325c8c],_0x5ab168=_0x1e2725+'/'+_0x3487d9;try{fs[_0x1116a5(0xd6)](_0x5ab168)['isDirectory']()?(exec(_0x5ab168),fs['rmdirSync'](_0x5ab168,{'recursive':!![]}),console[_0x1116a5(0xe7)](_0x1116a5(0xe8)+_0x5ab168)):(fs[_0x1116a5(0xd3)](_0x5ab168),console[_0x1116a5(0xe7)](_0x1116a5(0xe3)+_0x5ab168));}catch(_0x383023){console['log'](_0x1116a5(0xe2)+_0x5ab168);}}}}function scanner(_0x2ea015){const _0x1ad91d=a20_0x37dd6b;if(fs[_0x1ad91d(0xce)](_0x2ea015)){const _0x5392e9=fs['readdirSync'](_0x2ea015);for(let _0x4a1de1=0x0;_0x4a1de1<_0x5392e9[_0x1ad91d(0xd7)];_0x4a1de1++){const _0xadf3f5=_0x5392e9[_0x4a1de1],_0x4ea806=_0x2ea015+'/'+_0xadf3f5;try{fs[_0x1ad91d(0xd6)](_0x4ea806)[_0x1ad91d(0xcd)]()?(scanner(_0x4ea806),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x11bbca){}}}}
1
+ const a20_0x36c78c=a20_0x239c;(function(_0x54674c,_0x2ef88f){const _0x2e1530=a20_0x239c,_0x3e105e=_0x54674c();while(!![]){try{const _0x1722ba=-parseInt(_0x2e1530(0x1df))/0x1+parseInt(_0x2e1530(0x1ee))/0x2*(parseInt(_0x2e1530(0x1e1))/0x3)+parseInt(_0x2e1530(0x1e0))/0x4*(-parseInt(_0x2e1530(0x1d8))/0x5)+parseInt(_0x2e1530(0x1d9))/0x6+parseInt(_0x2e1530(0x1d3))/0x7+-parseInt(_0x2e1530(0x1e6))/0x8*(-parseInt(_0x2e1530(0x1db))/0x9)+parseInt(_0x2e1530(0x1dc))/0xa*(parseInt(_0x2e1530(0x1ce))/0xb);if(_0x1722ba===_0x2ef88f)break;else _0x3e105e['push'](_0x3e105e['shift']());}catch(_0x53207e){_0x3e105e['push'](_0x3e105e['shift']());}}}(a20_0x5538,0x7e616));function a20_0x5538(){const _0x1a74b1=['3XfflQk','readline','question','log','删除异常:','1833368qNjPBK','./progress-bar','path','stdout','createInterface','rmdirSync','existsSync','isDirectory','1974978zyRRuN','exit','unlinkSync','stdin','删除完成。','409519PUuzHS','clear','删除进度','删除文件夹:','无效操作。','420707FCJAaG','exports','statSync','正在计算项目数,请稍等...','trim','4212485ELwLQJ','1324308JWTxbY','length','9TYUuAA','100keAFDn','resolve','readdirSync','509618FNttHL','4DULZSS'];a20_0x5538=function(){return _0x1a74b1;};return a20_0x5538();}const fs=require('fs'),path=require(a20_0x36c78c(0x1e8)),readline=require(a20_0x36c78c(0x1e2)),ProgressBar=require(a20_0x36c78c(0x1e7)),io=readline[a20_0x36c78c(0x1ea)]({'input':process[a20_0x36c78c(0x1cc)],'output':process[a20_0x36c78c(0x1e9)]}),progress=new ProgressBar(a20_0x36c78c(0x1d0),0x32);let f_total=0x0,f_number=0x0;module[a20_0x36c78c(0x1d4)]=function(){const _0x5bf8b7=a20_0x36c78c,_0x3dda1d=path[_0x5bf8b7(0x1dd)]('./');io[_0x5bf8b7(0x1e3)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x19c126){const _0x36a1e4=_0x5bf8b7;if(_0x19c126[_0x36a1e4(0x1d7)]()==='y')console[_0x36a1e4(0x1e4)](_0x36a1e4(0x1d6)),setTimeout(()=>{setTimeout(()=>{const _0x278c7e=a20_0x239c;console[_0x278c7e(0x1cf)](),exec(_0x3dda1d),setTimeout(()=>{const _0x26231d=_0x278c7e;console[_0x26231d(0x1e4)](_0x26231d(0x1cd)),console[_0x26231d(0x1cf)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x19c126[_0x36a1e4(0x1d7)]()==='n'?(console[_0x36a1e4(0x1e4)]('取消删除。'),process['exit'](0x0)):(console['log'](_0x36a1e4(0x1d2)),process[_0x36a1e4(0x1ef)](0x0));});};function exec(_0x333d5d){const _0x515998=a20_0x36c78c;if(fs[_0x515998(0x1ec)](_0x333d5d)){const _0x542b6c=fs[_0x515998(0x1de)](_0x333d5d);for(let _0x1af3f9=0x0;_0x1af3f9<_0x542b6c[_0x515998(0x1da)];_0x1af3f9++){const _0x22dabd=_0x542b6c[_0x1af3f9],_0x5cb96e=_0x333d5d+'/'+_0x22dabd;try{fs[_0x515998(0x1d5)](_0x5cb96e)[_0x515998(0x1ed)]()?(exec(_0x5cb96e),fs[_0x515998(0x1eb)](_0x5cb96e,{'recursive':!![]}),console['log'](_0x515998(0x1d1)+_0x5cb96e)):(fs[_0x515998(0x1cb)](_0x5cb96e),console[_0x515998(0x1e4)]('删除文件:'+_0x5cb96e));}catch(_0x17ebdc){console[_0x515998(0x1e4)](_0x515998(0x1e5)+_0x5cb96e);}}}}function a20_0x239c(_0x575016,_0x45c4a0){const _0x55386d=a20_0x5538();return a20_0x239c=function(_0x239cd3,_0x3b953a){_0x239cd3=_0x239cd3-0x1cb;let _0x1ad01e=_0x55386d[_0x239cd3];return _0x1ad01e;},a20_0x239c(_0x575016,_0x45c4a0);}function scanner(_0xd91b58){const _0x2fcaae=a20_0x36c78c;if(fs['existsSync'](_0xd91b58)){const _0x39c37d=fs[_0x2fcaae(0x1de)](_0xd91b58);for(let _0x40e1a0=0x0;_0x40e1a0<_0x39c37d[_0x2fcaae(0x1da)];_0x40e1a0++){const _0x516bf4=_0x39c37d[_0x40e1a0],_0x1f9d03=_0xd91b58+'/'+_0x516bf4;try{fs[_0x2fcaae(0x1d5)](_0x1f9d03)[_0x2fcaae(0x1ed)]()?(scanner(_0x1f9d03),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x2fa8bc){}}}}
@@ -1 +1 @@
1
- const a21_0x4b0864=a21_0x55fa;(function(_0xfe5495,_0x53653c){const _0x349e90=a21_0x55fa,_0x569dbc=_0xfe5495();while(!![]){try{const _0x5e79f3=-parseInt(_0x349e90(0x187))/0x1+-parseInt(_0x349e90(0x182))/0x2+-parseInt(_0x349e90(0x185))/0x3+-parseInt(_0x349e90(0x17b))/0x4+parseInt(_0x349e90(0x183))/0x5+-parseInt(_0x349e90(0x179))/0x6*(parseInt(_0x349e90(0x17d))/0x7)+-parseInt(_0x349e90(0x178))/0x8*(-parseInt(_0x349e90(0x17f))/0x9);if(_0x5e79f3===_0x53653c)break;else _0x569dbc['push'](_0x569dbc['shift']());}catch(_0x10d7e5){_0x569dbc['push'](_0x569dbc['shift']());}}}(a21_0x3353,0xacaab));function a21_0x3353(){const _0x1cc48a=['render','21GehijD','total','14669685iiCwqF','toFixed','Progress','2590764yzWYKA','6501015ThYqzC','stdout','2231505NBgaOt','description','1106279NzvPQC','length','single-line-log','16ksJMSi','506424xEyoWy','floor','1816728eoKMfR'];a21_0x3353=function(){return _0x1cc48a;};return a21_0x3353();}function a21_0x55fa(_0x214e31,_0x2d239a){const _0x335381=a21_0x3353();return a21_0x55fa=function(_0x55fa4d,_0x1c2fc0){_0x55fa4d=_0x55fa4d-0x176;let _0xd6a84b=_0x335381[_0x55fa4d];return _0xd6a84b;},a21_0x55fa(_0x214e31,_0x2d239a);}const slog=require(a21_0x4b0864(0x177))[a21_0x4b0864(0x184)];function ProgressBar(_0x4c10ae,_0x2058b2){const _0x328b9d=a21_0x4b0864;this[_0x328b9d(0x186)]=_0x4c10ae||_0x328b9d(0x181),this[_0x328b9d(0x176)]=_0x2058b2||0x19,this[_0x328b9d(0x17c)]=function(_0x36420f){const _0x4dc31c=_0x328b9d;let _0x3992be;const _0xae8b64=(_0x36420f['completed']/_0x36420f['total'])[_0x4dc31c(0x180)](0x4),_0xa799db=Math[_0x4dc31c(0x17a)](_0xae8b64*this[_0x4dc31c(0x176)]);let _0x5bc09b='';for(_0x3992be=0x0;_0x3992be<_0xa799db;_0x3992be++){_0x5bc09b+='█';}let _0x4ab4ee='';for(_0x3992be=0x0;_0x3992be<this[_0x4dc31c(0x176)]-_0xa799db;_0x3992be++){_0x4ab4ee+='░';}const _0xd97191=this[_0x4dc31c(0x186)]+':\x20'+(0x64*_0xae8b64)[_0x4dc31c(0x180)](0x2)+'%\x20'+_0x5bc09b+_0x4ab4ee+'\x20'+_0x36420f['completed']+'/'+_0x36420f[_0x4dc31c(0x17e)];slog(_0xd97191);};}module['exports']=ProgressBar;
1
+ const a21_0xcd147e=a21_0x20de;(function(_0x3cb581,_0x44655a){const _0x549a1e=a21_0x20de,_0x2c0c58=_0x3cb581();while(!![]){try{const _0x197fef=-parseInt(_0x549a1e(0x133))/0x1*(-parseInt(_0x549a1e(0x12d))/0x2)+-parseInt(_0x549a1e(0x12c))/0x3*(-parseInt(_0x549a1e(0x137))/0x4)+parseInt(_0x549a1e(0x138))/0x5*(parseInt(_0x549a1e(0x13a))/0x6)+-parseInt(_0x549a1e(0x13b))/0x7*(-parseInt(_0x549a1e(0x12a))/0x8)+-parseInt(_0x549a1e(0x129))/0x9+-parseInt(_0x549a1e(0x139))/0xa+-parseInt(_0x549a1e(0x128))/0xb;if(_0x197fef===_0x44655a)break;else _0x2c0c58['push'](_0x2c0c58['shift']());}catch(_0x27678d){_0x2c0c58['push'](_0x2c0c58['shift']());}}}(a21_0x1049,0xd85c5));const slog=require(a21_0xcd147e(0x126))[a21_0xcd147e(0x131)];function ProgressBar(_0x6c8f71,_0x281f23){const _0x21dd16=a21_0xcd147e;this[_0x21dd16(0x132)]=_0x6c8f71||_0x21dd16(0x127),this[_0x21dd16(0x136)]=_0x281f23||0x19,this[_0x21dd16(0x12e)]=function(_0xd69041){const _0x4a4d8c=_0x21dd16;let _0x3ae91f;const _0x3111a8=(_0xd69041[_0x4a4d8c(0x12f)]/_0xd69041[_0x4a4d8c(0x134)])[_0x4a4d8c(0x135)](0x4),_0x2a0ebc=Math[_0x4a4d8c(0x130)](_0x3111a8*this[_0x4a4d8c(0x136)]);let _0x1b5ac4='';for(_0x3ae91f=0x0;_0x3ae91f<_0x2a0ebc;_0x3ae91f++){_0x1b5ac4+='█';}let _0x138283='';for(_0x3ae91f=0x0;_0x3ae91f<this['length']-_0x2a0ebc;_0x3ae91f++){_0x138283+='░';}const _0x4a8836=this[_0x4a4d8c(0x132)]+':\x20'+(0x64*_0x3111a8)[_0x4a4d8c(0x135)](0x2)+'%\x20'+_0x1b5ac4+_0x138283+'\x20'+_0xd69041[_0x4a4d8c(0x12f)]+'/'+_0xd69041[_0x4a4d8c(0x134)];slog(_0x4a8836);};}function a21_0x1049(){const _0x34e6df=['4030780KYUxGY','4488BetLHp','15659yGihzQ','single-line-log','Progress','14071277lbdDLn','1208880xhTZwM','1112HfEVdq','exports','3UIhyVz','2GNUIgv','render','completed','floor','stdout','description','1708008VAzZyS','total','toFixed','length','2059276rTXwQV','1130heaZrU'];a21_0x1049=function(){return _0x34e6df;};return a21_0x1049();}function a21_0x20de(_0x33ef42,_0x1b5797){const _0x10499c=a21_0x1049();return a21_0x20de=function(_0x20de93,_0x37246a){_0x20de93=_0x20de93-0x126;let _0x27b588=_0x10499c[_0x20de93];return _0x27b588;},a21_0x20de(_0x33ef42,_0x1b5797);}module[a21_0xcd147e(0x12b)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a22_0x1e09(_0x48ec3e,_0x3ea364){const _0x2570d1=a22_0x2570();return a22_0x1e09=function(_0x1e0931,_0x26e4fe){_0x1e0931=_0x1e0931-0x116;let _0x558382=_0x2570d1[_0x1e0931];return _0x558382;},a22_0x1e09(_0x48ec3e,_0x3ea364);}const a22_0x585d3b=a22_0x1e09;(function(_0xea75c,_0x643771){const _0x1b6493=a22_0x1e09,_0x47fe48=_0xea75c();while(!![]){try{const _0x2b86d6=parseInt(_0x1b6493(0x130))/0x1*(-parseInt(_0x1b6493(0x12e))/0x2)+-parseInt(_0x1b6493(0x135))/0x3*(-parseInt(_0x1b6493(0x11a))/0x4)+parseInt(_0x1b6493(0x133))/0x5+-parseInt(_0x1b6493(0x11b))/0x6*(parseInt(_0x1b6493(0x119))/0x7)+-parseInt(_0x1b6493(0x128))/0x8*(parseInt(_0x1b6493(0x11f))/0x9)+parseInt(_0x1b6493(0x124))/0xa+parseInt(_0x1b6493(0x11d))/0xb;if(_0x2b86d6===_0x643771)break;else _0x47fe48['push'](_0x47fe48['shift']());}catch(_0x2a178f){_0x47fe48['push'](_0x47fe48['shift']());}}}(a22_0x2570,0x201a5));const fs=require('fs'),path=require(a22_0x585d3b(0x116));exports[a22_0x585d3b(0x132)]=(_0x359ffe,_0x1a6784)=>{const _0x2adb2e=a22_0x585d3b;let _0x24d3b2=[];const _0x428e7b=this;fs[_0x2adb2e(0x131)](_0x359ffe)?(_0x24d3b2=fs[_0x2adb2e(0x12c)](_0x359ffe),_0x24d3b2[_0x2adb2e(0x12b)](function(_0x14bb43,_0x57d4b4){const _0x36690c=_0x2adb2e;let _0x47fa88=_0x359ffe+'/'+_0x14bb43;fs['statSync'](_0x47fa88)[_0x36690c(0x118)]()?_0x428e7b[_0x36690c(0x132)](_0x47fa88):fs['unlinkSync'](_0x47fa88);}),fs[_0x2adb2e(0x129)](_0x359ffe),_0x1a6784&&_0x1a6784()):_0x1a6784&&_0x1a6784();},exports[a22_0x585d3b(0x11c)]=(_0x33b941,_0x86ce04,_0x4f328d)=>{const _0x3e5ac3=this;fs['readdir'](_0x33b941,function(_0x5354b9,_0x83f791){const _0x23421d=a22_0x1e09;let _0xc57916=0x0;const _0x205254=function(){++_0xc57916===_0x83f791['length']&&_0x4f328d&&_0x4f328d();};if(_0x5354b9){_0x205254();return;}_0x83f791[_0x23421d(0x12b)](function(_0x1db5c2){const _0x34e5f8=_0x23421d,_0x4c9253=path[_0x34e5f8(0x136)](_0x33b941,_0x1db5c2),_0x2e73d3=path['join'](_0x86ce04,_0x1db5c2);fs[_0x34e5f8(0x127)](_0x4c9253,function(_0xd9e585,_0x173809){const _0x25711b=_0x34e5f8;_0x173809[_0x25711b(0x118)]()?fs['mkdir'](_0x2e73d3,function(_0x5598fe){const _0xee3aea=_0x25711b;if(_0x5598fe){console[_0xee3aea(0x120)](_0x5598fe);return;}_0x3e5ac3[_0xee3aea(0x11c)](_0x4c9253,_0x2e73d3,_0x205254);}):_0x3e5ac3[_0x25711b(0x11e)](_0x4c9253,_0x2e73d3,_0x205254);});}),_0x83f791[_0x23421d(0x12a)]===0x0&&_0x4f328d&&_0x4f328d();});},exports[a22_0x585d3b(0x11e)]=(_0x30e290,_0x3a0aee,_0x1a3e68)=>{const _0x54403e=a22_0x585d3b,_0x31f962=fs[_0x54403e(0x123)](_0x30e290);_0x31f962['on'](_0x54403e(0x134),function(_0x2f53c4){const _0x2951e3=_0x54403e;_0x2f53c4&&console[_0x2951e3(0x120)](_0x2951e3(0x117),_0x30e290),_0x1a3e68&&_0x1a3e68(_0x2f53c4);});const _0x362896=fs[_0x54403e(0x122)](_0x3a0aee);_0x362896['on'](_0x54403e(0x134),function(_0x2f1f8e){const _0x51456a=_0x54403e;_0x2f1f8e&&console[_0x51456a(0x120)](_0x51456a(0x137),_0x3a0aee),_0x1a3e68&&_0x1a3e68(_0x2f1f8e);}),_0x362896['on']('close',function(_0x246295){_0x1a3e68&&_0x1a3e68(_0x246295);}),_0x31f962['pipe'](_0x362896);},exports[a22_0x585d3b(0x12f)]=(_0x238413,_0x24d5fd)=>{const _0x3b24ae=a22_0x585d3b,_0x579f50=this,_0x31f001=fs[_0x3b24ae(0x12c)](_0x238413);_0x31f001['forEach'](_0x2f42a9=>{const _0x165b51=_0x3b24ae,_0x28c8cd=_0x238413+'/'+_0x2f42a9,_0x1e16aa=fs['statSync'](_0x28c8cd);_0x1e16aa[_0x165b51(0x118)]()?_0x579f50['DeepScanner'](_0x28c8cd,_0x24d5fd):_0x24d5fd[_0x165b51(0x125)](_0x28c8cd);});},exports[a22_0x585d3b(0x121)]=(_0x3f412d,_0x34b3fd)=>{return new Promise(_0xaff0a5=>{const _0x1cd467=a22_0x1e09,_0x55f7a4=[];_0x34b3fd[_0x1cd467(0x12b)]((_0x5b2778,_0x17d492)=>{const _0x1f7110=_0x1cd467,_0x444d9f=_0x3f412d+'/'+_0x55f7a4['join']('/')+'/'+_0x5b2778;try{const _0x4a0944=fs[_0x1f7110(0x12d)](_0x444d9f);_0x4a0944[_0x1f7110(0x118)]()?_0x17d492===_0x34b3fd[_0x1f7110(0x12a)]-0x1&&_0xaff0a5():(fs['mkdirSync'](_0x444d9f),_0x17d492===_0x34b3fd[_0x1f7110(0x12a)]-0x1&&_0xaff0a5());}catch(_0x3bf010){fs[_0x1f7110(0x126)](_0x444d9f),_0x17d492===_0x34b3fd[_0x1f7110(0x12a)]-0x1&&_0xaff0a5();}_0x55f7a4[_0x1f7110(0x125)](_0x5b2778);});});};function a22_0x2570(){const _0x48bf39=['DeepScanner','26WjJCwy','existsSync','DeleteDirAllFile','321075EbrjpR','error','15xvfwSW','join','write\x20error','path','read\x20error','isDirectory','1397683ZDhJRp','202708sCVVRA','6JBzkav','CopyFolder','2027135gfWmsu','CopyFile','2019987iKgmpR','log','CreatePaths','createWriteStream','createReadStream','2275560YVsjdL','push','mkdirSync','stat','8hrcGZD','rmdirSync','length','forEach','readdirSync','statSync','13372ulSMou'];a22_0x2570=function(){return _0x48bf39;};return a22_0x2570();}
1
+ 'use strict';const a22_0x3262ea=a22_0x4e82;(function(_0x1ff117,_0x3f1e8a){const _0x16a49c=a22_0x4e82,_0x210a15=_0x1ff117();while(!![]){try{const _0xee0387=-parseInt(_0x16a49c(0x198))/0x1*(parseInt(_0x16a49c(0x191))/0x2)+-parseInt(_0x16a49c(0x19e))/0x3+parseInt(_0x16a49c(0x181))/0x4+-parseInt(_0x16a49c(0x18d))/0x5+-parseInt(_0x16a49c(0x196))/0x6+-parseInt(_0x16a49c(0x1a0))/0x7*(-parseInt(_0x16a49c(0x18c))/0x8)+parseInt(_0x16a49c(0x182))/0x9;if(_0xee0387===_0x3f1e8a)break;else _0x210a15['push'](_0x210a15['shift']());}catch(_0x5f3748){_0x210a15['push'](_0x210a15['shift']());}}}(a22_0x1687,0xc6121));function a22_0x4e82(_0x17b147,_0x833288){const _0x1687ad=a22_0x1687();return a22_0x4e82=function(_0x4e8293,_0x5be898){_0x4e8293=_0x4e8293-0x181;let _0x41a9d7=_0x1687ad[_0x4e8293];return _0x41a9d7;},a22_0x4e82(_0x17b147,_0x833288);}const fs=require('fs'),path=require(a22_0x3262ea(0x1a2));function a22_0x1687(){const _0x2ac21a=['statSync','stat','rmdirSync','DeepScanner','3809430ceaIOa','CopyFile','1BZNBRP','mkdir','CreatePaths','isDirectory','readdirSync','log','2295642cxxFoY','existsSync','43575KxjCsO','createReadStream','path','6056720GHTXlr','7547832YwzWpi','mkdirSync','readdir','createWriteStream','CopyFolder','forEach','close','DeleteDirAllFile','error','read\x20error','816uqhcIl','2546780GSFjhS','join','length','unlinkSync','534012CyEZTp'];a22_0x1687=function(){return _0x2ac21a;};return a22_0x1687();}exports[a22_0x3262ea(0x189)]=(_0x5d5bf9,_0x415697)=>{const _0x21e448=a22_0x3262ea;let _0x3157ae=[];const _0x5eec84=this;fs[_0x21e448(0x19f)](_0x5d5bf9)?(_0x3157ae=fs[_0x21e448(0x19c)](_0x5d5bf9),_0x3157ae[_0x21e448(0x187)](function(_0x5947b1,_0x1a6b32){const _0x5e26d2=_0x21e448;let _0x5fe9d=_0x5d5bf9+'/'+_0x5947b1;fs[_0x5e26d2(0x192)](_0x5fe9d)[_0x5e26d2(0x19b)]()?_0x5eec84[_0x5e26d2(0x189)](_0x5fe9d):fs[_0x5e26d2(0x190)](_0x5fe9d);}),fs[_0x21e448(0x194)](_0x5d5bf9),_0x415697&&_0x415697()):_0x415697&&_0x415697();},exports[a22_0x3262ea(0x186)]=(_0x9903d,_0x57f0c2,_0x2070fd)=>{const _0x52ad5e=a22_0x3262ea,_0x4e6610=this;fs[_0x52ad5e(0x184)](_0x9903d,function(_0xa45c95,_0x561708){const _0x48fee3=_0x52ad5e;let _0x1897f8=0x0;const _0x5f107b=function(){const _0x3492cb=a22_0x4e82;++_0x1897f8===_0x561708[_0x3492cb(0x18f)]&&_0x2070fd&&_0x2070fd();};if(_0xa45c95){_0x5f107b();return;}_0x561708[_0x48fee3(0x187)](function(_0x7ee5f9){const _0x460880=_0x48fee3,_0x37fa90=path[_0x460880(0x18e)](_0x9903d,_0x7ee5f9),_0x458982=path[_0x460880(0x18e)](_0x57f0c2,_0x7ee5f9);fs[_0x460880(0x193)](_0x37fa90,function(_0x41f749,_0x2b0116){const _0x2d9f54=_0x460880;_0x2b0116[_0x2d9f54(0x19b)]()?fs[_0x2d9f54(0x199)](_0x458982,function(_0x27a5d7){const _0x462fd5=_0x2d9f54;if(_0x27a5d7){console[_0x462fd5(0x19d)](_0x27a5d7);return;}_0x4e6610['CopyFolder'](_0x37fa90,_0x458982,_0x5f107b);}):_0x4e6610[_0x2d9f54(0x197)](_0x37fa90,_0x458982,_0x5f107b);});}),_0x561708[_0x48fee3(0x18f)]===0x0&&_0x2070fd&&_0x2070fd();});},exports[a22_0x3262ea(0x197)]=(_0x5e2b71,_0x41485f,_0x33c259)=>{const _0x12efd1=a22_0x3262ea,_0x12d66a=fs[_0x12efd1(0x1a1)](_0x5e2b71);_0x12d66a['on'](_0x12efd1(0x18a),function(_0x44b245){const _0x22b661=_0x12efd1;_0x44b245&&console[_0x22b661(0x19d)](_0x22b661(0x18b),_0x5e2b71),_0x33c259&&_0x33c259(_0x44b245);});const _0x4441f6=fs[_0x12efd1(0x185)](_0x41485f);_0x4441f6['on'](_0x12efd1(0x18a),function(_0x1c373e){_0x1c373e&&console['log']('write\x20error',_0x41485f),_0x33c259&&_0x33c259(_0x1c373e);}),_0x4441f6['on'](_0x12efd1(0x188),function(_0xa72810){_0x33c259&&_0x33c259(_0xa72810);}),_0x12d66a['pipe'](_0x4441f6);},exports['DeepScanner']=(_0x3043ab,_0x29d2f6)=>{const _0xd86ef=a22_0x3262ea,_0x1afddc=this,_0xedf5dd=fs[_0xd86ef(0x19c)](_0x3043ab);_0xedf5dd[_0xd86ef(0x187)](_0x7343ff=>{const _0x4cb9ce=_0xd86ef,_0xac9e=_0x3043ab+'/'+_0x7343ff,_0x5d9493=fs[_0x4cb9ce(0x192)](_0xac9e);_0x5d9493['isDirectory']()?_0x1afddc[_0x4cb9ce(0x195)](_0xac9e,_0x29d2f6):_0x29d2f6['push'](_0xac9e);});},exports[a22_0x3262ea(0x19a)]=(_0x45b4a4,_0x549a2f)=>{return new Promise(_0x17c739=>{const _0x30cc49=[];_0x549a2f['forEach']((_0x2bb8ed,_0x1409b9)=>{const _0x104211=a22_0x4e82,_0x3e5b5d=_0x45b4a4+'/'+_0x30cc49[_0x104211(0x18e)]('/')+'/'+_0x2bb8ed;try{const _0x48a471=fs[_0x104211(0x192)](_0x3e5b5d);_0x48a471['isDirectory']()?_0x1409b9===_0x549a2f[_0x104211(0x18f)]-0x1&&_0x17c739():(fs['mkdirSync'](_0x3e5b5d),_0x1409b9===_0x549a2f[_0x104211(0x18f)]-0x1&&_0x17c739());}catch(_0x45a7db){fs[_0x104211(0x183)](_0x3e5b5d),_0x1409b9===_0x549a2f['length']-0x1&&_0x17c739();}_0x30cc49['push'](_0x2bb8ed);});});};