jjb-cmd 2.1.22 → 2.1.24

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,15 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.24</p>
6
+ <div>1、支持compoent.config.json共享文件</div>
7
+ <div>2、提交组件支持ReactNode转换</div>
8
+ </li>
9
+ <li>
10
+ <p>2.1.23</p>
11
+ <div>publish增加缩略图限制</div>
12
+ </li>
4
13
  <li>
5
14
  <p>2.1.22</p>
6
15
  <div>修复已知问题</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.22",
4
+ "version": "2.1.24",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -18,6 +18,8 @@
18
18
  "commander": "^1.3.2",
19
19
  "compressing": "^1.5.1",
20
20
  "request": "2.88.2",
21
- "single-line-log": "1.1.2"
21
+ "single-line-log": "1.1.2",
22
+ "@babel/core": "^7.19.3",
23
+ "@babel/preset-react": "^7.18.6"
22
24
  }
23
25
  }
@@ -1 +1 @@
1
- const a0_0x520c87=a0_0x2186;(function(_0x5cea42,_0x390e13){const _0x2b71c9=a0_0x2186,_0x23af4d=_0x5cea42();while(!![]){try{const _0x2c9d0a=parseInt(_0x2b71c9(0xfe))/0x1+parseInt(_0x2b71c9(0x10d))/0x2+-parseInt(_0x2b71c9(0x101))/0x3+parseInt(_0x2b71c9(0x10c))/0x4+parseInt(_0x2b71c9(0x105))/0x5+-parseInt(_0x2b71c9(0xff))/0x6+parseInt(_0x2b71c9(0x107))/0x7*(-parseInt(_0x2b71c9(0x10e))/0x8);if(_0x2c9d0a===_0x390e13)break;else _0x23af4d['push'](_0x23af4d['shift']());}catch(_0x35b9b8){_0x23af4d['push'](_0x23af4d['shift']());}}}(a0_0x35c3,0x35692));const axios=require('axios'),fs=require('fs'),path=require('path'),{API_HOST}=require('../cmd.install/config');function a0_0x35c3(){const _0x38ad6d=['Auth\x20NetWork\x20Fail!','existsSync','data','906248jIufKl','426120IuoiVc','576376DvsRZU','catch','writeFileSync','join','then','unlinkSync','96840JAFWYn','1912242EWkXMS','post','1044678rpzJaR','log','../../../.auth','exports','2106440eLtXbi','/api/auth','7gZdsZi','Auth\x20Success!'];a0_0x35c3=function(){return _0x38ad6d;};return a0_0x35c3();}function a0_0x2186(_0x323e7d,_0x44e82a){const _0x35c3b5=a0_0x35c3();return a0_0x2186=function(_0x2186fe,_0x55b636){_0x2186fe=_0x2186fe-0xfc;let _0x29b613=_0x35c3b5[_0x2186fe];return _0x29b613;},a0_0x2186(_0x323e7d,_0x44e82a);}module[a0_0x520c87(0x104)]=_0x35a7e3=>{const _0x4987c6=a0_0x520c87;console[_0x4987c6(0x102)](_0x35a7e3);const [_0x2361ad,_0x4fc080]=_0x35a7e3;axios[_0x4987c6(0x100)](API_HOST+_0x4987c6(0x106),{'username':_0x2361ad,'password':_0x4fc080})[_0x4987c6(0xfc)](_0x30b2e9=>{const _0x5b9489=_0x4987c6,_0x540594=path[_0x5b9489(0x111)](__dirname,_0x5b9489(0x103));_0x30b2e9[_0x5b9489(0x10b)]['status']?(console[_0x5b9489(0x102)](_0x5b9489(0x108)),fs[_0x5b9489(0x110)](_0x540594,_0x2361ad+'/'+_0x4fc080)):(console[_0x5b9489(0x102)]('Auth\x20Fail!'),fs[_0x5b9489(0x10a)](_0x540594)&&fs[_0x5b9489(0xfd)](_0x540594));})[_0x4987c6(0x10f)](_0x2069d2=>{const _0x22cb46=_0x4987c6;console[_0x22cb46(0x102)](_0x22cb46(0x109));});};
1
+ function a0_0x1036(){const _0x4ec9b5=['path','/api/auth','../../../.auth','78412XelKpE','28VmoDiD','post','6882018dvwwnf','Auth\x20NetWork\x20Fail!','6KAhxOq','978vzqfux','Auth\x20Fail!','5474760ZcEeZA','status','Auth\x20Success!','27290oLGePo','then','join','../cmd.install/config','log','7148061WKtNjM','writeFileSync','20BPJrXE','catch','exports','1604895xNXgOP','9009FhCuGg','existsSync'];a0_0x1036=function(){return _0x4ec9b5;};return a0_0x1036();}const a0_0xb784a9=a0_0x1db1;(function(_0xa333b,_0x3f96fc){const _0x28b30a=a0_0x1db1,_0x16a2a7=_0xa333b();while(!![]){try{const _0x3316f9=-parseInt(_0x28b30a(0x122))/0x1*(parseInt(_0x28b30a(0x111))/0x2)+parseInt(_0x28b30a(0x126))/0x3*(parseInt(_0x28b30a(0x121))/0x4)+parseInt(_0x28b30a(0x11b))/0x5+parseInt(_0x28b30a(0x127))/0x6*(parseInt(_0x28b30a(0x11c))/0x7)+parseInt(_0x28b30a(0x10e))/0x8+parseInt(_0x28b30a(0x116))/0x9+parseInt(_0x28b30a(0x118))/0xa*(-parseInt(_0x28b30a(0x124))/0xb);if(_0x3316f9===_0x3f96fc)break;else _0x16a2a7['push'](_0x16a2a7['shift']());}catch(_0x4a767e){_0x16a2a7['push'](_0x16a2a7['shift']());}}}(a0_0x1036,0x655e4));function a0_0x1db1(_0x53059d,_0x530667){const _0x103642=a0_0x1036();return a0_0x1db1=function(_0x1db1d3,_0x40aaae){_0x1db1d3=_0x1db1d3-0x10e;let _0x3740a=_0x103642[_0x1db1d3];return _0x3740a;},a0_0x1db1(_0x53059d,_0x530667);}const axios=require('axios'),fs=require('fs'),path=require(a0_0xb784a9(0x11e)),{API_HOST}=require(a0_0xb784a9(0x114));module[a0_0xb784a9(0x11a)]=_0x2fc8e7=>{const _0x4337f3=a0_0xb784a9;console[_0x4337f3(0x115)](_0x2fc8e7);const [_0x1c7aef,_0x3e15ad]=_0x2fc8e7;axios[_0x4337f3(0x123)](API_HOST+_0x4337f3(0x11f),{'username':_0x1c7aef,'password':_0x3e15ad})[_0x4337f3(0x112)](_0x48b6b8=>{const _0x4f5777=_0x4337f3,_0x515097=path[_0x4f5777(0x113)](__dirname,_0x4f5777(0x120));_0x48b6b8['data'][_0x4f5777(0x10f)]?(console[_0x4f5777(0x115)](_0x4f5777(0x110)),fs[_0x4f5777(0x117)](_0x515097,_0x1c7aef+'/'+_0x3e15ad)):(console[_0x4f5777(0x115)](_0x4f5777(0x128)),fs[_0x4f5777(0x11d)](_0x515097)&&fs['unlinkSync'](_0x515097));})[_0x4337f3(0x119)](_0xa524a4=>{const _0x72de4=_0x4337f3;console[_0x72de4(0x115)](_0x72de4(0x125));});};
@@ -1 +1 @@
1
- const a1_0x48899e=a1_0x1441;function a1_0x267a(){const _0x4d6ddf=['includes','path','log','安装完成,祝您愉快编码!','2124952oRvmDN','zip','154PFHdoj','3273216BgGpHP','request','jjb-cmd\x20install.app\x20','mkdirSync','DeleteDirAllFile','安装中,请耐心等待...','forEach','exports','createInterface','/api/v4/projects/','716850KMblnu','indexOf','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','CopyFolder','3881nBEVTe','.zip','../../old/util','6927150YKbVFh','../cmd.install/config','&ref=master','初始化完成?请选择安装方式![yarn/npm]:','/repository/archive.zip?private_token=','npm','2965016zUgijk','exit','yarn','trim','/unzip/','9lMVCSE','close','compressing','readline','6pBdEWE','8114225qaJDZV','readdirSync','pipe'];a1_0x267a=function(){return _0x4d6ddf;};return a1_0x267a();}function a1_0x1441(_0x33fb82,_0x2ed59f){const _0x267a9e=a1_0x267a();return a1_0x1441=function(_0x1441e5,_0xa76dda){_0x1441e5=_0x1441e5-0xd1;let _0x28c5fa=_0x267a9e[_0x1441e5];return _0x28c5fa;},a1_0x1441(_0x33fb82,_0x2ed59f);}(function(_0x47c843,_0x5999ab){const _0x345e79=a1_0x1441,_0x35a91f=_0x47c843();while(!![]){try{const _0x3136c3=parseInt(_0x345e79(0xec))/0x1*(-parseInt(_0x345e79(0xdd))/0x2)+parseInt(_0x345e79(0xde))/0x3+parseInt(_0x345e79(0xdb))/0x4+parseInt(_0x345e79(0xe8))/0x5+-parseInt(_0x345e79(0xd3))/0x6*(parseInt(_0x345e79(0xd4))/0x7)+parseInt(_0x345e79(0xf5))/0x8*(-parseInt(_0x345e79(0xfa))/0x9)+parseInt(_0x345e79(0xef))/0xa;if(_0x3136c3===_0x5999ab)break;else _0x35a91f['push'](_0x35a91f['shift']());}catch(_0x45afb9){_0x35a91f['push'](_0x35a91f['shift']());}}}(a1_0x267a,0x99bfc));const fs=require('fs'),os=require('os'),path=require(a1_0x48899e(0xd8)),request=require(a1_0x48899e(0xdf)),utils=require(a1_0x48899e(0xee)),compressing=require(a1_0x48899e(0xd1)),readline=require(a1_0x48899e(0xd2)),io=readline[a1_0x48899e(0xe6)]({'input':process['stdin'],'output':process['stdout']}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x48899e(0xf0));module[a1_0x48899e(0xe5)]=_0x11108e=>{const _0x14b74f=a1_0x48899e,_0x5e4f45=path['resolve']('./'),_0x2c65da=CLOUD_PROJECT[_0x11108e]||undefined;if(_0x2c65da){const _0x1bbe7a=os['tmpdir'](),_0x14ed12=_0x1bbe7a+'/'+GIT_TEMP_DIR+'/'+_0x11108e+_0x14b74f(0xed),_0x5a4511=_0x1bbe7a+'/'+GIT_TEMP_DIR+_0x14b74f(0xf9);utils[_0x14b74f(0xe2)](_0x1bbe7a+'/'+GIT_TEMP_DIR,()=>{const _0x223068=_0x14b74f;fs[_0x223068(0xe1)](_0x1bbe7a+'/'+GIT_TEMP_DIR);let _0x51ad79=fs['createWriteStream'](_0x14ed12);request(GIT_HOST+_0x223068(0xe7)+_0x2c65da['projectId']+_0x223068(0xf3)+_0x2c65da['token']+_0x223068(0xf1))[_0x223068(0xd6)](_0x51ad79)['on'](_0x223068(0xfb),()=>{const _0x22998f=_0x223068;fs[_0x22998f(0xe1)](_0x5a4511),compressing[_0x22998f(0xdc)]['uncompress'](_0x14ed12,_0x5a4511)['then'](()=>{setTimeout(()=>{const _0x2a9ab3=a1_0x1441;fs[_0x2a9ab3(0xd5)](_0x5a4511)[_0x2a9ab3(0xe4)](_0x23fada=>{const _0x28af2f=_0x2a9ab3;_0x23fada[_0x28af2f(0xe9)]('-master-')!==-0x1&&utils[_0x28af2f(0xeb)](_0x5a4511+_0x23fada,_0x5e4f45,()=>{const _0x14526c=_0x28af2f;io['question'](_0x14526c(0xf2),function(_0x58fac2){const _0x143ae1=_0x14526c;[_0x143ae1(0xf7),_0x143ae1(0xf4)][_0x143ae1(0xd7)](_0x58fac2['trim']())?(console['log'](_0x143ae1(0xe3)),child_process['execSync'](_0x143ae1(0xe0)+_0x58fac2[_0x143ae1(0xf8)](),{'cwd':_0x5e4f45}),console[_0x143ae1(0xd9)](_0x143ae1(0xda)),process[_0x143ae1(0xf6)](0x0)):(console[_0x143ae1(0xd9)](_0x143ae1(0xea)),process[_0x143ae1(0xf6)](0x0));});});});},0x7d0);});});});}else console[_0x14b74f(0xd9)]('【Error】:初始化失败,'+_0x11108e+'不存在。');};
1
+ const a1_0x5372e7=a1_0x560c;(function(_0x5dbc67,_0xe3eeae){const _0x4f7b5b=a1_0x560c,_0x493f4e=_0x5dbc67();while(!![]){try{const _0x1422f8=parseInt(_0x4f7b5b(0x170))/0x1*(parseInt(_0x4f7b5b(0x161))/0x2)+-parseInt(_0x4f7b5b(0x17b))/0x3+-parseInt(_0x4f7b5b(0x175))/0x4*(-parseInt(_0x4f7b5b(0x159))/0x5)+-parseInt(_0x4f7b5b(0x16c))/0x6*(parseInt(_0x4f7b5b(0x150))/0x7)+-parseInt(_0x4f7b5b(0x163))/0x8+-parseInt(_0x4f7b5b(0x16d))/0x9+-parseInt(_0x4f7b5b(0x156))/0xa*(-parseInt(_0x4f7b5b(0x165))/0xb);if(_0x1422f8===_0xe3eeae)break;else _0x493f4e['push'](_0x493f4e['shift']());}catch(_0x4745e4){_0x493f4e['push'](_0x493f4e['shift']());}}}(a1_0x49bf,0x2c918));function a1_0x560c(_0x121adf,_0x5142b0){const _0x49bfaa=a1_0x49bf();return a1_0x560c=function(_0x560c02,_0x1fb19e){_0x560c02=_0x560c02-0x150;let _0x8e02f5=_0x49bfaa[_0x560c02];return _0x8e02f5;},a1_0x560c(_0x121adf,_0x5142b0);}function a1_0x49bf(){const _0x12932e=['初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','1230040VfsCUq','projectId','2963180IbbUsM','../cmd.install/config','execSync','/unzip/','zip','stdout','/api/v4/projects/','1704006unBGEC','994851aZulxO','log','不存在。','2KQkecS','exports','DeleteDirAllFile','request','then','268700UHNqWo','close','CopyFolder','uncompress','&ref=master','-master-','844950EnjFjk','pipe','7UnWrWD','createInterface','question','trim','stdin','forEach','30xvRJuj','token','安装中,请耐心等待...','15SaqwRQ','/repository/archive.zip?private_token=','path','../../old/util','resolve','.zip','exit','npm','2832GRBCtm'];a1_0x49bf=function(){return _0x12932e;};return a1_0x49bf();}const fs=require('fs'),os=require('os'),path=require(a1_0x5372e7(0x15b)),request=require(a1_0x5372e7(0x173)),utils=require(a1_0x5372e7(0x15c)),compressing=require('compressing'),readline=require('readline'),io=readline[a1_0x5372e7(0x151)]({'input':process[a1_0x5372e7(0x154)],'output':process[a1_0x5372e7(0x16a)]}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x5372e7(0x166));module[a1_0x5372e7(0x171)]=_0x1a66bf=>{const _0x3cf192=a1_0x5372e7,_0x58d29b=path[_0x3cf192(0x15d)]('./'),_0x3ff0ff=CLOUD_PROJECT[_0x1a66bf]||undefined;if(_0x3ff0ff){const _0x5da012=os['tmpdir'](),_0x11d96b=_0x5da012+'/'+GIT_TEMP_DIR+'/'+_0x1a66bf+_0x3cf192(0x15e),_0x59be50=_0x5da012+'/'+GIT_TEMP_DIR+_0x3cf192(0x168);utils[_0x3cf192(0x172)](_0x5da012+'/'+GIT_TEMP_DIR,()=>{const _0x3c2f97=_0x3cf192;fs['mkdirSync'](_0x5da012+'/'+GIT_TEMP_DIR);let _0x312934=fs['createWriteStream'](_0x11d96b);request(GIT_HOST+_0x3c2f97(0x16b)+_0x3ff0ff[_0x3c2f97(0x164)]+_0x3c2f97(0x15a)+_0x3ff0ff[_0x3c2f97(0x157)]+_0x3c2f97(0x179))[_0x3c2f97(0x17c)](_0x312934)['on'](_0x3c2f97(0x176),()=>{const _0x37d045=_0x3c2f97;fs['mkdirSync'](_0x59be50),compressing[_0x37d045(0x169)][_0x37d045(0x178)](_0x11d96b,_0x59be50)[_0x37d045(0x174)](()=>{setTimeout(()=>{const _0x276eac=a1_0x560c;fs['readdirSync'](_0x59be50)[_0x276eac(0x155)](_0x113ef7=>{const _0x35e881=_0x276eac;_0x113ef7['indexOf'](_0x35e881(0x17a))!==-0x1&&utils[_0x35e881(0x177)](_0x59be50+_0x113ef7,_0x58d29b,()=>{const _0x4895f9=_0x35e881;io[_0x4895f9(0x152)]('初始化完成?请选择安装方式![yarn/npm]:',function(_0x38da03){const _0x25c4a4=_0x4895f9;['yarn',_0x25c4a4(0x160)]['includes'](_0x38da03[_0x25c4a4(0x153)]())?(console[_0x25c4a4(0x16e)](_0x25c4a4(0x158)),child_process[_0x25c4a4(0x167)]('jjb-cmd\x20install.app\x20'+_0x38da03[_0x25c4a4(0x153)](),{'cwd':_0x58d29b}),console[_0x25c4a4(0x16e)]('安装完成,祝您愉快编码!'),process[_0x25c4a4(0x15f)](0x0)):(console['log'](_0x25c4a4(0x162)),process[_0x25c4a4(0x15f)](0x0));});});});},0x7d0);});});});}else console[_0x3cf192(0x16e)]('【Error】:初始化失败,'+_0x1a66bf+_0x3cf192(0x16f));};
@@ -1 +1 @@
1
- function a2_0x15e8(_0x16a6f2,_0x574643){const _0x243edc=a2_0x243e();return a2_0x15e8=function(_0x15e8a9,_0x402df9){_0x15e8a9=_0x15e8a9-0x123;let _0xb80791=_0x243edc[_0x15e8a9];return _0xb80791;},a2_0x15e8(_0x16a6f2,_0x574643);}const a2_0x301992=a2_0x15e8;(function(_0x4065c1,_0x1643b0){const _0x8b4cc9=a2_0x15e8,_0x216f01=_0x4065c1();while(!![]){try{const _0x28e313=parseInt(_0x8b4cc9(0x12c))/0x1*(-parseInt(_0x8b4cc9(0x13b))/0x2)+parseInt(_0x8b4cc9(0x142))/0x3*(parseInt(_0x8b4cc9(0x13c))/0x4)+-parseInt(_0x8b4cc9(0x126))/0x5*(parseInt(_0x8b4cc9(0x143))/0x6)+parseInt(_0x8b4cc9(0x145))/0x7+-parseInt(_0x8b4cc9(0x12f))/0x8*(parseInt(_0x8b4cc9(0x129))/0x9)+-parseInt(_0x8b4cc9(0x137))/0xa+parseInt(_0x8b4cc9(0x124))/0xb;if(_0x28e313===_0x1643b0)break;else _0x216f01['push'](_0x216f01['shift']());}catch(_0x36371c){_0x216f01['push'](_0x216f01['shift']());}}}(a2_0x243e,0xbfb2b));function a2_0x243e(){const _0x57f555=['http://192.168.1.242:10985','gPSit8aJsLVmNzuQ5Cy4','24RUeRvn','8XFPaRt','http://120.26.210.58:8088','e9njpBd1nS_LREN8GFpR','jjb-assembly-','GIT_TEMP_JAVA','GIT_JAVA_ENV_JSON','1072332jpgBHV','6aoIJYE','GIT_TEMP_DIR','8181376JuTXcP','API_HOST','23833700EQwtfA','FqNrmFAgrxasMrbbjvq9','3569635BOeRXD','dev','G4HJRsHr9D7Ssmixegw2','1341EFoskQ','CLOUD_PROJECT','https://cdn.cqjjb.cn/jjb-cloud-config','82653mcVqvt','test','CONFIG_FILE_HOST','76248uSrQuV','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','jjb-assembly-java','prod','7V-YUxhmh51Mdhgx4rq4','d4wQ7dzEjYPsgVbKnYei','ywPtT3xCG6b_vAxp6sTj','1392790rOqIgq','GIT_HOST'];a2_0x243e=function(){return _0x57f555;};return a2_0x243e();}const os=require('os');exports[a2_0x301992(0x12e)]=a2_0x301992(0x12b),exports[a2_0x301992(0x123)]=a2_0x301992(0x13d),exports[a2_0x301992(0x138)]=a2_0x301992(0x139),exports[a2_0x301992(0x144)]=a2_0x301992(0x13f)+Date['now'](),exports[a2_0x301992(0x140)]=a2_0x301992(0x132),exports[a2_0x301992(0x141)]={'development':a2_0x301992(0x127),'production':a2_0x301992(0x133),'test':a2_0x301992(0x12d)},exports[a2_0x301992(0x12a)]={'common':{'token':a2_0x301992(0x128),'projectId':0x117},'react-admin-component':{'token':a2_0x301992(0x131),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a2_0x301992(0x13e),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x301992(0x13a),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x301992(0x135),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x301992(0x134),'projectId':0x33e},'micro-app':{'token':a2_0x301992(0x125),'projectId':0x33d},'lib':{'token':a2_0x301992(0x136),'projectId':0x33c}},exports[a2_0x301992(0x130)]=os['tmpdir']()+'\x5c'+exports[a2_0x301992(0x144)];
1
+ const a2_0x24e8d9=a2_0x42ef;(function(_0x597d87,_0x597305){const _0x512325=a2_0x42ef,_0x255ed7=_0x597d87();while(!![]){try{const _0x4e2c0a=parseInt(_0x512325(0xdb))/0x1+-parseInt(_0x512325(0xdc))/0x2*(parseInt(_0x512325(0xdd))/0x3)+parseInt(_0x512325(0xde))/0x4+-parseInt(_0x512325(0xf6))/0x5*(parseInt(_0x512325(0xda))/0x6)+parseInt(_0x512325(0xe3))/0x7*(-parseInt(_0x512325(0xf3))/0x8)+-parseInt(_0x512325(0xef))/0x9+parseInt(_0x512325(0xf1))/0xa*(parseInt(_0x512325(0xf2))/0xb);if(_0x4e2c0a===_0x597305)break;else _0x255ed7['push'](_0x255ed7['shift']());}catch(_0x57105a){_0x255ed7['push'](_0x255ed7['shift']());}}}(a2_0x22e1,0x190df));const os=require('os');exports[a2_0x24e8d9(0xed)]='https://cdn.cqjjb.cn/jjb-cloud-config',exports[a2_0x24e8d9(0xf7)]=a2_0x24e8d9(0xea),exports[a2_0x24e8d9(0xf4)]='http://192.168.1.242:10985',exports[a2_0x24e8d9(0xf0)]=a2_0x24e8d9(0xe1)+Date[a2_0x24e8d9(0xec)](),exports['GIT_TEMP_JAVA']=a2_0x24e8d9(0xeb),exports[a2_0x24e8d9(0xe4)]={'development':a2_0x24e8d9(0xe7),'production':a2_0x24e8d9(0xdf),'test':a2_0x24e8d9(0xe6)},exports[a2_0x24e8d9(0xe2)]={'common':{'token':a2_0x24e8d9(0xe5),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x24e8d9(0xf5),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x24e8d9(0xe8),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x24e8d9(0xf8),'projectId':0x153},'react-component':{'token':a2_0x24e8d9(0xe0),'projectId':0x33f},'micro-app-ts':{'token':a2_0x24e8d9(0xe9),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x24e8d9(0xd9)]=os[a2_0x24e8d9(0xee)]()+'\x5c'+exports[a2_0x24e8d9(0xf0)];function a2_0x42ef(_0x3e4fda,_0x2f9f05){const _0x22e16b=a2_0x22e1();return a2_0x42ef=function(_0x42efaa,_0x31bf1f){_0x42efaa=_0x42efaa-0xd9;let _0xf95e75=_0x22e16b[_0x42efaa];return _0xf95e75;},a2_0x42ef(_0x3e4fda,_0x2f9f05);}function a2_0x22e1(){const _0x58896c=['GIT_TEMP_DIR','550tBkydV','26301hdqNwJ','176240THPPGJ','GIT_HOST','hLqARY89CN6fUD3yg4NL','35ndqLEC','API_HOST','d4wQ7dzEjYPsgVbKnYei','TEMPLATE_FOLDER','56334yBYVCf','127566vrBtiu','1720cHLndK','543fmQhCZ','706232aGuKWU','prod','snBxJ2i5kYarGGcsojhY','jjb-assembly-','CLOUD_PROJECT','35xCFmEB','GIT_JAVA_ENV_JSON','G4HJRsHr9D7Ssmixegw2','test','dev','e9njpBd1nS_LREN8GFpR','7V-YUxhmh51Mdhgx4rq4','http://120.26.210.58:8088','jjb-assembly-java','now','CONFIG_FILE_HOST','tmpdir','13257jxaRQA'];a2_0x22e1=function(){return _0x58896c;};return a2_0x22e1();}
@@ -1 +1 @@
1
- const a3_0x10ce35=a3_0x1073;(function(_0x3eb304,_0x3289b5){const _0x5acea5=a3_0x1073,_0x4741ba=_0x3eb304();while(!![]){try{const _0x263171=-parseInt(_0x5acea5(0xe7))/0x1+-parseInt(_0x5acea5(0xeb))/0x2+parseInt(_0x5acea5(0xf6))/0x3*(parseInt(_0x5acea5(0xf5))/0x4)+parseInt(_0x5acea5(0xe5))/0x5+-parseInt(_0x5acea5(0xef))/0x6+-parseInt(_0x5acea5(0xf4))/0x7*(-parseInt(_0x5acea5(0xd8))/0x8)+parseInt(_0x5acea5(0xf0))/0x9;if(_0x263171===_0x3289b5)break;else _0x4741ba['push'](_0x4741ba['shift']());}catch(_0x4a00e6){_0x4741ba['push'](_0x4741ba['shift']());}}}(a3_0x18ce,0xab45c));function a3_0x1073(_0x13abee,_0x4e7a04){const _0x18cee1=a3_0x18ce();return a3_0x1073=function(_0x1073cb,_0x590bbf){_0x1073cb=_0x1073cb-0xc3;let _0x589afd=_0x18cee1[_0x1073cb];return _0x589afd;},a3_0x1073(_0x13abee,_0x4e7a04);}const fs=require('fs'),path=require(a3_0x10ce35(0xe4)),request=require(a3_0x10ce35(0xde)),compressing=require(a3_0x10ce35(0xe8)),{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_0x10ce35(0xf7)),{TEMPLATE_FOLDER}=require(a3_0x10ce35(0xca)),start_time=Date[a3_0x10ce35(0xd6)]();module['exports']=()=>{const _0x16f67c=a3_0x10ce35,_0x32868=path[_0x16f67c(0xe0)]('./'),_0x39acb7=[_0x32868,_0x16f67c(0xd2)][_0x16f67c(0xe2)]('\x5c'),_0x1cf156=[_0x32868,_0x16f67c(0xf8)][_0x16f67c(0xe2)]('\x5c'),_0x4f353a=[_0x32868,_0x16f67c(0xc3)][_0x16f67c(0xe2)]('\x5c');if(f_scan_jjb_config_json(_0x32868)){const _0x5b9511=f_scan_jjb_config_json_rules(_0x32868);_0x5b9511[_0x16f67c(0xf1)]===_0x16f67c(0xf8)?!fs[_0x16f67c(0xf3)](_0x1cf156)?(console[_0x16f67c(0xc5)](_0x16f67c(0xfa)),process[_0x16f67c(0xea)](0x0)):console[_0x16f67c(0xc5)](_0x16f67c(0xc4)):!fs[_0x16f67c(0xf3)](_0x39acb7)&&(console['log'](_0x16f67c(0xda)),process['exit'](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5b9511[_0x16f67c(0xc7)])['map'](_0x3f8c7b=>{const _0x9c1dd2=_0x16f67c,_0x2a5297=fs[_0x9c1dd2(0xcf)](_0x3f8c7b[_0x9c1dd2(0xe4)]);request(_0x3f8c7b[_0x9c1dd2(0xd3)])[_0x9c1dd2(0xf9)](_0x2a5297)['on'](_0x9c1dd2(0xdf),()=>{const _0x56d497=_0x9c1dd2;fs[_0x56d497(0xd5)](_0x3f8c7b['compress']),compressing[_0x56d497(0xe1)]['uncompress'](_0x3f8c7b[_0x56d497(0xe4)],_0x3f8c7b[_0x56d497(0xe9)]);});});const _0x449d7d=setInterval(()=>{const _0x43cff7=_0x16f67c,_0x68cffe=fs['readdirSync'](TEMPLATE_FOLDER),_0x11fee8=_0x68cffe[_0x43cff7(0xf2)](_0x4de46a=>_0x5b9511[_0x43cff7(0xc7)]['map'](_0x4684a1=>_0x4684a1[_0x43cff7(0xdd)]+_0x43cff7(0xe6))[_0x43cff7(0xd9)](_0x4de46a));if(_0x11fee8[_0x43cff7(0xd4)]===_0x5b9511[_0x43cff7(0xc7)][_0x43cff7(0xd4)]){clearInterval(_0x449d7d);const _0x4d8a23=[];_0x11fee8['forEach'](_0x28dc97=>{const _0x7fef0b=_0x43cff7,_0x2a479b=[TEMPLATE_FOLDER,_0x28dc97]['join']('\x5c');fs['readdirSync'](_0x2a479b)['forEach'](_0x4e6ec3=>_0x4d8a23['push']({'name':_0x28dc97,'path':[_0x2a479b,_0x4e6ec3][_0x7fef0b(0xe2)]('\x5c'),'pure_name':_0x28dc97[_0x7fef0b(0xec)](/_zip$/,''),'import_list':_0x5b9511['installResources'][_0x7fef0b(0xce)](_0xd8ae2=>_0xd8ae2[_0x7fef0b(0xdd)]+_0x7fef0b(0xe6)===_0x28dc97)['importList']}));}),_0x4d8a23['forEach'](_0x58a242=>{const _0x16e02e=_0x43cff7,_0x8978e=_0x58a242[_0x16e02e(0xd7)],_0x45f20e=_0x58a242[_0x16e02e(0xe3)],_0x38bb0a=[_0x58a242[_0x16e02e(0xe4)],_0x16e02e(0xdc)][_0x16e02e(0xe2)]('//'),_0x354f01=[_0x58a242[_0x16e02e(0xe4)],_0x16e02e(0xcd)][_0x16e02e(0xe2)]('//');fs[_0x16e02e(0xf3)](_0x38bb0a)&&(f_rm_rf(_0x38bb0a),fs[_0x16e02e(0xcb)](_0x38bb0a));fs['existsSync'](_0x354f01)&&fs[_0x16e02e(0xc9)](_0x354f01);_0x45f20e[_0x16e02e(0xd4)]&&fs[_0x16e02e(0xd0)](_0x58a242[_0x16e02e(0xe4)])[_0x16e02e(0xf2)](_0x28ec95=>!_0x45f20e[_0x16e02e(0xd9)](_0x28ec95)&&_0x28ec95!=='index.js'&&_0x28ec95!==_0x16e02e(0xd1))[_0x16e02e(0xc6)](_0x59eb69=>{const _0x2ba0cf=_0x16e02e,_0x5ac061=_0x58a242[_0x2ba0cf(0xe4)]+'\x5c'+_0x59eb69;f_rm_rf(_0x5ac061),fs[_0x2ba0cf(0xcb)](_0x5ac061);});if(_0x5b9511[_0x16e02e(0xf1)]===_0x16e02e(0xf8)){const _0x1c27ac=_0x8978e;fs[_0x16e02e(0xf3)](_0x1cf156+'\x5c'+_0x1c27ac)?f_rm_rf(_0x1cf156+'\x5c'+_0x1c27ac):fs[_0x16e02e(0xd5)](_0x1cf156+'\x5c'+_0x1c27ac),_0x1c27ac!==_0x16e02e(0xed)?(f_file_copy(_0x58a242['path'],_0x1cf156+'\x5c'+_0x1c27ac),f_create_package_json(_0x1cf156+'\x5c'+_0x1c27ac,_0x1c27ac,'1.0.0')):f_file_copy(_0x58a242['path']+_0x16e02e(0xcc),_0x1cf156+'\x5c'+_0x1c27ac),f_update_project_package_json(_0x4f353a,_0x1c27ac,'1.0.0');}else _0x5b9511[_0x16e02e(0xf1)]===_0x16e02e(0xdb)&&(fs['existsSync'](_0x39acb7+_0x8978e)?f_rm_rf(_0x39acb7+_0x8978e):fs['mkdirSync'](_0x39acb7+_0x8978e),f_file_copy(_0x58a242[_0x16e02e(0xe4)],_0x39acb7+_0x8978e));}),setTimeout(()=>{const _0x41643c=_0x43cff7;f_rm_rf(TEMPLATE_FOLDER),fs[_0x41643c(0xcb)](TEMPLATE_FOLDER);const _0x42e8a4=Date['now']();console[_0x41643c(0xc5)](_0x41643c(0xc8)+(_0x42e8a4-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x16f67c(0xc5)](_0x16f67c(0xee));};function a3_0x18ce(){const _0xf231d6=['57WLQqmb','./tools','node_modules','pipe','【Error】:安装失败,node_modules目录不存在。','package.json','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','log','forEach','installResources','【jjb-cmd】:install命令执行完成,用时','unlinkSync','./config','rmdirSync','\x5ctypes','.gitignore','find','createWriteStream','readdirSync','setting.json','src\x5c','repository','length','mkdirSync','now','pure_name','3677176qMWhyz','includes','【Error】:安装失败,src目录不存在。','src','.idea','name','request','close','resolve','zip','join','import_list','path','761165GPTxFE','_zip','1351738RByxUx','compressing','compress','exit','2432660VREOYO','replace','jjb-common-lib','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','8237388nuFpPT','22698342fVmvoD','installTarget','filter','existsSync','14fEoqah','220828fBNIIs'];a3_0x18ce=function(){return _0xf231d6;};return a3_0x18ce();}
1
+ const a3_0x321877=a3_0x405d;(function(_0x4f8810,_0x467d51){const _0x269391=a3_0x405d,_0x69c586=_0x4f8810();while(!![]){try{const _0x31e26c=-parseInt(_0x269391(0x144))/0x1+parseInt(_0x269391(0x12f))/0x2*(-parseInt(_0x269391(0x141))/0x3)+parseInt(_0x269391(0x128))/0x4*(-parseInt(_0x269391(0x13e))/0x5)+parseInt(_0x269391(0x131))/0x6+-parseInt(_0x269391(0x138))/0x7+-parseInt(_0x269391(0x118))/0x8+-parseInt(_0x269391(0x127))/0x9*(-parseInt(_0x269391(0x111))/0xa);if(_0x31e26c===_0x467d51)break;else _0x69c586['push'](_0x69c586['shift']());}catch(_0x66a98a){_0x69c586['push'](_0x69c586['shift']());}}}(a3_0x25f2,0x242f9));const fs=require('fs'),path=require(a3_0x321877(0x126)),request=require(a3_0x321877(0x13f)),compressing=require(a3_0x321877(0x116)),{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_0x321877(0x13d)),start_time=Date[a3_0x321877(0x113)]();function a3_0x405d(_0x69683d,_0x2f24c6){const _0x25f273=a3_0x25f2();return a3_0x405d=function(_0x405dce,_0x2f0bf5){_0x405dce=_0x405dce-0x111;let _0x50a0d0=_0x25f273[_0x405dce];return _0x50a0d0;},a3_0x405d(_0x69683d,_0x2f24c6);}module[a3_0x321877(0x139)]=()=>{const _0x4a9c18=a3_0x321877,_0x240be4=path[_0x4a9c18(0x11f)]('./'),_0x1e5877=[_0x240be4,_0x4a9c18(0x142)]['join']('\x5c'),_0x272dc5=[_0x240be4,_0x4a9c18(0x12c)][_0x4a9c18(0x112)]('\x5c'),_0x382330=[_0x240be4,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x240be4)){const _0x16900e=f_scan_jjb_config_json_rules(_0x240be4);_0x16900e[_0x4a9c18(0x125)]==='node_modules'?!fs['existsSync'](_0x272dc5)?(console[_0x4a9c18(0x135)](_0x4a9c18(0x12b)),process[_0x4a9c18(0x137)](0x0)):console[_0x4a9c18(0x135)](_0x4a9c18(0x11a)):!fs[_0x4a9c18(0x133)](_0x1e5877)&&(console[_0x4a9c18(0x135)](_0x4a9c18(0x11d)),process[_0x4a9c18(0x137)](0x0));fs[_0x4a9c18(0x11b)](TEMPLATE_FOLDER),f_pull_git_repository(_0x16900e[_0x4a9c18(0x13a)])[_0x4a9c18(0x140)](_0x32dbe4=>{const _0x3cc2c2=_0x4a9c18,_0x450b7a=fs['createWriteStream'](_0x32dbe4[_0x3cc2c2(0x126)]);request(_0x32dbe4[_0x3cc2c2(0x11c)])['pipe'](_0x450b7a)['on'](_0x3cc2c2(0x12a),()=>{const _0x11f6a3=_0x3cc2c2;fs[_0x11f6a3(0x11b)](_0x32dbe4[_0x11f6a3(0x114)]),compressing[_0x11f6a3(0x120)]['uncompress'](_0x32dbe4[_0x11f6a3(0x126)],_0x32dbe4[_0x11f6a3(0x114)]);});});const _0x3248d5=setInterval(()=>{const _0x56ce5e=_0x4a9c18,_0x2eb61c=fs[_0x56ce5e(0x11e)](TEMPLATE_FOLDER),_0x34a6e3=_0x2eb61c[_0x56ce5e(0x123)](_0x191469=>_0x16900e['installResources'][_0x56ce5e(0x140)](_0x3a31f1=>_0x3a31f1[_0x56ce5e(0x117)]+_0x56ce5e(0x12e))[_0x56ce5e(0x13c)](_0x191469));if(_0x34a6e3[_0x56ce5e(0x12d)]===_0x16900e[_0x56ce5e(0x13a)]['length']){clearInterval(_0x3248d5);const _0x53875f=[];_0x34a6e3['forEach'](_0x5a2517=>{const _0x513850=_0x56ce5e,_0x115a82=[TEMPLATE_FOLDER,_0x5a2517][_0x513850(0x112)]('\x5c');fs[_0x513850(0x11e)](_0x115a82)['forEach'](_0x106b8d=>_0x53875f['push']({'name':_0x5a2517,'path':[_0x115a82,_0x106b8d]['join']('\x5c'),'pure_name':_0x5a2517['replace'](/_zip$/,''),'import_list':_0x16900e[_0x513850(0x13a)][_0x513850(0x132)](_0x2bc671=>_0x2bc671[_0x513850(0x117)]+_0x513850(0x12e)===_0x5a2517)[_0x513850(0x121)]}));}),_0x53875f[_0x56ce5e(0x124)](_0x5ec902=>{const _0x3b55e7=_0x56ce5e,_0x4d7671=_0x5ec902[_0x3b55e7(0x119)],_0x580faf=_0x5ec902['import_list'],_0x464a47=[_0x5ec902['path'],_0x3b55e7(0x13b)][_0x3b55e7(0x112)]('//'),_0x119e79=[_0x5ec902[_0x3b55e7(0x126)],_0x3b55e7(0x143)]['join']('//');fs['existsSync'](_0x464a47)&&(f_rm_rf(_0x464a47),fs['rmdirSync'](_0x464a47));fs['existsSync'](_0x119e79)&&fs[_0x3b55e7(0x122)](_0x119e79);_0x580faf[_0x3b55e7(0x12d)]&&fs[_0x3b55e7(0x11e)](_0x5ec902['path'])[_0x3b55e7(0x123)](_0x53c8bc=>!_0x580faf[_0x3b55e7(0x13c)](_0x53c8bc)&&_0x53c8bc!==_0x3b55e7(0x136)&&_0x53c8bc!==_0x3b55e7(0x130))['forEach'](_0x4526fe=>{const _0x5ba694=_0x3b55e7,_0x1bc519=_0x5ec902[_0x5ba694(0x126)]+'\x5c'+_0x4526fe;f_rm_rf(_0x1bc519),fs['rmdirSync'](_0x1bc519);});if(_0x16900e[_0x3b55e7(0x125)]==='node_modules'){const _0x31cf24=_0x4d7671;fs[_0x3b55e7(0x133)](_0x272dc5+'\x5c'+_0x31cf24)?f_rm_rf(_0x272dc5+'\x5c'+_0x31cf24):fs[_0x3b55e7(0x11b)](_0x272dc5+'\x5c'+_0x31cf24),_0x31cf24!=='jjb-common-lib'?(f_file_copy(_0x5ec902[_0x3b55e7(0x126)],_0x272dc5+'\x5c'+_0x31cf24),f_create_package_json(_0x272dc5+'\x5c'+_0x31cf24,_0x31cf24,'1.0.0')):f_file_copy(_0x5ec902[_0x3b55e7(0x126)]+_0x3b55e7(0x134),_0x272dc5+'\x5c'+_0x31cf24),f_update_project_package_json(_0x382330,_0x31cf24,'1.0.0');}else _0x16900e[_0x3b55e7(0x125)]===_0x3b55e7(0x129)&&(fs[_0x3b55e7(0x133)](_0x1e5877+_0x4d7671)?f_rm_rf(_0x1e5877+_0x4d7671):fs[_0x3b55e7(0x11b)](_0x1e5877+_0x4d7671),f_file_copy(_0x5ec902[_0x3b55e7(0x126)],_0x1e5877+_0x4d7671));}),setTimeout(()=>{const _0x1bdb80=_0x56ce5e;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x77bd0f=Date[_0x1bdb80(0x113)]();console['log']('【jjb-cmd】:install命令执行完成,用时'+(_0x77bd0f-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x4a9c18(0x115));};function a3_0x25f2(){const _0x46d90d=['253960deGbQU','request','map','56847GXQXwP','src\x5c','.gitignore','282421ertSgh','4814490vdMTkR','join','now','compress','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','compressing','name','526856YUdTTN','pure_name','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','mkdirSync','repository','【Error】:安装失败,src目录不存在。','readdirSync','resolve','zip','importList','unlinkSync','filter','forEach','installTarget','path','18Oxolrc','16qWqYbG','src','close','【Error】:安装失败,node_modules目录不存在。','node_modules','length','_zip','26hiWeWk','setting.json','425832ncZNQQ','find','existsSync','\x5ctypes','log','index.js','exit','615090WlXfPg','exports','installResources','.idea','includes','./config'];a3_0x25f2=function(){return _0x46d90d;};return a3_0x25f2();}
@@ -1 +1 @@
1
- const a4_0x28f821=a4_0x2566;function a4_0x2566(_0x41fd68,_0x54f06d){const _0x3691ac=a4_0x3691();return a4_0x2566=function(_0x2566a4,_0x5c8e9d){_0x2566a4=_0x2566a4-0x1f0;let _0x5418ad=_0x3691ac[_0x2566a4];return _0x5418ad;},a4_0x2566(_0x41fd68,_0x54f06d);}(function(_0x2ff348,_0x29f6a6){const _0xd832a4=a4_0x2566,_0x2df7c9=_0x2ff348();while(!![]){try{const _0x1e6074=-parseInt(_0xd832a4(0x212))/0x1*(-parseInt(_0xd832a4(0x21d))/0x2)+-parseInt(_0xd832a4(0x20e))/0x3+-parseInt(_0xd832a4(0x230))/0x4*(-parseInt(_0xd832a4(0x20b))/0x5)+-parseInt(_0xd832a4(0x22c))/0x6+parseInt(_0xd832a4(0x203))/0x7*(-parseInt(_0xd832a4(0x1fc))/0x8)+parseInt(_0xd832a4(0x222))/0x9*(parseInt(_0xd832a4(0x1f0))/0xa)+-parseInt(_0xd832a4(0x21b))/0xb*(-parseInt(_0xd832a4(0x210))/0xc);if(_0x1e6074===_0x29f6a6)break;else _0x2df7c9['push'](_0x2df7c9['shift']());}catch(_0x55c9c1){_0x2df7c9['push'](_0x2df7c9['shift']());}}}(a4_0x3691,0xdc876));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x28f821(0x213));exports[a4_0x28f821(0x21e)]=function(_0x36983a){const _0x25ef96=a4_0x28f821;if(fs[_0x25ef96(0x1f5)](_0x36983a)){const _0x5e9f00=fs[_0x25ef96(0x225)](_0x36983a);for(let _0xf7f12b=0x0;_0xf7f12b<_0x5e9f00[_0x25ef96(0x231)];_0xf7f12b++){const _0x285734=_0x5e9f00[_0xf7f12b],_0x31cda0=_0x36983a+'/'+_0x285734;fs[_0x25ef96(0x207)](_0x31cda0)[_0x25ef96(0x1fd)]()?(exports[_0x25ef96(0x21e)](_0x31cda0),fs[_0x25ef96(0x1f9)](_0x31cda0)):fs[_0x25ef96(0x21f)](_0x31cda0);}}},exports[a4_0x28f821(0x1f6)]=function(_0x5d1b12=[]){return _0x5d1b12['map'](_0x28ea53=>{const _0x207e6b=a4_0x2566,_0x384fa6=CLOUD_PROJECT[_0x28ea53[_0x207e6b(0x229)]]||undefined,_0x1bdc27=os['tmpdir']();return{'path':_0x1bdc27+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28ea53[_0x207e6b(0x229)]+_0x207e6b(0x221),'compress':_0x1bdc27+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28ea53[_0x207e6b(0x229)]+_0x207e6b(0x1f4),'repository':GIT_HOST+_0x207e6b(0x1fe)+_0x384fa6[_0x207e6b(0x1f2)]+_0x207e6b(0x202)+_0x384fa6[_0x207e6b(0x206)]+_0x207e6b(0x204)};});},exports['f_scan_jjb_config_json']=function(_0x603461){const _0x30c560=a4_0x28f821;return fs[_0x30c560(0x1f5)](_0x603461+_0x30c560(0x22f));},exports['f_scan_jjb_config_json_rules']=function(_0x5c6f73){const _0x3de2ac=a4_0x28f821;let _0x1e7183={};try{_0x1e7183=JSON['parse'](fs[_0x3de2ac(0x22b)](_0x5c6f73+_0x3de2ac(0x22f))[_0x3de2ac(0x1fb)]());}catch(_0x1079c5){console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process['exit'](0x0);}!(_0x3de2ac(0x201)in _0x1e7183)&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x220)),process[_0x3de2ac(0x232)](0x0));!('installTarget'in _0x1e7183)&&(console['log'](_0x3de2ac(0x223)),process[_0x3de2ac(0x232)](0x0));!(_0x3de2ac(0x214)in _0x1e7183)&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x3de2ac(0x232)](0x0));typeof _0x1e7183[_0x3de2ac(0x201)]!==_0x3de2ac(0x218)&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));![_0x3de2ac(0x217),_0x3de2ac(0x224),_0x3de2ac(0x20a),_0x3de2ac(0x22d)]['includes'](_0x1e7183[_0x3de2ac(0x201)])&&(console['log']('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x3de2ac(0x232)](0x0));typeof _0x1e7183[_0x3de2ac(0x22e)]!==_0x3de2ac(0x218)&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x216)),process[_0x3de2ac(0x232)](0x0));![_0x3de2ac(0x22a),_0x3de2ac(0x1ff)][_0x3de2ac(0x209)](_0x1e7183[_0x3de2ac(0x22e)])&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x3de2ac(0x232)](0x0));!Array[_0x3de2ac(0x211)](_0x1e7183[_0x3de2ac(0x214)])&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x1e7183[_0x3de2ac(0x214)]['length']===0x0&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x208)),process[_0x3de2ac(0x232)](0x0));const _0x52f86e=exports['f_resolve_install_resources'](_0x1e7183[_0x3de2ac(0x214)]);return _0x52f86e[_0x3de2ac(0x20c)](_0x54eb10=>_0x54eb10[_0x3de2ac(0x229)])[_0x3de2ac(0x1f1)](_0xbcb9b7=>![_0x3de2ac(0x1f3),_0x3de2ac(0x200),'jjb-common-lib',_0x3de2ac(0x205),'react-admin-component',_0x3de2ac(0x20d)][_0x3de2ac(0x209)](_0xbcb9b7))[_0x3de2ac(0x231)]!==0x0&&(console[_0x3de2ac(0x1fa)]('【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[_0x3de2ac(0x232)](0x0)),_0x1e7183[_0x3de2ac(0x214)]=_0x52f86e,_0x1e7183;},exports['f_create_package_json']=function(_0x5903e6,_0x3e0abc,_0x3b537a){const _0xcd016b=a4_0x28f821;fs[_0xcd016b(0x226)](_0x5903e6+_0xcd016b(0x227),_0xcd016b(0x1f7)+_0x3e0abc+_0xcd016b(0x21a)+_0x3b537a+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports['f_resolve_install_resources']=function(_0x539a4b=[]){const _0x455480=a4_0x28f821,_0x247874=[];return Array[_0x455480(0x211)](_0x539a4b)&&_0x539a4b[_0x455480(0x21c)](_0xe7a2ed=>{const _0x549ce9=_0x455480;if(Array[_0x549ce9(0x211)](_0xe7a2ed)){const [_0x4f438a,_0x557fba=[]]=_0xe7a2ed;_0x247874['push']({'name':_0x4f438a,'importList':_0x557fba});}else _0x247874[_0x549ce9(0x215)]({'name':_0xe7a2ed,'importList':[]});}),_0x247874;},exports['f_update_project_package_json']=function(_0x5ab538,_0x2566fc,_0x48b37b){const _0x33ecba=a4_0x28f821,_0x1a8bd6=JSON['parse'](fs['readFileSync'](_0x5ab538)[_0x33ecba(0x1fb)]());_0x1a8bd6['dependencies'][_0x2566fc]=_0x48b37b,fs[_0x33ecba(0x226)](_0x5ab538,JSON['stringify'](_0x1a8bd6,null,0x2));},exports['f_file_copy']=function(_0xb240ce,_0x525a36){const _0x5dbe6f=a4_0x28f821;fs[_0x5dbe6f(0x225)](_0xb240ce)[_0x5dbe6f(0x21c)](_0xa1cb1a=>{const _0x4fe1b6=_0x5dbe6f,_0x1be402=_0xb240ce+'\x5c'+_0xa1cb1a,_0x300af4=_0x525a36+'\x5c'+_0xa1cb1a;fs[_0x4fe1b6(0x207)](_0x1be402)[_0x4fe1b6(0x1fd)]()?(fs[_0x4fe1b6(0x228)](_0x300af4),exports[_0x4fe1b6(0x20f)](_0x1be402,_0x300af4)):fs[_0x4fe1b6(0x226)](_0x300af4,fs['readFileSync'](_0x1be402)[_0x4fe1b6(0x1fb)]());});},exports[a4_0x28f821(0x1f8)]=function(_0x546259=[],_0x48e63c){const _0x5a539d=a4_0x28f821;_0x546259[_0x5a539d(0x21c)](_0x3111d4=>{const _0xe6bc7b=_0x5a539d,_0x4aa1a1=_0x48e63c+_0x3111d4['path'];if(fs['existsSync'](_0x4aa1a1)){let _0x50cce9=fs[_0xe6bc7b(0x22b)](_0x4aa1a1)['toString']();_0x3111d4[_0xe6bc7b(0x219)]['forEach'](_0xf68ffe=>{const _0x25de38=_0xe6bc7b;_0x50cce9=_0x50cce9[_0x25de38(0x219)](_0xf68ffe[0x0],_0xf68ffe[0x1]);}),fs[_0xe6bc7b(0x226)](_0x4aa1a1,_0x50cce9);}});};function a4_0x3691(){const _0x58b5b2=['readdirSync','writeFileSync','\x5cpackage.json','mkdirSync','name','node_modules','readFileSync','7808454CfJDDK','micro-spa','installTarget','\x5cjjb.config.json','5324PMpwju','length','exit','293990yrtdzM','filter','projectId','jjb-common','_zip','existsSync','f_pull_git_repository','{\x22name\x22:\x22','f_content_replace','rmdirSync','log','toString','712OZdVEP','isDirectory','/api/v4/projects/','src','jjb-dva-runtime','projectType','/repository/archive.zip?private_token=','259CkjbZR','&ref=master','jjb-common-decorator','token','statSync','【Error】:[jjb.config.json.installResources]无资源。','includes','uniapp','2165vPzslV','map','vue-unisass-component','4648701iYnoaK','f_file_copy','4614420aZrQoK','isArray','3oSxaLq','./config','installResources','push','【Error】:[jjb.config.json.installTarget]类型是一个string。','multi','string','replace','\x22,\x22version\x22:\x22','77kTvrBg','forEach','287126UZHpwc','f_rm_rf','unlinkSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','.zip','18AKJqfk','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','spa'];a4_0x3691=function(){return _0x58b5b2;};return a4_0x3691();}
1
+ function a4_0x599d(){const _0x499375=['【Error】:[jjb.config.json.installResources]无资源。','existsSync','installResources','exit','src','f_scan_jjb_config_json_rules','rmdirSync','stringify','vue-unisass-component','path','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','map','3ToPdAF','f_file_copy','mkdirSync','jjb-common-lib','readdirSync','tmpdir','f_update_project_package_json','\x5cpackage.json','{\x22name\x22:\x22','replace','readFileSync','toString','_zip','10624239EeeSYW','multi','filter','./config','parse','node_modules','isDirectory','dependencies','370124QDKEmj','log','\x22,\x22main\x22:\x20\x22index.js\x22}','react-admin-component','f_resolve_install_resources','unlinkSync','string','jjb-common-decorator','token','writeFileSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','1862886WoxgJB','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_scan_jjb_config_json','jjb-dva-runtime','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','.zip','&ref=master','f_create_package_json','forEach','1451588FhXuPu','1879542noNdYD','includes','5qFzhWw','installTarget','【Error】:[jjb.config.json.installTarget]类型是一个string。','/api/v4/projects/','spa','micro-spa','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','statSync','isArray','3614336IGboyI','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_content_replace','projectType','\x5cjjb.config.json','jjb-common','length','2504222XpbuYZ','name','push','f_rm_rf'];a4_0x599d=function(){return _0x499375;};return a4_0x599d();}const a4_0x509af7=a4_0x18c2;(function(_0x442807,_0x4e56f8){const _0x8f1026=a4_0x18c2,_0x5a8530=_0x442807();while(!![]){try{const _0x26eb73=-parseInt(_0x8f1026(0x1f6))/0x1*(parseInt(_0x8f1026(0x20b))/0x2)+parseInt(_0x8f1026(0x216))/0x3+-parseInt(_0x8f1026(0x1d3))/0x4*(parseInt(_0x8f1026(0x1d6))/0x5)+parseInt(_0x8f1026(0x1d4))/0x6+-parseInt(_0x8f1026(0x1e6))/0x7+-parseInt(_0x8f1026(0x1df))/0x8+parseInt(_0x8f1026(0x203))/0x9;if(_0x26eb73===_0x4e56f8)break;else _0x5a8530['push'](_0x5a8530['shift']());}catch(_0xdf78b5){_0x5a8530['push'](_0x5a8530['shift']());}}}(a4_0x599d,0x5e7fd));function a4_0x18c2(_0x29853e,_0x4ae1d8){const _0x599d41=a4_0x599d();return a4_0x18c2=function(_0x18c251,_0x5c7f80){_0x18c251=_0x18c251-0x1cb;let _0x43afc4=_0x599d41[_0x18c251];return _0x43afc4;},a4_0x18c2(_0x29853e,_0x4ae1d8);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x509af7(0x206));exports['f_rm_rf']=function(_0x5dd925){const _0x4b8c5c=a4_0x509af7;if(fs[_0x4b8c5c(0x1eb)](_0x5dd925)){const _0x4f601d=fs['readdirSync'](_0x5dd925);for(let _0x5492a6=0x0;_0x5492a6<_0x4f601d[_0x4b8c5c(0x1e5)];_0x5492a6++){const _0x1ae8ed=_0x4f601d[_0x5492a6],_0x3cd5fe=_0x5dd925+'/'+_0x1ae8ed;fs['statSync'](_0x3cd5fe)['isDirectory']()?(exports[_0x4b8c5c(0x1e9)](_0x3cd5fe),fs[_0x4b8c5c(0x1f0)](_0x3cd5fe)):fs[_0x4b8c5c(0x210)](_0x3cd5fe);}}},exports['f_pull_git_repository']=function(_0x27ee3c=[]){const _0x5afc20=a4_0x509af7;return _0x27ee3c[_0x5afc20(0x1f5)](_0x201a84=>{const _0x341ac3=_0x5afc20,_0x26eda8=CLOUD_PROJECT[_0x201a84[_0x341ac3(0x1e7)]]||undefined,_0xa25ee2=os[_0x341ac3(0x1fb)]();return{'path':_0xa25ee2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x201a84[_0x341ac3(0x1e7)]+_0x341ac3(0x1cf),'compress':_0xa25ee2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x201a84[_0x341ac3(0x1e7)]+_0x341ac3(0x202),'repository':GIT_HOST+_0x341ac3(0x1d9)+_0x26eda8['projectId']+'/repository/archive.zip?private_token='+_0x26eda8[_0x341ac3(0x213)]+_0x341ac3(0x1d0)};});},exports[a4_0x509af7(0x1cc)]=function(_0x1b0cea){const _0x5f5981=a4_0x509af7;return fs[_0x5f5981(0x1eb)](_0x1b0cea+_0x5f5981(0x1e3));},exports[a4_0x509af7(0x1ef)]=function(_0xde95df){const _0x4ed2d5=a4_0x509af7;let _0x216570={};try{_0x216570=JSON[_0x4ed2d5(0x207)](fs[_0x4ed2d5(0x200)](_0xde95df+_0x4ed2d5(0x1e3))[_0x4ed2d5(0x201)]());}catch(_0x3c5544){console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1dc)),process[_0x4ed2d5(0x1ed)](0x0);}!('projectType'in _0x216570)&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1cb)),process[_0x4ed2d5(0x1ed)](0x0));!(_0x4ed2d5(0x1d7)in _0x216570)&&(console['log'](_0x4ed2d5(0x1ce)),process['exit'](0x0));!(_0x4ed2d5(0x1ec)in _0x216570)&&(console[_0x4ed2d5(0x20c)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x4ed2d5(0x1ed)](0x0));typeof _0x216570[_0x4ed2d5(0x1e2)]!=='string'&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x4ed2d5(0x1ed)](0x0));![_0x4ed2d5(0x204),_0x4ed2d5(0x1da),'uniapp',_0x4ed2d5(0x1db)][_0x4ed2d5(0x1d5)](_0x216570[_0x4ed2d5(0x1e2)])&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x215)),process[_0x4ed2d5(0x1ed)](0x0));typeof _0x216570[_0x4ed2d5(0x1d7)]!==_0x4ed2d5(0x211)&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1d8)),process[_0x4ed2d5(0x1ed)](0x0));![_0x4ed2d5(0x208),_0x4ed2d5(0x1ee)][_0x4ed2d5(0x1d5)](_0x216570[_0x4ed2d5(0x1d7)])&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1f4)),process['exit'](0x0));!Array['isArray'](_0x216570[_0x4ed2d5(0x1ec)])&&(console['log'](_0x4ed2d5(0x1e0)),process[_0x4ed2d5(0x1ed)](0x0));_0x216570['installResources'][_0x4ed2d5(0x1e5)]===0x0&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1ea)),process[_0x4ed2d5(0x1ed)](0x0));const _0x6173dd=exports[_0x4ed2d5(0x20f)](_0x216570['installResources']);return _0x6173dd['map'](_0x3200c3=>_0x3200c3[_0x4ed2d5(0x1e7)])[_0x4ed2d5(0x205)](_0x4ec93e=>![_0x4ed2d5(0x1e4),_0x4ed2d5(0x1cd),_0x4ed2d5(0x1f9),_0x4ed2d5(0x212),_0x4ed2d5(0x20e),_0x4ed2d5(0x1f2)][_0x4ed2d5(0x1d5)](_0x4ec93e))[_0x4ed2d5(0x1e5)]!==0x0&&(console[_0x4ed2d5(0x20c)]('【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[_0x4ed2d5(0x1ed)](0x0)),_0x216570['installResources']=_0x6173dd,_0x216570;},exports[a4_0x509af7(0x1d1)]=function(_0x334b5f,_0x5ce23f,_0x55a55a){const _0x2f0cf3=a4_0x509af7;fs[_0x2f0cf3(0x214)](_0x334b5f+_0x2f0cf3(0x1fd),_0x2f0cf3(0x1fe)+_0x5ce23f+'\x22,\x22version\x22:\x22'+_0x55a55a+_0x2f0cf3(0x20d));},exports[a4_0x509af7(0x20f)]=function(_0x2b1046=[]){const _0x3095b4=a4_0x509af7,_0x2c4b0d=[];return Array[_0x3095b4(0x1de)](_0x2b1046)&&_0x2b1046[_0x3095b4(0x1d2)](_0x2aea21=>{const _0x2814a4=_0x3095b4;if(Array[_0x2814a4(0x1de)](_0x2aea21)){const [_0x2d4e25,_0x1c8e35=[]]=_0x2aea21;_0x2c4b0d[_0x2814a4(0x1e8)]({'name':_0x2d4e25,'importList':_0x1c8e35});}else _0x2c4b0d[_0x2814a4(0x1e8)]({'name':_0x2aea21,'importList':[]});}),_0x2c4b0d;},exports[a4_0x509af7(0x1fc)]=function(_0xa33382,_0x170595,_0x40d68a){const _0x5e291e=a4_0x509af7,_0x2883f7=JSON[_0x5e291e(0x207)](fs[_0x5e291e(0x200)](_0xa33382)[_0x5e291e(0x201)]());_0x2883f7[_0x5e291e(0x20a)][_0x170595]=_0x40d68a,fs[_0x5e291e(0x214)](_0xa33382,JSON[_0x5e291e(0x1f1)](_0x2883f7,null,0x2));},exports[a4_0x509af7(0x1f7)]=function(_0x3bd14e,_0x437b02){const _0x22de27=a4_0x509af7;fs[_0x22de27(0x1fa)](_0x3bd14e)[_0x22de27(0x1d2)](_0x23d0e6=>{const _0x5a07ab=_0x22de27,_0x10dd3e=_0x3bd14e+'\x5c'+_0x23d0e6,_0x51dd50=_0x437b02+'\x5c'+_0x23d0e6;fs[_0x5a07ab(0x1dd)](_0x10dd3e)[_0x5a07ab(0x209)]()?(fs[_0x5a07ab(0x1f8)](_0x51dd50),exports[_0x5a07ab(0x1f7)](_0x10dd3e,_0x51dd50)):fs[_0x5a07ab(0x214)](_0x51dd50,fs[_0x5a07ab(0x200)](_0x10dd3e)[_0x5a07ab(0x201)]());});},exports[a4_0x509af7(0x1e1)]=function(_0xd0bc71=[],_0x5bd1e3){const _0x2db43f=a4_0x509af7;_0xd0bc71[_0x2db43f(0x1d2)](_0x975f51=>{const _0x70c53e=_0x2db43f,_0x2406a0=_0x5bd1e3+_0x975f51[_0x70c53e(0x1f3)];if(fs[_0x70c53e(0x1eb)](_0x2406a0)){let _0x4ad0b0=fs[_0x70c53e(0x200)](_0x2406a0)['toString']();_0x975f51[_0x70c53e(0x1ff)][_0x70c53e(0x1d2)](_0x5dfd6a=>{const _0x6eb303=_0x70c53e;_0x4ad0b0=_0x4ad0b0[_0x6eb303(0x1ff)](_0x5dfd6a[0x0],_0x5dfd6a[0x1]);}),fs[_0x70c53e(0x214)](_0x2406a0,_0x4ad0b0);}});};
@@ -1 +1 @@
1
- function a5_0x764a(){const _0x4a9d09=['git\x20init','Finish!','212448rYVlpV','5273630XnWdvU','8394zxEwIc','2289pTyTld','npm','resolve','/.git','8766jwkxiq','install\x20modules\x20please\x20wait....','execSync','includes','90nVsztr','1108534bNreXG','existsSync','1348RwNKgG','12608772vjisaE','npm\x20install','log','exports','yarn','npx\x20husky\x20install','4631780tUpIec','exit','1fzFAEX'];a5_0x764a=function(){return _0x4a9d09;};return a5_0x764a();}const a5_0x2f6072=a5_0x3901;function a5_0x3901(_0x3096b5,_0x13d322){const _0x764aee=a5_0x764a();return a5_0x3901=function(_0x3901ca,_0x3f63b6){_0x3901ca=_0x3901ca-0xe4;let _0x76eb3c=_0x764aee[_0x3901ca];return _0x76eb3c;},a5_0x3901(_0x3096b5,_0x13d322);}(function(_0x50e814,_0x1d9e5b){const _0x5c22ac=a5_0x3901,_0x206995=_0x50e814();while(!![]){try{const _0x4f5589=parseInt(_0x5c22ac(0xef))/0x1*(parseInt(_0x5c22ac(0xe4))/0x2)+-parseInt(_0x5c22ac(0xf4))/0x3*(parseInt(_0x5c22ac(0xe6))/0x4)+parseInt(_0x5c22ac(0xed))/0x5+parseInt(_0x5c22ac(0xf9))/0x6*(-parseInt(_0x5c22ac(0xf5))/0x7)+-parseInt(_0x5c22ac(0xf2))/0x8*(-parseInt(_0x5c22ac(0xfd))/0x9)+-parseInt(_0x5c22ac(0xf3))/0xa+parseInt(_0x5c22ac(0xe7))/0xb;if(_0x4f5589===_0x1d9e5b)break;else _0x206995['push'](_0x206995['shift']());}catch(_0x4b18b4){_0x206995['push'](_0x206995['shift']());}}}(a5_0x764a,0xe690f));const child_process=require('child_process'),path=require('path'),fs=require('fs');module[a5_0x2f6072(0xea)]=_0x40f33c=>{const _0x2b48c4=a5_0x2f6072;![_0x2b48c4(0xf6),_0x2b48c4(0xeb)][_0x2b48c4(0xfc)](_0x40f33c)&&(console[_0x2b48c4(0xe9)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process[_0x2b48c4(0xee)](0x0));const _0x430630=path[_0x2b48c4(0xf7)]('./');console[_0x2b48c4(0xe9)](_0x2b48c4(0xfa)),child_process[_0x2b48c4(0xfb)](_0x40f33c===_0x2b48c4(0xeb)?_0x2b48c4(0xeb):_0x2b48c4(0xe8),{'cwd':_0x430630}),!fs[_0x2b48c4(0xe5)](_0x430630+_0x2b48c4(0xf8))&&(console[_0x2b48c4(0xe9)]('git\x20init\x20please\x20wait....'),child_process['execSync'](_0x2b48c4(0xf0),{'cwd':_0x430630})),console['log']('install\x20husky\x20please\x20wait....'),child_process[_0x2b48c4(0xfb)](_0x2b48c4(0xec),{'cwd':_0x430630}),console['log'](_0x2b48c4(0xf1));};
1
+ const a5_0x1bbbb8=a5_0x502e;(function(_0x29151e,_0x279d60){const _0x54fa8d=a5_0x502e,_0x2db972=_0x29151e();while(!![]){try{const _0x763d2f=parseInt(_0x54fa8d(0xf4))/0x1+-parseInt(_0x54fa8d(0xe8))/0x2*(parseInt(_0x54fa8d(0xf3))/0x3)+-parseInt(_0x54fa8d(0xf8))/0x4+parseInt(_0x54fa8d(0xed))/0x5*(parseInt(_0x54fa8d(0xe6))/0x6)+-parseInt(_0x54fa8d(0xeb))/0x7+parseInt(_0x54fa8d(0xf6))/0x8+parseInt(_0x54fa8d(0xf7))/0x9;if(_0x763d2f===_0x279d60)break;else _0x2db972['push'](_0x2db972['shift']());}catch(_0x3ae115){_0x2db972['push'](_0x2db972['shift']());}}}(a5_0x4374,0x2f885));const child_process=require(a5_0x1bbbb8(0xfd)),path=require(a5_0x1bbbb8(0xfa)),fs=require('fs');module['exports']=_0x25b212=>{const _0x1b03f3=a5_0x1bbbb8;![_0x1b03f3(0xf2),'yarn'][_0x1b03f3(0xe7)](_0x25b212)&&(console['log']('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process[_0x1b03f3(0xea)](0x0));const _0x24e387=path[_0x1b03f3(0xfb)]('./');console[_0x1b03f3(0xec)](_0x1b03f3(0xee)),child_process['execSync'](_0x25b212===_0x1b03f3(0xf1)?_0x1b03f3(0xf1):_0x1b03f3(0xfc),{'cwd':_0x24e387}),!fs['existsSync'](_0x24e387+_0x1b03f3(0xf5))&&(console[_0x1b03f3(0xec)]('git\x20init\x20please\x20wait....'),child_process[_0x1b03f3(0xf0)]('git\x20init',{'cwd':_0x24e387})),console[_0x1b03f3(0xec)](_0x1b03f3(0xef)),child_process['execSync'](_0x1b03f3(0xf9),{'cwd':_0x24e387}),console[_0x1b03f3(0xec)](_0x1b03f3(0xe9));};function a5_0x502e(_0x3a93ab,_0x5458e4){const _0x4374d2=a5_0x4374();return a5_0x502e=function(_0x502e18,_0x20bf78){_0x502e18=_0x502e18-0xe6;let _0x3c9752=_0x4374d2[_0x502e18];return _0x3c9752;},a5_0x502e(_0x3a93ab,_0x5458e4);}function a5_0x4374(){const _0x35f435=['log','6900BjosbV','install\x20modules\x20please\x20wait....','install\x20husky\x20please\x20wait....','execSync','yarn','npm','36zKZlca','144087gFdknr','/.git','1281088zdMBdY','2066373aKLcmO','1341780knnTaD','npx\x20husky\x20install','path','resolve','npm\x20install','child_process','1242dNkRxe','includes','382rcOouV','Finish!','exit','2009350tLyroA'];a5_0x4374=function(){return _0x35f435;};return a5_0x4374();}
@@ -1 +1 @@
1
- const a6_0x4a0f92=a6_0x47e0;function a6_0x7e29(){const _0x14b4cc=['path','post','component_config_content','Auth\x20Fail!','resolve','message','execSync','catch','请输入此次提交信息,按Enter确认:','【Error】:no\x20auth\x20login','/yarn.lock','then','发布失败!根目录缺少‘package.json’文件,无法完成发布。','data','parse','4ADLeuO','Please\x20wait,\x20build\x20...','stdout','stringify','18600ZAwVzB','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','readFileSync','3DlvQSk','createInterface','platform','761043EQJOVa','axios','2305490nHvnhD','hostname','no\x20message','【Error】:请必须包含README.md说明文件','exit','status','5954cvLqJb','350sLfdJy','../../../.auth','\x5cREADME.md','510720bekNNR','log','exports','5124XYYEyw','Auth\x20NetWork\x20Fail!','toString','arch','package_content','1610118jyiCVp','yarn\x20build:production','existsSync','push','split','readline','package_name','721cnAyoX','npm\x20run\x20build:production','../../../package.json','【Error】:请必须包含component.config.json组件配置文件','\x5ccomponent.config.json'];a6_0x7e29=function(){return _0x14b4cc;};return a6_0x7e29();}(function(_0x48d544,_0x308289){const _0x3969fc=a6_0x47e0,_0x988334=_0x48d544();while(!![]){try{const _0x17cbd6=-parseInt(_0x3969fc(0x1c0))/0x1*(-parseInt(_0x3969fc(0x1cb))/0x2)+-parseInt(_0x3969fc(0x1c3))/0x3*(parseInt(_0x3969fc(0x1b9))/0x4)+parseInt(_0x3969fc(0x1cc))/0x5*(parseInt(_0x3969fc(0x199))/0x6)+-parseInt(_0x3969fc(0x1a5))/0x7*(-parseInt(_0x3969fc(0x1bd))/0x8)+-parseInt(_0x3969fc(0x19e))/0x9+parseInt(_0x3969fc(0x196))/0xa+parseInt(_0x3969fc(0x1c5))/0xb;if(_0x17cbd6===_0x308289)break;else _0x988334['push'](_0x988334['shift']());}catch(_0x5c12b9){_0x988334['push'](_0x988334['shift']());}}}(a6_0x7e29,0x21449));const path=require(a6_0x4a0f92(0x1aa)),fs=require('fs'),os=require('os'),axios=require(a6_0x4a0f92(0x1c4)),readline=require(a6_0x4a0f92(0x1a3)),io=readline[a6_0x4a0f92(0x1c1)]({'input':process['stdin'],'output':process[a6_0x4a0f92(0x1bb)]}),child_process=require('child_process'),{API_HOST}=require('../cmd.install/config');function a6_0x47e0(_0x207ab5,_0x5bda92){const _0x7e2904=a6_0x7e29();return a6_0x47e0=function(_0x47e082,_0x125bb6){_0x47e082=_0x47e082-0x195;let _0x2f9566=_0x7e2904[_0x47e082];return _0x2f9566;},a6_0x47e0(_0x207ab5,_0x5bda92);}module[a6_0x4a0f92(0x198)]=_0x42e0db=>{const _0x195ca5=a6_0x4a0f92,_0x129fe8=path['join'](__dirname,_0x195ca5(0x1cd));!fs[_0x195ca5(0x1a0)](_0x129fe8)&&(console['log'](_0x195ca5(0x1b3)),process[_0x195ca5(0x1c9)](0x0));const [_0x19c1e8,_0x10c89d]=fs[_0x195ca5(0x1bf)](_0x129fe8)[_0x195ca5(0x19b)]()[_0x195ca5(0x1a2)]('/');axios[_0x195ca5(0x1ab)](API_HOST+'/api/auth',{'username':_0x19c1e8,'password':_0x10c89d})[_0x195ca5(0x1b5)](_0x2361b8=>{const _0x17dda7=_0x195ca5;if(_0x2361b8[_0x17dda7(0x1b7)][_0x17dda7(0x1ca)]){const _0x5ca9e8=path[_0x17dda7(0x1ae)]('./');console['log'](_0x17dda7(0x1ba));fs['existsSync'](_0x5ca9e8+_0x17dda7(0x1b4))?child_process['execSync'](_0x17dda7(0x19f),{'cwd':_0x5ca9e8}):child_process[_0x17dda7(0x1b0)](_0x17dda7(0x1a6),{'cwd':_0x5ca9e8});const _0x5c5d88=_0x5ca9e8+'\x5cdist\x5cindex.js',_0x4b7ceb=_0x5ca9e8+'\x5cpackage.json',_0x103756=_0x5ca9e8+_0x17dda7(0x195),_0x1f8551=_0x5ca9e8+_0x17dda7(0x1a9),_0x526eed=[os['hostname'](),os[_0x17dda7(0x1c2)](),os[_0x17dda7(0x19c)](),new Date()['toString']()],_0x7d0fdf=JSON[_0x17dda7(0x1b8)](fs['readFileSync'](path['join'](__dirname,_0x17dda7(0x1a7)))[_0x17dda7(0x19b)]()),{version:_0x2a862a}=_0x7d0fdf,_0x419819={'username':_0x19c1e8,'cmd_version':_0x2a862a,'hostname':os[_0x17dda7(0x1c6)](),'platform':os['platform']()};if(fs[_0x17dda7(0x1a0)](_0x4b7ceb)){if(fs[_0x17dda7(0x1a0)](_0x5c5d88)){const _0x16e050=JSON[_0x17dda7(0x1b8)](fs[_0x17dda7(0x1bf)](_0x4b7ceb)[_0x17dda7(0x19b)]()),{name:_0x3f7419,version:_0x246fe7}=_0x16e050;_0x526eed[_0x17dda7(0x1a1)](JSON[_0x17dda7(0x1bc)](_0x16e050)),_0x419819[_0x17dda7(0x1a4)]=_0x3f7419,_0x419819['package_version']=_0x42e0db?_0x42e0db:0x0,_0x419819[_0x17dda7(0x19d)]=fs[_0x17dda7(0x1bf)](_0x5c5d88)[_0x17dda7(0x19b)](),fs[_0x17dda7(0x1a0)](_0x103756)?_0x419819['readme_content']=fs[_0x17dda7(0x1bf)](_0x103756)[_0x17dda7(0x19b)]():(console[_0x17dda7(0x197)](_0x17dda7(0x1c8)),process['exit'](0x0)),fs[_0x17dda7(0x1a0)](_0x1f8551)?_0x419819[_0x17dda7(0x1ac)]=fs[_0x17dda7(0x1bf)](_0x1f8551)['toString']():(console[_0x17dda7(0x197)](_0x17dda7(0x1a8)),process['exit'](0x0)),io['question'](_0x17dda7(0x1b2),function(_0x2d51ac){const _0x3b8afa=_0x17dda7;_0x419819[_0x3b8afa(0x1af)]=_0x2d51ac||_0x3b8afa(0x1c7),axios['post'](API_HOST+'/api/file/publish',_0x419819)[_0x3b8afa(0x1b5)](_0x50fc01=>{const _0x225f1e=_0x3b8afa;console['log'](_0x50fc01[_0x225f1e(0x1b7)][_0x225f1e(0x1af)]),process[_0x225f1e(0x1c9)](0x0);})[_0x3b8afa(0x1b1)](_0x200268=>{const _0x4a43d1=_0x3b8afa;console[_0x4a43d1(0x197)](_0x200268),console['log']('网络异常。'),process['exit'](0x0);});});}else console[_0x17dda7(0x197)](_0x17dda7(0x1be)),process[_0x17dda7(0x1c9)](0x0);}else console[_0x17dda7(0x197)](_0x17dda7(0x1b6)),process[_0x17dda7(0x1c9)](0x0);}else console[_0x17dda7(0x197)](_0x17dda7(0x1ad));})['catch'](_0x2150f4=>{const _0x1dda85=_0x195ca5;console[_0x1dda85(0x197)](_0x2150f4),console[_0x1dda85(0x197)](_0x1dda85(0x19a));});};
1
+ function a6_0x1808(_0x59e27b,_0x5b4651){const _0xa31c27=a6_0xa31c();return a6_0x1808=function(_0x18082c,_0x1b1a73){_0x18082c=_0x18082c-0xa8;let _0x1708a3=_0xa31c27[_0x18082c];return _0x1708a3;},a6_0x1808(_0x59e27b,_0x5b4651);}const a6_0x1d532a=a6_0x1808;(function(_0x259b6f,_0x3db6e8){const _0x5bfc22=a6_0x1808,_0x4eb0ce=_0x259b6f();while(!![]){try{const _0xde5412=parseInt(_0x5bfc22(0xd3))/0x1*(-parseInt(_0x5bfc22(0xb1))/0x2)+parseInt(_0x5bfc22(0xc2))/0x3+-parseInt(_0x5bfc22(0xe0))/0x4+-parseInt(_0x5bfc22(0xe1))/0x5*(-parseInt(_0x5bfc22(0xd0))/0x6)+parseInt(_0x5bfc22(0xcb))/0x7*(-parseInt(_0x5bfc22(0xc1))/0x8)+parseInt(_0x5bfc22(0xb7))/0x9+-parseInt(_0x5bfc22(0xce))/0xa*(-parseInt(_0x5bfc22(0xe4))/0xb);if(_0xde5412===_0x3db6e8)break;else _0x4eb0ce['push'](_0x4eb0ce['shift']());}catch(_0x1dde44){_0x4eb0ce['push'](_0x4eb0ce['shift']());}}}(a6_0xa31c,0x855e3));const path=require(a6_0x1d532a(0xcd)),fs=require('fs'),os=require('os'),axios=require(a6_0x1d532a(0xb3)),readline=require('readline'),io=readline[a6_0x1d532a(0xd1)]({'input':process[a6_0x1d532a(0xdb)],'output':process['stdout']}),child_process=require(a6_0x1d532a(0xe2)),{API_HOST}=require(a6_0x1d532a(0xbe));function a6_0xa31c(){const _0x5297db=['from','replace','catch','发布失败!根目录缺少‘package.json’文件,无法完成发布。','hostname','35XbHAsH','data','path','10Mqujbh','readFileSync','12ETRsyx','createInterface','\x5cREADME.md','289daZyDL','@babel/core','code','【Error】:组件根目录必须包含thumbnail.png缩略图片','post','base64','forEach','join','stdin','status','component_config_content','/api/auth','\x5cdist\x5cindex.js','2304212HUyrIs','2169295uFXqAX','child_process','substring','1996819LDxXxT','\x5cpackage.json','existsSync','no\x20message','message','transformSync','platform','toString','npm\x20run\x20build:production','请输入此次提交信息,按Enter确认:','resolve','log','1604aCmWOa','readme_content','axios','package_version','../../../package.json','【Error】:no\x20auth\x20login','4790682fJGgBv','parse','Auth\x20Fail!','split','then','Auth\x20NetWork\x20Fail!','\x5ccomponent.config.json','../cmd.install/config','网络异常。','/yarn.lock','762632fRoJfw','747618GgOspg','exit','../../../.auth','exports'];a6_0xa31c=function(){return _0x5297db;};return a6_0xa31c();}module[a6_0x1d532a(0xc5)]=_0x498f8a=>{const _0x4f7f34=a6_0x1d532a,_0x16a1ce=path[_0x4f7f34(0xda)](__dirname,_0x4f7f34(0xc4));!fs[_0x4f7f34(0xe6)](_0x16a1ce)&&(console[_0x4f7f34(0xb0)](_0x4f7f34(0xb6)),process[_0x4f7f34(0xc3)](0x0));const [_0x494d9d,_0x3a4d3f]=fs[_0x4f7f34(0xcf)](_0x16a1ce)['toString']()[_0x4f7f34(0xba)]('/');axios[_0x4f7f34(0xd7)](API_HOST+_0x4f7f34(0xde),{'username':_0x494d9d,'password':_0x3a4d3f})[_0x4f7f34(0xbb)](_0x3d2b58=>{const _0x3c1e16=_0x4f7f34;if(_0x3d2b58['data'][_0x3c1e16(0xdc)]){const _0xe36be7=path[_0x3c1e16(0xaf)]('./');console[_0x3c1e16(0xb0)]('Please\x20wait,\x20build\x20...');fs[_0x3c1e16(0xe6)](_0xe36be7+_0x3c1e16(0xc0))?child_process['execSync']('yarn\x20build:production',{'cwd':_0xe36be7}):child_process['execSync'](_0x3c1e16(0xad),{'cwd':_0xe36be7});const _0xaec554=_0xe36be7+_0x3c1e16(0xdf),_0x2a8e25=_0xe36be7+_0x3c1e16(0xe5),_0x2c490d=_0xe36be7+_0x3c1e16(0xd2),_0x1f4099=_0xe36be7+_0x3c1e16(0xbd),_0x4cddde=_0xe36be7+'\x5cthumbnail.png',_0x57154f=[os[_0x3c1e16(0xca)](),os[_0x3c1e16(0xab)](),os['arch'](),new Date()['toString']()],_0x439d58=JSON[_0x3c1e16(0xb8)](fs[_0x3c1e16(0xcf)](path[_0x3c1e16(0xda)](__dirname,_0x3c1e16(0xb5)))[_0x3c1e16(0xac)]()),{version:_0x1c13bd}=_0x439d58,_0x234f4b={'username':_0x494d9d,'cmd_version':_0x1c13bd,'hostname':os[_0x3c1e16(0xca)](),'platform':os[_0x3c1e16(0xab)]()};if(fs['existsSync'](_0x2a8e25)){if(fs[_0x3c1e16(0xe6)](_0xaec554)){_0x234f4b[_0x3c1e16(0xb4)]=_0x498f8a?_0x498f8a:0x0,_0x234f4b['package_content']=fs['readFileSync'](_0xaec554)[_0x3c1e16(0xac)]();fs['existsSync'](_0x2c490d)?_0x234f4b[_0x3c1e16(0xb2)]=fs[_0x3c1e16(0xcf)](_0x2c490d)[_0x3c1e16(0xac)]():(console[_0x3c1e16(0xb0)]('【Error】:请必须包含README.md说明文件'),process[_0x3c1e16(0xc3)](0x0));if(!fs['existsSync'](_0x4cddde))console[_0x3c1e16(0xb0)](_0x3c1e16(0xd6)),process[_0x3c1e16(0xc3)](0x0);else{const _0x2e205c=fs[_0x3c1e16(0xcf)](_0x4cddde),_0x1972d1=Buffer[_0x3c1e16(0xc6)](_0x2e205c)['toString'](_0x3c1e16(0xd8));_0x234f4b['thumbnail_base64']=_0x1972d1;}if(fs[_0x3c1e16(0xe6)](_0x1f4099)){let _0x405ce5=fs[_0x3c1e16(0xcf)](_0x1f4099)[_0x3c1e16(0xac)]();_0x405ce5['match'](/(file:\/\/).*?(js)/img)['forEach'](_0x1f8a08=>{const _0x15cd8c=_0x3c1e16,_0x111f55=_0x1f8a08[_0x15cd8c(0xc7)]('file:/','')[_0x15cd8c(0xc7)](/\//g,'\x5c');let _0x3d03ac=fs[_0x15cd8c(0xcf)](''+_0xe36be7+_0x111f55)[_0x15cd8c(0xac)]();_0x3d03ac='{\x20'+_0x3d03ac[_0x15cd8c(0xc7)](/export.*?({)/img,''),_0x405ce5=_0x405ce5['replace'](_0x1f8a08,_0x3d03ac);}),_0x405ce5['match'](/(ReactNode).*?(\))/img)[_0x3c1e16(0xd9)](_0x226ec0=>{const _0x535f67=_0x3c1e16,_0x16f15b=_0x226ec0['replace']('ReactNode(',''),_0x3125e6=require(_0x535f67(0xd4))[_0x535f67(0xaa)](_0x16f15b[_0x535f67(0xe3)](0x0,_0x16f15b['length']-0x1),{'presets':['@babel/preset-react']}),_0x2b0ef6=_0x3125e6[_0x535f67(0xd5)][_0x535f67(0xc7)](/\/\*#__PURE__\*\//g,'');_0x405ce5=_0x405ce5[_0x535f67(0xc7)](_0x226ec0,_0x2b0ef6);}),_0x234f4b[_0x3c1e16(0xdd)]=_0x405ce5;}else console[_0x3c1e16(0xb0)]('【Error】:请必须包含component.config.json组件配置文件'),process[_0x3c1e16(0xc3)](0x0);io['question'](_0x3c1e16(0xae),function(_0xdd52d7){const _0x35162e=_0x3c1e16;_0x234f4b['message']=_0xdd52d7||_0x35162e(0xa8),axios[_0x35162e(0xd7)](API_HOST+'/api/file/publish',_0x234f4b)['then'](_0x3217db=>{const _0x1b51cd=_0x35162e;console[_0x1b51cd(0xb0)](_0x3217db[_0x1b51cd(0xcc)][_0x1b51cd(0xa9)]),process['exit'](0x0);})[_0x35162e(0xc8)](_0xdc1edc=>{const _0x3dee46=_0x35162e;console[_0x3dee46(0xb0)](_0xdc1edc),console['log'](_0x3dee46(0xbf)),process[_0x3dee46(0xc3)](0x0);});});}else console[_0x3c1e16(0xb0)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x3c1e16(0xc3)](0x0);}else console[_0x3c1e16(0xb0)](_0x3c1e16(0xc9)),process[_0x3c1e16(0xc3)](0x0);}else console[_0x3c1e16(0xb0)](_0x3c1e16(0xb9));})['catch'](_0x8815a=>{const _0x5ab79d=_0x4f7f34;console['log'](_0x8815a),console[_0x5ab79d(0xb0)](_0x5ab79d(0xbc));});};
@@ -1 +1 @@
1
- function a7_0x502f(){const _0x3279ab=['发布失败!根目录缺少‘package.json’文件,无法完成发布。','4273686VjMZSA','网络异常。','\x5cdist\x5cindex.js','path','arch','split','exports','../cmd.install/config','log','/api/auth','\x5cpackage.json','【Error】:no\x20auth\x20login','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','12180443ooLgYq','existsSync','push','stringify','networkInterfaces','../../../.auth','toString','/api/file/push','67094NZunqF','4DsxTdW','parse','8XOcvPc','hostname','Auth\x20Fail!','catch','post','resolve','data','171SkiSzs','join','1064104FzkcsZ','5hZQfwE','message','279290coUCuD','readFileSync','1857243CTDtlN','5304761wDlsQl','exit','then','Auth\x20NetWork\x20Fail!'];a7_0x502f=function(){return _0x3279ab;};return a7_0x502f();}const a7_0x477e7e=a7_0x53f1;function a7_0x53f1(_0x39e8ee,_0x2b10bd){const _0x502fa3=a7_0x502f();return a7_0x53f1=function(_0x53f1f9,_0x37b8e7){_0x53f1f9=_0x53f1f9-0x12d;let _0x2e42f0=_0x502fa3[_0x53f1f9];return _0x2e42f0;},a7_0x53f1(_0x39e8ee,_0x2b10bd);}(function(_0x255a2a,_0x4d82c9){const _0x5cb3c4=a7_0x53f1,_0x537f16=_0x255a2a();while(!![]){try{const _0x3268ae=parseInt(_0x5cb3c4(0x12e))/0x1*(-parseInt(_0x5cb3c4(0x157))/0x2)+-parseInt(_0x5cb3c4(0x13c))/0x3*(-parseInt(_0x5cb3c4(0x158))/0x4)+-parseInt(_0x5cb3c4(0x138))/0x5*(parseInt(_0x5cb3c4(0x142))/0x6)+-parseInt(_0x5cb3c4(0x13d))/0x7+-parseInt(_0x5cb3c4(0x137))/0x8+parseInt(_0x5cb3c4(0x135))/0x9*(parseInt(_0x5cb3c4(0x13a))/0xa)+parseInt(_0x5cb3c4(0x14f))/0xb;if(_0x3268ae===_0x4d82c9)break;else _0x537f16['push'](_0x537f16['shift']());}catch(_0x5eeba7){_0x537f16['push'](_0x537f16['shift']());}}}(a7_0x502f,0x5e210));const path=require(a7_0x477e7e(0x145)),fs=require('fs'),os=require('os'),axios=require('axios'),{API_HOST}=require(a7_0x477e7e(0x149));module[a7_0x477e7e(0x148)]=_0x21e46a=>{const _0xc491b7=a7_0x477e7e,_0x2fc5e3=path[_0xc491b7(0x136)](__dirname,_0xc491b7(0x154));!fs[_0xc491b7(0x150)](_0x2fc5e3)&&(console[_0xc491b7(0x14a)](_0xc491b7(0x14d)),process[_0xc491b7(0x13e)](0x0));const [_0xd1ef9c,_0x40bfb3]=fs[_0xc491b7(0x13b)](_0x2fc5e3)[_0xc491b7(0x155)]()[_0xc491b7(0x147)]('/');axios[_0xc491b7(0x132)](API_HOST+_0xc491b7(0x14b),{'username':_0xd1ef9c,'password':_0x40bfb3})['then'](_0x4b4e5b=>{const _0x109233=_0xc491b7;if(_0x4b4e5b[_0x109233(0x134)]['status']){const _0x56793a=path[_0x109233(0x133)]('./'),_0x144d0a=_0x56793a+_0x109233(0x144),_0x227133=_0x56793a+_0x109233(0x14c),_0x530968=[os[_0x109233(0x12f)](),os['platform'](),os[_0x109233(0x146)](),new Date()[_0x109233(0x155)](),JSON[_0x109233(0x152)](os[_0x109233(0x153)](),null,'\x09')];if(fs[_0x109233(0x150)](_0x227133)){if(fs[_0x109233(0x150)](_0x144d0a)){const _0x245327=JSON[_0x109233(0x12d)](fs[_0x109233(0x13b)](_0x227133)[_0x109233(0x155)]()),{name:_0x2c1852,version:_0x2141b5}=_0x245327;_0x530968[_0x109233(0x151)](JSON['stringify'](_0x245327)),axios[_0x109233(0x132)](API_HOST+_0x109233(0x156),{'username':_0xd1ef9c,'log_text':_0x530968[_0x109233(0x136)]('\x0a'),'package_name':_0x2c1852,'package_version':_0x21e46a?_0x21e46a:_0x2141b5,'package_content':fs[_0x109233(0x13b)](_0x144d0a)['toString']()})[_0x109233(0x13f)](_0x54fd19=>{const _0x3c23c0=_0x109233;console['log'](_0x54fd19[_0x3c23c0(0x134)][_0x3c23c0(0x139)]),process['exit'](0x0);})[_0x109233(0x131)](_0x29d6ff=>{const _0x588cfe=_0x109233;console['log'](_0x29d6ff),console[_0x588cfe(0x14a)](_0x588cfe(0x143)),process[_0x588cfe(0x13e)](0x0);});}else console['log'](_0x109233(0x14e)),process[_0x109233(0x13e)](0x0);}else console[_0x109233(0x14a)](_0x109233(0x141)),process[_0x109233(0x13e)](0x0);}else console[_0x109233(0x14a)](_0x109233(0x130));})[_0xc491b7(0x131)](_0x24d15f=>{const _0x3aea1f=_0xc491b7;console[_0x3aea1f(0x14a)](_0x3aea1f(0x140));});};
1
+ const a7_0x5611bb=a7_0x4552;(function(_0x2fa791,_0x1f6b5c){const _0x261005=a7_0x4552,_0x3c4bad=_0x2fa791();while(!![]){try{const _0x3207f7=-parseInt(_0x261005(0x18b))/0x1+parseInt(_0x261005(0x17f))/0x2+-parseInt(_0x261005(0x187))/0x3*(-parseInt(_0x261005(0x181))/0x4)+-parseInt(_0x261005(0x18f))/0x5*(parseInt(_0x261005(0x16b))/0x6)+-parseInt(_0x261005(0x174))/0x7+-parseInt(_0x261005(0x16e))/0x8*(parseInt(_0x261005(0x18c))/0x9)+parseInt(_0x261005(0x180))/0xa;if(_0x3207f7===_0x1f6b5c)break;else _0x3c4bad['push'](_0x3c4bad['shift']());}catch(_0x460305){_0x3c4bad['push'](_0x3c4bad['shift']());}}}(a7_0x7c22,0xdec4f));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a7_0x5611bb(0x177)),{API_HOST}=require('../cmd.install/config');function a7_0x7c22(){const _0x55f5f7=['then','axios','hostname','data','【Error】:no\x20auth\x20login','网络异常。','platform','/api/auth','arch','3549210wiBnJD','34330680fRyPQF','1418364kpMUBW','readFileSync','exit','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','networkInterfaces','parse','6ZcjCkm','existsSync','post','Auth\x20Fail!','1619641ECamCL','99396hWpFko','/api/file/push','push','38945OtfWpw','toString','split','../../../.auth','1206zpiUsb','log','\x5cdist\x5cindex.js','1112vyIYpL','Auth\x20NetWork\x20Fail!','stringify','status','join','catch','1988322tJBfmF','message'];a7_0x7c22=function(){return _0x55f5f7;};return a7_0x7c22();}function a7_0x4552(_0x79f590,_0x347c55){const _0x7c2216=a7_0x7c22();return a7_0x4552=function(_0x45524a,_0x1d01af){_0x45524a=_0x45524a-0x16a;let _0x38fa92=_0x7c2216[_0x45524a];return _0x38fa92;},a7_0x4552(_0x79f590,_0x347c55);}module['exports']=_0x3826c0=>{const _0x47a5aa=a7_0x5611bb,_0x586523=path[_0x47a5aa(0x172)](__dirname,_0x47a5aa(0x16a));!fs[_0x47a5aa(0x188)](_0x586523)&&(console[_0x47a5aa(0x16c)](_0x47a5aa(0x17a)),process[_0x47a5aa(0x183)](0x0));const [_0x522d29,_0x25bc3d]=fs[_0x47a5aa(0x182)](_0x586523)['toString']()[_0x47a5aa(0x191)]('/');axios[_0x47a5aa(0x189)](API_HOST+_0x47a5aa(0x17d),{'username':_0x522d29,'password':_0x25bc3d})[_0x47a5aa(0x176)](_0x11964d=>{const _0x26780d=_0x47a5aa;if(_0x11964d[_0x26780d(0x179)][_0x26780d(0x171)]){const _0x4dffc9=path['resolve']('./'),_0xeaa5a8=_0x4dffc9+_0x26780d(0x16d),_0x17ceb3=_0x4dffc9+'\x5cpackage.json',_0x3c2d9e=[os[_0x26780d(0x178)](),os[_0x26780d(0x17c)](),os[_0x26780d(0x17e)](),new Date()[_0x26780d(0x190)](),JSON[_0x26780d(0x170)](os[_0x26780d(0x185)](),null,'\x09')];if(fs[_0x26780d(0x188)](_0x17ceb3)){if(fs[_0x26780d(0x188)](_0xeaa5a8)){const _0x2a5860=JSON[_0x26780d(0x186)](fs[_0x26780d(0x182)](_0x17ceb3)['toString']()),{name:_0x2aed52,version:_0x143f54}=_0x2a5860;_0x3c2d9e[_0x26780d(0x18e)](JSON[_0x26780d(0x170)](_0x2a5860)),axios['post'](API_HOST+_0x26780d(0x18d),{'username':_0x522d29,'log_text':_0x3c2d9e[_0x26780d(0x172)]('\x0a'),'package_name':_0x2aed52,'package_version':_0x3826c0?_0x3826c0:_0x143f54,'package_content':fs[_0x26780d(0x182)](_0xeaa5a8)['toString']()})[_0x26780d(0x176)](_0x280195=>{const _0xeebe8c=_0x26780d;console['log'](_0x280195[_0xeebe8c(0x179)][_0xeebe8c(0x175)]),process[_0xeebe8c(0x183)](0x0);})[_0x26780d(0x173)](_0x2b5126=>{const _0x4d4dd0=_0x26780d;console[_0x4d4dd0(0x16c)](_0x2b5126),console['log'](_0x4d4dd0(0x17b)),process[_0x4d4dd0(0x183)](0x0);});}else console[_0x26780d(0x16c)](_0x26780d(0x184)),process[_0x26780d(0x183)](0x0);}else console['log']('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0x26780d(0x183)](0x0);}else console[_0x26780d(0x16c)](_0x26780d(0x18a));})[_0x47a5aa(0x173)](_0x43aa77=>{const _0x33bea2=_0x47a5aa;console[_0x33bea2(0x16c)](_0x33bea2(0x16f));});};
@@ -1 +1 @@
1
- const a8_0x12e8fc=a8_0x542f;(function(_0x3dce8c,_0x2d995c){const _0x295ea0=a8_0x542f,_0x21c722=_0x3dce8c();while(!![]){try{const _0x7afebf=-parseInt(_0x295ea0(0x110))/0x1+parseInt(_0x295ea0(0x108))/0x2*(parseInt(_0x295ea0(0x113))/0x3)+parseInt(_0x295ea0(0x11c))/0x4+parseInt(_0x295ea0(0x131))/0x5+-parseInt(_0x295ea0(0x126))/0x6*(-parseInt(_0x295ea0(0x120))/0x7)+parseInt(_0x295ea0(0x114))/0x8+-parseInt(_0x295ea0(0x118))/0x9*(parseInt(_0x295ea0(0x119))/0xa);if(_0x7afebf===_0x2d995c)break;else _0x21c722['push'](_0x21c722['shift']());}catch(_0x5c87fd){_0x21c722['push'](_0x21c722['shift']());}}}(a8_0x2213,0x97893));const fs=require('fs'),os=require('os'),path=require(a8_0x12e8fc(0x128)),child_process=require(a8_0x12e8fc(0x12b)),{CopyFolder,DeleteDirAllFile}=require(a8_0x12e8fc(0x10c)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x12e8fc(0x111)),axios=require(a8_0x12e8fc(0x10e));function a8_0x542f(_0xe6bfdd,_0xfce627){const _0x221343=a8_0x2213();return a8_0x542f=function(_0x542f6e,_0x124836){_0x542f6e=_0x542f6e-0xfa;let _0x197750=_0x221343[_0x542f6e];return _0x197750;},a8_0x542f(_0xe6bfdd,_0xfce627);}module[a8_0x12e8fc(0x123)]=arguments=>{const _0x53ab79=a8_0x12e8fc,_0x31ac18=path[_0x53ab79(0x129)](__dirname,'../../../.auth');!fs[_0x53ab79(0x103)](_0x31ac18)&&(console[_0x53ab79(0x104)](_0x53ab79(0x116)),process[_0x53ab79(0x130)](0x0));const _0x271b09=arguments[0x1],_0x159fb5=arguments[0x2]||_0x53ab79(0xfe),_0x15239e=path[_0x53ab79(0x11b)]('./'),_0x1123fe=_0x15239e+'\x5cjjb.config.json',_0x31704e=_0x15239e+'\x5cdist',_0x1f46c8=os[_0x53ab79(0x11d)](),[_0x19ee55,_0x5b2256]=fs[_0x53ab79(0xff)](_0x31ac18)[_0x53ab79(0xfb)]()[_0x53ab79(0x122)]('/');axios[_0x53ab79(0x11e)](API_HOST+_0x53ab79(0xfc),{'username':_0x19ee55,'password':_0x5b2256})['then'](_0x74a669=>{const _0x48a4ca=_0x53ab79;if(_0x74a669[_0x48a4ca(0x125)][_0x48a4ca(0x102)]){if(fs[_0x48a4ca(0x103)](_0x1123fe)){const _0x2914df=JSON[_0x48a4ca(0x124)](fs[_0x48a4ca(0xff)](_0x1123fe)[_0x48a4ca(0xfb)]());if(_0x2914df[_0x48a4ca(0xfa)]){const _0x2f47ac=_0x1f46c8+'/'+GIT_TEMP_JAVA;!fs[_0x48a4ca(0x103)](_0x2f47ac)&&(fs[_0x48a4ca(0x107)](_0x2f47ac),child_process[_0x48a4ca(0x127)](_0x48a4ca(0x105)+_0x2914df['git'],{'cwd':_0x2f47ac})),_0x4901a4(_0x2f47ac,_0x2914df);}else console['log'](_0x48a4ca(0x121));}}else console[_0x48a4ca(0x104)](_0x48a4ca(0x100));})['catch'](_0x5336a7=>{const _0x45a1df=_0x53ab79;console['log'](_0x45a1df(0x10f));});arguments['length']<0x2&&(console[_0x53ab79(0x104)](_0x53ab79(0x12c)),process['exit'](0x0));function _0x4901a4(_0x83cad9,_0x21d6f1){const _0x628a9f=_0x53ab79,_0x382dea=_0x83cad9+'/'+_0x21d6f1[_0x628a9f(0x10b)];!fs[_0x628a9f(0x103)](_0x382dea)&&(console[_0x628a9f(0x104)]('【Error】:no\x20setting\x20gitName'),process['exit'](0x0));child_process[_0x628a9f(0x127)](_0x628a9f(0x117),{'cwd':_0x382dea});!fs[_0x628a9f(0x103)](_0x15239e+_0x628a9f(0x12e))?(console[_0x628a9f(0x104)](_0x628a9f(0x12f)),child_process[_0x628a9f(0x127)](_0x628a9f(0x11a),{'cwd':_0x15239e}),console[_0x628a9f(0x104)](_0x628a9f(0xfd))):console[_0x628a9f(0x104)](_0x628a9f(0x112)+_0x271b09+',please\x20wait...');child_process['execSync']('yarn\x20build:'+_0x271b09,{'cwd':_0x15239e}),console[_0x628a9f(0x104)](_0x628a9f(0x109));if(fs[_0x628a9f(0x103)](_0x31704e)){const _0x2b968c=_0x382dea+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x271b09];DeleteDirAllFile(_0x2b968c,()=>{const _0x1a715a=_0x628a9f;fs[_0x1a715a(0x107)](_0x2b968c),CopyFolder(_0x31704e,_0x2b968c,()=>{const _0x13190c=_0x1a715a;console['log'](_0x13190c(0x11f)),setTimeout(()=>{const _0x3d4e4f=_0x13190c;child_process[_0x3d4e4f(0x127)]('git\x20add\x20.',{'cwd':_0x382dea}),console[_0x3d4e4f(0x104)](_0x3d4e4f(0x12d));try{child_process[_0x3d4e4f(0x127)]('git\x20commit\x20-m\x20'+_0x159fb5+_0x3d4e4f(0x12a),{'cwd':_0x382dea}),console[_0x3d4e4f(0x104)](_0x3d4e4f(0x115));}catch(_0x3adc1a){console[_0x3d4e4f(0x104)](_0x3d4e4f(0x101));}child_process[_0x3d4e4f(0x127)](_0x3d4e4f(0x10d),{'cwd':_0x382dea}),console['log'](_0x3d4e4f(0x106));},0x3e8);});});}else console[_0x628a9f(0x104)](_0x628a9f(0x10a));}};function a8_0x2213(){const _0x11a47a=['git\x20push\x20-f','axios','Auth\x20NetWork\x20Fail!','978067lBrYez','../cmd.install/config','Git\x20Pull\x20Done,yarn\x20build:','264093YibwOq','2597712PywrEa','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','git\x20pull','18AdNEQX','9000220dPgPcG','yarn','resolve','4816608mkfxKP','tmpdir','post','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','2301061xXiGtp','【Error】:no\x20setting\x20git','split','exports','parse','data','6EtfEGn','execSync','path','join','\x20--no-verify','child_process','【Error】:参数传递错误','Git\x20Add\x20Done,git\x20commit,please\x20wait...','/node_modules','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','exit','5945445XEaDum','git','toString','/api/auth','yarn\x20install\x20Done!','no\x20message','readFileSync','Auth\x20Fail!','【warning】:no\x20commit,git\x20push,please\x20wait...','status','existsSync','log','git\x20clone\x20','Git\x20Push\x20Done!','mkdirSync','8pjvsDL','Project\x20build\x20Done,copy\x20project,please\x20wait...','【Error】:打包失败,没有dist目录!','gitName','../../old/util'];a8_0x2213=function(){return _0x11a47a;};return a8_0x2213();}
1
+ const a8_0x38efa1=a8_0x8eee;(function(_0x530ccf,_0x48c3f4){const _0x3a42fc=a8_0x8eee,_0x275086=_0x530ccf();while(!![]){try{const _0x1e3d0c=parseInt(_0x3a42fc(0xdd))/0x1+parseInt(_0x3a42fc(0xec))/0x2+-parseInt(_0x3a42fc(0xdc))/0x3*(-parseInt(_0x3a42fc(0xd6))/0x4)+-parseInt(_0x3a42fc(0xd7))/0x5*(-parseInt(_0x3a42fc(0xeb))/0x6)+parseInt(_0x3a42fc(0xf6))/0x7+parseInt(_0x3a42fc(0xf9))/0x8*(parseInt(_0x3a42fc(0xf5))/0x9)+-parseInt(_0x3a42fc(0xe0))/0xa;if(_0x1e3d0c===_0x48c3f4)break;else _0x275086['push'](_0x275086['shift']());}catch(_0x382b0b){_0x275086['push'](_0x275086['shift']());}}}(a8_0x2a34,0xc1e22));function a8_0x8eee(_0x223e41,_0x517279){const _0x2a3442=a8_0x2a34();return a8_0x8eee=function(_0x8eee78,_0x3c48e5){_0x8eee78=_0x8eee78-0xcf;let _0x2d4526=_0x2a3442[_0x8eee78];return _0x2d4526;},a8_0x8eee(_0x223e41,_0x517279);}const fs=require('fs'),os=require('os'),path=require(a8_0x38efa1(0x108)),child_process=require(a8_0x38efa1(0xd1)),{CopyFolder,DeleteDirAllFile}=require(a8_0x38efa1(0x104)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x38efa1(0xf3)),axios=require('axios');function a8_0x2a34(){const _0x2b8139=['../../../.auth','data','length','git\x20pull','child_process','Git\x20Add\x20Done,git\x20commit,please\x20wait...','git\x20push\x20-f','\x5cjjb.config.json','exit','144236bSFJjV','5945zODgwG','/api/auth','catch','git\x20commit\x20-m\x20','readFileSync','45qGkfFF','237450SgNoLX','Auth\x20NetWork\x20Fail!','Git\x20Pull\x20Done,yarn\x20build:','33998380sWisuJ','Project\x20build\x20Done,copy\x20project,please\x20wait...','【Error】:参数传递错误','toString','yarn','\x5cdist','yarn\x20build:','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git','existsSync','status','6018ASjLJc','2798572oUrbMj','gitName','【Error】:no\x20setting\x20gitName','mkdirSync','join','then','log','../cmd.install/config','【Error】:打包失败,没有dist目录!','368649jmKIrA','2039121moUtZJ','【Error】:no\x20auth\x20login','execSync','104wxvQIA','【Error】:no\x20setting\x20git','Git\x20Push\x20Done!','resolve','split','yarn\x20install\x20Done!','git\x20add\x20.','【warning】:no\x20commit,git\x20push,please\x20wait...','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','/src/main/resources/templates/','no\x20message','../../old/util','post','exports','parse','path'];a8_0x2a34=function(){return _0x2b8139;};return a8_0x2a34();}module[a8_0x38efa1(0x106)]=arguments=>{const _0x5f0bb4=a8_0x38efa1,_0x108219=path[_0x5f0bb4(0xf0)](__dirname,_0x5f0bb4(0x109));!fs[_0x5f0bb4(0xe9)](_0x108219)&&(console[_0x5f0bb4(0xf2)](_0x5f0bb4(0xf7)),process[_0x5f0bb4(0xd5)](0x0));const _0x462712=arguments[0x1],_0x4d94ed=arguments[0x2]||_0x5f0bb4(0x103),_0x1fbf40=path[_0x5f0bb4(0xfc)]('./'),_0x494b08=_0x1fbf40+_0x5f0bb4(0xd4),_0x9fb29d=_0x1fbf40+_0x5f0bb4(0xe5),_0x2fb48c=os['tmpdir'](),[_0x426bbc,_0x1f60dc]=fs[_0x5f0bb4(0xdb)](_0x108219)[_0x5f0bb4(0xe3)]()[_0x5f0bb4(0xfd)]('/');axios[_0x5f0bb4(0x105)](API_HOST+_0x5f0bb4(0xd8),{'username':_0x426bbc,'password':_0x1f60dc})[_0x5f0bb4(0xf1)](_0x1b1cec=>{const _0x487d6e=_0x5f0bb4;if(_0x1b1cec[_0x487d6e(0x10a)][_0x487d6e(0xea)]){if(fs[_0x487d6e(0xe9)](_0x494b08)){const _0x5ba7c6=JSON[_0x487d6e(0x107)](fs['readFileSync'](_0x494b08)[_0x487d6e(0xe3)]());if(_0x5ba7c6['git']){const _0x3f2349=_0x2fb48c+'/'+GIT_TEMP_JAVA;!fs[_0x487d6e(0xe9)](_0x3f2349)&&(fs[_0x487d6e(0xef)](_0x3f2349),child_process[_0x487d6e(0xf8)]('git\x20clone\x20'+_0x5ba7c6[_0x487d6e(0xe8)],{'cwd':_0x3f2349})),_0x3de031(_0x3f2349,_0x5ba7c6);}else console[_0x487d6e(0xf2)](_0x487d6e(0xfa));}}else console[_0x487d6e(0xf2)]('Auth\x20Fail!');})[_0x5f0bb4(0xd9)](_0x3ea6d9=>{const _0x2bfe4c=_0x5f0bb4;console[_0x2bfe4c(0xf2)](_0x2bfe4c(0xde));});arguments[_0x5f0bb4(0xcf)]<0x2&&(console[_0x5f0bb4(0xf2)](_0x5f0bb4(0xe2)),process[_0x5f0bb4(0xd5)](0x0));function _0x3de031(_0xe5913e,_0x632a54){const _0x210f56=_0x5f0bb4,_0x179395=_0xe5913e+'/'+_0x632a54[_0x210f56(0xed)];!fs[_0x210f56(0xe9)](_0x179395)&&(console[_0x210f56(0xf2)](_0x210f56(0xee)),process[_0x210f56(0xd5)](0x0));child_process['execSync'](_0x210f56(0xd0),{'cwd':_0x179395});!fs[_0x210f56(0xe9)](_0x1fbf40+'/node_modules')?(console[_0x210f56(0xf2)](_0x210f56(0x101)),child_process['execSync'](_0x210f56(0xe4),{'cwd':_0x1fbf40}),console[_0x210f56(0xf2)](_0x210f56(0xfe))):console[_0x210f56(0xf2)](_0x210f56(0xdf)+_0x462712+',please\x20wait...');child_process[_0x210f56(0xf8)](_0x210f56(0xe6)+_0x462712,{'cwd':_0x1fbf40}),console[_0x210f56(0xf2)](_0x210f56(0xe1));if(fs['existsSync'](_0x9fb29d)){const _0x50b97a=_0x179395+_0x210f56(0x102)+GIT_JAVA_ENV_JSON[_0x462712];DeleteDirAllFile(_0x50b97a,()=>{fs['mkdirSync'](_0x50b97a),CopyFolder(_0x9fb29d,_0x50b97a,()=>{const _0xcb33b8=a8_0x8eee;console[_0xcb33b8(0xf2)](_0xcb33b8(0xe7)),setTimeout(()=>{const _0x454f2c=_0xcb33b8;child_process[_0x454f2c(0xf8)](_0x454f2c(0xff),{'cwd':_0x179395}),console[_0x454f2c(0xf2)](_0x454f2c(0xd2));try{child_process[_0x454f2c(0xf8)](_0x454f2c(0xda)+_0x4d94ed+'\x20--no-verify',{'cwd':_0x179395}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0x3ad8a0){console[_0x454f2c(0xf2)](_0x454f2c(0x100));}child_process[_0x454f2c(0xf8)](_0x454f2c(0xd3),{'cwd':_0x179395}),console['log'](_0x454f2c(0xfb));},0x3e8);});});}else console[_0x210f56(0xf2)](_0x210f56(0xf4));}};
@@ -1 +1 @@
1
- const a9_0x20834e=a9_0x2c27;(function(_0x748cf5,_0x4aca48){const _0x5e042d=a9_0x2c27,_0x540d55=_0x748cf5();while(!![]){try{const _0x4e343c=-parseInt(_0x5e042d(0xa1))/0x1*(-parseInt(_0x5e042d(0xb8))/0x2)+-parseInt(_0x5e042d(0xc9))/0x3+-parseInt(_0x5e042d(0xc0))/0x4*(-parseInt(_0x5e042d(0xbf))/0x5)+-parseInt(_0x5e042d(0xae))/0x6+parseInt(_0x5e042d(0xbd))/0x7*(parseInt(_0x5e042d(0xca))/0x8)+parseInt(_0x5e042d(0xcd))/0x9+parseInt(_0x5e042d(0xa8))/0xa*(-parseInt(_0x5e042d(0xb3))/0xb);if(_0x4e343c===_0x4aca48)break;else _0x540d55['push'](_0x540d55['shift']());}catch(_0x1e8479){_0x540d55['push'](_0x540d55['shift']());}}}(a9_0x306d,0x8933f));const https=require(a9_0x20834e(0xc4)),fs=require('fs'),path=require(a9_0x20834e(0xbc)),{CONFIG_FILE_HOST}=require(a9_0x20834e(0xc7)),REGISTRY={'eslint':{'remoteDir':a9_0x20834e(0xc1),'files':[a9_0x20834e(0xb7),a9_0x20834e(0xc2)]},'prettier':{'remoteDir':a9_0x20834e(0xa7),'files':[a9_0x20834e(0xa3),a9_0x20834e(0xcb)]},'jjb_script':{'remoteDir':a9_0x20834e(0xc5),'localDir':a9_0x20834e(0xc5),'files':['build.js',a9_0x20834e(0xbb),a9_0x20834e(0xce),a9_0x20834e(0xb0),a9_0x20834e(0xa4)]},'babel':{'remoteDir':a9_0x20834e(0xaf),'files':[a9_0x20834e(0xb5)]},'microAppPackage':{'remoteDir':a9_0x20834e(0xa2),'files':[a9_0x20834e(0xab)]}},root_path=path[a9_0x20834e(0xb6)]('./');function recursion(_0x2a2023,_0x2cfa96,_0x5ba68f){const _0x4cfaaa=a9_0x20834e,_0x194fbc=_0x2a2023[_0x4cfaaa(0xba)][_0x2cfa96];https[_0x4cfaaa(0xaa)](CONFIG_FILE_HOST+'/'+(_0x2a2023[_0x4cfaaa(0xc8)]?_0x2a2023[_0x4cfaaa(0xc8)]+'/':'')+_0x194fbc+'?v='+new Date()[_0x4cfaaa(0xcc)](),_0x1e80c8=>{const _0x58124b=_0x4cfaaa;let _0x16e5d3='';_0x1e80c8['on'](_0x58124b(0xad),_0x5ac349=>{_0x16e5d3+=_0x5ac349;}),_0x1e80c8['on'](_0x58124b(0xa6),()=>{const _0xea18fd=_0x58124b;_0x16e5d3&&(fs['writeFileSync'](root_path+'/'+(_0x2a2023[_0xea18fd(0xc3)]?_0x2a2023[_0xea18fd(0xc3)]+'/':'')+_0x194fbc,_0x16e5d3),console[_0xea18fd(0xbe)](_0x194fbc+'\x20file\x20Success!'),_0x2cfa96<_0x2a2023[_0xea18fd(0xba)]['length']-0x1?(_0x2cfa96++,recursion(_0x2a2023,_0x2cfa96,_0x5ba68f)):(console['log'](_0xea18fd(0xb1)),_0x5ba68f&&_0x5ba68f()));})['on'](_0x58124b(0xb2),_0x49f312=>{const _0x2b19cb=_0x58124b;console[_0x2b19cb(0xbe)](_0x2b19cb(0xac),_0x49f312);});});}function a9_0x2c27(_0x496b23,_0x31afda){const _0x306d52=a9_0x306d();return a9_0x2c27=function(_0x2c278a,_0x1c53f2){_0x2c278a=_0x2c278a-0xa1;let _0xb9ca8=_0x306d52[_0x2c278a];return _0xb9ca8;},a9_0x2c27(_0x496b23,_0x31afda);}module['exports']=_0x518047=>{const _0x18ec3b=a9_0x20834e;!Object[_0x18ec3b(0xb9)](REGISTRY)[_0x18ec3b(0xb4)](_0x518047)&&(console[_0x18ec3b(0xbe)](_0x18ec3b(0xc6)+_0x518047+_0x18ec3b(0xa9)+Object[_0x18ec3b(0xb9)](REGISTRY)[_0x18ec3b(0xa5)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0x518047],0x0);};function a9_0x306d(){const _0x37262c=['micro.app.package.json','.prettierrc.js','utils.js','join','end','prettier','12940TzItct','\x20file,\x20available:[','get','package.json','http\x20error\x20','data','1563006sFXZLo','babel','server.js','All\x20Finish!','error','6248PnQuMC','includes','.babelrc','resolve','.eslintrc.js','2YNlAnN','keys','files','config.js','path','42xtvgDr','log','285tgqezC','62708EwQLjT','eslint','.eslintignore','localDir','https','jjb.script','【Error】:no\x20','../cmd.install/config','remoteDir','2664777CdWBoC','58512iuoTPB','.prettierignore','getTime','9509202oUmUup','proxy.js','451684tkbETG'];a9_0x306d=function(){return _0x37262c;};return a9_0x306d();}
1
+ function a9_0x29bf(_0x3dd437,_0x3f11fb){const _0x26a140=a9_0x26a1();return a9_0x29bf=function(_0x29bf7a,_0x465ee8){_0x29bf7a=_0x29bf7a-0x143;let _0xae53ae=_0x26a140[_0x29bf7a];return _0xae53ae;},a9_0x29bf(_0x3dd437,_0x3f11fb);}const a9_0x287cdd=a9_0x29bf;(function(_0x297139,_0x407b36){const _0x438621=a9_0x29bf,_0x1793d1=_0x297139();while(!![]){try{const _0x3f6f5b=-parseInt(_0x438621(0x14b))/0x1+parseInt(_0x438621(0x15f))/0x2+-parseInt(_0x438621(0x152))/0x3+-parseInt(_0x438621(0x149))/0x4*(-parseInt(_0x438621(0x145))/0x5)+parseInt(_0x438621(0x14d))/0x6+parseInt(_0x438621(0x154))/0x7+-parseInt(_0x438621(0x166))/0x8*(parseInt(_0x438621(0x167))/0x9);if(_0x3f6f5b===_0x407b36)break;else _0x1793d1['push'](_0x1793d1['shift']());}catch(_0x3712d0){_0x1793d1['push'](_0x1793d1['shift']());}}}(a9_0x26a1,0xad538));function a9_0x26a1(){const _0x5db063=['log','localDir','【Error】:no\x20','config.js','join','keys','652272RFopCe','babel','exit','https','All\x20Finish!','jjb.script','\x20file,\x20available:[','413744mmZsUV','27okmNXW','package.json','files','548105iaxEbc','exports','getTime','.babelrc','28nRyBxL','remoteDir','1370287nVlfOX','.prettierrc.js','8364840KNkWlG','.eslintrc.js','end','includes','writeFileSync','2037006RrLLgX','http\x20error\x20','2987348FPdjfB','path','error','server.js','\x20file\x20Success!'];a9_0x26a1=function(){return _0x5db063;};return a9_0x26a1();}const https=require(a9_0x287cdd(0x162)),fs=require('fs'),path=require(a9_0x287cdd(0x155)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':'eslint','files':[a9_0x287cdd(0x14e),'.eslintignore']},'prettier':{'remoteDir':'prettier','files':[a9_0x287cdd(0x14c),'.prettierignore']},'jjb_script':{'remoteDir':a9_0x287cdd(0x164),'localDir':a9_0x287cdd(0x164),'files':['build.js',a9_0x287cdd(0x15c),'proxy.js',a9_0x287cdd(0x157),'utils.js']},'babel':{'remoteDir':a9_0x287cdd(0x160),'files':[a9_0x287cdd(0x148)]},'microAppPackage':{'remoteDir':'micro.app.package.json','files':[a9_0x287cdd(0x143)]}},root_path=path['resolve']('./');function recursion(_0x41e002,_0x45f36b,_0x2c4a49){const _0x5b6ee1=a9_0x287cdd,_0x3e5864=_0x41e002['files'][_0x45f36b];https['get'](CONFIG_FILE_HOST+'/'+(_0x41e002[_0x5b6ee1(0x14a)]?_0x41e002['remoteDir']+'/':'')+_0x3e5864+'?v='+new Date()[_0x5b6ee1(0x147)](),_0x4a7736=>{const _0x3ae23d=_0x5b6ee1;let _0x1cdb04='';_0x4a7736['on']('data',_0x416853=>{_0x1cdb04+=_0x416853;}),_0x4a7736['on'](_0x3ae23d(0x14f),()=>{const _0x5b087c=_0x3ae23d;_0x1cdb04&&(fs[_0x5b087c(0x151)](root_path+'/'+(_0x41e002['localDir']?_0x41e002[_0x5b087c(0x15a)]+'/':'')+_0x3e5864,_0x1cdb04),console[_0x5b087c(0x159)](_0x3e5864+_0x5b087c(0x158)),_0x45f36b<_0x41e002[_0x5b087c(0x144)]['length']-0x1?(_0x45f36b++,recursion(_0x41e002,_0x45f36b,_0x2c4a49)):(console[_0x5b087c(0x159)](_0x5b087c(0x163)),_0x2c4a49&&_0x2c4a49()));})['on'](_0x3ae23d(0x156),_0x26dcca=>{const _0x12632d=_0x3ae23d;console['log'](_0x12632d(0x153),_0x26dcca);});});}module[a9_0x287cdd(0x146)]=_0x583ec4=>{const _0x238a23=a9_0x287cdd;!Object[_0x238a23(0x15e)](REGISTRY)[_0x238a23(0x150)](_0x583ec4)&&(console[_0x238a23(0x159)](_0x238a23(0x15b)+_0x583ec4+_0x238a23(0x165)+Object[_0x238a23(0x15e)](REGISTRY)[_0x238a23(0x15d)]('/')+']'),process[_0x238a23(0x161)](0x0)),recursion(REGISTRY[_0x583ec4],0x0);};
@@ -1 +1 @@
1
- const a10_0x1c84f5=a10_0x48c1;function a10_0x5f3a(){const _0x4faab5=['exports','data','241314rGlQxM','components','log','8449510AZTSbJ','1078194FJjNSI','22YpnpIZ','http://120.26.210.58:8088/api/file/config','server','host','739122xPjoKh','catch','post','48016inypQa','85BqqTVU','then','9KOOeQi','port','axios','7ZfoAzb','11999196aQlqpJ','status','2377904ABLvpC'];a10_0x5f3a=function(){return _0x4faab5;};return a10_0x5f3a();}(function(_0x320126,_0x303e59){const _0x576199=a10_0x48c1,_0x4c3ace=_0x320126();while(!![]){try{const _0x348858=parseInt(_0x576199(0x198))/0x1*(parseInt(_0x576199(0x1a1))/0x2)+parseInt(_0x576199(0x1a5))/0x3+parseInt(_0x576199(0x195))/0x4*(-parseInt(_0x576199(0x196))/0x5)+parseInt(_0x576199(0x192))/0x6+parseInt(_0x576199(0x19b))/0x7*(-parseInt(_0x576199(0x19e))/0x8)+parseInt(_0x576199(0x19c))/0x9+parseInt(_0x576199(0x1a4))/0xa*(-parseInt(_0x576199(0x1a6))/0xb);if(_0x348858===_0x303e59)break;else _0x4c3ace['push'](_0x4c3ace['shift']());}catch(_0x292c8d){_0x4c3ace['push'](_0x4c3ace['shift']());}}}(a10_0x5f3a,0xad786));const axios=require(a10_0x1c84f5(0x19a));function a10_0x48c1(_0xaf37ba,_0x5c2839){const _0x5f3a62=a10_0x5f3a();return a10_0x48c1=function(_0x48c12f,_0x56eb0a){_0x48c12f=_0x48c12f-0x190;let _0x59a789=_0x5f3a62[_0x48c12f];return _0x59a789;},a10_0x48c1(_0xaf37ba,_0x5c2839);}module[a10_0x1c84f5(0x19f)]=_0x11522c=>{const _0x312f01=a10_0x1c84f5;axios[_0x312f01(0x194)](_0x312f01(0x1a7))[_0x312f01(0x197)](_0x4f57f0=>{const _0x43c147=_0x312f01;if(_0x4f57f0[_0x43c147(0x1a0)][_0x43c147(0x19d)]){const _0x5e7f09=_0x4f57f0['data'][_0x43c147(0x1a0)];_0x11522c===_0x43c147(0x190)&&(console[_0x43c147(0x1a3)](_0x5e7f09[_0x43c147(0x191)]),console['log'](_0x5e7f09[_0x43c147(0x199)])),_0x11522c===_0x43c147(0x1a2)&&console[_0x43c147(0x1a3)](_0x5e7f09[_0x43c147(0x1a2)]);}else console[_0x43c147(0x1a3)](_0x4f57f0[_0x43c147(0x1a0)]['message']);process['exit'](0x0);})[_0x312f01(0x193)](()=>{const _0x2c1b18=_0x312f01;console[_0x2c1b18(0x1a3)]('网络异常。'),process['exit'](0x0);});};
1
+ const a10_0x59ddae=a10_0x5422;(function(_0x38a7ae,_0x8a94a3){const _0x4a181b=a10_0x5422,_0x4ba068=_0x38a7ae();while(!![]){try{const _0x2617e6=parseInt(_0x4a181b(0x13d))/0x1*(-parseInt(_0x4a181b(0x149))/0x2)+-parseInt(_0x4a181b(0x14f))/0x3+-parseInt(_0x4a181b(0x142))/0x4*(parseInt(_0x4a181b(0x144))/0x5)+parseInt(_0x4a181b(0x143))/0x6+parseInt(_0x4a181b(0x13e))/0x7*(parseInt(_0x4a181b(0x14a))/0x8)+parseInt(_0x4a181b(0x146))/0x9+parseInt(_0x4a181b(0x147))/0xa;if(_0x2617e6===_0x8a94a3)break;else _0x4ba068['push'](_0x4ba068['shift']());}catch(_0x222342){_0x4ba068['push'](_0x4ba068['shift']());}}}(a10_0x2142,0x5877b));const axios=require(a10_0x59ddae(0x141));function a10_0x2142(){const _0x4aeef3=['904qyeshk','post','status','exports','data','8088IKjlIJ','32531cPZCud','23471ORFFMb','server','catch','axios','4qEmFEX','379086dhWWYM','1143165Ptpdze','log','1677573GLLEQy','1929420FTZFeU','components','14LuscIp'];a10_0x2142=function(){return _0x4aeef3;};return a10_0x2142();}function a10_0x5422(_0x4b13be,_0x45300){const _0x2142c4=a10_0x2142();return a10_0x5422=function(_0x5422bc,_0xf0a001){_0x5422bc=_0x5422bc-0x13d;let _0x153076=_0x2142c4[_0x5422bc];return _0x153076;},a10_0x5422(_0x4b13be,_0x45300);}module[a10_0x59ddae(0x14d)]=_0x11b423=>{const _0x48a165=a10_0x59ddae;axios[_0x48a165(0x14b)]('http://120.26.210.58:8088/api/file/config')['then'](_0x33e349=>{const _0xc8d648=_0x48a165;if(_0x33e349['data'][_0xc8d648(0x14c)]){const _0x21f8c0=_0x33e349[_0xc8d648(0x14e)][_0xc8d648(0x14e)];_0x11b423===_0xc8d648(0x13f)&&(console[_0xc8d648(0x145)](_0x21f8c0['host']),console[_0xc8d648(0x145)](_0x21f8c0['port'])),_0x11b423===_0xc8d648(0x148)&&console[_0xc8d648(0x145)](_0x21f8c0['components']);}else console['log'](_0x33e349['data']['message']);process['exit'](0x0);})[_0x48a165(0x140)](()=>{const _0x1ee6fc=_0x48a165;console[_0x1ee6fc(0x145)]('网络异常。'),process['exit'](0x0);});};
@@ -1 +1 @@
1
- const a11_0x3983c6=a11_0x1011;function a11_0x1011(_0x1711fb,_0x107f9d){const _0x2e8e1d=a11_0x2e8e();return a11_0x1011=function(_0x101131,_0x39c471){_0x101131=_0x101131-0xe2;let _0x138ead=_0x2e8e1d[_0x101131];return _0x138ead;},a11_0x1011(_0x1711fb,_0x107f9d);}(function(_0x402af0,_0x153067){const _0x550be5=a11_0x1011,_0x423289=_0x402af0();while(!![]){try{const _0x5d36a9=parseInt(_0x550be5(0xe3))/0x1+parseInt(_0x550be5(0xfc))/0x2*(parseInt(_0x550be5(0xef))/0x3)+parseInt(_0x550be5(0xe7))/0x4*(-parseInt(_0x550be5(0x100))/0x5)+-parseInt(_0x550be5(0xf8))/0x6*(-parseInt(_0x550be5(0xed))/0x7)+parseInt(_0x550be5(0xfb))/0x8*(parseInt(_0x550be5(0xfe))/0x9)+-parseInt(_0x550be5(0xf1))/0xa*(-parseInt(_0x550be5(0xf7))/0xb)+-parseInt(_0x550be5(0xf5))/0xc;if(_0x5d36a9===_0x153067)break;else _0x423289['push'](_0x423289['shift']());}catch(_0x115183){_0x423289['push'](_0x423289['shift']());}}}(a11_0x2e8e,0x9156f));function a11_0x2e8e(){const _0x257e57=['log','exports','1843096DuBjJl','无效操作。','删除异常:','existsSync','stdout','length','7AKnKJA','删除完成。','1425HMOqtS','question','70BcYyht','删除文件夹:','trim','exit','22191564VkbGSy','正在计算项目数,请稍等...','341737qzwUcq','5576766gezNbt','readdirSync','isDirectory','4168ARJVmD','3214CkbJum','readline','3303khgNMl','path','5DVMWgU','删除文件:','resolve','803920sVbawE','clear'];a11_0x2e8e=function(){return _0x257e57;};return a11_0x2e8e();}const fs=require('fs'),path=require(a11_0x3983c6(0xff)),readline=require(a11_0x3983c6(0xfd)),io=readline['createInterface']({'input':process['stdin'],'output':process[a11_0x3983c6(0xeb)]});let f_total=0x0;module[a11_0x3983c6(0xe6)]=function(){const _0x323718=a11_0x3983c6,_0x2a1584=path[_0x323718(0xe2)]('./');io[_0x323718(0xf0)]('是否确认删除?删除后不可恢复![y/n]:',function(_0xfef98){const _0x37bdf3=_0x323718;if(_0xfef98[_0x37bdf3(0xf3)]()==='y')console[_0x37bdf3(0xe5)](_0x37bdf3(0xf6)),setTimeout(()=>{setTimeout(()=>{const _0x4296b5=a11_0x1011;console[_0x4296b5(0xe4)](),exec(_0x2a1584),setTimeout(()=>{const _0x309300=_0x4296b5;console[_0x309300(0xe5)](_0x309300(0xee)),console[_0x309300(0xe4)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xfef98['trim']()==='n'?(console[_0x37bdf3(0xe5)]('取消删除。'),process[_0x37bdf3(0xf4)](0x0)):(console['log'](_0x37bdf3(0xe8)),process[_0x37bdf3(0xf4)](0x0));});};function exec(_0x40c250){const _0x2ae70d=a11_0x3983c6;if(fs[_0x2ae70d(0xea)](_0x40c250)){const _0x15a0bd=fs[_0x2ae70d(0xf9)](_0x40c250);for(let _0x37a8d1=0x0;_0x37a8d1<_0x15a0bd[_0x2ae70d(0xec)];_0x37a8d1++){const _0x13758d=_0x15a0bd[_0x37a8d1],_0x1387b8=_0x40c250+'/'+_0x13758d;try{fs['statSync'](_0x1387b8)[_0x2ae70d(0xfa)]()?(exec(_0x1387b8),fs['rmdirSync'](_0x1387b8,{'recursive':!![]}),console[_0x2ae70d(0xe5)](_0x2ae70d(0xf2)+_0x1387b8)):(fs['unlinkSync'](_0x1387b8),console[_0x2ae70d(0xe5)](_0x2ae70d(0x101)+_0x1387b8));}catch(_0x4e5cd3){console[_0x2ae70d(0xe5)](_0x2ae70d(0xe9)+_0x1387b8);}}}}
1
+ const a11_0x5a8783=a11_0x404a;(function(_0x24af68,_0x5e98d1){const _0x344f97=a11_0x404a,_0x19b437=_0x24af68();while(!![]){try{const _0x130558=-parseInt(_0x344f97(0x90))/0x1+parseInt(_0x344f97(0xa1))/0x2*(-parseInt(_0x344f97(0x8b))/0x3)+parseInt(_0x344f97(0xa3))/0x4+parseInt(_0x344f97(0x8e))/0x5+parseInt(_0x344f97(0x86))/0x6+-parseInt(_0x344f97(0x87))/0x7*(-parseInt(_0x344f97(0x9c))/0x8)+parseInt(_0x344f97(0x8c))/0x9;if(_0x130558===_0x5e98d1)break;else _0x19b437['push'](_0x19b437['shift']());}catch(_0x163e04){_0x19b437['push'](_0x19b437['shift']());}}}(a11_0x306b,0xe7049));const fs=require('fs'),path=require(a11_0x5a8783(0x9b)),readline=require(a11_0x5a8783(0xa5)),io=readline[a11_0x5a8783(0xa4)]({'input':process[a11_0x5a8783(0x9a)],'output':process[a11_0x5a8783(0x94)]});let f_total=0x0;module[a11_0x5a8783(0x9f)]=function(){const _0x3b9adc=a11_0x5a8783,_0x34f5fe=path[_0x3b9adc(0xa0)]('./');io[_0x3b9adc(0x91)](_0x3b9adc(0x9d),function(_0x57bb85){const _0x3eb8d5=_0x3b9adc;if(_0x57bb85[_0x3eb8d5(0x9e)]()==='y')console[_0x3eb8d5(0x97)](_0x3eb8d5(0x88)),setTimeout(()=>{setTimeout(()=>{const _0x47461c=a11_0x404a;console[_0x47461c(0x98)](),exec(_0x34f5fe),setTimeout(()=>{const _0x4c5b71=_0x47461c;console[_0x4c5b71(0x97)](_0x4c5b71(0x95)),console[_0x4c5b71(0x98)](),process[_0x4c5b71(0x8f)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x57bb85[_0x3eb8d5(0x9e)]()==='n'?(console[_0x3eb8d5(0x97)](_0x3eb8d5(0xa7)),process[_0x3eb8d5(0x8f)](0x0)):(console[_0x3eb8d5(0x97)](_0x3eb8d5(0x8d)),process[_0x3eb8d5(0x8f)](0x0));});};function a11_0x404a(_0x501fb4,_0x5068cb){const _0x306b09=a11_0x306b();return a11_0x404a=function(_0x404a53,_0x3a0342){_0x404a53=_0x404a53-0x86;let _0x630f20=_0x306b09[_0x404a53];return _0x630f20;},a11_0x404a(_0x501fb4,_0x5068cb);}function exec(_0x275123){const _0x1e279b=a11_0x5a8783;if(fs[_0x1e279b(0x8a)](_0x275123)){const _0x45703f=fs[_0x1e279b(0xa2)](_0x275123);for(let _0x37a054=0x0;_0x37a054<_0x45703f['length'];_0x37a054++){const _0x5e2fa8=_0x45703f[_0x37a054],_0x1bf22f=_0x275123+'/'+_0x5e2fa8;try{fs[_0x1e279b(0x89)](_0x1bf22f)['isDirectory']()?(exec(_0x1bf22f),fs[_0x1e279b(0x99)](_0x1bf22f,{'recursive':!![]}),console[_0x1e279b(0x97)](_0x1e279b(0x93)+_0x1bf22f)):(fs[_0x1e279b(0xa6)](_0x1bf22f),console[_0x1e279b(0x97)](_0x1e279b(0x92)+_0x1bf22f));}catch(_0x16ab1d){console[_0x1e279b(0x97)](_0x1e279b(0x96)+_0x1bf22f);}}}}function a11_0x306b(){const _0x3cb618=['readdirSync','5662832Jixrty','createInterface','readline','unlinkSync','取消删除。','1793736jkapzT','7ySXACz','正在计算项目数,请稍等...','statSync','existsSync','288zAEoni','687861nxtPjh','无效操作。','4125875CSOJGX','exit','994344DKQwnJ','question','删除文件:','删除文件夹:','stdout','删除完成。','删除异常:','log','clear','rmdirSync','stdin','path','4583208pTdrmZ','是否确认删除?删除后不可恢复![y/n]:','trim','exports','resolve','26012Pgnvyd'];a11_0x306b=function(){return _0x3cb618;};return a11_0x306b();}
@@ -1 +1 @@
1
- const a12_0x77f04=a12_0x5ada;(function(_0x2ee069,_0x49a97b){const _0x470f2d=a12_0x5ada,_0x275852=_0x2ee069();while(!![]){try{const _0x29fc31=parseInt(_0x470f2d(0x1e5))/0x1*(parseInt(_0x470f2d(0x1ec))/0x2)+-parseInt(_0x470f2d(0x1e9))/0x3*(-parseInt(_0x470f2d(0x1eb))/0x4)+parseInt(_0x470f2d(0x1f0))/0x5+-parseInt(_0x470f2d(0x1d8))/0x6*(-parseInt(_0x470f2d(0x1f1))/0x7)+-parseInt(_0x470f2d(0x1ef))/0x8*(-parseInt(_0x470f2d(0x1df))/0x9)+-parseInt(_0x470f2d(0x1e8))/0xa+-parseInt(_0x470f2d(0x1e0))/0xb*(parseInt(_0x470f2d(0x1d9))/0xc);if(_0x29fc31===_0x49a97b)break;else _0x275852['push'](_0x275852['shift']());}catch(_0x5f1b9e){_0x275852['push'](_0x275852['shift']());}}}(a12_0x5961,0x18c8d));const path=require(a12_0x77f04(0x1e3)),fs=require('fs'),axios=require(a12_0x77f04(0x1f2)),{API_HOST}=require(a12_0x77f04(0x1db));function a12_0x5961(){const _0x5f13d2=['then','16VBxcWU','网络异常。','catch','1127150szjFtU','48bFnEre','exit','13876UaFHVy','22388yimvNj','parse','log','8lePOPi','659410zkLjCl','965209YTyoJG','axios','exports','6QBitwP','3915768WdjIjl','data','../cmd.install/config','message','/api/file/version','toString','325521hPMFCV','11QSQqIZ','existsSync','readFileSync','path'];a12_0x5961=function(){return _0x5f13d2;};return a12_0x5961();}function a12_0x5ada(_0x4dd4ff,_0x514029){const _0x596132=a12_0x5961();return a12_0x5ada=function(_0x5adaa9,_0xc1e67a){_0x5adaa9=_0x5adaa9-0x1d7;let _0x5637e5=_0x596132[_0x5adaa9];return _0x5637e5;},a12_0x5ada(_0x4dd4ff,_0x514029);}module[a12_0x77f04(0x1d7)]=()=>{const _0x16fc97=a12_0x77f04,_0x243ec6=path['resolve']('./'),_0x2c7f6d=_0x243ec6+'\x5cpackage.json';if(fs[_0x16fc97(0x1e1)](_0x2c7f6d)){const _0x46ac82=JSON[_0x16fc97(0x1ed)](fs[_0x16fc97(0x1e2)](_0x2c7f6d)[_0x16fc97(0x1de)]()),{name:_0x129db0}=_0x46ac82;axios['post'](API_HOST+_0x16fc97(0x1dd),{'package_name':_0x129db0})[_0x16fc97(0x1e4)](_0x42a4cc=>{const _0x27b0c9=_0x16fc97;_0x42a4cc['data']['status']?console[_0x27b0c9(0x1ee)](_0x42a4cc['data'][_0x27b0c9(0x1da)]):console[_0x27b0c9(0x1ee)](_0x42a4cc[_0x27b0c9(0x1da)][_0x27b0c9(0x1dc)]),process[_0x27b0c9(0x1ea)](0x0);})[_0x16fc97(0x1e7)](()=>{const _0xcfa8f5=_0x16fc97;console[_0xcfa8f5(0x1ee)](_0xcfa8f5(0x1e6)),process[_0xcfa8f5(0x1ea)](0x0);});}else console[_0x16fc97(0x1ee)]('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x16fc97(0x1ea)](0x0);};
1
+ const a12_0x5ddd28=a12_0x2cf6;(function(_0x119df0,_0x56970c){const _0x165a38=a12_0x2cf6,_0x38591f=_0x119df0();while(!![]){try{const _0x14633b=parseInt(_0x165a38(0xaf))/0x1*(parseInt(_0x165a38(0xa5))/0x2)+-parseInt(_0x165a38(0xb7))/0x3+parseInt(_0x165a38(0xa4))/0x4*(-parseInt(_0x165a38(0xb6))/0x5)+parseInt(_0x165a38(0xba))/0x6+-parseInt(_0x165a38(0xb3))/0x7+-parseInt(_0x165a38(0xa6))/0x8*(parseInt(_0x165a38(0xb8))/0x9)+-parseInt(_0x165a38(0xbc))/0xa*(-parseInt(_0x165a38(0xab))/0xb);if(_0x14633b===_0x56970c)break;else _0x38591f['push'](_0x38591f['shift']());}catch(_0x263774){_0x38591f['push'](_0x38591f['shift']());}}}(a12_0x37a9,0xd9549));function a12_0x37a9(){const _0x2fc3e7=['readFileSync','log','status','then','8tUNHHP','759892OQYDRR','32928gGtVoO','网络异常。','axios','post','existsSync','4869975KAtkNJ','exports','parse','path','3DNGlvt','message','data','toString','8369368RCnKVl','catch','../cmd.install/config','2941195aBgDrv','765750xWyaJj','3717LYroJX','exit','3214842ysYqPC','resolve','80iZZImB','\x5cpackage.json'];a12_0x37a9=function(){return _0x2fc3e7;};return a12_0x37a9();}function a12_0x2cf6(_0x3a25b1,_0x569c72){const _0x37a949=a12_0x37a9();return a12_0x2cf6=function(_0x2cf6d2,_0x7ca9c5){_0x2cf6d2=_0x2cf6d2-0xa2;let _0x272455=_0x37a949[_0x2cf6d2];return _0x272455;},a12_0x2cf6(_0x3a25b1,_0x569c72);}const path=require(a12_0x5ddd28(0xae)),fs=require('fs'),axios=require(a12_0x5ddd28(0xa8)),{API_HOST}=require(a12_0x5ddd28(0xb5));module[a12_0x5ddd28(0xac)]=()=>{const _0x2b0e6c=a12_0x5ddd28,_0xb5dfcf=path[_0x2b0e6c(0xbb)]('./'),_0x37ff06=_0xb5dfcf+_0x2b0e6c(0xbd);if(fs[_0x2b0e6c(0xaa)](_0x37ff06)){const _0x410c35=JSON[_0x2b0e6c(0xad)](fs[_0x2b0e6c(0xbe)](_0x37ff06)[_0x2b0e6c(0xb2)]()),{name:_0x1b90ca}=_0x410c35;axios[_0x2b0e6c(0xa9)](API_HOST+'/api/file/version',{'package_name':_0x1b90ca})[_0x2b0e6c(0xa3)](_0x2e053b=>{const _0xdf7d72=_0x2b0e6c;_0x2e053b['data'][_0xdf7d72(0xa2)]?console['log'](_0x2e053b[_0xdf7d72(0xb1)][_0xdf7d72(0xb1)]):console[_0xdf7d72(0xbf)](_0x2e053b[_0xdf7d72(0xb1)][_0xdf7d72(0xb0)]),process[_0xdf7d72(0xb9)](0x0);})[_0x2b0e6c(0xb4)](()=>{const _0x2022b3=_0x2b0e6c;console['log'](_0x2022b3(0xa7)),process[_0x2022b3(0xb9)](0x0);});}else console['log']('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x2b0e6c(0xb9)](0x0);};
@@ -1 +1 @@
1
- const a13_0x2313d2=a13_0x1ddc;function a13_0x8796(){const _0x1e12b1=['./cli.install/tools','170240nHlEpU','10aLrZnV','7973553rgmERU','\x5cpackage.json','\x5ccli.init','12013686wzOkvN','7420176QjInTJ','resolve','2284892NZkBbI','exit','log','初始化失败,文件已存在!','\x5cpublic','3461349tffOSB','3607352nLtvJX','path','8DdiHCl','\x5cjjb.script','existsSync'];a13_0x8796=function(){return _0x1e12b1;};return a13_0x8796();}function a13_0x1ddc(_0x1e9e55,_0x181e4c){const _0x8796ff=a13_0x8796();return a13_0x1ddc=function(_0x1ddc20,_0x4fa843){_0x1ddc20=_0x1ddc20-0xc0;let _0x22fd13=_0x8796ff[_0x1ddc20];return _0x22fd13;},a13_0x1ddc(_0x1e9e55,_0x181e4c);}(function(_0x26a31b,_0x2c021b){const _0xabfe58=a13_0x1ddc,_0x43ebf2=_0x26a31b();while(!![]){try{const _0x387439=parseInt(_0xabfe58(0xcc))/0x1+parseInt(_0xabfe58(0xc6))/0x2+-parseInt(_0xabfe58(0xc5))/0x3+-parseInt(_0xabfe58(0xc0))/0x4*(parseInt(_0xabfe58(0xcd))/0x5)+-parseInt(_0xabfe58(0xd2))/0x6+parseInt(_0xabfe58(0xce))/0x7*(parseInt(_0xabfe58(0xc8))/0x8)+parseInt(_0xabfe58(0xd1))/0x9;if(_0x387439===_0x2c021b)break;else _0x43ebf2['push'](_0x43ebf2['shift']());}catch(_0x45fdd2){_0x43ebf2['push'](_0x43ebf2['shift']());}}}(a13_0x8796,0xdf5ec));const path=require(a13_0x2313d2(0xc7)),readline=require('readline'),{f_file_copy}=require(a13_0x2313d2(0xcb)),fs=require('fs');module['exports']=()=>{const _0x525627=a13_0x2313d2,_0x3864eb=path[_0x525627(0xd3)]('./');!fs[_0x525627(0xca)](_0x3864eb+_0x525627(0xc9))&&!fs['existsSync'](_0x3864eb+_0x525627(0xc4))&&!fs['existsSync'](_0x3864eb+'\x5cjjb.config.json')&&!fs[_0x525627(0xca)](_0x3864eb+_0x525627(0xcf))&&!fs[_0x525627(0xca)](_0x3864eb+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x525627(0xd0),_0x3864eb),console['log']('初始化完成!'),process[_0x525627(0xc1)](0x0)):(console[_0x525627(0xc2)](_0x525627(0xc3)),process['exit'](0x0));};
1
+ const a13_0x3ebe76=a13_0x5707;(function(_0x6fb544,_0x2e9ec0){const _0x550a95=a13_0x5707,_0x2fefc1=_0x6fb544();while(!![]){try{const _0x206b2d=-parseInt(_0x550a95(0x90))/0x1+-parseInt(_0x550a95(0x95))/0x2+-parseInt(_0x550a95(0x97))/0x3*(-parseInt(_0x550a95(0x9b))/0x4)+parseInt(_0x550a95(0x8c))/0x5*(-parseInt(_0x550a95(0xa0))/0x6)+-parseInt(_0x550a95(0x9f))/0x7+-parseInt(_0x550a95(0x8d))/0x8+parseInt(_0x550a95(0x98))/0x9;if(_0x206b2d===_0x2e9ec0)break;else _0x2fefc1['push'](_0x2fefc1['shift']());}catch(_0x414220){_0x2fefc1['push'](_0x2fefc1['shift']());}}}(a13_0x2796,0x25b5d));const path=require('path'),readline=require(a13_0x3ebe76(0x9e)),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');function a13_0x2796(){const _0x535afc=['\x5cjjb.script','\x5cjjb.config.json','257549YUZbFd','\x5ccli.init','\x5cpackage.json','log','初始化完成!','250752tkcKFu','\x5cwebstorm.config.js','356091KMYeyV','6162210obOYJV','\x5cpublic','exit','4ZqlsjY','existsSync','初始化失败,文件已存在!','readline','815885yQmxux','416046zagQPY','exports','5kcPwaZ','640840jjrOTd'];a13_0x2796=function(){return _0x535afc;};return a13_0x2796();}function a13_0x5707(_0x158b80,_0x266756){const _0x279697=a13_0x2796();return a13_0x5707=function(_0x570790,_0x391499){_0x570790=_0x570790-0x8b;let _0x5590c5=_0x279697[_0x570790];return _0x5590c5;},a13_0x5707(_0x158b80,_0x266756);}module[a13_0x3ebe76(0x8b)]=()=>{const _0x3477cc=a13_0x3ebe76,_0x432078=path['resolve']('./');!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x8e))&&!fs['existsSync'](_0x432078+_0x3477cc(0x99))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x8f))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x92))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x96))?(f_file_copy(__dirname+_0x3477cc(0x91),_0x432078),console[_0x3477cc(0x93)](_0x3477cc(0x94)),process[_0x3477cc(0x9a)](0x0)):(console[_0x3477cc(0x93)](_0x3477cc(0x9d)),process['exit'](0x0));};
@@ -1 +1 @@
1
- function a14_0x1779(){const _0x29ec60=['common/tools','CLOUD_PROJECT','jjb-common/color','COMMON_CONTENT_NOR_REPLACE','G4HJRsHr9D7Ssmixegw2','GIT_HOST','COMMON_CONTENT_MICRO_REPLACE','CLI_DVA_ROUTER_SPA','2205864YaCwnM','1284955GXMmbL','2195280IdrTpa','http://192.168.1.242:10985','\x5cImageCropper\x5cindex.js','return\x20__planA();','gPSit8aJsLVmNzuQ5Cy4','jjb-common/http','return\x20process.env;','\x5cwebsite\x5cindex.js','common/http','836845HkWLlX','CLI_DVA_REGISTER_PATH','d4wQ7dzEjYPsgVbKnYei','759816qwvHRM','\x5cRouterMenu\x5cindex.js','e9njpBd1nS_LREN8GFpR','jjbAssembly_','common/crypto','\x5c..\x5ccli.dva.router.spa.txt','18dwIzrD','180QIrZLT','common/website','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','CLI_DVA_ROUTER_PATH','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','tmpdir','\x5c..\x5ccli.dva.register.saas.txt','\x5cEditor\x5cindex.js','return\x20process.env.app;','GIT_TEMP_DIR','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cRejectText\x5cindex.js','\x5cFileUploader\x5cindex.js','382573QFHxqu','\x5ctools\x5cindex.js','CLI_DVA_ROUTER_SAAS','now','\x5cImageUploader\x5cindex.js','2DfnAsU','23040hWRWYR','jjb-common/tools','components','common/color'];a14_0x1779=function(){return _0x29ec60;};return a14_0x1779();}function a14_0x53e4(_0x2e2070,_0x89f9ce){const _0x177987=a14_0x1779();return a14_0x53e4=function(_0x53e4b7,_0x32c0fd){_0x53e4b7=_0x53e4b7-0xad;let _0x4861b8=_0x177987[_0x53e4b7];return _0x4861b8;},a14_0x53e4(_0x2e2070,_0x89f9ce);}const a14_0xab9c91=a14_0x53e4;(function(_0x1fbf5a,_0x367100){const _0x29838b=a14_0x53e4,_0x3cc8da=_0x1fbf5a();while(!![]){try{const _0x459b80=-parseInt(_0x29838b(0xcf))/0x1*(parseInt(_0x29838b(0xd4))/0x2)+parseInt(_0x29838b(0xd5))/0x3*(parseInt(_0x29838b(0xc1))/0x4)+-parseInt(_0x29838b(0xb7))/0x5*(-parseInt(_0x29838b(0xc0))/0x6)+-parseInt(_0x29838b(0xad))/0x7+parseInt(_0x29838b(0xe1))/0x8+-parseInt(_0x29838b(0xba))/0x9+-parseInt(_0x29838b(0xae))/0xa;if(_0x459b80===_0x367100)break;else _0x3cc8da['push'](_0x3cc8da['shift']());}catch(_0x11afed){_0x3cc8da['push'](_0x3cc8da['shift']());}}}(a14_0x1779,0x3dda6));const os=require('os');exports[a14_0xab9c91(0xde)]=a14_0xab9c91(0xaf),exports['GIT_TEMP_DIR']=a14_0xab9c91(0xbd)+Date[a14_0xab9c91(0xd2)](),exports[a14_0xab9c91(0xda)]={'common':{'token':a14_0xab9c91(0xdd),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a14_0xab9c91(0xbc),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0xab9c91(0xb2),'projectId':0x23e},'vue-unisass-component':{'token':a14_0xab9c91(0xb9),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a14_0xab9c91(0xc7)]()+'\x5c'+exports[a14_0xab9c91(0xcb)],exports[a14_0xab9c91(0xe0)]=__dirname+a14_0xab9c91(0xbf),exports[a14_0xab9c91(0xd1)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports['CLI_DVA_REGISTER_SAAS']=__dirname+a14_0xab9c91(0xc8),exports[a14_0xab9c91(0xc4)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a14_0xab9c91(0xb8)]=a14_0xab9c91(0xc5),exports[a14_0xab9c91(0xdc)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0xab9c91(0xd7),'jjb-react-admin-component']]},{'path':a14_0xab9c91(0xb5),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0xab9c91(0xcc)],[a14_0xab9c91(0xd7),'jjb-react-admin-component']]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0xab9c91(0xb1),a14_0xab9c91(0xb4)]]}],exports[a14_0xab9c91(0xdf)]=[{'path':a14_0xab9c91(0xd0),'replace':[['return\x20__planA();',a14_0xab9c91(0xca)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a14_0xab9c91(0xc9),'replace':[[a14_0xab9c91(0xb6),a14_0xab9c91(0xb3)],[a14_0xab9c91(0xbe),'jjb-common/crypto'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xcd),'replace':[[a14_0xab9c91(0xd8),a14_0xab9c91(0xdb)]]},{'path':a14_0xab9c91(0xbb),'replace':[[a14_0xab9c91(0xd9),'jjb-common/tools']]},{'path':a14_0xab9c91(0xce),'replace':[[a14_0xab9c91(0xb6),'jjb-common/http'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xb0),'replace':[[a14_0xab9c91(0xb6),a14_0xab9c91(0xb3)],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xd3),'replace':[[a14_0xab9c91(0xb6),'jjb-common/http'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xc6),'replace':[[a14_0xab9c91(0xd8),'jjb-common/color']]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xc3),'replace':[[a14_0xab9c91(0xc2),'jjb-common/website'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]}];
1
+ function a14_0x3033(_0x22da33,_0x34be01){const _0x884993=a14_0x8849();return a14_0x3033=function(_0x303345,_0x1f06f3){_0x303345=_0x303345-0x10b;let _0x17f64e=_0x884993[_0x303345];return _0x17f64e;},a14_0x3033(_0x22da33,_0x34be01);}const a14_0x259a21=a14_0x3033;(function(_0x5a0136,_0xa5b7a){const _0x4f1e11=a14_0x3033,_0x405eb5=_0x5a0136();while(!![]){try{const _0x57851e=-parseInt(_0x4f1e11(0x143))/0x1*(-parseInt(_0x4f1e11(0x11a))/0x2)+parseInt(_0x4f1e11(0x124))/0x3*(parseInt(_0x4f1e11(0x11b))/0x4)+parseInt(_0x4f1e11(0x122))/0x5+parseInt(_0x4f1e11(0x135))/0x6*(parseInt(_0x4f1e11(0x111))/0x7)+parseInt(_0x4f1e11(0x110))/0x8+-parseInt(_0x4f1e11(0x13d))/0x9+-parseInt(_0x4f1e11(0x12e))/0xa*(parseInt(_0x4f1e11(0x116))/0xb);if(_0x57851e===_0xa5b7a)break;else _0x405eb5['push'](_0x405eb5['shift']());}catch(_0x1e4598){_0x405eb5['push'](_0x405eb5['shift']());}}}(a14_0x8849,0xdd4f1));const os=require('os');exports[a14_0x259a21(0x130)]=a14_0x259a21(0x137),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a14_0x259a21(0x121)](),exports['CLOUD_PROJECT']={'common':{'token':a14_0x259a21(0x10b),'projectId':0x117},'react-admin-component':{'token':a14_0x259a21(0x118),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x259a21(0x133),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x259a21(0x12b),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x259a21(0x129),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x259a21(0x10f),'projectId':0x153}},exports[a14_0x259a21(0x140)]=os[a14_0x259a21(0x120)]()+'\x5c'+exports[a14_0x259a21(0x131)],exports[a14_0x259a21(0x113)]=__dirname+a14_0x259a21(0x114),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a14_0x259a21(0x141),exports[a14_0x259a21(0x12f)]=__dirname+a14_0x259a21(0x115),exports[a14_0x259a21(0x112)]=__dirname+a14_0x259a21(0x10e),exports[a14_0x259a21(0x13f)]=a14_0x259a21(0x132),exports[a14_0x259a21(0x13a)]=a14_0x259a21(0x11c),exports[a14_0x259a21(0x117)]=[{'path':a14_0x259a21(0x11f),'replace':[[a14_0x259a21(0x142),a14_0x259a21(0x138)]]},{'path':a14_0x259a21(0x10d),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x259a21(0x13b)],[a14_0x259a21(0x142),a14_0x259a21(0x138)]]}],exports[a14_0x259a21(0x134)]=[{'path':a14_0x259a21(0x11f),'replace':[['return\x20__planA();',a14_0x259a21(0x12a)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a14_0x259a21(0x11f),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':'\x5cEditor\x5cindex.js','replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],[a14_0x259a21(0x11e),'jjb-common/crypto'],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x119),'replace':[['common/color','jjb-common/color']]},{'path':a14_0x259a21(0x12d),'replace':[[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x11d),'replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],['common/tools',a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x139),'replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x13c),'replace':[['common/http','jjb-common/http'],[a14_0x259a21(0x12c),'jjb-common/tools']]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a14_0x259a21(0x13e),a14_0x259a21(0x10c)]]},{'path':a14_0x259a21(0x127),'replace':[[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x123),'replace':[['common/website',a14_0x259a21(0x136)],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]}];function a14_0x8849(){const _0x365d91=['gPSit8aJsLVmNzuQ5Cy4','return\x20process.env;','e9njpBd1nS_LREN8GFpR','common/tools','\x5cRouterMenu\x5cindex.js','10XTsmbO','CLI_DVA_REGISTER_SPA','GIT_HOST','GIT_TEMP_DIR','\x5cdva\x5cautomatic\x5crouter.js','hLqARY89CN6fUD3yg4NL','COMMON_CONTENT_SPA_REPLACE','6UIuvUt','jjb-common/website','http://192.168.1.242:10985','jjb-react-admin-component','\x5cImageCropper\x5cindex.js','CLI_DVA_REGISTER_PATH','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cImageUploader\x5cindex.js','4143123elJJUx','common/color','CLI_DVA_ROUTER_PATH','TEMPLATE_FOLDER','\x5c..\x5ccli.dva.router.saas.txt','components','5RllCOk','G4HJRsHr9D7Ssmixegw2','jjb-common/color','\x5cwebsite\x5cindex.js','\x5c..\x5ccli.dva.register.saas.txt','d4wQ7dzEjYPsgVbKnYei','5268736bfzQSM','53557oBlnCy','CLI_DVA_REGISTER_SAAS','CLI_DVA_ROUTER_SPA','\x5c..\x5ccli.dva.router.spa.txt','\x5c..\x5ccli.dva.register.spa.txt','12829377sWIxqA','COMMON_CONTENT_NOR_REPLACE','FT3pKzxpRynFkmddJ9Bs','\x5cRejectText\x5cindex.js','166174GfeEcv','21536Imyrvh','\x5cdva\x5cautomatic\x5cregister.js','\x5cFileUploader\x5cindex.js','common/crypto','\x5ctools\x5cindex.js','tmpdir','now','2384765coyChu','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','543JAWVoZ','jjb-common/http','jjb-common/tools','\x5cRouterContainer\x5cindex.js','common/http'];a14_0x8849=function(){return _0x365d91;};return a14_0x8849();}
@@ -1 +1 @@
1
- const a15_0xdeae1e=a15_0x2433;(function(_0x24dd39,_0x1684c7){const _0x424daa=a15_0x2433,_0x5bc828=_0x24dd39();while(!![]){try{const _0x38b7df=-parseInt(_0x424daa(0x1a4))/0x1+parseInt(_0x424daa(0x1a2))/0x2+-parseInt(_0x424daa(0x1ba))/0x3*(-parseInt(_0x424daa(0x189))/0x4)+parseInt(_0x424daa(0x1ae))/0x5+-parseInt(_0x424daa(0x196))/0x6+-parseInt(_0x424daa(0x1aa))/0x7*(-parseInt(_0x424daa(0x17c))/0x8)+-parseInt(_0x424daa(0x180))/0x9*(parseInt(_0x424daa(0x197))/0xa);if(_0x38b7df===_0x1684c7)break;else _0x5bc828['push'](_0x5bc828['shift']());}catch(_0x2e4cd6){_0x5bc828['push'](_0x5bc828['shift']());}}}(a15_0x5bc5,0x90161));function a15_0x2433(_0x6eebb0,_0x500dc4){const _0x5bc528=a15_0x5bc5();return a15_0x2433=function(_0x2433df,_0x4a4825){_0x2433df=_0x2433df-0x178;let _0x4f4a1b=_0x5bc528[_0x2433df];return _0x4f4a1b;},a15_0x2433(_0x6eebb0,_0x500dc4);}function a15_0x5bc5(){const _0x43441c=['map','installTarget','micro-spa','207zZfDQL','vue-unisass-component','filter','projectType','.idea','push','RouterContainer','replace','package.json','7736IMRmCF','log','react-admin-component','includes','close','【Error】:安装失败,node_modules目录不存在。','readdirSync','compressing','multi','spa','length','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','\x20}\x20from\x20\x27./','1358142wCFZYy','461570ChdYbS','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','writeFileSync','export\x20{\x20default\x20as\x20','existsSync','zip','now','name','exports','setting.json','path','106084FuWoeg','_zip','174315fmbmRQ','installResources','uncompress','\x5cindex.js','mkdirSync','【jjb-cmd】:install命令执行完成,用时','3859765ijvZNO','.gitignore','repository','toString','4039345YitxlY','join','readFileSync','src\x5c','unlinkSync','find','forEach','rmdirSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','1.0.0','index.js','request','993kWDShf','importList','compress','\x5cdva\x5cautomatic','createWriteStream','exit','node_modules','8YEYQUq'];a15_0x5bc5=function(){return _0x43441c;};return a15_0x5bc5();}const fs=require('fs'),path=require(a15_0xdeae1e(0x1a1)),request=require(a15_0xdeae1e(0x1b9)),compressing=require(a15_0xdeae1e(0x190)),{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('./tools'),{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_0xdeae1e(0x19d)]();module[a15_0xdeae1e(0x19f)]=()=>{const _0x175d62=a15_0xdeae1e,_0x32f941=path['resolve']('./'),_0x92f6cd=[_0x32f941,_0x175d62(0x1b1)][_0x175d62(0x1af)]('\x5c'),_0x913302=[_0x32f941,_0x175d62(0x17b)][_0x175d62(0x1af)]('\x5c'),_0x5874d5=[_0x32f941,_0x175d62(0x188)]['join']('\x5c');if(f_scan_jjb_config_json(_0x32f941)){const _0x5e1a2d=f_scan_jjb_config_json_rules(_0x32f941);_0x5e1a2d[_0x175d62(0x17e)]===_0x175d62(0x17b)?!fs['existsSync'](_0x913302)?(console[_0x175d62(0x18a)](_0x175d62(0x18e)),process[_0x175d62(0x17a)](0x0)):console[_0x175d62(0x18a)](_0x175d62(0x198)):!fs[_0x175d62(0x19b)](_0x92f6cd)&&(console[_0x175d62(0x18a)]('【Error】:安装失败,src目录不存在。'),process[_0x175d62(0x17a)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5e1a2d[_0x175d62(0x1a5)])['map'](_0x265d0e=>{const _0x466824=_0x175d62,_0x255206=fs[_0x466824(0x179)](_0x265d0e[_0x466824(0x1a1)]);request(_0x265d0e[_0x466824(0x1ac)])['pipe'](_0x255206)['on'](_0x466824(0x18d),()=>{const _0x3efaa5=_0x466824;fs[_0x3efaa5(0x1a8)](_0x265d0e[_0x3efaa5(0x1bc)]),compressing[_0x3efaa5(0x19c)][_0x3efaa5(0x1a6)](_0x265d0e[_0x3efaa5(0x1a1)],_0x265d0e[_0x3efaa5(0x1bc)]);});});const _0xa34457=setInterval(()=>{const _0x5dad64=_0x175d62,_0x5d678c=fs[_0x5dad64(0x18f)](TEMPLATE_FOLDER),_0x11554b=_0x5d678c[_0x5dad64(0x182)](_0x4c0096=>_0x5e1a2d['installResources'][_0x5dad64(0x17d)](_0x5c9266=>_0x5c9266[_0x5dad64(0x19e)]+_0x5dad64(0x1a3))[_0x5dad64(0x18c)](_0x4c0096));if(_0x11554b[_0x5dad64(0x193)]===_0x5e1a2d[_0x5dad64(0x1a5)][_0x5dad64(0x193)]){clearInterval(_0xa34457);const _0x1d1727=[];_0x11554b[_0x5dad64(0x1b4)](_0x5b655f=>{const _0x261067=_0x5dad64,_0x36c803=[TEMPLATE_FOLDER,_0x5b655f][_0x261067(0x1af)]('\x5c');fs[_0x261067(0x18f)](_0x36c803)[_0x261067(0x1b4)](_0x2d7c93=>_0x1d1727[_0x261067(0x185)]({'name':_0x5b655f,'path':[_0x36c803,_0x2d7c93][_0x261067(0x1af)]('\x5c'),'pure_name':_0x5b655f[_0x261067(0x187)](/_zip$/,''),'import_list':_0x5e1a2d[_0x261067(0x1a5)][_0x261067(0x1b3)](_0x6e6d38=>_0x6e6d38[_0x261067(0x19e)]+_0x261067(0x1a3)===_0x5b655f)[_0x261067(0x1bb)]}));}),_0x1d1727[_0x5dad64(0x1b4)](_0x5b24ea=>{const _0x230f27=_0x5dad64,_0x2424e4=_0x5b24ea['pure_name'],_0xf0d5b2=_0x5b24ea['import_list'],_0xc601f1=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x184)][_0x230f27(0x1af)]('//'),_0x469045=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x1ab)]['join']('//');fs[_0x230f27(0x19b)](_0xc601f1)&&(f_rm_rf(_0xc601f1),fs[_0x230f27(0x1b5)](_0xc601f1));fs[_0x230f27(0x19b)](_0x469045)&&fs[_0x230f27(0x1b2)](_0x469045);if(_0xf0d5b2['length']){fs[_0x230f27(0x18f)](_0x5b24ea[_0x230f27(0x1a1)])[_0x230f27(0x182)](_0x32293b=>!_0xf0d5b2[_0x230f27(0x18c)](_0x32293b)&&_0x32293b!==_0x230f27(0x1b8)&&_0x32293b!==_0x230f27(0x1a0))[_0x230f27(0x1b4)](_0x5b0f79=>{const _0x261c00=_0x230f27,_0x429971=_0x5b24ea[_0x261c00(0x1a1)]+'\x5c'+_0x5b0f79;f_rm_rf(_0x429971),fs[_0x261c00(0x1b5)](_0x429971);});if(_0x2424e4===_0x230f27(0x18b)){const _0x383247=[];fs[_0x230f27(0x18f)](_0x5b24ea[_0x230f27(0x1a1)])[_0x230f27(0x182)](_0x1b4c76=>_0x1b4c76!==_0x230f27(0x1b8))[_0x230f27(0x1b4)](_0x315da7=>{const _0x104031=_0x230f27;_0x315da7===_0x104031(0x186)?_0x383247[_0x104031(0x185)](_0x104031(0x1b6)):_0x383247['push'](_0x104031(0x19a)+_0x315da7+_0x104031(0x195)+_0x315da7+'\x27;');}),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+_0x230f27(0x1a7),_0x383247[_0x230f27(0x1af)]('\x0a'));}}if(_0x2424e4==='jjb-common'){const _0x5981a3=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x178)][_0x230f27(0x1af)]('\x5c');if([_0x230f27(0x192),_0x230f27(0x17f)][_0x230f27(0x18c)](_0x5e1a2d[_0x230f27(0x183)]))fs[_0x230f27(0x19b)](_0x5981a3)&&(f_content_replace(_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5b24ea[_0x230f27(0x1a1)]),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+CLI_DVA_ROUTER_PATH,fs[_0x230f27(0x1b0)](_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+CLI_DVA_REGISTER_PATH,fs[_0x230f27(0x1b0)](_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x230f27(0x1ad)]()));else _0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x191)&&(fs['existsSync'](_0x5981a3)&&(f_rm_rf(_0x5981a3),fs[_0x230f27(0x1b5)](_0x5981a3)));}else{if(_0x2424e4===_0x230f27(0x18b))_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x17f)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5b24ea[_0x230f27(0x1a1)]);else{if(_0x2424e4===_0x230f27(0x181)){}}}if(_0x5e1a2d[_0x230f27(0x17e)]===_0x230f27(0x17b)){const _0x35f5e7=_0x2424e4;fs[_0x230f27(0x19b)](_0x913302+'\x5c'+_0x35f5e7)?f_rm_rf(_0x913302+'\x5c'+_0x35f5e7):fs[_0x230f27(0x1a8)](_0x913302+'\x5c'+_0x35f5e7),f_file_copy(_0x5b24ea[_0x230f27(0x1a1)],_0x913302+'\x5c'+_0x35f5e7),f_create_package_json(_0x913302+'\x5c'+_0x35f5e7,_0x35f5e7,_0x230f27(0x1b7)),f_update_project_package_json(_0x5874d5,_0x35f5e7,_0x230f27(0x1b7));}else{if(_0x5e1a2d[_0x230f27(0x17e)]==='src'){const _0x2f8d62=_0x230f27(0x18b);fs[_0x230f27(0x19b)](_0x92f6cd+_0x2f8d62)?f_rm_rf(_0x92f6cd+_0x2f8d62):fs['mkdirSync'](_0x92f6cd+_0x2f8d62),f_file_copy(_0x5b24ea[_0x230f27(0x1a1)],_0x92f6cd+_0x2f8d62);}}}),setTimeout(()=>{const _0x52f70d=_0x5dad64;f_rm_rf(TEMPLATE_FOLDER),fs[_0x52f70d(0x1b5)](TEMPLATE_FOLDER);const _0x39da00=Date[_0x52f70d(0x19d)]();console[_0x52f70d(0x18a)](_0x52f70d(0x1a9)+(_0x39da00-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x175d62(0x18a)](_0x175d62(0x194));};
1
+ const a15_0x4d6e48=a15_0x2de4;(function(_0x5111bb,_0x125e32){const _0x5addb1=a15_0x2de4,_0x18ded2=_0x5111bb();while(!![]){try{const _0x323d2c=-parseInt(_0x5addb1(0x22b))/0x1*(parseInt(_0x5addb1(0x22e))/0x2)+-parseInt(_0x5addb1(0x217))/0x3+parseInt(_0x5addb1(0x207))/0x4*(parseInt(_0x5addb1(0x21e))/0x5)+parseInt(_0x5addb1(0x219))/0x6+parseInt(_0x5addb1(0x1f3))/0x7+-parseInt(_0x5addb1(0x212))/0x8*(parseInt(_0x5addb1(0x215))/0x9)+-parseInt(_0x5addb1(0x22d))/0xa*(-parseInt(_0x5addb1(0x208))/0xb);if(_0x323d2c===_0x125e32)break;else _0x18ded2['push'](_0x18ded2['shift']());}catch(_0x45a29c){_0x18ded2['push'](_0x18ded2['shift']());}}}(a15_0x4fea,0xbfbb5));const fs=require('fs'),path=require(a15_0x4d6e48(0x1fd)),request=require(a15_0x4d6e48(0x231)),compressing=require(a15_0x4d6e48(0x20c)),{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_0x4d6e48(0x228)),{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_0x4d6e48(0x211)),start_time=Date[a15_0x4d6e48(0x20a)]();function a15_0x2de4(_0xfab648,_0x23eb69){const _0x4fea7f=a15_0x4fea();return a15_0x2de4=function(_0x2de403,_0x4749e6){_0x2de403=_0x2de403-0x1ef;let _0x1ab82c=_0x4fea7f[_0x2de403];return _0x1ab82c;},a15_0x2de4(_0xfab648,_0x23eb69);}function a15_0x4fea(){const _0x205d87=['91710BlYisH','readdirSync','236961aIZxTK','forEach','6147672nXNeat','\x5cindex.js','map','repository','vue-unisass-component','4494155AVJXWS','installResources','react-admin-component','index.js','\x5cdva\x5cautomatic','resolve','src','micro-spa','rmdirSync','export\x20{\x20default\x20as\x20','./tools','multi','installTarget','26YYrTPN','createWriteStream','4960110dgFIQT','58108UtYpsy','zip','writeFileSync','request','readFileSync','mkdirSync','push','includes','projectType','name','1.0.0','1700643FAtvey','package.json','_zip','pure_name','filter','exit','pipe','uncompress','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','replace','path','compress','.gitignore','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','existsSync','spa','node_modules','join','\x20}\x20from\x20\x27./','.idea','4HaRPwp','22oZFDqC','jjb-common','now','toString','compressing','length','setting.json','find','close','./config','1208ELgbqd','log','src\x5c'];a15_0x4fea=function(){return _0x205d87;};return a15_0x4fea();}module['exports']=()=>{const _0x31cfe9=a15_0x4d6e48,_0x52bfa0=path[_0x31cfe9(0x223)]('./'),_0x412995=[_0x52bfa0,_0x31cfe9(0x214)][_0x31cfe9(0x204)]('\x5c'),_0x3eab13=[_0x52bfa0,_0x31cfe9(0x203)][_0x31cfe9(0x204)]('\x5c'),_0x1e638e=[_0x52bfa0,_0x31cfe9(0x1f4)]['join']('\x5c');if(f_scan_jjb_config_json(_0x52bfa0)){const _0x56abe5=f_scan_jjb_config_json_rules(_0x52bfa0);_0x56abe5[_0x31cfe9(0x22a)]===_0x31cfe9(0x203)?!fs[_0x31cfe9(0x201)](_0x3eab13)?(console[_0x31cfe9(0x213)]('【Error】:安装失败,node_modules目录不存在。'),process[_0x31cfe9(0x1f8)](0x0)):console[_0x31cfe9(0x213)](_0x31cfe9(0x1fb)):!fs[_0x31cfe9(0x201)](_0x412995)&&(console['log']('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x31cfe9(0x233)](TEMPLATE_FOLDER),f_pull_git_repository(_0x56abe5[_0x31cfe9(0x21f)])[_0x31cfe9(0x21b)](_0x17af38=>{const _0x193df8=_0x31cfe9,_0xfa6efe=fs[_0x193df8(0x22c)](_0x17af38[_0x193df8(0x1fd)]);request(_0x17af38[_0x193df8(0x21c)])[_0x193df8(0x1f9)](_0xfa6efe)['on'](_0x193df8(0x210),()=>{const _0x2523de=_0x193df8;fs[_0x2523de(0x233)](_0x17af38[_0x2523de(0x1fe)]),compressing[_0x2523de(0x22f)][_0x2523de(0x1fa)](_0x17af38[_0x2523de(0x1fd)],_0x17af38[_0x2523de(0x1fe)]);});});const _0x180018=setInterval(()=>{const _0x3cf6e5=_0x31cfe9,_0x526c5e=fs[_0x3cf6e5(0x216)](TEMPLATE_FOLDER),_0x3162ab=_0x526c5e[_0x3cf6e5(0x1f7)](_0x171d82=>_0x56abe5[_0x3cf6e5(0x21f)][_0x3cf6e5(0x21b)](_0x25690a=>_0x25690a[_0x3cf6e5(0x1f1)]+_0x3cf6e5(0x1f5))[_0x3cf6e5(0x1ef)](_0x171d82));if(_0x3162ab['length']===_0x56abe5[_0x3cf6e5(0x21f)][_0x3cf6e5(0x20d)]){clearInterval(_0x180018);const _0x3419ca=[];_0x3162ab['forEach'](_0x271201=>{const _0x469ee1=_0x3cf6e5,_0x128f20=[TEMPLATE_FOLDER,_0x271201]['join']('\x5c');fs[_0x469ee1(0x216)](_0x128f20)['forEach'](_0x45cb18=>_0x3419ca[_0x469ee1(0x234)]({'name':_0x271201,'path':[_0x128f20,_0x45cb18]['join']('\x5c'),'pure_name':_0x271201[_0x469ee1(0x1fc)](/_zip$/,''),'import_list':_0x56abe5[_0x469ee1(0x21f)][_0x469ee1(0x20f)](_0x38c1f7=>_0x38c1f7[_0x469ee1(0x1f1)]+_0x469ee1(0x1f5)===_0x271201)['importList']}));}),_0x3419ca[_0x3cf6e5(0x218)](_0x55644a=>{const _0x3edf6f=_0x3cf6e5,_0x35f5bf=_0x55644a[_0x3edf6f(0x1f6)],_0x419129=_0x55644a['import_list'],_0x3d11d3=[_0x55644a['path'],_0x3edf6f(0x206)][_0x3edf6f(0x204)]('//'),_0x5b763c=[_0x55644a[_0x3edf6f(0x1fd)],_0x3edf6f(0x1ff)][_0x3edf6f(0x204)]('//');fs[_0x3edf6f(0x201)](_0x3d11d3)&&(f_rm_rf(_0x3d11d3),fs[_0x3edf6f(0x226)](_0x3d11d3));fs[_0x3edf6f(0x201)](_0x5b763c)&&fs['unlinkSync'](_0x5b763c);if(_0x419129[_0x3edf6f(0x20d)]){fs[_0x3edf6f(0x216)](_0x55644a[_0x3edf6f(0x1fd)])['filter'](_0x22a31d=>!_0x419129[_0x3edf6f(0x1ef)](_0x22a31d)&&_0x22a31d!==_0x3edf6f(0x221)&&_0x22a31d!==_0x3edf6f(0x20e))[_0x3edf6f(0x218)](_0x36bf71=>{const _0x38422b=_0x3edf6f,_0x3f3bbd=_0x55644a[_0x38422b(0x1fd)]+'\x5c'+_0x36bf71;f_rm_rf(_0x3f3bbd),fs[_0x38422b(0x226)](_0x3f3bbd);});if(_0x35f5bf==='react-admin-component'){const _0x14586d=[];fs[_0x3edf6f(0x216)](_0x55644a[_0x3edf6f(0x1fd)])[_0x3edf6f(0x1f7)](_0x5f4846=>_0x5f4846!=='index.js')[_0x3edf6f(0x218)](_0x51f513=>{const _0xff25c3=_0x3edf6f;_0x51f513==='RouterContainer'?_0x14586d['push'](_0xff25c3(0x200)):_0x14586d[_0xff25c3(0x234)](_0xff25c3(0x227)+_0x51f513+_0xff25c3(0x205)+_0x51f513+'\x27;');}),fs[_0x3edf6f(0x230)](_0x55644a[_0x3edf6f(0x1fd)]+_0x3edf6f(0x21a),_0x14586d[_0x3edf6f(0x204)]('\x0a'));}}if(_0x35f5bf===_0x3edf6f(0x209)){const _0x6e32d2=[_0x55644a[_0x3edf6f(0x1fd)],_0x3edf6f(0x222)][_0x3edf6f(0x204)]('\x5c');if([_0x3edf6f(0x202),'micro-spa'][_0x3edf6f(0x1ef)](_0x56abe5[_0x3edf6f(0x1f0)]))fs['existsSync'](_0x6e32d2)&&(f_content_replace(_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x55644a[_0x3edf6f(0x1fd)]),fs[_0x3edf6f(0x230)](_0x55644a['path']+CLI_DVA_ROUTER_PATH,fs[_0x3edf6f(0x232)](_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs['writeFileSync'](_0x55644a['path']+CLI_DVA_REGISTER_PATH,fs[_0x3edf6f(0x232)](_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x3edf6f(0x20b)]()));else _0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x229)&&(fs[_0x3edf6f(0x201)](_0x6e32d2)&&(f_rm_rf(_0x6e32d2),fs['rmdirSync'](_0x6e32d2)));}else{if(_0x35f5bf===_0x3edf6f(0x220))_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x225)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x55644a[_0x3edf6f(0x1fd)]);else{if(_0x35f5bf===_0x3edf6f(0x21d)){}}}if(_0x56abe5[_0x3edf6f(0x22a)]===_0x3edf6f(0x203)){const _0x46abe7=_0x35f5bf;fs[_0x3edf6f(0x201)](_0x3eab13+'\x5c'+_0x46abe7)?f_rm_rf(_0x3eab13+'\x5c'+_0x46abe7):fs[_0x3edf6f(0x233)](_0x3eab13+'\x5c'+_0x46abe7),f_file_copy(_0x55644a[_0x3edf6f(0x1fd)],_0x3eab13+'\x5c'+_0x46abe7),f_create_package_json(_0x3eab13+'\x5c'+_0x46abe7,_0x46abe7,'1.0.0'),f_update_project_package_json(_0x1e638e,_0x46abe7,_0x3edf6f(0x1f2));}else{if(_0x56abe5['installTarget']===_0x3edf6f(0x224)){const _0x1ccfd6=_0x3edf6f(0x220);fs[_0x3edf6f(0x201)](_0x412995+_0x1ccfd6)?f_rm_rf(_0x412995+_0x1ccfd6):fs[_0x3edf6f(0x233)](_0x412995+_0x1ccfd6),f_file_copy(_0x55644a['path'],_0x412995+_0x1ccfd6);}}}),setTimeout(()=>{const _0x2eeac7=_0x3cf6e5;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2eeac7(0x226)](TEMPLATE_FOLDER);const _0x4b8f12=Date[_0x2eeac7(0x20a)]();console[_0x2eeac7(0x213)]('【jjb-cmd】:install命令执行完成,用时'+(_0x4b8f12-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x31cfe9(0x213)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -1 +1 @@
1
- const a16_0x427d85=a16_0x17d7;function a16_0x2298(){const _0x47d663=['includes','【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>。','stringify','f_resolve_install_resources','projectType','f_file_copy','4323220aaZbnv','dependencies','uniapp','readdirSync','jjb-common-lib','374202JeQsIV','log','61083gwBzEN','9063252QrUVHM','unlinkSync','writeFileSync','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','toString','length','_zip','f_scan_jjb_config_json_rules','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','\x5cjjb.config.json','replace','f_create_package_json','exit','jjb-common-decorator','10866AaJMtR','string','{\x22name\x22:\x22','map','6744RqmERW','forEach','jjb-common','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','20AxHrsb','isArray','12Qqzwug','installTarget','readFileSync','208UKjceJ','jjb-dva-runtime','installResources','【Error】:[jjb.config.json.installTarget]类型是一个string。','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','react-admin-component','rmdirSync','f_rm_rf','f_pull_git_repository','name','isDirectory','parse','/repository/archive.zip?private_token=','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','2030ipYaKz','filter','166sdHrCR','/api/v4/projects/','existsSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','\x22,\x22main\x22:\x20\x22index.js\x22}','\x22,\x22version\x22:\x22','\x5cpackage.json','token','./config','314375EmcnwO','statSync','path','f_scan_jjb_config_json'];a16_0x2298=function(){return _0x47d663;};return a16_0x2298();}(function(_0x5738ce,_0xbe6997){const _0x1d4d48=a16_0x17d7,_0x1477d8=_0x5738ce();while(!![]){try{const _0x195877=parseInt(_0x1d4d48(0x1d9))/0x1+-parseInt(_0x1d4d48(0x208))/0x2*(-parseInt(_0x1d4d48(0x1ea))/0x3)+parseInt(_0x1d4d48(0x1f2))/0x4*(parseInt(_0x1d4d48(0x1ca))/0x5)+-parseInt(_0x1d4d48(0x1ee))/0x6*(-parseInt(_0x1d4d48(0x206))/0x7)+-parseInt(_0x1d4d48(0x1f7))/0x8*(-parseInt(_0x1d4d48(0x1db))/0x9)+-parseInt(_0x1d4d48(0x1d4))/0xa+-parseInt(_0x1d4d48(0x1dc))/0xb*(parseInt(_0x1d4d48(0x1f4))/0xc);if(_0x195877===_0xbe6997)break;else _0x1477d8['push'](_0x1477d8['shift']());}catch(_0xbf2f21){_0x1477d8['push'](_0x1477d8['shift']());}}}(a16_0x2298,0x3976b));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x427d85(0x1c9));function a16_0x17d7(_0x59d023,_0x5d8dee){const _0x2298cd=a16_0x2298();return a16_0x17d7=function(_0x17d7c1,_0x170b3e){_0x17d7c1=_0x17d7c1-0x1c6;let _0xbe121c=_0x2298cd[_0x17d7c1];return _0xbe121c;},a16_0x17d7(_0x59d023,_0x5d8dee);}exports['f_rm_rf']=function(_0x29461b){const _0x3c6c4e=a16_0x427d85;if(fs[_0x3c6c4e(0x20a)](_0x29461b)){const _0x4e9ac6=fs['readdirSync'](_0x29461b);for(let _0x193476=0x0;_0x193476<_0x4e9ac6[_0x3c6c4e(0x1e1)];_0x193476++){const _0xcc81ca=_0x4e9ac6[_0x193476],_0x2aebd2=_0x29461b+'/'+_0xcc81ca;fs[_0x3c6c4e(0x1cb)](_0x2aebd2)['isDirectory']()?(exports[_0x3c6c4e(0x1ff)](_0x2aebd2),fs[_0x3c6c4e(0x1fe)](_0x2aebd2)):fs[_0x3c6c4e(0x1dd)](_0x2aebd2);}}},exports[a16_0x427d85(0x200)]=function(_0xffad12=[]){const _0xda7f0d=a16_0x427d85;return _0xffad12[_0xda7f0d(0x1ed)](_0x28eed6=>{const _0x2d6a49=_0xda7f0d,_0x330405=CLOUD_PROJECT[_0x28eed6[_0x2d6a49(0x201)]]||undefined,_0x2d1275=os['tmpdir']();return{'path':_0x2d1275+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28eed6[_0x2d6a49(0x201)]+'.zip','compress':_0x2d1275+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28eed6[_0x2d6a49(0x201)]+_0x2d6a49(0x1e2),'repository':GIT_HOST+_0x2d6a49(0x209)+_0x330405['projectId']+_0x2d6a49(0x204)+_0x330405[_0x2d6a49(0x1c8)]+'&ref=master'};});},exports[a16_0x427d85(0x1cd)]=function(_0xbf63ee){const _0x1bc799=a16_0x427d85;return fs[_0x1bc799(0x20a)](_0xbf63ee+'\x5cjjb.config.json');},exports[a16_0x427d85(0x1e3)]=function(_0x3db803){const _0x418620=a16_0x427d85;let _0x30a654={};try{_0x30a654=JSON[_0x418620(0x203)](fs[_0x418620(0x1f6)](_0x3db803+_0x418620(0x1e5))[_0x418620(0x1e0)]());}catch(_0x4496d6){console['log'](_0x418620(0x1e4)),process[_0x418620(0x1e8)](0x0);}!(_0x418620(0x1d2)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x20b)),process[_0x418620(0x1e8)](0x0));!(_0x418620(0x1f5)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x205)),process[_0x418620(0x1e8)](0x0));!(_0x418620(0x1f9)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x1df)),process[_0x418620(0x1e8)](0x0));typeof _0x30a654[_0x418620(0x1d2)]!=='string'&&(console[_0x418620(0x1da)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x418620(0x1e8)](0x0));!['multi','spa',_0x418620(0x1d6),'micro-spa'][_0x418620(0x1ce)](_0x30a654[_0x418620(0x1d2)])&&(console['log']('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x418620(0x1e8)](0x0));typeof _0x30a654[_0x418620(0x1f5)]!==_0x418620(0x1eb)&&(console[_0x418620(0x1da)](_0x418620(0x1fa)),process[_0x418620(0x1e8)](0x0));!['node_modules','src'][_0x418620(0x1ce)](_0x30a654[_0x418620(0x1f5)])&&(console['log'](_0x418620(0x1fc)),process['exit'](0x0));!Array[_0x418620(0x1f3)](_0x30a654[_0x418620(0x1f9)])&&(console[_0x418620(0x1da)](_0x418620(0x1f1)),process[_0x418620(0x1e8)](0x0));_0x30a654[_0x418620(0x1f9)]['length']===0x0&&(console['log'](_0x418620(0x1fb)),process['exit'](0x0));const _0x24d557=exports[_0x418620(0x1d1)](_0x30a654['installResources']);return _0x24d557[_0x418620(0x1ed)](_0x52a651=>_0x52a651[_0x418620(0x201)])[_0x418620(0x207)](_0x7fad6a=>![_0x418620(0x1f0),_0x418620(0x1f8),_0x418620(0x1d8),_0x418620(0x1e9),_0x418620(0x1fd),'vue-unisass-component'][_0x418620(0x1ce)](_0x7fad6a))[_0x418620(0x1e1)]!==0x0&&(console[_0x418620(0x1da)](_0x418620(0x1cf)),process['exit'](0x0)),_0x30a654[_0x418620(0x1f9)]=_0x24d557,_0x30a654;},exports[a16_0x427d85(0x1e7)]=function(_0xedf3e7,_0x4209d0,_0x5358b6){const _0x323091=a16_0x427d85;fs['writeFileSync'](_0xedf3e7+_0x323091(0x1c7),_0x323091(0x1ec)+_0x4209d0+_0x323091(0x1c6)+_0x5358b6+_0x323091(0x20c));},exports[a16_0x427d85(0x1d1)]=function(_0x2f10a2=[]){const _0x47dc3b=a16_0x427d85,_0x4963be=[];return Array[_0x47dc3b(0x1f3)](_0x2f10a2)&&_0x2f10a2[_0x47dc3b(0x1ef)](_0x5b35c3=>{const _0x324c45=_0x47dc3b;if(Array[_0x324c45(0x1f3)](_0x5b35c3)){const [_0x1bede2,_0x50bce2=[]]=_0x5b35c3;_0x4963be['push']({'name':_0x1bede2,'importList':_0x50bce2});}else _0x4963be['push']({'name':_0x5b35c3,'importList':[]});}),_0x4963be;},exports['f_update_project_package_json']=function(_0x3340a,_0x1e8af7,_0x56768b){const _0x1aed29=a16_0x427d85,_0x4659b3=JSON[_0x1aed29(0x203)](fs[_0x1aed29(0x1f6)](_0x3340a)[_0x1aed29(0x1e0)]());_0x4659b3[_0x1aed29(0x1d5)][_0x1e8af7]=_0x56768b,fs[_0x1aed29(0x1de)](_0x3340a,JSON[_0x1aed29(0x1d0)](_0x4659b3,null,0x2));},exports[a16_0x427d85(0x1d3)]=function(_0x560fe8,_0x44fdf6){const _0x23d443=a16_0x427d85;fs[_0x23d443(0x1d7)](_0x560fe8)[_0x23d443(0x1ef)](_0x44f3a3=>{const _0x1c6471=_0x23d443,_0x43a3c9=_0x560fe8+'\x5c'+_0x44f3a3,_0x15b631=_0x44fdf6+'\x5c'+_0x44f3a3;fs['statSync'](_0x43a3c9)[_0x1c6471(0x202)]()?(fs['mkdirSync'](_0x15b631),exports['f_file_copy'](_0x43a3c9,_0x15b631)):fs[_0x1c6471(0x1de)](_0x15b631,fs[_0x1c6471(0x1f6)](_0x43a3c9)[_0x1c6471(0x1e0)]());});},exports['f_content_replace']=function(_0x125135=[],_0x3ec3b6){const _0x23bb94=a16_0x427d85;_0x125135[_0x23bb94(0x1ef)](_0x169609=>{const _0x5739bd=_0x23bb94,_0x5469b0=_0x3ec3b6+_0x169609[_0x5739bd(0x1cc)];if(fs[_0x5739bd(0x20a)](_0x5469b0)){let _0x2e7f2e=fs['readFileSync'](_0x5469b0)[_0x5739bd(0x1e0)]();_0x169609[_0x5739bd(0x1e6)][_0x5739bd(0x1ef)](_0x443ea8=>{const _0x1eb769=_0x5739bd;_0x2e7f2e=_0x2e7f2e[_0x1eb769(0x1e6)](_0x443ea8[0x0],_0x443ea8[0x1]);}),fs[_0x5739bd(0x1de)](_0x5469b0,_0x2e7f2e);}});};
1
+ const a16_0x21b42f=a16_0x6e6f;function a16_0x587e(){const _0x2ef4c1=['f_resolve_install_resources','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','parse','jjb-dva-runtime','\x5cpackage.json','f_file_copy','string','isArray','【Error】:[jjb.config.json.installResources]无资源。','dependencies','replace','installTarget','1640914BxeUaV','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','stringify','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readdirSync','2817800XQAAFu','./config','/api/v4/projects/','node_modules','/repository/archive.zip?private_token=','jjb-common-lib','9SkyvJu','exit','src','unlinkSync','jjb-common','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','\x22,\x22version\x22:\x22','includes','toString','175cRwtid','readFileSync','4913704wRJhll','3670074ManVto','forEach','micro-spa','log','projectType','projectId','f_rm_rf','128259LWkhEl','5hyYglu','22410MFQOnm','length','【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>。','_zip','f_update_project_package_json','statSync','rmdirSync','f_content_replace','{\x22name\x22:\x22','map','installResources','push','f_scan_jjb_config_json','react-admin-component','name','existsSync','f_create_package_json','isDirectory','.zip','【Error】:[jjb.config.json.projectType]类型是一个string。','42363570BUyjmg','f_scan_jjb_config_json_rules','vue-unisass-component','writeFileSync','\x5cjjb.config.json','multi','【Error】:[jjb.config.json.installTarget]类型是一个string。'];a16_0x587e=function(){return _0x2ef4c1;};return a16_0x587e();}(function(_0x540261,_0x47adf2){const _0x5ab575=a16_0x6e6f,_0x16086f=_0x540261();while(!![]){try{const _0x48a623=parseInt(_0x5ab575(0x139))/0x1+-parseInt(_0x5ab575(0x11b))/0x2+-parseInt(_0x5ab575(0x132))/0x3+-parseInt(_0x5ab575(0x131))/0x4*(parseInt(_0x5ab575(0x13a))/0x5)+-parseInt(_0x5ab575(0x13b))/0x6*(parseInt(_0x5ab575(0x12f))/0x7)+-parseInt(_0x5ab575(0x120))/0x8+parseInt(_0x5ab575(0x126))/0x9*(parseInt(_0x5ab575(0x14f))/0xa);if(_0x48a623===_0x47adf2)break;else _0x16086f['push'](_0x16086f['shift']());}catch(_0x198de5){_0x16086f['push'](_0x16086f['shift']());}}}(a16_0x587e,0x9de77));function a16_0x6e6f(_0x34a89b,_0x1f15d5){const _0x587e9d=a16_0x587e();return a16_0x6e6f=function(_0x6e6f49,_0x59f08a){_0x6e6f49=_0x6e6f49-0x10b;let _0x2d912a=_0x587e9d[_0x6e6f49];return _0x2d912a;},a16_0x6e6f(_0x34a89b,_0x1f15d5);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x21b42f(0x121));exports[a16_0x21b42f(0x138)]=function(_0xf9bd0b){const _0xba53c2=a16_0x21b42f;if(fs['existsSync'](_0xf9bd0b)){const _0x33245d=fs[_0xba53c2(0x11f)](_0xf9bd0b);for(let _0x214c78=0x0;_0x214c78<_0x33245d[_0xba53c2(0x13c)];_0x214c78++){const _0x186aea=_0x33245d[_0x214c78],_0x1dbf5a=_0xf9bd0b+'/'+_0x186aea;fs[_0xba53c2(0x140)](_0x1dbf5a)[_0xba53c2(0x14c)]()?(exports[_0xba53c2(0x138)](_0x1dbf5a),fs[_0xba53c2(0x141)](_0x1dbf5a)):fs[_0xba53c2(0x129)](_0x1dbf5a);}}},exports['f_pull_git_repository']=function(_0x29d13c=[]){const _0x2e0c4f=a16_0x21b42f;return _0x29d13c[_0x2e0c4f(0x144)](_0x4a6786=>{const _0x322e3a=_0x2e0c4f,_0x229c0e=CLOUD_PROJECT[_0x4a6786[_0x322e3a(0x149)]]||undefined,_0xf68ef6=os['tmpdir']();return{'path':_0xf68ef6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a6786[_0x322e3a(0x149)]+_0x322e3a(0x14d),'compress':_0xf68ef6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a6786[_0x322e3a(0x149)]+_0x322e3a(0x13e),'repository':GIT_HOST+_0x322e3a(0x122)+_0x229c0e[_0x322e3a(0x137)]+_0x322e3a(0x124)+_0x229c0e['token']+'&ref=master'};});},exports[a16_0x21b42f(0x147)]=function(_0x28997e){const _0x43f607=a16_0x21b42f;return fs[_0x43f607(0x14a)](_0x28997e+_0x43f607(0x10c));},exports[a16_0x21b42f(0x150)]=function(_0x29d45c){const _0x316e11=a16_0x21b42f;let _0x4d1784={};try{_0x4d1784=JSON[_0x316e11(0x111)](fs[_0x316e11(0x130)](_0x29d45c+_0x316e11(0x10c))[_0x316e11(0x12e)]());}catch(_0x3b5447){console[_0x316e11(0x135)](_0x316e11(0x12b)),process[_0x316e11(0x127)](0x0);}!(_0x316e11(0x136)in _0x4d1784)&&(console[_0x316e11(0x135)](_0x316e11(0x11c)),process[_0x316e11(0x127)](0x0));!(_0x316e11(0x11a)in _0x4d1784)&&(console[_0x316e11(0x135)](_0x316e11(0x110)),process[_0x316e11(0x127)](0x0));!('installResources'in _0x4d1784)&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x316e11(0x127)](0x0));typeof _0x4d1784[_0x316e11(0x136)]!==_0x316e11(0x115)&&(console['log'](_0x316e11(0x14e)),process[_0x316e11(0x127)](0x0));![_0x316e11(0x10d),'spa','uniapp',_0x316e11(0x134)]['includes'](_0x4d1784[_0x316e11(0x136)])&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x316e11(0x127)](0x0));typeof _0x4d1784[_0x316e11(0x11a)]!==_0x316e11(0x115)&&(console['log'](_0x316e11(0x10e)),process['exit'](0x0));![_0x316e11(0x123),_0x316e11(0x128)]['includes'](_0x4d1784[_0x316e11(0x11a)])&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x316e11(0x127)](0x0));!Array[_0x316e11(0x116)](_0x4d1784[_0x316e11(0x145)])&&(console['log'](_0x316e11(0x11e)),process[_0x316e11(0x127)](0x0));_0x4d1784['installResources'][_0x316e11(0x13c)]===0x0&&(console[_0x316e11(0x135)](_0x316e11(0x117)),process['exit'](0x0));const _0x7c0cdf=exports[_0x316e11(0x10f)](_0x4d1784[_0x316e11(0x145)]);return _0x7c0cdf[_0x316e11(0x144)](_0xb10ea9=>_0xb10ea9[_0x316e11(0x149)])['filter'](_0x52d3c7=>![_0x316e11(0x12a),_0x316e11(0x112),_0x316e11(0x125),'jjb-common-decorator',_0x316e11(0x148),_0x316e11(0x151)][_0x316e11(0x12d)](_0x52d3c7))[_0x316e11(0x13c)]!==0x0&&(console[_0x316e11(0x135)](_0x316e11(0x13d)),process[_0x316e11(0x127)](0x0)),_0x4d1784[_0x316e11(0x145)]=_0x7c0cdf,_0x4d1784;},exports[a16_0x21b42f(0x14b)]=function(_0x44f567,_0x3d1abf,_0x430fa8){const _0x28a8b4=a16_0x21b42f;fs[_0x28a8b4(0x10b)](_0x44f567+_0x28a8b4(0x113),_0x28a8b4(0x143)+_0x3d1abf+_0x28a8b4(0x12c)+_0x430fa8+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a16_0x21b42f(0x10f)]=function(_0x2c6c9e=[]){const _0x1ee431=a16_0x21b42f,_0x2a530e=[];return Array['isArray'](_0x2c6c9e)&&_0x2c6c9e[_0x1ee431(0x133)](_0x3029a7=>{const _0x57f889=_0x1ee431;if(Array[_0x57f889(0x116)](_0x3029a7)){const [_0x193c1b,_0x336e37=[]]=_0x3029a7;_0x2a530e[_0x57f889(0x146)]({'name':_0x193c1b,'importList':_0x336e37});}else _0x2a530e['push']({'name':_0x3029a7,'importList':[]});}),_0x2a530e;},exports[a16_0x21b42f(0x13f)]=function(_0x5e1de9,_0x180ba6,_0x566ccd){const _0x215782=a16_0x21b42f,_0xf8f8bc=JSON['parse'](fs[_0x215782(0x130)](_0x5e1de9)[_0x215782(0x12e)]());_0xf8f8bc[_0x215782(0x118)][_0x180ba6]=_0x566ccd,fs['writeFileSync'](_0x5e1de9,JSON[_0x215782(0x11d)](_0xf8f8bc,null,0x2));},exports[a16_0x21b42f(0x114)]=function(_0x1137ad,_0x4c5a33){const _0x41ad16=a16_0x21b42f;fs[_0x41ad16(0x11f)](_0x1137ad)[_0x41ad16(0x133)](_0x348c15=>{const _0x4f564f=_0x41ad16,_0x308418=_0x1137ad+'\x5c'+_0x348c15,_0xa22f78=_0x4c5a33+'\x5c'+_0x348c15;fs[_0x4f564f(0x140)](_0x308418)['isDirectory']()?(fs['mkdirSync'](_0xa22f78),exports[_0x4f564f(0x114)](_0x308418,_0xa22f78)):fs['writeFileSync'](_0xa22f78,fs['readFileSync'](_0x308418)[_0x4f564f(0x12e)]());});},exports[a16_0x21b42f(0x142)]=function(_0x12444f=[],_0x3ac4cd){const _0x4675ad=a16_0x21b42f;_0x12444f[_0x4675ad(0x133)](_0x2339b5=>{const _0x59ba10=_0x4675ad,_0x4eb2da=_0x3ac4cd+_0x2339b5['path'];if(fs['existsSync'](_0x4eb2da)){let _0x196233=fs[_0x59ba10(0x130)](_0x4eb2da)['toString']();_0x2339b5['replace'][_0x59ba10(0x133)](_0x411170=>{const _0xa5dc0a=_0x59ba10;_0x196233=_0x196233[_0xa5dc0a(0x119)](_0x411170[0x0],_0x411170[0x1]);}),fs[_0x59ba10(0x10b)](_0x4eb2da,_0x196233);}});};
@@ -1 +1 @@
1
- const a17_0x204310=a17_0x25a0;(function(_0x3734f6,_0x45cf63){const _0x2c1e4b=a17_0x25a0,_0x1b1011=_0x3734f6();while(!![]){try{const _0x480f5b=-parseInt(_0x2c1e4b(0x1d3))/0x1+-parseInt(_0x2c1e4b(0x1f0))/0x2+-parseInt(_0x2c1e4b(0x1ea))/0x3+parseInt(_0x2c1e4b(0x1de))/0x4*(parseInt(_0x2c1e4b(0x1d6))/0x5)+parseInt(_0x2c1e4b(0x1dc))/0x6+-parseInt(_0x2c1e4b(0x1d5))/0x7+parseInt(_0x2c1e4b(0x1df))/0x8;if(_0x480f5b===_0x45cf63)break;else _0x1b1011['push'](_0x1b1011['shift']());}catch(_0x557912){_0x1b1011['push'](_0x1b1011['shift']());}}}(a17_0x2c9d,0xb29cc));const fs=require('fs'),path=require(a17_0x204310(0x1d8)),utils=require(a17_0x204310(0x1d7));function a17_0x2c9d(){const _0x588383=['readFileSync','exports','3820644fBYFyZ','fileType','474632PSBobj','15608600uFUuUi','\x27)\x20}','slice','CreatePaths','forEach','region','length','application','\x27,\x20component:\x20()\x20=>\x20import(\x27','toString','/setting.json','1897824EQDBeN','routerConfig','router','pathAdr','split','file','804512DRnXEh','resolve','map','routerPath','506169ODxFwK','concat','6359570prdxVT','25kZPQJg','./util.js','path','push'];a17_0x2c9d=function(){return _0x588383;};return a17_0x2c9d();}let projectPath='',vesselPath='',commandArr=[];function a17_0x25a0(_0xe328a8,_0x41c2e6){const _0x2c9d56=a17_0x2c9d();return a17_0x25a0=function(_0x25a0c9,_0x256551){_0x25a0c9=_0x25a0c9-0x1d3;let _0xe8953e=_0x2c9d56[_0x25a0c9];return _0xe8953e;},a17_0x25a0(_0xe328a8,_0x41c2e6);}const fromFileData={},applicationJson={};module[a17_0x204310(0x1db)]=(_0x56bc87,_0x580cce)=>{const _0x37b321=a17_0x204310;commandArr=_0x56bc87[_0x37b321(0x1ee)](':'),projectPath=path[_0x37b321(0x1f1)]('./project'),vesselPath=path[_0x37b321(0x1f1)]('./vessel/src');let _0x1a4127=vesselPath;_0x580cce==='mp'&&(_0x1a4127=vesselPath+'/application',utils[_0x37b321(0x1e2)](vesselPath,[_0x37b321(0x1e6)]));const _0x1ff101=commandArr[0x1],_0x5169de=JSON['parse'](fs['readFileSync'](projectPath+'/'+_0x1ff101+_0x37b321(0x1e9))[_0x37b321(0x1e8)]());TileItems(_0x5169de['items'],()=>{const _0x355e4a=_0x37b321;fromFileData[_0x355e4a(0x1ec)][_0x355e4a(0x1e3)](_0x4e2e8d=>{const _0x2e8be9=_0x355e4a,_0x25df39=_0x4e2e8d[_0x2e8be9(0x1ed)][_0x2e8be9(0x1ee)](_0x4e2e8d[_0x2e8be9(0x1e4)]),_0x2931a0=_0x25df39[0x1]['split']('/'),_0x2ef8ee=_0x2931a0[0x1];!applicationJson[_0x2ef8ee]&&(applicationJson[_0x2ef8ee]={'routerConfig':[],'routerPath':[]});applicationJson[_0x2ef8ee][_0x2e8be9(0x1eb)][_0x2e8be9(0x1d9)]('{\x20path:\x20\x27'+_0x4e2e8d[_0x2e8be9(0x1d8)]+_0x2e8be9(0x1e7)+_0x4e2e8d[_0x2e8be9(0x1ef)]+_0x2e8be9(0x1e0)),applicationJson[_0x2ef8ee][_0x2e8be9(0x1f3)][_0x2e8be9(0x1d9)](_0x4e2e8d[_0x2e8be9(0x1d8)]);let _0x3d8594=_0x2931a0['join']('/');const _0x2787c1=_0x3d8594['split']('/');utils[_0x2e8be9(0x1e2)](_0x1a4127,_0x2787c1[_0x2e8be9(0x1e1)](0x0,_0x2787c1['length']-0x1))['then'](()=>{const _0x441947=_0x2e8be9,_0x51f0aa=fs[_0x441947(0x1da)](_0x4e2e8d[_0x441947(0x1ed)])[_0x441947(0x1e8)]();fs['writeFileSync'](vesselPath+'/'+_0x3d8594,_0x51f0aa);});});});};function TileItems(_0x25822d,_0x28c581){const _0x773ff3=a17_0x204310;_0x25822d[_0x773ff3(0x1e3)]((_0x4c7d87,_0x3c19bc)=>{const _0x41c01d=_0x773ff3,_0x41f226=_0x4c7d87[_0x41c01d(0x1e4)];_0x4c7d87['from'][_0x41c01d(0x1e3)]((_0x3cfeff,_0xd79ec3)=>{const _0x3629bf=_0x41c01d,_0x2ea327=[];utils['DeepScanner'](projectPath+'/'+_0x41f226+'/'+_0x3cfeff[_0x3629bf(0x1ef)],_0x2ea327);const _0x482f71=_0x2ea327[_0x3629bf(0x1f2)](_0x286c45=>({'region':_0x41f226,'pathAdr':_0x286c45,..._0x3cfeff}));!fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]?fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]=_0x482f71:fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]=fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]][_0x3629bf(0x1d4)](_0x482f71),_0x3c19bc===_0x25822d[_0x3629bf(0x1e5)]-0x1&&_0xd79ec3===_0x4c7d87['from'][_0x3629bf(0x1e5)]-0x1&&_0x28c581();});});}
1
+ const a17_0x4465a4=a17_0x996e;(function(_0xbd6b60,_0x4d7b0b){const _0x43af9b=a17_0x996e,_0xebf85a=_0xbd6b60();while(!![]){try{const _0x1b0fe1=-parseInt(_0x43af9b(0x1e7))/0x1*(parseInt(_0x43af9b(0x1ee))/0x2)+-parseInt(_0x43af9b(0x1e9))/0x3+-parseInt(_0x43af9b(0x1e1))/0x4*(-parseInt(_0x43af9b(0x1c9))/0x5)+-parseInt(_0x43af9b(0x1ea))/0x6*(-parseInt(_0x43af9b(0x1df))/0x7)+-parseInt(_0x43af9b(0x1e8))/0x8+parseInt(_0x43af9b(0x1eb))/0x9*(-parseInt(_0x43af9b(0x1cf))/0xa)+parseInt(_0x43af9b(0x1cd))/0xb*(parseInt(_0x43af9b(0x1ef))/0xc);if(_0x1b0fe1===_0x4d7b0b)break;else _0xebf85a['push'](_0xebf85a['shift']());}catch(_0x527140){_0xebf85a['push'](_0xebf85a['shift']());}}}(a17_0x20e2,0xdeaf7));function a17_0x20e2(){const _0x2f278b=['1180965qUAYKe','2676xsjRXD','18WhOPdN','resolve','path','6qnZDHs','4431432jitsoK','writeFileSync','application','then','40ihIXQR','parse','routerConfig','CreatePaths','44MsRxho','routerPath','2141310BdeUZF','push','file','split','/application','readFileSync','map','toString','./project','./vessel/src','exports','length','{\x20path:\x20\x27','region','join','from','1743CofVhR','forEach','495904SZcZUh','pathAdr','\x27,\x20component:\x20()\x20=>\x20import(\x27','items','concat','fileType','216941UEBAgM','1561176qgKqrX'];a17_0x20e2=function(){return _0x2f278b;};return a17_0x20e2();}const fs=require('fs'),path=require(a17_0x4465a4(0x1ed)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a17_0x996e(_0x305591,_0x373957){const _0x20e281=a17_0x20e2();return a17_0x996e=function(_0x996e7a,_0x39d67d){_0x996e7a=_0x996e7a-0x1c9;let _0x1e1153=_0x20e281[_0x996e7a];return _0x1e1153;},a17_0x996e(_0x305591,_0x373957);}module[a17_0x4465a4(0x1d9)]=(_0x38967f,_0x1510e8)=>{const _0x4ce079=a17_0x4465a4;commandArr=_0x38967f[_0x4ce079(0x1d2)](':'),projectPath=path[_0x4ce079(0x1ec)](_0x4ce079(0x1d7)),vesselPath=path[_0x4ce079(0x1ec)](_0x4ce079(0x1d8));let _0x183d75=vesselPath;_0x1510e8==='mp'&&(_0x183d75=vesselPath+_0x4ce079(0x1d3),utils[_0x4ce079(0x1cc)](vesselPath,[_0x4ce079(0x1f1)]));const _0x23075a=commandArr[0x1],_0x427541=JSON[_0x4ce079(0x1ca)](fs[_0x4ce079(0x1d4)](projectPath+'/'+_0x23075a+'/setting.json')[_0x4ce079(0x1d6)]());TileItems(_0x427541[_0x4ce079(0x1e4)],()=>{const _0x36e3fc=_0x4ce079;fromFileData['router'][_0x36e3fc(0x1e0)](_0xd72b3d=>{const _0x1996cb=_0x36e3fc,_0x40884c=_0xd72b3d[_0x1996cb(0x1e2)][_0x1996cb(0x1d2)](_0xd72b3d[_0x1996cb(0x1dc)]),_0x487377=_0x40884c[0x1]['split']('/'),_0xbb6e6=_0x487377[0x1];!applicationJson[_0xbb6e6]&&(applicationJson[_0xbb6e6]={'routerConfig':[],'routerPath':[]});applicationJson[_0xbb6e6][_0x1996cb(0x1cb)]['push'](_0x1996cb(0x1db)+_0xd72b3d[_0x1996cb(0x1ed)]+_0x1996cb(0x1e3)+_0xd72b3d[_0x1996cb(0x1d1)]+'\x27)\x20}'),applicationJson[_0xbb6e6][_0x1996cb(0x1ce)][_0x1996cb(0x1d0)](_0xd72b3d[_0x1996cb(0x1ed)]);let _0x49496c=_0x487377[_0x1996cb(0x1dd)]('/');const _0x3d2488=_0x49496c[_0x1996cb(0x1d2)]('/');utils[_0x1996cb(0x1cc)](_0x183d75,_0x3d2488['slice'](0x0,_0x3d2488[_0x1996cb(0x1da)]-0x1))[_0x1996cb(0x1f2)](()=>{const _0x1ef3b5=_0x1996cb,_0x2e8843=fs[_0x1ef3b5(0x1d4)](_0xd72b3d[_0x1ef3b5(0x1e2)])[_0x1ef3b5(0x1d6)]();fs[_0x1ef3b5(0x1f0)](vesselPath+'/'+_0x49496c,_0x2e8843);});});});};function TileItems(_0x57428d,_0x2d5bf0){_0x57428d['forEach']((_0x4084b1,_0x56310b)=>{const _0x1f5414=a17_0x996e,_0x36f846=_0x4084b1[_0x1f5414(0x1dc)];_0x4084b1[_0x1f5414(0x1de)][_0x1f5414(0x1e0)]((_0x49a463,_0x3bd985)=>{const _0x306aca=_0x1f5414,_0x1cc666=[];utils['DeepScanner'](projectPath+'/'+_0x36f846+'/'+_0x49a463[_0x306aca(0x1d1)],_0x1cc666);const _0x4fc518=_0x1cc666[_0x306aca(0x1d5)](_0x52ba73=>({'region':_0x36f846,'pathAdr':_0x52ba73,..._0x49a463}));!fromFileData[_0x49a463[_0x306aca(0x1e6)]]?fromFileData[_0x49a463[_0x306aca(0x1e6)]]=_0x4fc518:fromFileData[_0x49a463[_0x306aca(0x1e6)]]=fromFileData[_0x49a463[_0x306aca(0x1e6)]][_0x306aca(0x1e5)](_0x4fc518),_0x56310b===_0x57428d[_0x306aca(0x1da)]-0x1&&_0x3bd985===_0x4084b1['from'][_0x306aca(0x1da)]-0x1&&_0x2d5bf0();});});}
@@ -1 +1 @@
1
- 'use strict';function a18_0x3a1c(_0x18c976,_0x588071){const _0x1de747=a18_0x1de7();return a18_0x3a1c=function(_0x3a1cab,_0x31bc7a){_0x3a1cab=_0x3a1cab-0xc8;let _0x5f355f=_0x1de747[_0x3a1cab];return _0x5f355f;},a18_0x3a1c(_0x18c976,_0x588071);}const a18_0x30734d=a18_0x3a1c;(function(_0x367e28,_0x6e334e){const _0xe96b4a=a18_0x3a1c,_0x501eb1=_0x367e28();while(!![]){try{const _0x736083=-parseInt(_0xe96b4a(0xf9))/0x1*(-parseInt(_0xe96b4a(0xf7))/0x2)+parseInt(_0xe96b4a(0xd9))/0x3*(parseInt(_0xe96b4a(0xcd))/0x4)+parseInt(_0xe96b4a(0xda))/0x5+-parseInt(_0xe96b4a(0xe7))/0x6*(parseInt(_0xe96b4a(0xf2))/0x7)+-parseInt(_0xe96b4a(0xd4))/0x8*(-parseInt(_0xe96b4a(0xe4))/0x9)+-parseInt(_0xe96b4a(0xd3))/0xa*(parseInt(_0xe96b4a(0xeb))/0xb)+-parseInt(_0xe96b4a(0xf6))/0xc;if(_0x736083===_0x6e334e)break;else _0x501eb1['push'](_0x501eb1['shift']());}catch(_0x21857e){_0x501eb1['push'](_0x501eb1['shift']());}}}(a18_0x1de7,0x3ad6a));const fs=require('fs'),os=require('os'),path=require(a18_0x30734d(0xff)),utils=require(a18_0x30734d(0xd0)),request=require('request'),compressing=require(a18_0x30734d(0xfb)),GIT_TEMP_DIR=a18_0x30734d(0xd2),GIT_HOST=a18_0x30734d(0xf4),CLOUD_PROJECT={'common':{'token':a18_0x30734d(0xef),'projectId':0x117,'localName':a18_0x30734d(0xf1)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a18_0x30734d(0xcb)}};function a18_0x1de7(){const _0x3e62de=['5241236ntJOLJ','tmpdir','return\x20process.env;','zip','G4HJRsHr9D7Ssmixegw2','pipe','common','901453rsfDIc','application','http://192.168.1.242:10985','\x5ccli.dva.router.spa.txt','4831596ZmLhmI','1214WQFYZX','&ref=master','609YPuYYZ','createWriteStream','compressing','readdirSync','then','return\x20__planA();','path','statSync','【Error】:\x20未获取到项目\x20','error','exports','resolve','CopyFolder','mkdirSync','components','\x5ccli.dva.register.spa.txt','416qFnEXu','.zip','replace','./util','/unzip/','jjbAssembly','10WXzMPq','72oKBKsF','localName','readFileSync','exists','common\x5ctools\x5cindex.js','13701TRToAe','345540TrbGUQ','-文件下载完毕','common\x5cdva\x5cautomatic\x5c','close','toString','rmdirSync','existsSync','common\x5cdva\x5cautomatic','forEach','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','335151NUVRMK','/repository/archive.zip?private_token=','indexOf','6gmQFUp','\x5csrc','-master-','writeFileSync'];a18_0x1de7=function(){return _0x3e62de;};return a18_0x1de7();}module[a18_0x30734d(0x103)]=_0x2bb347=>{const _0x334014=a18_0x30734d,_0x1b2278=_0x2bb347,_0x102538=path[_0x334014(0xc8)]('./');try{if(fs[_0x334014(0x100)](_0x102538+_0x334014(0xe8))){const _0x9c13e1=_0x102538+'\x5csrc',_0x200e4f=CLOUD_PROJECT[_0x1b2278]||undefined;if(_0x200e4f){const _0x11f289=os[_0x334014(0xec)](),_0x5cc2af=_0x11f289+('/'+GIT_TEMP_DIR+'/'+_0x1b2278+_0x334014(0xce)),_0x17e5fc=_0x11f289+'/'+GIT_TEMP_DIR+_0x334014(0xd1);utils['DeleteDirAllFile'](_0x11f289+'/'+GIT_TEMP_DIR,()=>{const _0x43c3ca=_0x334014;fs[_0x43c3ca(0xca)](_0x11f289+'/'+GIT_TEMP_DIR);let _0x30032e=fs[_0x43c3ca(0xfa)](_0x5cc2af);request(GIT_HOST+'/api/v4/projects/'+_0x200e4f['projectId']+_0x43c3ca(0xe5)+_0x200e4f['token']+_0x43c3ca(0xf8))[_0x43c3ca(0xf0)](_0x30032e)['on'](_0x43c3ca(0xdd),()=>{const _0x594ac8=_0x43c3ca;fs[_0x594ac8(0xca)](_0x17e5fc),compressing[_0x594ac8(0xee)]['uncompress'](_0x5cc2af,_0x17e5fc)[_0x594ac8(0xfd)](()=>{setTimeout(()=>{const _0xf1262d=a18_0x3a1c,_0x2f0ca5=fs[_0xf1262d(0xfc)](_0x17e5fc);_0x2f0ca5['forEach'](_0x702a1=>{const _0x1dd2e5=_0xf1262d;if(_0x702a1[_0x1dd2e5(0xe6)](_0x1dd2e5(0xe9))!==-0x1){const _0x3548ab=_0x9c13e1+'\x5c'+_0x200e4f[_0x1dd2e5(0xd5)];utils['DeleteDirAllFile'](_0x3548ab,()=>{const _0x3de1e5=_0x1dd2e5;fs[_0x3de1e5(0xca)](_0x3548ab),utils[_0x3de1e5(0xc9)](_0x17e5fc+_0x702a1,_0x3548ab),setTimeout(()=>{const _0x3534f4=_0x3de1e5,_0x16b2e7=fs[_0x3534f4(0xe0)](_0x9c13e1+'\x5c'+_0x3534f4(0xf3));if(!_0x16b2e7){const _0x5054f5=_0x9c13e1+'\x5c'+_0x3534f4(0xd8),_0x438c7f=_0x9c13e1+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x22893d=fs[_0x3534f4(0xd6)](_0x5054f5)[_0x3534f4(0xde)](),_0x1b8368=fs['readFileSync'](_0x438c7f)[_0x3534f4(0xde)]();_0x22893d=_0x22893d[_0x3534f4(0xcf)](_0x3534f4(0xfe),_0x3534f4(0xed)),_0x1b8368=_0x1b8368[_0x3534f4(0xcf)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x3534f4(0xea)](_0x5054f5,_0x22893d),fs['writeFileSync'](_0x438c7f,_0x1b8368),fs[_0x3534f4(0xea)](_0x9c13e1+_0x3534f4(0xe3),fs[_0x3534f4(0xd6)](__dirname+_0x3534f4(0xf5))['toString']()),fs[_0x3534f4(0xea)](_0x9c13e1+'\x5ccommon\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x3534f4(0xcc))['toString']());}else fs[_0x3534f4(0xd7)](_0x9c13e1+'\x5c'+'common\x5cdva\x5cautomatic\x5cindex.js',_0x702906=>{const _0x3d0cf2=_0x3534f4;_0x702906&&(fs[_0x3d0cf2(0xfc)](_0x9c13e1+'\x5c'+_0x3d0cf2(0xe1))[_0x3d0cf2(0xe2)](_0x117c56=>{const _0x4ca446=_0x3d0cf2;fs['unlinkSync'](_0x9c13e1+'\x5c'+_0x4ca446(0xdc)+_0x117c56);}),fs[_0x3d0cf2(0xdf)](_0x9c13e1+'\x5c'+_0x3d0cf2(0xe1)));});},0x3e8);});}}),console['log'](_0x1b2278+_0xf1262d(0xdb));},0x7d0);});});});}else console[_0x334014(0x102)](_0x334014(0x101)+_0x1b2278);}}catch(_0x358882){console['error']('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
1
+ 'use strict';function a18_0x46a1(_0x3361d0,_0x3097fb){const _0x24561f=a18_0x2456();return a18_0x46a1=function(_0x46a15e,_0x4cad74){_0x46a15e=_0x46a15e-0x8b;let _0x1a512a=_0x24561f[_0x46a15e];return _0x1a512a;},a18_0x46a1(_0x3361d0,_0x3097fb);}const a18_0x34582b=a18_0x46a1;(function(_0xf7bf3f,_0x266c24){const _0x27edf4=a18_0x46a1,_0x519820=_0xf7bf3f();while(!![]){try{const _0x1c21cd=-parseInt(_0x27edf4(0xa6))/0x1+-parseInt(_0x27edf4(0xa3))/0x2+parseInt(_0x27edf4(0x95))/0x3+parseInt(_0x27edf4(0xa2))/0x4*(-parseInt(_0x27edf4(0x96))/0x5)+-parseInt(_0x27edf4(0x99))/0x6+parseInt(_0x27edf4(0xb6))/0x7+parseInt(_0x27edf4(0x8c))/0x8;if(_0x1c21cd===_0x266c24)break;else _0x519820['push'](_0x519820['shift']());}catch(_0x1ddb51){_0x519820['push'](_0x519820['shift']());}}}(a18_0x2456,0xe3360));function a18_0x2456(){const _0x57cd4f=['readdirSync','common\x5cdva\x5cautomatic\x5c','12214237hpaLoQ','forEach','tmpdir','resolve','zip','indexOf','createWriteStream','DeleteDirAllFile','-master-','close','writeFileSync','pipe','mkdirSync','G4HJRsHr9D7Ssmixegw2','replace','\x5csrc','unlinkSync','/api/v4/projects/','common\x5cdva\x5cautomatic','15339840maqqtX','application','common\x5cwebsite\x5cindex.js','readFileSync','\x5ccli.dva.router.spa.txt','http://192.168.1.242:10985','./util','request','projectId','4345344zrECzT','5DmJbVd','path','-文件下载完毕','8834034NVCwvh','.zip','common\x5cdva\x5cautomatic\x5cindex.js','common','&ref=master','localName','existsSync','error','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','3899836wTudru','3007450vjGtBT','token','return\x20__planA();','229140hufxdi','/unzip/','/repository/archive.zip?private_token=','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','uncompress','FT3pKzxpRynFkmddJ9Bs','return\x20process.env;','rmdirSync','CopyFolder','statSync','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','jjbAssembly','exports','toString'];a18_0x2456=function(){return _0x57cd4f;};return a18_0x2456();}const fs=require('fs'),os=require('os'),path=require(a18_0x34582b(0x97)),utils=require(a18_0x34582b(0x92)),request=require(a18_0x34582b(0x93)),compressing=require('compressing'),GIT_TEMP_DIR=a18_0x34582b(0xb1),GIT_HOST=a18_0x34582b(0x91),CLOUD_PROJECT={'common':{'token':a18_0x34582b(0xc3),'projectId':0x117,'localName':a18_0x34582b(0x9c)},'react-admin-component':{'token':a18_0x34582b(0xab),'projectId':0x154,'localName':'components'}};module[a18_0x34582b(0xb2)]=_0x5f0f31=>{const _0x4ea2e5=a18_0x34582b,_0x435cce=_0x5f0f31,_0x1cd69c=path[_0x4ea2e5(0xb9)]('./');try{if(fs[_0x4ea2e5(0xaf)](_0x1cd69c+_0x4ea2e5(0xc5))){const _0xeb33cd=_0x1cd69c+'\x5csrc',_0x2c7dbe=CLOUD_PROJECT[_0x435cce]||undefined;if(_0x2c7dbe){const _0x139926=os[_0x4ea2e5(0xb8)](),_0x47c14b=_0x139926+('/'+GIT_TEMP_DIR+'/'+_0x435cce+_0x4ea2e5(0x9a)),_0x15093b=_0x139926+'/'+GIT_TEMP_DIR+_0x4ea2e5(0xa7);utils['DeleteDirAllFile'](_0x139926+'/'+GIT_TEMP_DIR,()=>{const _0x39e666=_0x4ea2e5;fs['mkdirSync'](_0x139926+'/'+GIT_TEMP_DIR);let _0x38867f=fs[_0x39e666(0xbc)](_0x47c14b);request(GIT_HOST+_0x39e666(0xc7)+_0x2c7dbe[_0x39e666(0x94)]+_0x39e666(0xa8)+_0x2c7dbe[_0x39e666(0xa4)]+_0x39e666(0x9d))[_0x39e666(0xc1)](_0x38867f)['on'](_0x39e666(0xbf),()=>{const _0x31dd90=_0x39e666;fs[_0x31dd90(0xc2)](_0x15093b),compressing[_0x31dd90(0xba)][_0x31dd90(0xaa)](_0x47c14b,_0x15093b)['then'](()=>{setTimeout(()=>{const _0x357ac6=a18_0x46a1,_0x58290a=fs[_0x357ac6(0xb4)](_0x15093b);_0x58290a[_0x357ac6(0xb7)](_0x477562=>{const _0x499fac=_0x357ac6;if(_0x477562[_0x499fac(0xbb)](_0x499fac(0xbe))!==-0x1){const _0x463d2e=_0xeb33cd+'\x5c'+_0x2c7dbe[_0x499fac(0x9e)];utils[_0x499fac(0xbd)](_0x463d2e,()=>{const _0x553d14=_0x499fac;fs[_0x553d14(0xc2)](_0x463d2e),utils[_0x553d14(0xae)](_0x15093b+_0x477562,_0x463d2e),setTimeout(()=>{const _0x57d884=_0x553d14,_0x22ea1b=fs[_0x57d884(0x9f)](_0xeb33cd+'\x5c'+_0x57d884(0x8d));if(!_0x22ea1b){const _0xfa3c13=_0xeb33cd+'\x5c'+'common\x5ctools\x5cindex.js',_0x536579=_0xeb33cd+'\x5c'+_0x57d884(0x8e);let _0x2517e4=fs[_0x57d884(0x8f)](_0xfa3c13)[_0x57d884(0xb3)](),_0x424e48=fs[_0x57d884(0x8f)](_0x536579)['toString']();_0x2517e4=_0x2517e4[_0x57d884(0xc4)](_0x57d884(0xa5),_0x57d884(0xac)),_0x424e48=_0x424e48[_0x57d884(0xc4)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x57d884(0xc0)](_0xfa3c13,_0x2517e4),fs[_0x57d884(0xc0)](_0x536579,_0x424e48),fs[_0x57d884(0xc0)](_0xeb33cd+_0x57d884(0xa1),fs[_0x57d884(0x8f)](__dirname+_0x57d884(0x90))['toString']()),fs['writeFileSync'](_0xeb33cd+_0x57d884(0xb0),fs[_0x57d884(0x8f)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x57d884(0xb3)]());}else fs['exists'](_0xeb33cd+'\x5c'+_0x57d884(0x9b),_0x4f9379=>{const _0x609440=_0x57d884;_0x4f9379&&(fs[_0x609440(0xb4)](_0xeb33cd+'\x5c'+_0x609440(0x8b))[_0x609440(0xb7)](_0x52153f=>{const _0x18334e=_0x609440;fs[_0x18334e(0xc6)](_0xeb33cd+'\x5c'+_0x18334e(0xb5)+_0x52153f);}),fs[_0x609440(0xad)](_0xeb33cd+'\x5c'+_0x609440(0x8b)));});},0x3e8);});}}),console['log'](_0x435cce+_0x357ac6(0x98));},0x7d0);});});});}else console[_0x4ea2e5(0xa0)]('【Error】:\x20未获取到项目\x20'+_0x435cce);}}catch(_0x2f0191){console[_0x4ea2e5(0xa0)](_0x4ea2e5(0xa9));}};
@@ -1 +1 @@
1
- 'use strict';const a19_0x1f2f15=a19_0x4955;(function(_0x1730c7,_0x593cfb){const _0x178108=a19_0x4955,_0x4e0b2d=_0x1730c7();while(!![]){try{const _0x2b827c=parseInt(_0x178108(0x1e3))/0x1*(parseInt(_0x178108(0x1af))/0x2)+parseInt(_0x178108(0x1d8))/0x3+-parseInt(_0x178108(0x1e0))/0x4*(-parseInt(_0x178108(0x1c4))/0x5)+-parseInt(_0x178108(0x1a8))/0x6+-parseInt(_0x178108(0x1c5))/0x7*(parseInt(_0x178108(0x1d6))/0x8)+parseInt(_0x178108(0x1f7))/0x9+-parseInt(_0x178108(0x1b3))/0xa;if(_0x2b827c===_0x593cfb)break;else _0x4e0b2d['push'](_0x4e0b2d['shift']());}catch(_0x1f28fb){_0x4e0b2d['push'](_0x4e0b2d['shift']());}}}(a19_0x2717,0xd5188));const fs=require('fs'),os=require('os'),path=require(a19_0x1f2f15(0x1b0)),utils=require(a19_0x1f2f15(0x1b1)),request=require(a19_0x1f2f15(0x1a0)),compressing=require(a19_0x1f2f15(0x1e9)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a19_0x1f2f15(0x1ed),CLOUD_PROJECT={'common':{'token':a19_0x1f2f15(0x1b7),'projectId':0x117,'localName':a19_0x1f2f15(0x1c1)},'react-admin-component':{'token':a19_0x1f2f15(0x1d7),'projectId':0x154,'localName':a19_0x1f2f15(0x1dc)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a19_0x1f2f15(0x1dc),'jjb-react-admin-component']]},{'path':a19_0x1f2f15(0x1a6),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a19_0x1f2f15(0x1dc),a19_0x1f2f15(0x1bd)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1f2f15(0x1d2),'replace':[[a19_0x1f2f15(0x1e8),a19_0x1f2f15(0x1dd)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1f2f15(0x1d2),'replace':[[a19_0x1f2f15(0x1e8),a19_0x1f2f15(0x1ae)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[[a19_0x1f2f15(0x1b9),'jjb-common/http'],[a19_0x1f2f15(0x1cb),a19_0x1f2f15(0x1c9)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1f4),'replace':[[a19_0x1f2f15(0x1be),a19_0x1f2f15(0x1e1)]]},{'path':a19_0x1f2f15(0x1a3),'replace':[[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':'\x5cFileUploader\x5cindex.js','replace':[['common/http',a19_0x1f2f15(0x1a1)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a19_0x1f2f15(0x1b9),a19_0x1f2f15(0x1a1)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1cc),'replace':[['common/http',a19_0x1f2f15(0x1a1)],[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a19_0x1f2f15(0x1be),a19_0x1f2f15(0x1e1)]]},{'path':a19_0x1f2f15(0x1d3),'replace':[[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1bc),'replace':[[a19_0x1f2f15(0x1c0),a19_0x1f2f15(0x1ec)],['common/tools',a19_0x1f2f15(0x1b2)]]}];function uid(){const _0x4de86c=a19_0x1f2f15;return Math['random']()[_0x4de86c(0x1bf)]()['substr'](0x2);}module[a19_0x1f2f15(0x19f)]=_0x4a9e87=>{const _0x2eddff=a19_0x1f2f15,_0x1a9d4e=path['resolve']('./'),_0x4be893=_0x2eddff(0x1b8)+_0x4a9e87,_0x163995=_0x2eddff(0x1c7),_0x3d5a7e=_0x1a9d4e+_0x2eddff(0x1e2),_0x426fa7=_0x2eddff(0x1c8)+uid(),_0x5cf91d=__dirname+'\x5c'+_0x426fa7,_0x16c5cf=_0x1a9d4e+_0x2eddff(0x1ab),_0x4a8dfa=_0x1a9d4e+_0x2eddff(0x1d4)+_0x4a9e87;try{if(fs[_0x2eddff(0x1ef)](_0x3d5a7e)){const _0x577193=CLOUD_PROJECT[_0x4a9e87]||undefined;if(_0x577193){const _0x5247ed=os[_0x2eddff(0x1ad)](),_0x5748a4=_0x5247ed+'/'+GIT_TEMP_DIR+'/'+_0x4a9e87+_0x2eddff(0x1f0),_0x297a60=_0x5247ed+'/'+GIT_TEMP_DIR+_0x2eddff(0x1f2);utils[_0x2eddff(0x1a5)](_0x5247ed+'/'+GIT_TEMP_DIR,()=>{const _0x548ea5=_0x2eddff;fs[_0x548ea5(0x1f1)](_0x5247ed+'/'+GIT_TEMP_DIR);const _0x2c526e=fs['createWriteStream'](_0x5748a4);request(GIT_HOST+_0x548ea5(0x1d9)+_0x577193['projectId']+_0x548ea5(0x1e7)+_0x577193[_0x548ea5(0x1c6)]+_0x548ea5(0x1a4))[_0x548ea5(0x19b)](_0x2c526e)['on'](_0x548ea5(0x19e),()=>{const _0x52e0b4=_0x548ea5;fs[_0x52e0b4(0x1f1)](_0x297a60),compressing[_0x52e0b4(0x1cd)][_0x52e0b4(0x1b6)](_0x5748a4,_0x297a60)[_0x52e0b4(0x1db)](()=>{setTimeout(()=>{const _0x235292=a19_0x4955;fs[_0x235292(0x19d)](_0x297a60)['forEach'](_0xa90e3=>{const _0x1cecd7=_0x235292;_0xa90e3[_0x1cecd7(0x1cf)](_0x1cecd7(0x1c3))!==-0x1&&utils[_0x1cecd7(0x1a5)](_0x3d5a7e+'\x5c'+_0x577193[_0x1cecd7(0x1f5)],()=>{fs['mkdirSync'](_0x5cf91d),utils['CopyFolder'](_0x297a60+_0xa90e3,_0x5cf91d),setTimeout(()=>{const _0x56dffe=a19_0x4955;if(_0x4a9e87===_0x56dffe(0x1c1)){const _0x5a5a9f=fs[_0x56dffe(0x1ef)](_0x3d5a7e+_0x56dffe(0x1ca));if(_0x5a5a9f)rm_rf(_0x5cf91d+_0x56dffe(0x19c)),fs['rmdirSync'](_0x5cf91d+'\x5cdva\x5cautomatic');else{if(get_project_type(_0x16c5cf)===_0x56dffe(0x1ba))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x5cf91d),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x56dffe(0x1ac)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x56dffe(0x1bf)]()),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x56dffe(0x1e6))[_0x56dffe(0x1bf)]());else get_project_type(_0x16c5cf)===_0x56dffe(0x1d1)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x5cf91d),fs[_0x56dffe(0x1e5)](_0x5cf91d+_0x56dffe(0x1da),fs[_0x56dffe(0x1ac)](__dirname+_0x56dffe(0x1d0))['toString']()),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x56dffe(0x1ac)](__dirname+_0x56dffe(0x1de))[_0x56dffe(0x1bf)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x5cf91d);}_0x4a9e87==='react-admin-component'&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x5cf91d),rm_rf(_0x5cf91d+_0x56dffe(0x1aa)),fs[_0x56dffe(0x1ef)](_0x5cf91d+_0x56dffe(0x1aa))&&fs[_0x56dffe(0x1a7)](_0x5cf91d+_0x56dffe(0x1aa)),fs['existsSync'](_0x5cf91d+_0x56dffe(0x1ea))&&fs[_0x56dffe(0x1a2)](_0x5cf91d+_0x56dffe(0x1ea)),!fs['existsSync'](_0x4a8dfa)?fs['mkdirSync'](_0x4a8dfa):rm_rf(_0x4a8dfa),utils['CopyFolder'](_0x5cf91d,_0x4a8dfa,()=>{const _0x4600d7=_0x56dffe;rm_rf(_0x5cf91d),fs['rmdirSync'](_0x5cf91d),create_package_json(_0x4a8dfa,_0x4be893,_0x163995),update_project_package_json(_0x16c5cf,_0x4be893,_0x163995),console[_0x4600d7(0x1b5)](_0x4600d7(0x1eb)+_0x4be893+'\x20v'+_0x163995);});},0x3e8);});});},0x7d0);});});});}else console[_0x2eddff(0x1d5)](_0x2eddff(0x1df)+_0x4a9e87);}}catch(_0x2c360a){console['error'](_0x2eddff(0x1bb));}};function a19_0x2717(){const _0x1d1024=['\x22,\x22main\x22:\x20\x22index.js\x22}','\x5c.idea','\x5cpackage.json','readFileSync','tmpdir','return\x20process.env.app;','1385618zSwHAP','path','./util','jjb-common/tools','15795260ioYgHL','replace','log','uncompress','G4HJRsHr9D7Ssmixegw2','jjb-','common/http','spa','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','jjb-react-admin-component','common/color','toString','common/website','common','parse','-master-','340rzrpJg','7VBYNEi','token','1.0.0','template_','jjb-common/crypto','\x5capplication','common/crypto','\x5cImageUploader\x5cindex.js','zip','stringify','indexOf','\x5ccli.dva.router.saas.txt','micro-spa','\x5ctools\x5cindex.js','\x5cRouterContainer\x5cindex.js','\x5cnode_modules\x5cjjb-','error','13057992WusNzv','FT3pKzxpRynFkmddJ9Bs','4380159JzEwER','/api/v4/projects/','\x5cdva\x5cautomatic\x5crouter.js','then','components','return\x20process.env;','\x5ccli.dva.register.saas.txt','【Error】:\x20未获取到项目\x20','45272nIcAVl','jjb-common/color','\x5csrc','1AsXgXi','\x22,\x22version\x22:\x22','writeFileSync','\x5ccli.dva.register.spa.txt','/repository/archive.zip?private_token=','return\x20__planA();','compressing','\x5c.gitignore','【已安装】:','jjb-common/website','jjbAssembly','dependencies','existsSync','.zip','mkdirSync','/unzip/','common/tools','\x5cRejectText\x5cindex.js','localName','forEach','13262724qBjyJg','pipe','\x5cdva\x5cautomatic','readdirSync','close','exports','request','jjb-common/http','unlinkSync','\x5cRouterMenu\x5cindex.js','&ref=master','DeleteDirAllFile','\x5cwebsite\x5cindex.js','rmdirSync','1869042ebivKj'];a19_0x2717=function(){return _0x1d1024;};return a19_0x2717();}function rm_rf(_0xdc2405){const _0x580074=a19_0x1f2f15;if(fs[_0x580074(0x1ef)](_0xdc2405)){const _0x401dcd=fs[_0x580074(0x19d)](_0xdc2405);for(let _0x332610=0x0;_0x332610<_0x401dcd['length'];_0x332610++){const _0x36b2a6=_0x401dcd[_0x332610],_0x3c25b2=_0xdc2405+'/'+_0x36b2a6;fs['statSync'](_0x3c25b2)['isDirectory']()?(rm_rf(_0x3c25b2),fs[_0x580074(0x1a7)](_0x3c25b2)):fs[_0x580074(0x1a2)](_0x3c25b2);}}}function create_package_json(_0x2b9e1c,_0x457f41,_0x5b14d0){const _0x115f06=a19_0x1f2f15;fs[_0x115f06(0x1e5)](_0x2b9e1c+_0x115f06(0x1ab),'{\x22name\x22:\x22'+_0x457f41+_0x115f06(0x1e4)+_0x5b14d0+_0x115f06(0x1a9));}function get_project_type(_0x4831a6){const _0x304121=a19_0x1f2f15,_0x1b02bb=JSON[_0x304121(0x1c2)](fs['readFileSync'](_0x4831a6)[_0x304121(0x1bf)]());return _0x1b02bb['projectType'];}function a19_0x4955(_0x5532f0,_0x19f023){const _0x27177c=a19_0x2717();return a19_0x4955=function(_0x49551f,_0x80fe33){_0x49551f=_0x49551f-0x19b;let _0x22c0e5=_0x27177c[_0x49551f];return _0x22c0e5;},a19_0x4955(_0x5532f0,_0x19f023);}function update_project_package_json(_0x27d5c0,_0x2f9cb1,_0x23f4b5){const _0x50c492=a19_0x1f2f15,_0x48d68f=JSON[_0x50c492(0x1c2)](fs['readFileSync'](_0x27d5c0)['toString']());_0x48d68f[_0x50c492(0x1ee)][_0x2f9cb1]=_0x23f4b5,fs[_0x50c492(0x1e5)](_0x27d5c0,JSON[_0x50c492(0x1ce)](_0x48d68f,null,0x2));}function content_replace(_0x42d6f5=[],_0x3b8eae){const _0x397f80=a19_0x1f2f15;_0x42d6f5[_0x397f80(0x1f6)](_0x4f45f2=>{const _0x4a472c=_0x397f80,_0x503013=_0x3b8eae+_0x4f45f2['path'];if(fs['existsSync'](_0x503013)){let _0x3f833b=fs[_0x4a472c(0x1ac)](_0x503013)[_0x4a472c(0x1bf)]();_0x4f45f2[_0x4a472c(0x1b4)][_0x4a472c(0x1f6)](_0x35660e=>{const _0x4ede93=_0x4a472c;_0x3f833b=_0x3f833b[_0x4ede93(0x1b4)](_0x35660e[0x0],_0x35660e[0x1]);}),fs[_0x4a472c(0x1e5)](_0x503013,_0x3f833b);}});}
1
+ 'use strict';function a19_0x3eb3(_0x42d205,_0x361289){const _0x42f3f4=a19_0x42f3();return a19_0x3eb3=function(_0x3eb3ab,_0x5a47fa){_0x3eb3ab=_0x3eb3ab-0x177;let _0x28a876=_0x42f3f4[_0x3eb3ab];return _0x28a876;},a19_0x3eb3(_0x42d205,_0x361289);}const a19_0x1aeece=a19_0x3eb3;(function(_0x9e8c2b,_0x1835ba){const _0x587789=a19_0x3eb3,_0x351568=_0x9e8c2b();while(!![]){try{const _0x2d49e4=parseInt(_0x587789(0x18e))/0x1*(-parseInt(_0x587789(0x19e))/0x2)+-parseInt(_0x587789(0x18d))/0x3+parseInt(_0x587789(0x17a))/0x4+-parseInt(_0x587789(0x1ce))/0x5+parseInt(_0x587789(0x1b9))/0x6*(parseInt(_0x587789(0x1d2))/0x7)+parseInt(_0x587789(0x199))/0x8*(parseInt(_0x587789(0x1c8))/0x9)+-parseInt(_0x587789(0x1cb))/0xa*(parseInt(_0x587789(0x197))/0xb);if(_0x2d49e4===_0x1835ba)break;else _0x351568['push'](_0x351568['shift']());}catch(_0x1c210a){_0x351568['push'](_0x351568['shift']());}}}(a19_0x42f3,0x99395));const fs=require('fs'),os=require('os'),path=require(a19_0x1aeece(0x185)),utils=require('./util'),request=require(a19_0x1aeece(0x1d5)),compressing=require('compressing'),GIT_HOST=a19_0x1aeece(0x1a8),GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':a19_0x1aeece(0x1c6),'projectId':0x117,'localName':a19_0x1aeece(0x1a2)},'react-admin-component':{'token':a19_0x1aeece(0x184),'projectId':0x154,'localName':a19_0x1aeece(0x198)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[['components',a19_0x1aeece(0x1cc)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x1aeece(0x1a1)],[a19_0x1aeece(0x198),a19_0x1aeece(0x1cc)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[[a19_0x1aeece(0x1ac),a19_0x1aeece(0x1cf)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[[a19_0x1aeece(0x1ac),'return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x1aeece(0x1b6),'replace':[[a19_0x1aeece(0x1a3),'jjb-common/http'],[a19_0x1aeece(0x1b5),a19_0x1aeece(0x17d)],['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x19c),'replace':[[a19_0x1aeece(0x1d4),a19_0x1aeece(0x19a)]]},{'path':a19_0x1aeece(0x1c0),'replace':[['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x17b),'replace':[[a19_0x1aeece(0x1a3),a19_0x1aeece(0x1a9)],[a19_0x1aeece(0x18c),a19_0x1aeece(0x186)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a19_0x1aeece(0x1a3),'jjb-common/http'],[a19_0x1aeece(0x18c),'jjb-common/tools']]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a19_0x1aeece(0x1a3),a19_0x1aeece(0x1a9)],[a19_0x1aeece(0x18c),'jjb-common/tools']]},{'path':a19_0x1aeece(0x1ae),'replace':[['common/color',a19_0x1aeece(0x19a)]]},{'path':a19_0x1aeece(0x19d),'replace':[['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x1aa),'replace':[[a19_0x1aeece(0x194),a19_0x1aeece(0x192)],['common/tools',a19_0x1aeece(0x186)]]}];function uid(){const _0x3156c1=a19_0x1aeece;return Math[_0x3156c1(0x195)]()[_0x3156c1(0x18f)]()[_0x3156c1(0x178)](0x2);}module['exports']=_0x20cb05=>{const _0x108ad7=a19_0x1aeece,_0x2ee048=path[_0x108ad7(0x1a4)]('./'),_0x1b568a=_0x108ad7(0x19b)+_0x20cb05,_0xd3d214=_0x108ad7(0x1ad),_0x401364=_0x2ee048+_0x108ad7(0x1bf),_0x4d5f3c='template_'+uid(),_0x3b1861=__dirname+'\x5c'+_0x4d5f3c,_0x1677ec=_0x2ee048+'\x5cpackage.json',_0x3e27e5=_0x2ee048+_0x108ad7(0x1d1)+_0x20cb05;try{if(fs[_0x108ad7(0x1c1)](_0x401364)){const _0x11ed89=CLOUD_PROJECT[_0x20cb05]||undefined;if(_0x11ed89){const _0x58d79f=os[_0x108ad7(0x1b1)](),_0x11ef71=_0x58d79f+'/'+GIT_TEMP_DIR+'/'+_0x20cb05+_0x108ad7(0x189),_0x3a7441=_0x58d79f+'/'+GIT_TEMP_DIR+_0x108ad7(0x190);utils[_0x108ad7(0x1ca)](_0x58d79f+'/'+GIT_TEMP_DIR,()=>{const _0x5594b1=_0x108ad7;fs[_0x5594b1(0x1d0)](_0x58d79f+'/'+GIT_TEMP_DIR);const _0x153988=fs[_0x5594b1(0x187)](_0x11ef71);request(GIT_HOST+_0x5594b1(0x1a0)+_0x11ed89['projectId']+_0x5594b1(0x179)+_0x11ed89[_0x5594b1(0x182)]+_0x5594b1(0x196))[_0x5594b1(0x1b2)](_0x153988)['on'](_0x5594b1(0x1af),()=>{const _0x5aaa1b=_0x5594b1;fs[_0x5aaa1b(0x1d0)](_0x3a7441),compressing['zip'][_0x5aaa1b(0x1ba)](_0x11ef71,_0x3a7441)[_0x5aaa1b(0x1bd)](()=>{setTimeout(()=>{const _0x118daf=a19_0x3eb3;fs['readdirSync'](_0x3a7441)[_0x118daf(0x1c9)](_0x8e1764=>{const _0x52a82f=_0x118daf;_0x8e1764[_0x52a82f(0x1a7)](_0x52a82f(0x18a))!==-0x1&&utils[_0x52a82f(0x1ca)](_0x401364+'\x5c'+_0x11ed89[_0x52a82f(0x183)],()=>{const _0x16641d=_0x52a82f;fs[_0x16641d(0x1d0)](_0x3b1861),utils[_0x16641d(0x1b4)](_0x3a7441+_0x8e1764,_0x3b1861),setTimeout(()=>{const _0x71d6ab=_0x16641d;if(_0x20cb05===_0x71d6ab(0x1a2)){const _0x4cdf75=fs[_0x71d6ab(0x1c1)](_0x401364+'\x5capplication');if(_0x4cdf75)rm_rf(_0x3b1861+'\x5cdva\x5cautomatic'),fs[_0x71d6ab(0x1d6)](_0x3b1861+_0x71d6ab(0x188));else{if(get_project_type(_0x1677ec)===_0x71d6ab(0x1a6))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x3b1861),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x191),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1b8))[_0x71d6ab(0x18f)]()),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x1b0),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1b3))[_0x71d6ab(0x18f)]());else get_project_type(_0x1677ec)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x3b1861),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x191),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x17e))[_0x71d6ab(0x18f)]()),fs[_0x71d6ab(0x1be)](_0x3b1861+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1c5))[_0x71d6ab(0x18f)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x3b1861);}_0x20cb05===_0x71d6ab(0x177)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x3b1861),rm_rf(_0x3b1861+_0x71d6ab(0x1c3)),fs[_0x71d6ab(0x1c1)](_0x3b1861+'\x5c.idea')&&fs['rmdirSync'](_0x3b1861+_0x71d6ab(0x1c3)),fs[_0x71d6ab(0x1c1)](_0x3b1861+_0x71d6ab(0x180))&&fs[_0x71d6ab(0x181)](_0x3b1861+_0x71d6ab(0x180)),!fs[_0x71d6ab(0x1c1)](_0x3e27e5)?fs['mkdirSync'](_0x3e27e5):rm_rf(_0x3e27e5),utils[_0x71d6ab(0x1b4)](_0x3b1861,_0x3e27e5,()=>{const _0x59c2a8=_0x71d6ab;rm_rf(_0x3b1861),fs['rmdirSync'](_0x3b1861),create_package_json(_0x3e27e5,_0x1b568a,_0xd3d214),update_project_package_json(_0x1677ec,_0x1b568a,_0xd3d214),console[_0x59c2a8(0x193)](_0x59c2a8(0x18b)+_0x1b568a+'\x20v'+_0xd3d214);});},0x3e8);});});},0x7d0);});});});}else console[_0x108ad7(0x1c7)](_0x108ad7(0x1d3)+_0x20cb05);}}catch(_0x301673){console[_0x108ad7(0x1c7)](_0x108ad7(0x1c4));}};function rm_rf(_0x17eb56){const _0x529363=a19_0x1aeece;if(fs[_0x529363(0x1c1)](_0x17eb56)){const _0x4a7028=fs['readdirSync'](_0x17eb56);for(let _0x2f3b9b=0x0;_0x2f3b9b<_0x4a7028[_0x529363(0x19f)];_0x2f3b9b++){const _0x1ab25b=_0x4a7028[_0x2f3b9b],_0xa87d30=_0x17eb56+'/'+_0x1ab25b;fs[_0x529363(0x1c2)](_0xa87d30)['isDirectory']()?(rm_rf(_0xa87d30),fs[_0x529363(0x1d6)](_0xa87d30)):fs['unlinkSync'](_0xa87d30);}}}function create_package_json(_0x387763,_0x233c7,_0x53a90b){const _0x5461a4=a19_0x1aeece;fs['writeFileSync'](_0x387763+_0x5461a4(0x1a5),'{\x22name\x22:\x22'+_0x233c7+'\x22,\x22version\x22:\x22'+_0x53a90b+_0x5461a4(0x17f));}function a19_0x42f3(){const _0x5dceab=['/repository/archive.zip?private_token=','3412336AiZJsb','\x5cFileUploader\x5cindex.js','projectType','jjb-common/crypto','\x5ccli.dva.router.saas.txt','\x22,\x22main\x22:\x20\x22index.js\x22}','\x5c.gitignore','unlinkSync','token','localName','FT3pKzxpRynFkmddJ9Bs','path','jjb-common/tools','createWriteStream','\x5cdva\x5cautomatic','.zip','-master-','【已安装】:','common/tools','1206rJVljf','222779tiwCMd','toString','/unzip/','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/website','log','common/website','random','&ref=master','11bdyRRT','components','2414368bmKjop','jjb-common/color','jjb-','\x5cRejectText\x5cindex.js','\x5cRouterContainer\x5cindex.js','8YnFbLm','length','/api/v4/projects/','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common','common/http','resolve','\x5cpackage.json','spa','indexOf','http://192.168.1.242:10985','jjb-common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','stringify','return\x20__planA();','1.0.0','\x5cPageHeaderBar\x5cindex.js','close','\x5cdva\x5cautomatic\x5cregister.js','tmpdir','pipe','\x5ccli.dva.register.spa.txt','CopyFolder','common/crypto','\x5cEditor\x5cindex.js','replace','\x5ccli.dva.router.spa.txt','582ZjNMjl','uncompress','\x5ctools\x5cindex.js','parse','then','writeFileSync','\x5csrc','\x5cRouterMenu\x5cindex.js','existsSync','statSync','\x5c.idea','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5ccli.dva.register.saas.txt','G4HJRsHr9D7Ssmixegw2','error','9NmpHFL','forEach','DeleteDirAllFile','521590SLPqkm','jjb-react-admin-component','readFileSync','1137905xLoAdm','return\x20process.env;','mkdirSync','\x5cnode_modules\x5cjjb-','46473rjMUBA','【Error】:\x20未获取到项目\x20','common/color','request','rmdirSync','react-admin-component','substr'];a19_0x42f3=function(){return _0x5dceab;};return a19_0x42f3();}function get_project_type(_0x516c0b){const _0x37f0b5=a19_0x1aeece,_0x20a524=JSON[_0x37f0b5(0x1bc)](fs['readFileSync'](_0x516c0b)['toString']());return _0x20a524[_0x37f0b5(0x17c)];}function update_project_package_json(_0x244968,_0x5957d4,_0x3d899a){const _0x268cda=a19_0x1aeece,_0x4acb62=JSON[_0x268cda(0x1bc)](fs[_0x268cda(0x1cd)](_0x244968)[_0x268cda(0x18f)]());_0x4acb62['dependencies'][_0x5957d4]=_0x3d899a,fs[_0x268cda(0x1be)](_0x244968,JSON[_0x268cda(0x1ab)](_0x4acb62,null,0x2));}function content_replace(_0xe873d7=[],_0x5a925f){const _0x5edb77=a19_0x1aeece;_0xe873d7[_0x5edb77(0x1c9)](_0x3163fc=>{const _0x3d8be0=_0x5edb77,_0x1d99ee=_0x5a925f+_0x3163fc[_0x3d8be0(0x185)];if(fs[_0x3d8be0(0x1c1)](_0x1d99ee)){let _0x41517c=fs[_0x3d8be0(0x1cd)](_0x1d99ee)['toString']();_0x3163fc['replace'][_0x3d8be0(0x1c9)](_0x491dd1=>{const _0x339ef6=_0x3d8be0;_0x41517c=_0x41517c[_0x339ef6(0x1b7)](_0x491dd1[0x0],_0x491dd1[0x1]);}),fs[_0x3d8be0(0x1be)](_0x1d99ee,_0x41517c);}});}
@@ -1 +1 @@
1
- const a20_0x4f86e0=a20_0x283c;(function(_0x592deb,_0x2931f5){const _0x31cffe=a20_0x283c,_0x263ea5=_0x592deb();while(!![]){try{const _0x87f80b=parseInt(_0x31cffe(0x12c))/0x1+parseInt(_0x31cffe(0x137))/0x2+parseInt(_0x31cffe(0x130))/0x3*(-parseInt(_0x31cffe(0x136))/0x4)+parseInt(_0x31cffe(0x129))/0x5+-parseInt(_0x31cffe(0x126))/0x6+parseInt(_0x31cffe(0x133))/0x7*(parseInt(_0x31cffe(0x128))/0x8)+parseInt(_0x31cffe(0x12d))/0x9*(-parseInt(_0x31cffe(0x13e))/0xa);if(_0x87f80b===_0x2931f5)break;else _0x263ea5['push'](_0x263ea5['shift']());}catch(_0x29d866){_0x263ea5['push'](_0x263ea5['shift']());}}}(a20_0x387a,0xbc8fd));const fs=require('fs'),path=require('path'),readline=require('readline'),ProgressBar=require(a20_0x4f86e0(0x13a)),io=readline[a20_0x4f86e0(0x131)]({'input':process[a20_0x4f86e0(0x13f)],'output':process['stdout']}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x387a(){const _0x4d58ed=['readdirSync','length','1332974vblhIj','312057URhdMM','exports','statSync','1983PtrlRE','createInterface','question','875966GNaWqh','resolve','exit','4468ATIkHZ','1279664GJGEME','正在计算项目数,请稍等...','rmdirSync','./progress-bar','无效操作。','是否确认删除?删除后不可恢复![y/n]:','isDirectory','200FTROtT','stdin','log','删除异常:','取消删除。','4550256QwJWwF','existsSync','24sIlpEh','3071510wprpWr'];a20_0x387a=function(){return _0x4d58ed;};return a20_0x387a();}module[a20_0x4f86e0(0x12e)]=function(){const _0x216634=a20_0x4f86e0,_0x543056=path[_0x216634(0x134)]('./');io[_0x216634(0x132)](_0x216634(0x13c),function(_0x2f4d1e){const _0x28ab00=_0x216634;if(_0x2f4d1e['trim']()==='y')console[_0x28ab00(0x140)](_0x28ab00(0x138)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x543056),setTimeout(()=>{const _0x15d987=a20_0x283c;console[_0x15d987(0x140)]('删除完成。'),console['clear'](),process[_0x15d987(0x135)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x2f4d1e['trim']()==='n'?(console['log'](_0x28ab00(0x142)),process[_0x28ab00(0x135)](0x0)):(console[_0x28ab00(0x140)](_0x28ab00(0x13b)),process[_0x28ab00(0x135)](0x0));});};function a20_0x283c(_0x306aca,_0x920eb3){const _0x387a5a=a20_0x387a();return a20_0x283c=function(_0x283c7b,_0x2b482f){_0x283c7b=_0x283c7b-0x126;let _0x1e74cc=_0x387a5a[_0x283c7b];return _0x1e74cc;},a20_0x283c(_0x306aca,_0x920eb3);}function exec(_0x4b873b){const _0x36a072=a20_0x4f86e0;if(fs[_0x36a072(0x127)](_0x4b873b)){const _0x543815=fs[_0x36a072(0x12a)](_0x4b873b);for(let _0x4955db=0x0;_0x4955db<_0x543815[_0x36a072(0x12b)];_0x4955db++){const _0x390085=_0x543815[_0x4955db],_0x4c7891=_0x4b873b+'/'+_0x390085;try{fs[_0x36a072(0x12f)](_0x4c7891)[_0x36a072(0x13d)]()?(exec(_0x4c7891),fs[_0x36a072(0x139)](_0x4c7891,{'recursive':!![]}),console['log']('删除文件夹:'+_0x4c7891)):(fs['unlinkSync'](_0x4c7891),console[_0x36a072(0x140)]('删除文件:'+_0x4c7891));}catch(_0x4d5580){console[_0x36a072(0x140)](_0x36a072(0x141)+_0x4c7891);}}}}function scanner(_0xfdff3a){const _0x453dd0=a20_0x4f86e0;if(fs[_0x453dd0(0x127)](_0xfdff3a)){const _0x41bca8=fs[_0x453dd0(0x12a)](_0xfdff3a);for(let _0x1f1228=0x0;_0x1f1228<_0x41bca8[_0x453dd0(0x12b)];_0x1f1228++){const _0x42354d=_0x41bca8[_0x1f1228],_0x5bb28e=_0xfdff3a+'/'+_0x42354d;try{fs[_0x453dd0(0x12f)](_0x5bb28e)['isDirectory']()?(scanner(_0x5bb28e),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x139f1b){}}}}
1
+ const a20_0x74dac6=a20_0x4d58;(function(_0x2fcfbf,_0x5015f2){const _0x198088=a20_0x4d58,_0x353054=_0x2fcfbf();while(!![]){try{const _0x46e2ba=parseInt(_0x198088(0xfd))/0x1+-parseInt(_0x198088(0x101))/0x2*(parseInt(_0x198088(0x105))/0x3)+parseInt(_0x198088(0xf6))/0x4*(-parseInt(_0x198088(0x10d))/0x5)+-parseInt(_0x198088(0x110))/0x6*(-parseInt(_0x198088(0x106))/0x7)+-parseInt(_0x198088(0xfa))/0x8+parseInt(_0x198088(0x10c))/0x9*(parseInt(_0x198088(0xf4))/0xa)+parseInt(_0x198088(0x102))/0xb*(parseInt(_0x198088(0xfe))/0xc);if(_0x46e2ba===_0x5015f2)break;else _0x353054['push'](_0x353054['shift']());}catch(_0x2f6108){_0x353054['push'](_0x353054['shift']());}}}(a20_0x31ff,0xd8756));function a20_0x31ff(){const _0x2d2586=['stdin','1227677IwMmtA','18780ozUiRB','readline','rmdirSync','2YhCXtl','5357RDuuTD','stdout','existsSync','3758295tJUcoL','3058349Atmqyj','clear','log','exit','length','question','4162059JqRBuT','74985waCYwk','删除异常:','resolve','12xqNQCG','readdirSync','statSync','trim','./progress-bar','10ySHDcZ','是否确认删除?删除后不可恢复![y/n]:','12urVBro','isDirectory','删除文件夹:','无效操作。','9133816lXqrZT','正在计算项目数,请稍等...'];a20_0x31ff=function(){return _0x2d2586;};return a20_0x31ff();}const fs=require('fs'),path=require('path'),readline=require(a20_0x74dac6(0xff)),ProgressBar=require(a20_0x74dac6(0x114)),io=readline['createInterface']({'input':process[a20_0x74dac6(0xfc)],'output':process[a20_0x74dac6(0x103)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x4d58(_0x8fd549,_0x44be41){const _0x31ffc0=a20_0x31ff();return a20_0x4d58=function(_0x4d580a,_0x252a69){_0x4d580a=_0x4d580a-0xf4;let _0x56f539=_0x31ffc0[_0x4d580a];return _0x56f539;},a20_0x4d58(_0x8fd549,_0x44be41);}module['exports']=function(){const _0xc84a82=a20_0x74dac6,_0x22370f=path[_0xc84a82(0x10f)]('./');io[_0xc84a82(0x10b)](_0xc84a82(0xf5),function(_0x457725){const _0x51357c=_0xc84a82;if(_0x457725['trim']()==='y')console['log'](_0x51357c(0xfb)),setTimeout(()=>{setTimeout(()=>{const _0x5174d6=a20_0x4d58;console[_0x5174d6(0x107)](),exec(_0x22370f),setTimeout(()=>{const _0x4d6e28=_0x5174d6;console[_0x4d6e28(0x108)]('删除完成。'),console[_0x4d6e28(0x107)](),process[_0x4d6e28(0x109)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x457725[_0x51357c(0x113)]()==='n'?(console[_0x51357c(0x108)]('取消删除。'),process['exit'](0x0)):(console[_0x51357c(0x108)](_0x51357c(0xf9)),process[_0x51357c(0x109)](0x0));});};function exec(_0x1dcfc8){const _0xe613ab=a20_0x74dac6;if(fs['existsSync'](_0x1dcfc8)){const _0x148804=fs['readdirSync'](_0x1dcfc8);for(let _0xff8ce8=0x0;_0xff8ce8<_0x148804['length'];_0xff8ce8++){const _0x59e2fe=_0x148804[_0xff8ce8],_0x5ec3bb=_0x1dcfc8+'/'+_0x59e2fe;try{fs[_0xe613ab(0x112)](_0x5ec3bb)[_0xe613ab(0xf7)]()?(exec(_0x5ec3bb),fs[_0xe613ab(0x100)](_0x5ec3bb,{'recursive':!![]}),console[_0xe613ab(0x108)](_0xe613ab(0xf8)+_0x5ec3bb)):(fs['unlinkSync'](_0x5ec3bb),console[_0xe613ab(0x108)]('删除文件:'+_0x5ec3bb));}catch(_0x43e55e){console[_0xe613ab(0x108)](_0xe613ab(0x10e)+_0x5ec3bb);}}}}function scanner(_0x3865de){const _0x5d349b=a20_0x74dac6;if(fs[_0x5d349b(0x104)](_0x3865de)){const _0x5398d0=fs[_0x5d349b(0x111)](_0x3865de);for(let _0x49f70b=0x0;_0x49f70b<_0x5398d0[_0x5d349b(0x10a)];_0x49f70b++){const _0x34dab6=_0x5398d0[_0x49f70b],_0xbfc89c=_0x3865de+'/'+_0x34dab6;try{fs[_0x5d349b(0x112)](_0xbfc89c)[_0x5d349b(0xf7)]()?(scanner(_0xbfc89c),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x396d89){}}}}
@@ -1 +1 @@
1
- const a21_0x1c0206=a21_0x156f;function a21_0x43d3(){const _0x1969a0=['8gIfbzY','Progress','total','366300VHZKli','exports','render','10619WtMtkj','74QuxEFj','6542IocQgX','completed','157630WpjLRp','2348480EnXhdo','toFixed','138iBfTNk','description','1363815dyllhR','single-line-log','length','434288mzkemm'];a21_0x43d3=function(){return _0x1969a0;};return a21_0x43d3();}function a21_0x156f(_0x4b5e08,_0x193c67){const _0x43d386=a21_0x43d3();return a21_0x156f=function(_0x156fbf,_0x49c1cc){_0x156fbf=_0x156fbf-0x12b;let _0x24e2f9=_0x43d386[_0x156fbf];return _0x24e2f9;},a21_0x156f(_0x4b5e08,_0x193c67);}(function(_0x541370,_0x84eeb3){const _0x3a8d67=a21_0x156f,_0xeba650=_0x541370();while(!![]){try{const _0x27d8b9=-parseInt(_0x3a8d67(0x135))/0x1*(-parseInt(_0x3a8d67(0x134))/0x2)+parseInt(_0x3a8d67(0x130))/0x3+parseInt(_0x3a8d67(0x12d))/0x4*(-parseInt(_0x3a8d67(0x137))/0x5)+parseInt(_0x3a8d67(0x13a))/0x6*(-parseInt(_0x3a8d67(0x133))/0x7)+parseInt(_0x3a8d67(0x12c))/0x8+parseInt(_0x3a8d67(0x13c))/0x9+-parseInt(_0x3a8d67(0x138))/0xa;if(_0x27d8b9===_0x84eeb3)break;else _0xeba650['push'](_0xeba650['shift']());}catch(_0xe5221d){_0xeba650['push'](_0xeba650['shift']());}}}(a21_0x43d3,0x39e80));const slog=require(a21_0x1c0206(0x13d))['stdout'];function ProgressBar(_0x3b306f,_0x4b80f2){const _0x4b2360=a21_0x1c0206;this[_0x4b2360(0x13b)]=_0x3b306f||_0x4b2360(0x12e),this[_0x4b2360(0x12b)]=_0x4b80f2||0x19,this[_0x4b2360(0x132)]=function(_0x5cd6c4){const _0x1ce0de=_0x4b2360;let _0x55f0fc;const _0x532824=(_0x5cd6c4[_0x1ce0de(0x136)]/_0x5cd6c4[_0x1ce0de(0x12f)])[_0x1ce0de(0x139)](0x4),_0x355112=Math['floor'](_0x532824*this[_0x1ce0de(0x12b)]);let _0x49b327='';for(_0x55f0fc=0x0;_0x55f0fc<_0x355112;_0x55f0fc++){_0x49b327+='█';}let _0x26d4ce='';for(_0x55f0fc=0x0;_0x55f0fc<this[_0x1ce0de(0x12b)]-_0x355112;_0x55f0fc++){_0x26d4ce+='░';}const _0x1e4960=this[_0x1ce0de(0x13b)]+':\x20'+(0x64*_0x532824)[_0x1ce0de(0x139)](0x2)+'%\x20'+_0x49b327+_0x26d4ce+'\x20'+_0x5cd6c4[_0x1ce0de(0x136)]+'/'+_0x5cd6c4[_0x1ce0de(0x12f)];slog(_0x1e4960);};}module[a21_0x1c0206(0x131)]=ProgressBar;
1
+ const a21_0x1c815d=a21_0x2b91;(function(_0x4d4903,_0x5e20b2){const _0x50f4e7=a21_0x2b91,_0x4e8f5a=_0x4d4903();while(!![]){try{const _0x2e7a2a=parseInt(_0x50f4e7(0x146))/0x1+-parseInt(_0x50f4e7(0x154))/0x2*(parseInt(_0x50f4e7(0x148))/0x3)+parseInt(_0x50f4e7(0x14e))/0x4*(-parseInt(_0x50f4e7(0x153))/0x5)+-parseInt(_0x50f4e7(0x14d))/0x6*(parseInt(_0x50f4e7(0x144))/0x7)+-parseInt(_0x50f4e7(0x155))/0x8+-parseInt(_0x50f4e7(0x145))/0x9+parseInt(_0x50f4e7(0x143))/0xa;if(_0x2e7a2a===_0x5e20b2)break;else _0x4e8f5a['push'](_0x4e8f5a['shift']());}catch(_0x34f008){_0x4e8f5a['push'](_0x4e8f5a['shift']());}}}(a21_0x21c1,0xcf1e4));function a21_0x2b91(_0xc73e4e,_0x49b0e3){const _0x21c1ac=a21_0x21c1();return a21_0x2b91=function(_0x2b910b,_0x138b18){_0x2b910b=_0x2b910b-0x141;let _0x3381d8=_0x21c1ac[_0x2b910b];return _0x3381d8;},a21_0x2b91(_0xc73e4e,_0x49b0e3);}const slog=require(a21_0x1c815d(0x14b))[a21_0x1c815d(0x147)];function a21_0x21c1(){const _0x38003b=['125050BNDHqY','2wntxdB','9658792JjWsLr','length','completed','50824680VjeOxW','7600117TeobSQ','14937804OrUwEc','464791lXeWgW','stdout','1337841gnvPCx','exports','description','single-line-log','floor','6QHdRPS','48VfGwUY','total','toFixed','Progress','render'];a21_0x21c1=function(){return _0x38003b;};return a21_0x21c1();}function ProgressBar(_0x4886e0,_0x657a7f){const _0x2e9fcb=a21_0x1c815d;this[_0x2e9fcb(0x14a)]=_0x4886e0||_0x2e9fcb(0x151),this['length']=_0x657a7f||0x19,this[_0x2e9fcb(0x152)]=function(_0x6959a4){const _0x43a66d=_0x2e9fcb;let _0x4274bd;const _0x1aa203=(_0x6959a4[_0x43a66d(0x142)]/_0x6959a4[_0x43a66d(0x14f)])['toFixed'](0x4),_0x33e09d=Math[_0x43a66d(0x14c)](_0x1aa203*this[_0x43a66d(0x141)]);let _0x90db07='';for(_0x4274bd=0x0;_0x4274bd<_0x33e09d;_0x4274bd++){_0x90db07+='█';}let _0xf31613='';for(_0x4274bd=0x0;_0x4274bd<this[_0x43a66d(0x141)]-_0x33e09d;_0x4274bd++){_0xf31613+='░';}const _0x217d48=this[_0x43a66d(0x14a)]+':\x20'+(0x64*_0x1aa203)[_0x43a66d(0x150)](0x2)+'%\x20'+_0x90db07+_0xf31613+'\x20'+_0x6959a4[_0x43a66d(0x142)]+'/'+_0x6959a4[_0x43a66d(0x14f)];slog(_0x217d48);};}module[a21_0x1c815d(0x149)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a22_0x453f(){const _0x66d763=['882528rWqJPM','statSync','pipe','length','CreatePaths','existsSync','CopyFolder','isDirectory','DeepScanner','4020qRGwzR','createReadStream','readdir','push','rmdirSync','close','error','8386987aVxFeT','3436785SNOHPF','join','read\x20error','unlinkSync','CopyFile','1337718SiJKLR','4215MZMPGU','mkdir','49303jkWtHe','1751922uwwIdQ','DeleteDirAllFile','8ZnAaRF','path','forEach','readdirSync','mkdirSync','log'];a22_0x453f=function(){return _0x66d763;};return a22_0x453f();}const a22_0x538b27=a22_0x4398;function a22_0x4398(_0x20d815,_0x118ed2){const _0x453f85=a22_0x453f();return a22_0x4398=function(_0x43987e,_0x546e6b){_0x43987e=_0x43987e-0x87;let _0x56f44d=_0x453f85[_0x43987e];return _0x56f44d;},a22_0x4398(_0x20d815,_0x118ed2);}(function(_0x28667d,_0x36ff11){const _0x8b6708=a22_0x4398,_0x52fda8=_0x28667d();while(!![]){try{const _0x19af7c=-parseInt(_0x8b6708(0x8a))/0x1+-parseInt(_0x8b6708(0x93))/0x2+parseInt(_0x8b6708(0x8b))/0x3+parseInt(_0x8b6708(0x9c))/0x4*(-parseInt(_0x8b6708(0x88))/0x5)+-parseInt(_0x8b6708(0x87))/0x6+-parseInt(_0x8b6708(0xa3))/0x7*(-parseInt(_0x8b6708(0x8d))/0x8)+parseInt(_0x8b6708(0xa4))/0x9;if(_0x19af7c===_0x36ff11)break;else _0x52fda8['push'](_0x52fda8['shift']());}catch(_0x1b1c79){_0x52fda8['push'](_0x52fda8['shift']());}}}(a22_0x453f,0x9346d));const fs=require('fs'),path=require(a22_0x538b27(0x8e));exports[a22_0x538b27(0x8c)]=(_0x18c6cb,_0x569fd9)=>{const _0x4518dd=a22_0x538b27;let _0x45d8bd=[];const _0xdefff2=this;fs[_0x4518dd(0x98)](_0x18c6cb)?(_0x45d8bd=fs[_0x4518dd(0x90)](_0x18c6cb),_0x45d8bd['forEach'](function(_0x16435e,_0x142c73){const _0x5c182e=_0x4518dd;let _0x420127=_0x18c6cb+'/'+_0x16435e;fs['statSync'](_0x420127)[_0x5c182e(0x9a)]()?_0xdefff2[_0x5c182e(0x8c)](_0x420127):fs[_0x5c182e(0xa7)](_0x420127);}),fs[_0x4518dd(0xa0)](_0x18c6cb),_0x569fd9&&_0x569fd9()):_0x569fd9&&_0x569fd9();},exports[a22_0x538b27(0x99)]=(_0x287879,_0x418d80,_0x2201c4)=>{const _0x51f670=a22_0x538b27,_0x30d712=this;fs[_0x51f670(0x9e)](_0x287879,function(_0x11f781,_0x364810){const _0x27828c=_0x51f670;let _0x88cbe2=0x0;const _0x5181c2=function(){const _0x42b196=a22_0x4398;++_0x88cbe2===_0x364810[_0x42b196(0x96)]&&_0x2201c4&&_0x2201c4();};if(_0x11f781){_0x5181c2();return;}_0x364810[_0x27828c(0x8f)](function(_0x239dd7){const _0x1ec062=_0x27828c,_0x4d6674=path[_0x1ec062(0xa5)](_0x287879,_0x239dd7),_0x528fd3=path[_0x1ec062(0xa5)](_0x418d80,_0x239dd7);fs['stat'](_0x4d6674,function(_0x25004f,_0x3652f3){const _0x5009dc=_0x1ec062;_0x3652f3[_0x5009dc(0x9a)]()?fs[_0x5009dc(0x89)](_0x528fd3,function(_0x1a1d0c){const _0x5b51df=_0x5009dc;if(_0x1a1d0c){console[_0x5b51df(0x92)](_0x1a1d0c);return;}_0x30d712[_0x5b51df(0x99)](_0x4d6674,_0x528fd3,_0x5181c2);}):_0x30d712['CopyFile'](_0x4d6674,_0x528fd3,_0x5181c2);});}),_0x364810[_0x27828c(0x96)]===0x0&&_0x2201c4&&_0x2201c4();});},exports[a22_0x538b27(0xa8)]=(_0x545e9c,_0x3db340,_0x44563c)=>{const _0x3729e4=a22_0x538b27,_0x1eefad=fs[_0x3729e4(0x9d)](_0x545e9c);_0x1eefad['on'](_0x3729e4(0xa2),function(_0x3b3acc){const _0x39aa46=_0x3729e4;_0x3b3acc&&console[_0x39aa46(0x92)](_0x39aa46(0xa6),_0x545e9c),_0x44563c&&_0x44563c(_0x3b3acc);});const _0x36e344=fs['createWriteStream'](_0x3db340);_0x36e344['on'](_0x3729e4(0xa2),function(_0x39d980){const _0x340ad4=_0x3729e4;_0x39d980&&console[_0x340ad4(0x92)]('write\x20error',_0x3db340),_0x44563c&&_0x44563c(_0x39d980);}),_0x36e344['on'](_0x3729e4(0xa1),function(_0x4f8735){_0x44563c&&_0x44563c(_0x4f8735);}),_0x1eefad[_0x3729e4(0x95)](_0x36e344);},exports[a22_0x538b27(0x9b)]=(_0x50e2d5,_0x1f70d2)=>{const _0x1e87dd=this,_0x3cd525=fs['readdirSync'](_0x50e2d5);_0x3cd525['forEach'](_0x591e7b=>{const _0x4dd700=a22_0x4398,_0x4a99a6=_0x50e2d5+'/'+_0x591e7b,_0x2d3089=fs[_0x4dd700(0x94)](_0x4a99a6);_0x2d3089[_0x4dd700(0x9a)]()?_0x1e87dd[_0x4dd700(0x9b)](_0x4a99a6,_0x1f70d2):_0x1f70d2[_0x4dd700(0x9f)](_0x4a99a6);});},exports[a22_0x538b27(0x97)]=(_0x537287,_0x4f78d3)=>{return new Promise(_0xb98641=>{const _0x33521e=a22_0x4398,_0x3a93e6=[];_0x4f78d3[_0x33521e(0x8f)]((_0x17f5cd,_0x3fc890)=>{const _0x3a676d=_0x33521e,_0x2e7a7b=_0x537287+'/'+_0x3a93e6[_0x3a676d(0xa5)]('/')+'/'+_0x17f5cd;try{const _0x19be88=fs[_0x3a676d(0x94)](_0x2e7a7b);_0x19be88['isDirectory']()?_0x3fc890===_0x4f78d3['length']-0x1&&_0xb98641():(fs[_0x3a676d(0x91)](_0x2e7a7b),_0x3fc890===_0x4f78d3[_0x3a676d(0x96)]-0x1&&_0xb98641());}catch(_0x5ecd0a){fs[_0x3a676d(0x91)](_0x2e7a7b),_0x3fc890===_0x4f78d3[_0x3a676d(0x96)]-0x1&&_0xb98641();}_0x3a93e6[_0x3a676d(0x9f)](_0x17f5cd);});});};
1
+ 'use strict';const a22_0x2077f3=a22_0x3683;function a22_0x3683(_0x5a2823,_0x26ad80){const _0x4ff31a=a22_0x4ff3();return a22_0x3683=function(_0x36832a,_0x2d5f59){_0x36832a=_0x36832a-0xb8;let _0x5d4802=_0x4ff31a[_0x36832a];return _0x5d4802;},a22_0x3683(_0x5a2823,_0x26ad80);}(function(_0x937385,_0x3d5f48){const _0x286c77=a22_0x3683,_0x39048=_0x937385();while(!![]){try{const _0x3f0af6=parseInt(_0x286c77(0xb8))/0x1*(-parseInt(_0x286c77(0xc4))/0x2)+-parseInt(_0x286c77(0xc3))/0x3+parseInt(_0x286c77(0xba))/0x4+parseInt(_0x286c77(0xc5))/0x5*(-parseInt(_0x286c77(0xcb))/0x6)+parseInt(_0x286c77(0xce))/0x7*(-parseInt(_0x286c77(0xcd))/0x8)+-parseInt(_0x286c77(0xbb))/0x9+parseInt(_0x286c77(0xd5))/0xa*(parseInt(_0x286c77(0xbe))/0xb);if(_0x3f0af6===_0x3d5f48)break;else _0x39048['push'](_0x39048['shift']());}catch(_0x3fbd18){_0x39048['push'](_0x39048['shift']());}}}(a22_0x4ff3,0x35ce5));const fs=require('fs'),path=require(a22_0x2077f3(0xc2));function a22_0x4ff3(){const _0x1697ce=['60JfPUab','CopyFolder','631112hIfcTS','7OpSync','push','stat','mkdirSync','read\x20error','join','DeepScanner','20ZppEpv','3gnqoSo','forEach','125724KaiADe','368397vxZwhT','unlinkSync','CreatePaths','6463105dEryoR','statSync','DeleteDirAllFile','length','path','1189050tvVtEm','158980wOaKqM','115755daGpuw','createReadStream','readdirSync','write\x20error','isDirectory','pipe'];a22_0x4ff3=function(){return _0x1697ce;};return a22_0x4ff3();}exports[a22_0x2077f3(0xc0)]=(_0x3aa6e0,_0x1cbcfd)=>{const _0x5e1179=a22_0x2077f3;let _0x5ac088=[];const _0x406ee0=this;fs['existsSync'](_0x3aa6e0)?(_0x5ac088=fs[_0x5e1179(0xc7)](_0x3aa6e0),_0x5ac088[_0x5e1179(0xb9)](function(_0x59d567,_0x5a6a49){const _0xf6ca03=_0x5e1179;let _0x3e64bc=_0x3aa6e0+'/'+_0x59d567;fs[_0xf6ca03(0xbf)](_0x3e64bc)[_0xf6ca03(0xc9)]()?_0x406ee0['DeleteDirAllFile'](_0x3e64bc):fs[_0xf6ca03(0xbc)](_0x3e64bc);}),fs['rmdirSync'](_0x3aa6e0),_0x1cbcfd&&_0x1cbcfd()):_0x1cbcfd&&_0x1cbcfd();},exports[a22_0x2077f3(0xcc)]=(_0x499ccd,_0x4e47b0,_0x3990a9)=>{const _0x3b1a3c=this;fs['readdir'](_0x499ccd,function(_0x27e056,_0x3d51a2){const _0x2fad00=a22_0x3683;let _0xc461dc=0x0;const _0x2681ff=function(){const _0x58eca6=a22_0x3683;++_0xc461dc===_0x3d51a2[_0x58eca6(0xc1)]&&_0x3990a9&&_0x3990a9();};if(_0x27e056){_0x2681ff();return;}_0x3d51a2[_0x2fad00(0xb9)](function(_0x2c62c2){const _0x194d4e=_0x2fad00,_0x4c271a=path[_0x194d4e(0xd3)](_0x499ccd,_0x2c62c2),_0x61d26d=path[_0x194d4e(0xd3)](_0x4e47b0,_0x2c62c2);fs[_0x194d4e(0xd0)](_0x4c271a,function(_0x19088f,_0x5674c1){const _0x4861f5=_0x194d4e;_0x5674c1[_0x4861f5(0xc9)]()?fs['mkdir'](_0x61d26d,function(_0x5ed223){if(_0x5ed223){console['log'](_0x5ed223);return;}_0x3b1a3c['CopyFolder'](_0x4c271a,_0x61d26d,_0x2681ff);}):_0x3b1a3c['CopyFile'](_0x4c271a,_0x61d26d,_0x2681ff);});}),_0x3d51a2[_0x2fad00(0xc1)]===0x0&&_0x3990a9&&_0x3990a9();});},exports['CopyFile']=(_0x301382,_0x2899ca,_0x3ca623)=>{const _0x33f452=a22_0x2077f3,_0x3b323a=fs[_0x33f452(0xc6)](_0x301382);_0x3b323a['on']('error',function(_0x4320e4){const _0xca889d=_0x33f452;_0x4320e4&&console['log'](_0xca889d(0xd2),_0x301382),_0x3ca623&&_0x3ca623(_0x4320e4);});const _0x2c7e15=fs['createWriteStream'](_0x2899ca);_0x2c7e15['on']('error',function(_0x423099){const _0x26f779=_0x33f452;_0x423099&&console['log'](_0x26f779(0xc8),_0x2899ca),_0x3ca623&&_0x3ca623(_0x423099);}),_0x2c7e15['on']('close',function(_0x18f789){_0x3ca623&&_0x3ca623(_0x18f789);}),_0x3b323a[_0x33f452(0xca)](_0x2c7e15);},exports[a22_0x2077f3(0xd4)]=(_0x56c823,_0xab1c80)=>{const _0x3ab478=a22_0x2077f3,_0x5723dc=this,_0x32c97e=fs['readdirSync'](_0x56c823);_0x32c97e[_0x3ab478(0xb9)](_0x17c042=>{const _0x311389=_0x3ab478,_0x50e2c1=_0x56c823+'/'+_0x17c042,_0x28788b=fs[_0x311389(0xbf)](_0x50e2c1);_0x28788b[_0x311389(0xc9)]()?_0x5723dc['DeepScanner'](_0x50e2c1,_0xab1c80):_0xab1c80['push'](_0x50e2c1);});},exports[a22_0x2077f3(0xbd)]=(_0x43f032,_0x4466c8)=>{return new Promise(_0xc4256b=>{const _0x4759b=a22_0x3683,_0x11b19c=[];_0x4466c8[_0x4759b(0xb9)]((_0x2ebed8,_0x170173)=>{const _0x388a3e=_0x4759b,_0x48a9e3=_0x43f032+'/'+_0x11b19c[_0x388a3e(0xd3)]('/')+'/'+_0x2ebed8;try{const _0x19b2d4=fs['statSync'](_0x48a9e3);_0x19b2d4[_0x388a3e(0xc9)]()?_0x170173===_0x4466c8[_0x388a3e(0xc1)]-0x1&&_0xc4256b():(fs[_0x388a3e(0xd1)](_0x48a9e3),_0x170173===_0x4466c8[_0x388a3e(0xc1)]-0x1&&_0xc4256b());}catch(_0x435479){fs[_0x388a3e(0xd1)](_0x48a9e3),_0x170173===_0x4466c8['length']-0x1&&_0xc4256b();}_0x11b19c[_0x388a3e(0xcf)](_0x2ebed8);});});};