jjb-cmd 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
4
  <li>
5
- <p>2.1.1</p>
5
+ <p>2.1.3</p>
6
+ <div>push指令增加打包到java容器,参数java test(环境) 更新文案(版本描述)</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.2</p>
6
10
  <div>修改提交npm代码整体结构</div>
7
11
  </li>
8
12
  <li>
package/bin/command.js CHANGED
@@ -83,6 +83,8 @@ commander.command('push [args]').description('-- 发布包').action(args => {
83
83
  if ([ 'latest' ].includes(args)) {
84
84
  require('../src/new/cmd.push/index.js')('latest');
85
85
  }
86
+ } else if (['java'].includes(args)) {
87
+ require('../src/new/cmd.push/java.js')(process.argv.splice(3));
86
88
  } else {
87
89
  console.log(`无效的选项‘${args}’。`);
88
90
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "jjb脚手架工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,6 @@
16
16
  "axios": "^1.1.3",
17
17
  "commander": "^1.3.2",
18
18
  "compressing": "^1.5.1",
19
- "javascript-obfuscator": "^4.0.2",
20
19
  "request": "2.88.2",
21
20
  "single-line-log": "1.1.2"
22
21
  }
@@ -1 +1 @@
1
- function a0_0x4fe2(_0x4c3ebb,_0x528d52){const _0x4fc926=a0_0x4fc9();return a0_0x4fe2=function(_0x4fe2ff,_0xea0a9a){_0x4fe2ff=_0x4fe2ff-0x1b5;let _0x382065=_0x4fc926[_0x4fe2ff];return _0x382065;},a0_0x4fe2(_0x4c3ebb,_0x528d52);}const a0_0x289b3d=a0_0x4fe2;(function(_0x561784,_0x111ad1){const _0x159a79=a0_0x4fe2,_0x152f99=_0x561784();while(!![]){try{const _0x52f3c7=-parseInt(_0x159a79(0x1bb))/0x1+-parseInt(_0x159a79(0x1bd))/0x2+parseInt(_0x159a79(0x1ce))/0x3+parseInt(_0x159a79(0x1cd))/0x4*(-parseInt(_0x159a79(0x1ba))/0x5)+-parseInt(_0x159a79(0x1d0))/0x6+parseInt(_0x159a79(0x1c8))/0x7*(parseInt(_0x159a79(0x1cc))/0x8)+-parseInt(_0x159a79(0x1ca))/0x9*(-parseInt(_0x159a79(0x1b8))/0xa);if(_0x52f3c7===_0x111ad1)break;else _0x152f99['push'](_0x152f99['shift']());}catch(_0x3b3e79){_0x152f99['push'](_0x152f99['shift']());}}}(a0_0x4fc9,0x49203));function a0_0x4fc9(){const _0x466f87=['36VvUAke','exports','1136pzZiBq','4yuouGi','1078995qywHdn','不存在。','1052658HKypxt','exit','.zip','&ref=master','pipe','projectId','1731580ZmjsEb','resolve','834930wbmlEw','363446EQRJwo','../cmd.install/tools','522922teCnWx','token','../../old/util','/repository/archive.zip?private_token=','request','zip','/unzip/','log','uncompress','indexOf','mkdirSync','10577cDjpxy','/api/v4/projects/'];a0_0x4fc9=function(){return _0x466f87;};return a0_0x4fc9();}const path=require('path'),{f_file_copy}=require(a0_0x289b3d(0x1bc)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a0_0x289b3d(0x1bf)),request=require(a0_0x289b3d(0x1c1)),compressing=require('compressing');module[a0_0x289b3d(0x1cb)]=_0x5772b6=>{const _0x379ef3=a0_0x289b3d,_0x16a8c2=path[_0x379ef3(0x1b9)]('./'),_0x23c7f8=CLOUD_PROJECT[_0x5772b6]||undefined;if(_0x23c7f8){const _0x1d8c6b=os['tmpdir'](),_0x6a3cea=_0x1d8c6b+'/'+GIT_TEMP_DIR+'/'+_0x5772b6+_0x379ef3(0x1d2),_0xcbaf0c=_0x1d8c6b+'/'+GIT_TEMP_DIR+_0x379ef3(0x1c3);utils['DeleteDirAllFile'](_0x1d8c6b+'/'+GIT_TEMP_DIR,()=>{const _0x537390=_0x379ef3;fs[_0x537390(0x1c7)](_0x1d8c6b+'/'+GIT_TEMP_DIR);let _0x29c2b1=fs['createWriteStream'](_0x6a3cea);request(GIT_HOST+_0x537390(0x1c9)+_0x23c7f8[_0x537390(0x1b7)]+_0x537390(0x1c0)+_0x23c7f8[_0x537390(0x1be)]+_0x537390(0x1b5))[_0x537390(0x1b6)](_0x29c2b1)['on']('close',()=>{const _0x315d79=_0x537390;fs['mkdirSync'](_0xcbaf0c),compressing[_0x315d79(0x1c2)][_0x315d79(0x1c5)](_0x6a3cea,_0xcbaf0c)['then'](()=>{setTimeout(()=>{fs['readdirSync'](_0xcbaf0c)['forEach'](_0x56346e=>{const _0x9adf69=a0_0x4fe2;_0x56346e[_0x9adf69(0x1c6)]('-master-')!==-0x1&&utils['CopyFolder'](_0xcbaf0c+_0x56346e,_0x16a8c2,()=>{const _0x81cfcf=_0x9adf69;console[_0x81cfcf(0x1c4)]('初始化完成!'),process[_0x81cfcf(0x1d1)](0x0);});});},0x7d0);});});});}else console['log']('【Error】:初始化失败,'+_0x5772b6+_0x379ef3(0x1cf));};
1
+ const a0_0x46aaca=a0_0x5bf8;(function(_0xf96aad,_0x2c4da5){const _0x2ca7da=a0_0x5bf8,_0x5722ab=_0xf96aad();while(!![]){try{const _0x3f210c=-parseInt(_0x2ca7da(0x177))/0x1+parseInt(_0x2ca7da(0x173))/0x2*(-parseInt(_0x2ca7da(0x18c))/0x3)+-parseInt(_0x2ca7da(0x170))/0x4+parseInt(_0x2ca7da(0x17e))/0x5+-parseInt(_0x2ca7da(0x172))/0x6+-parseInt(_0x2ca7da(0x171))/0x7*(-parseInt(_0x2ca7da(0x188))/0x8)+parseInt(_0x2ca7da(0x181))/0x9;if(_0x3f210c===_0x2c4da5)break;else _0x5722ab['push'](_0x5722ab['shift']());}catch(_0x3402c4){_0x5722ab['push'](_0x5722ab['shift']());}}}(a0_0x7b95,0x2bace));const path=require(a0_0x46aaca(0x175)),{f_file_copy}=require(a0_0x46aaca(0x186)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a0_0x46aaca(0x18b)),request=require(a0_0x46aaca(0x17a)),compressing=require('compressing');function a0_0x7b95(){const _0x53d228=['log','.zip','../cmd.install/tools','forEach','7304ugJTKX','/api/v4/projects/','/repository/archive.zip?private_token=','../../old/util','78INgYQA','zip','then','token','mkdirSync','1307928DqMULf','1442lsYqeW','1650810CfObsc','7674vJyBJW','CopyFolder','path','createWriteStream','65838BrdBqO','readdirSync','resolve','request','/unzip/','close','不存在。','185405Qqkecj','projectId','初始化完成!','6493068ViUkXV','indexOf','pipe'];a0_0x7b95=function(){return _0x53d228;};return a0_0x7b95();}function a0_0x5bf8(_0x9a0b3d,_0x333e71){const _0x7b951=a0_0x7b95();return a0_0x5bf8=function(_0x5bf830,_0x369e0b){_0x5bf830=_0x5bf830-0x16e;let _0x247fc8=_0x7b951[_0x5bf830];return _0x247fc8;},a0_0x5bf8(_0x9a0b3d,_0x333e71);}module['exports']=_0xe6de66=>{const _0x438482=a0_0x46aaca,_0x45a31f=path[_0x438482(0x179)]('./'),_0x4a57f4=CLOUD_PROJECT[_0xe6de66]||undefined;if(_0x4a57f4){const _0x18914b=os['tmpdir'](),_0x2529bf=_0x18914b+'/'+GIT_TEMP_DIR+'/'+_0xe6de66+_0x438482(0x185),_0x768b97=_0x18914b+'/'+GIT_TEMP_DIR+_0x438482(0x17b);utils['DeleteDirAllFile'](_0x18914b+'/'+GIT_TEMP_DIR,()=>{const _0x240783=_0x438482;fs[_0x240783(0x16f)](_0x18914b+'/'+GIT_TEMP_DIR);let _0xe8be58=fs[_0x240783(0x176)](_0x2529bf);request(GIT_HOST+_0x240783(0x189)+_0x4a57f4[_0x240783(0x17f)]+_0x240783(0x18a)+_0x4a57f4[_0x240783(0x16e)]+'&ref=master')[_0x240783(0x183)](_0xe8be58)['on'](_0x240783(0x17c),()=>{const _0x1a2d50=_0x240783;fs[_0x1a2d50(0x16f)](_0x768b97),compressing[_0x1a2d50(0x18d)]['uncompress'](_0x2529bf,_0x768b97)[_0x1a2d50(0x18e)](()=>{setTimeout(()=>{const _0x5329ad=a0_0x5bf8;fs[_0x5329ad(0x178)](_0x768b97)[_0x5329ad(0x187)](_0x344150=>{const _0x2412e8=_0x5329ad;_0x344150[_0x2412e8(0x182)]('-master-')!==-0x1&&utils[_0x2412e8(0x174)](_0x768b97+_0x344150,_0x45a31f,()=>{const _0x1fc5b9=_0x2412e8;console['log'](_0x1fc5b9(0x180)),process['exit'](0x0);});});},0x7d0);});});});}else console[_0x438482(0x184)]('【Error】:初始化失败,'+_0xe6de66+_0x438482(0x17d));};
@@ -1 +1 @@
1
- const a1_0x542c69=a1_0x2e00;function a1_0x54f9(){const _0x38f9ab=['5099000hWBnqJ','10726FYjJVe','gPSit8aJsLVmNzuQ5Cy4','2403605gYhedD','G4HJRsHr9D7Ssmixegw2','now','GIT_HOST','GIT_TEMP_DIR','FT3pKzxpRynFkmddJ9Bs','hLqARY89CN6fUD3yg4NL','3729117hLjjzL','e9njpBd1nS_LREN8GFpR','362628iszDPV','d4wQ7dzEjYPsgVbKnYei','jjbAssembly_','7V-YUxhmh51Mdhgx4rq4','TEMPLATE_FOLDER','110yRWyuA','536KyhRQV','123416lCCMUs','121CPPGXl','ywPtT3xCG6b_vAxp6sTj','6ODXnnW','36XcWShP','8637MXEidd'];a1_0x54f9=function(){return _0x38f9ab;};return a1_0x54f9();}(function(_0x57f4ec,_0x4ef4b3){const _0x12a1f2=a1_0x2e00,_0x264a70=_0x57f4ec();while(!![]){try{const _0x12efcf=parseInt(_0x12a1f2(0xb4))/0x1*(parseInt(_0x12a1f2(0xc4))/0x2)+parseInt(_0x12a1f2(0xb2))/0x3*(-parseInt(_0x12a1f2(0xc5))/0x4)+parseInt(_0x12a1f2(0xb6))/0x5+parseInt(_0x12a1f2(0xb0))/0x6*(parseInt(_0x12a1f2(0xbd))/0x7)+parseInt(_0x12a1f2(0xad))/0x8*(-parseInt(_0x12a1f2(0xb1))/0x9)+-parseInt(_0x12a1f2(0xb3))/0xa+parseInt(_0x12a1f2(0xae))/0xb*(-parseInt(_0x12a1f2(0xbf))/0xc);if(_0x12efcf===_0x4ef4b3)break;else _0x264a70['push'](_0x264a70['shift']());}catch(_0x2362ea){_0x264a70['push'](_0x264a70['shift']());}}}(a1_0x54f9,0x4c8eb));function a1_0x2e00(_0x56fd26,_0x8f0825){const _0x54f9b4=a1_0x54f9();return a1_0x2e00=function(_0x2e00c1,_0x47dd12){_0x2e00c1=_0x2e00c1-0xad;let _0x12c585=_0x54f9b4[_0x2e00c1];return _0x12c585;},a1_0x2e00(_0x56fd26,_0x8f0825);}const os=require('os');exports[a1_0x542c69(0xb9)]='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']=a1_0x542c69(0xc1)+Date[a1_0x542c69(0xb8)](),exports['CLOUD_PROJECT']={'common':{'token':a1_0x542c69(0xb7),'projectId':0x117},'react-admin-component':{'token':a1_0x542c69(0xbb),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x542c69(0xbc),'projectId':0x23b},'jjb-common-lib':{'token':a1_0x542c69(0xbe),'projectId':0x23c},'jjb-common-decorator':{'token':a1_0x542c69(0xb5),'projectId':0x23e},'vue-unisass-component':{'token':a1_0x542c69(0xc0),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a1_0x542c69(0xc2),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a1_0x542c69(0xaf),'projectId':0x33c}},exports[a1_0x542c69(0xc3)]=os['tmpdir']()+'\x5c'+exports[a1_0x542c69(0xba)];
1
+ const a1_0x2eef6f=a1_0xe66c;function a1_0xed51(){const _0x32ace3=['1270623IJVnnz','331045psKLSv','CLOUD_PROJECT','1818207OPTOAC','609715OUivRk','jjb-assembly-','snBxJ2i5kYarGGcsojhY','GIT_TEMP_DIR','1063828dVUlJO','16lSEuHE','TEMPLATE_FOLDER','7V-YUxhmh51Mdhgx4rq4','GIT_JAVA_ENV_JSON','prod','1344847aaRetP','test','6kCvgzN','FT3pKzxpRynFkmddJ9Bs','FqNrmFAgrxasMrbbjvq9','now','d4wQ7dzEjYPsgVbKnYei','880YOqJXE','dev','tmpdir','12MOriZW','jjb-assembly-java','hLqARY89CN6fUD3yg4NL','278608yOKGhu','http://192.168.1.242:10985','ywPtT3xCG6b_vAxp6sTj','G4HJRsHr9D7Ssmixegw2'];a1_0xed51=function(){return _0x32ace3;};return a1_0xed51();}(function(_0x10364f,_0x2d4101){const _0x5ac5e2=a1_0xe66c,_0x5be5a8=_0x10364f();while(!![]){try{const _0x489a9d=-parseInt(_0x5ac5e2(0x139))/0x1+-parseInt(_0x5ac5e2(0x140))/0x2+-parseInt(_0x5ac5e2(0x138))/0x3+-parseInt(_0x5ac5e2(0x131))/0x4*(parseInt(_0x5ac5e2(0x13c))/0x5)+parseInt(_0x5ac5e2(0x129))/0x6*(parseInt(_0x5ac5e2(0x127))/0x7)+-parseInt(_0x5ac5e2(0x141))/0x8*(parseInt(_0x5ac5e2(0x13b))/0x9)+parseInt(_0x5ac5e2(0x12e))/0xa*(parseInt(_0x5ac5e2(0x134))/0xb);if(_0x489a9d===_0x2d4101)break;else _0x5be5a8['push'](_0x5be5a8['shift']());}catch(_0x3cb1ee){_0x5be5a8['push'](_0x5be5a8['shift']());}}}(a1_0xed51,0x59042));const os=require('os');function a1_0xe66c(_0x1af9ec,_0x1f7b9e){const _0xed51f6=a1_0xed51();return a1_0xe66c=function(_0xe66c6b,_0x1de578){_0xe66c6b=_0xe66c6b-0x127;let _0x23192d=_0xed51f6[_0xe66c6b];return _0x23192d;},a1_0xe66c(_0x1af9ec,_0x1f7b9e);}exports['GIT_HOST']=a1_0x2eef6f(0x135),exports[a1_0x2eef6f(0x13f)]=a1_0x2eef6f(0x13d)+Date[a1_0x2eef6f(0x12c)](),exports['GIT_TEMP_JAVA']=a1_0x2eef6f(0x132),exports[a1_0x2eef6f(0x144)]={'development':a1_0x2eef6f(0x12f),'production':a1_0x2eef6f(0x145),'test':a1_0x2eef6f(0x128)},exports[a1_0x2eef6f(0x13a)]={'common':{'token':a1_0x2eef6f(0x137),'projectId':0x117},'react-admin-component':{'token':a1_0x2eef6f(0x12a),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x2eef6f(0x133),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a1_0x2eef6f(0x12d),'projectId':0x153},'react-component':{'token':a1_0x2eef6f(0x13e),'projectId':0x33f},'micro-app-ts':{'token':a1_0x2eef6f(0x143),'projectId':0x33e},'micro-app':{'token':a1_0x2eef6f(0x12b),'projectId':0x33d},'lib':{'token':a1_0x2eef6f(0x136),'projectId':0x33c}},exports[a1_0x2eef6f(0x142)]=os[a1_0x2eef6f(0x130)]()+'\x5c'+exports[a1_0x2eef6f(0x13f)];
@@ -1 +1 @@
1
- function a2_0x243a(){const _0x5b5784=['uncompress','1809296GZQjsZ','path','includes','107872LiaPfv','_zip','402504GMVbZx','exit','pipe','compress','readdirSync','1548747Wkbzht','.idea','src\x5c','./config','12xHqJaV','index.js','compressing','forEach','find','name','unlinkSync','replace','.gitignore','src','【jjb-cmd】:install命令执行完成,用时','existsSync','mkdirSync','installTarget','1138464DygJOa','now','111493hxdTWV','node_modules','5mTpQBf','filter','20DUbqOY','importList','map','push','571241rFYeeM','rmdirSync','installResources','log','join','close','【Error】:安装失败,src目录不存在。','exports','7oLzusm','setting.json','1.0.0','request','resolve','【Error】:安装失败,node_modules目录不存在。','length','import_list'];a2_0x243a=function(){return _0x5b5784;};return a2_0x243a();}const a2_0x285da4=a2_0x189f;function a2_0x189f(_0x4e80db,_0x348674){const _0x243a7a=a2_0x243a();return a2_0x189f=function(_0x189f2d,_0x2b47f0){_0x189f2d=_0x189f2d-0x11b;let _0x150f8f=_0x243a7a[_0x189f2d];return _0x150f8f;},a2_0x189f(_0x4e80db,_0x348674);}(function(_0x347765,_0x202624){const _0x1d1fa0=a2_0x189f,_0x38f6d7=_0x347765();while(!![]){try{const _0x5baa3c=parseInt(_0x1d1fa0(0x138))/0x1+-parseInt(_0x1d1fa0(0x11f))/0x2+parseInt(_0x1d1fa0(0x128))/0x3*(parseInt(_0x1d1fa0(0x11d))/0x4)+-parseInt(_0x1d1fa0(0x13a))/0x5*(parseInt(_0x1d1fa0(0x136))/0x6)+parseInt(_0x1d1fa0(0x148))/0x7*(parseInt(_0x1d1fa0(0x151))/0x8)+parseInt(_0x1d1fa0(0x124))/0x9+-parseInt(_0x1d1fa0(0x13c))/0xa*(parseInt(_0x1d1fa0(0x140))/0xb);if(_0x5baa3c===_0x202624)break;else _0x38f6d7['push'](_0x38f6d7['shift']());}catch(_0x1d565d){_0x38f6d7['push'](_0x38f6d7['shift']());}}}(a2_0x243a,0x1df80));const fs=require('fs'),path=require(a2_0x285da4(0x11b)),request=require(a2_0x285da4(0x14b)),compressing=require(a2_0x285da4(0x12a)),{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(a2_0x285da4(0x127)),start_time=Date[a2_0x285da4(0x137)]();module[a2_0x285da4(0x147)]=()=>{const _0x51279e=a2_0x285da4,_0x24a108=path[_0x51279e(0x14c)]('./'),_0x34dd8f=[_0x24a108,_0x51279e(0x126)][_0x51279e(0x144)]('\x5c'),_0x187de8=[_0x24a108,_0x51279e(0x139)][_0x51279e(0x144)]('\x5c'),_0x45c067=[_0x24a108,'package.json'][_0x51279e(0x144)]('\x5c');if(f_scan_jjb_config_json(_0x24a108)){const _0x57a768=f_scan_jjb_config_json_rules(_0x24a108);_0x57a768[_0x51279e(0x135)]===_0x51279e(0x139)?!fs[_0x51279e(0x133)](_0x187de8)?(console[_0x51279e(0x143)](_0x51279e(0x14d)),process[_0x51279e(0x120)](0x0)):console['log']('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs[_0x51279e(0x133)](_0x34dd8f)&&(console[_0x51279e(0x143)](_0x51279e(0x146)),process['exit'](0x0));fs[_0x51279e(0x134)](TEMPLATE_FOLDER),f_pull_git_repository(_0x57a768[_0x51279e(0x142)])[_0x51279e(0x13e)](_0x389928=>{const _0x88c928=_0x51279e,_0x87fb4e=fs['createWriteStream'](_0x389928[_0x88c928(0x11b)]);request(_0x389928['repository'])[_0x88c928(0x121)](_0x87fb4e)['on'](_0x88c928(0x145),()=>{const _0xa913ee=_0x88c928;fs[_0xa913ee(0x134)](_0x389928[_0xa913ee(0x122)]),compressing['zip'][_0xa913ee(0x150)](_0x389928[_0xa913ee(0x11b)],_0x389928[_0xa913ee(0x122)]);});});const _0x5f172d=setInterval(()=>{const _0x52c124=_0x51279e,_0x62fba4=fs['readdirSync'](TEMPLATE_FOLDER),_0x54ba22=_0x62fba4['filter'](_0x90deee=>_0x57a768[_0x52c124(0x142)][_0x52c124(0x13e)](_0x4bb827=>_0x4bb827[_0x52c124(0x12d)]+_0x52c124(0x11e))['includes'](_0x90deee));if(_0x54ba22['length']===_0x57a768['installResources']['length']){clearInterval(_0x5f172d);const _0x3e5568=[];_0x54ba22['forEach'](_0x59d284=>{const _0x2acd88=_0x52c124,_0x25fb91=[TEMPLATE_FOLDER,_0x59d284][_0x2acd88(0x144)]('\x5c');fs[_0x2acd88(0x123)](_0x25fb91)[_0x2acd88(0x12b)](_0x45915c=>_0x3e5568[_0x2acd88(0x13f)]({'name':_0x59d284,'path':[_0x25fb91,_0x45915c]['join']('\x5c'),'pure_name':_0x59d284[_0x2acd88(0x12f)](/_zip$/,''),'import_list':_0x57a768[_0x2acd88(0x142)][_0x2acd88(0x12c)](_0x57dff3=>_0x57dff3[_0x2acd88(0x12d)]+'_zip'===_0x59d284)[_0x2acd88(0x13d)]}));}),_0x3e5568['forEach'](_0x5e1aae=>{const _0x3356de=_0x52c124,_0x465249=_0x5e1aae['pure_name'],_0x3c0c16=_0x5e1aae[_0x3356de(0x14f)],_0x24127f=[_0x5e1aae['path'],_0x3356de(0x125)][_0x3356de(0x144)]('//'),_0x5a8552=[_0x5e1aae[_0x3356de(0x11b)],_0x3356de(0x130)][_0x3356de(0x144)]('//');fs['existsSync'](_0x24127f)&&(f_rm_rf(_0x24127f),fs['rmdirSync'](_0x24127f));fs[_0x3356de(0x133)](_0x5a8552)&&fs[_0x3356de(0x12e)](_0x5a8552);_0x3c0c16[_0x3356de(0x14e)]&&fs[_0x3356de(0x123)](_0x5e1aae['path'])[_0x3356de(0x13b)](_0x12bd09=>!_0x3c0c16[_0x3356de(0x11c)](_0x12bd09)&&_0x12bd09!==_0x3356de(0x129)&&_0x12bd09!==_0x3356de(0x149))[_0x3356de(0x12b)](_0x43cd06=>{const _0x7fe988=_0x3356de,_0x4ba630=_0x5e1aae['path']+'\x5c'+_0x43cd06;f_rm_rf(_0x4ba630),fs[_0x7fe988(0x141)](_0x4ba630);});if(_0x57a768[_0x3356de(0x135)]==='node_modules'){const _0x22cea0=_0x465249;fs[_0x3356de(0x133)](_0x187de8+'\x5c'+_0x22cea0)?f_rm_rf(_0x187de8+'\x5c'+_0x22cea0):fs[_0x3356de(0x134)](_0x187de8+'\x5c'+_0x22cea0),_0x22cea0!=='jjb-common-lib'?(f_file_copy(_0x5e1aae[_0x3356de(0x11b)],_0x187de8+'\x5c'+_0x22cea0),f_create_package_json(_0x187de8+'\x5c'+_0x22cea0,_0x22cea0,_0x3356de(0x14a))):f_file_copy(_0x5e1aae[_0x3356de(0x11b)]+'\x5ctypes',_0x187de8+'\x5c'+_0x22cea0),f_update_project_package_json(_0x45c067,_0x22cea0,_0x3356de(0x14a));}else _0x57a768[_0x3356de(0x135)]===_0x3356de(0x131)&&(fs[_0x3356de(0x133)](_0x34dd8f+_0x465249)?f_rm_rf(_0x34dd8f+_0x465249):fs[_0x3356de(0x134)](_0x34dd8f+_0x465249),f_file_copy(_0x5e1aae[_0x3356de(0x11b)],_0x34dd8f+_0x465249));}),setTimeout(()=>{const _0x3951a8=_0x52c124;f_rm_rf(TEMPLATE_FOLDER),fs[_0x3951a8(0x141)](TEMPLATE_FOLDER);const _0x1f5298=Date[_0x3951a8(0x137)]();console[_0x3951a8(0x143)](_0x3951a8(0x132)+(_0x1f5298-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log']('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
1
+ const a2_0x57d3b3=a2_0x1220;(function(_0x5c69ef,_0x20f4ab){const _0x333f6c=a2_0x1220,_0x59e58b=_0x5c69ef();while(!![]){try{const _0x4dbd77=-parseInt(_0x333f6c(0x1bd))/0x1*(parseInt(_0x333f6c(0x1b9))/0x2)+parseInt(_0x333f6c(0x19e))/0x3+-parseInt(_0x333f6c(0x1a3))/0x4+-parseInt(_0x333f6c(0x1cc))/0x5*(-parseInt(_0x333f6c(0x1d2))/0x6)+-parseInt(_0x333f6c(0x1b7))/0x7*(parseInt(_0x333f6c(0x1be))/0x8)+parseInt(_0x333f6c(0x1bb))/0x9*(-parseInt(_0x333f6c(0x1cb))/0xa)+parseInt(_0x333f6c(0x1c8))/0xb*(parseInt(_0x333f6c(0x1ad))/0xc);if(_0x4dbd77===_0x20f4ab)break;else _0x59e58b['push'](_0x59e58b['shift']());}catch(_0xd5e05d){_0x59e58b['push'](_0x59e58b['shift']());}}}(a2_0x55b4,0x55c3c));function a2_0x55b4(){const _0x1b1088=['907536gIIbSQ','name','_zip','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','node_modules','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','installTarget','replace','existsSync','createWriteStream','483996DJaljT','unlinkSync','import_list','importList','map','log','src','find','includes','index.js','133kLmupc','mkdirSync','28722GeSbYX','src\x5c','1741014KwOjAa','uncompress','38DGnErs','94024sygOon','path','setting.json','jjb-common-lib','length','pipe','./config','rmdirSync','installResources','./tools','297ZGfBbu','join','exports','20wJRWsQ','5kWYegS','request','1.0.0','now','filter','readdirSync','2369784IeRkKr','forEach','\x5ctypes','pure_name','【jjb-cmd】:install命令执行完成,用时','750414VNlOKa','exit','【Error】:安装失败,node_modules目录不存在。','push','close'];a2_0x55b4=function(){return _0x1b1088;};return a2_0x55b4();}function a2_0x1220(_0x5b397c,_0x164c20){const _0x55b466=a2_0x55b4();return a2_0x1220=function(_0x1220a6,_0xcb4566){_0x1220a6=_0x1220a6-0x19a;let _0xda24e4=_0x55b466[_0x1220a6];return _0xda24e4;},a2_0x1220(_0x5b397c,_0x164c20);}const fs=require('fs'),path=require(a2_0x57d3b3(0x1bf)),request=require(a2_0x57d3b3(0x1cd)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a2_0x57d3b3(0x1c7)),{TEMPLATE_FOLDER}=require(a2_0x57d3b3(0x1c4)),start_time=Date['now']();module[a2_0x57d3b3(0x1ca)]=()=>{const _0x4db44b=a2_0x57d3b3,_0x465c17=path['resolve']('./'),_0x258a22=[_0x465c17,_0x4db44b(0x1ba)][_0x4db44b(0x1c9)]('\x5c'),_0x46eb78=[_0x465c17,_0x4db44b(0x1a7)][_0x4db44b(0x1c9)]('\x5c'),_0x21042f=[_0x465c17,'package.json'][_0x4db44b(0x1c9)]('\x5c');if(f_scan_jjb_config_json(_0x465c17)){const _0x599c8f=f_scan_jjb_config_json_rules(_0x465c17);_0x599c8f[_0x4db44b(0x1a9)]===_0x4db44b(0x1a7)?!fs[_0x4db44b(0x1ab)](_0x46eb78)?(console[_0x4db44b(0x1b2)](_0x4db44b(0x1a0)),process[_0x4db44b(0x19f)](0x0)):console['log'](_0x4db44b(0x1a8)):!fs[_0x4db44b(0x1ab)](_0x258a22)&&(console[_0x4db44b(0x1b2)]('【Error】:安装失败,src目录不存在。'),process[_0x4db44b(0x19f)](0x0));fs[_0x4db44b(0x1b8)](TEMPLATE_FOLDER),f_pull_git_repository(_0x599c8f[_0x4db44b(0x1c6)])[_0x4db44b(0x1b1)](_0x1bcb33=>{const _0x69eec4=_0x4db44b,_0x1e9b40=fs[_0x69eec4(0x1ac)](_0x1bcb33[_0x69eec4(0x1bf)]);request(_0x1bcb33['repository'])[_0x69eec4(0x1c3)](_0x1e9b40)['on'](_0x69eec4(0x1a2),()=>{const _0x5a468f=_0x69eec4;fs[_0x5a468f(0x1b8)](_0x1bcb33['compress']),compressing['zip'][_0x5a468f(0x1bc)](_0x1bcb33[_0x5a468f(0x1bf)],_0x1bcb33['compress']);});});const _0x1fad10=setInterval(()=>{const _0x72be26=_0x4db44b,_0x44e11e=fs['readdirSync'](TEMPLATE_FOLDER),_0x36150b=_0x44e11e['filter'](_0xa61770=>_0x599c8f[_0x72be26(0x1c6)][_0x72be26(0x1b1)](_0x3c3747=>_0x3c3747[_0x72be26(0x1a4)]+_0x72be26(0x1a5))[_0x72be26(0x1b5)](_0xa61770));if(_0x36150b[_0x72be26(0x1c2)]===_0x599c8f[_0x72be26(0x1c6)][_0x72be26(0x1c2)]){clearInterval(_0x1fad10);const _0x57ba5f=[];_0x36150b[_0x72be26(0x19a)](_0x2f00a6=>{const _0x37ccb7=_0x72be26,_0x390e9e=[TEMPLATE_FOLDER,_0x2f00a6][_0x37ccb7(0x1c9)]('\x5c');fs[_0x37ccb7(0x1d1)](_0x390e9e)['forEach'](_0x3807fb=>_0x57ba5f[_0x37ccb7(0x1a1)]({'name':_0x2f00a6,'path':[_0x390e9e,_0x3807fb][_0x37ccb7(0x1c9)]('\x5c'),'pure_name':_0x2f00a6[_0x37ccb7(0x1aa)](/_zip$/,''),'import_list':_0x599c8f['installResources'][_0x37ccb7(0x1b4)](_0xf2e263=>_0xf2e263['name']+_0x37ccb7(0x1a5)===_0x2f00a6)[_0x37ccb7(0x1b0)]}));}),_0x57ba5f[_0x72be26(0x19a)](_0x105e59=>{const _0x17a28c=_0x72be26,_0x38913c=_0x105e59[_0x17a28c(0x19c)],_0x1389c3=_0x105e59[_0x17a28c(0x1af)],_0x5d59f6=[_0x105e59[_0x17a28c(0x1bf)],'.idea'][_0x17a28c(0x1c9)]('//'),_0x3fa438=[_0x105e59[_0x17a28c(0x1bf)],'.gitignore'][_0x17a28c(0x1c9)]('//');fs[_0x17a28c(0x1ab)](_0x5d59f6)&&(f_rm_rf(_0x5d59f6),fs[_0x17a28c(0x1c5)](_0x5d59f6));fs['existsSync'](_0x3fa438)&&fs[_0x17a28c(0x1ae)](_0x3fa438);_0x1389c3[_0x17a28c(0x1c2)]&&fs['readdirSync'](_0x105e59['path'])[_0x17a28c(0x1d0)](_0x224219=>!_0x1389c3[_0x17a28c(0x1b5)](_0x224219)&&_0x224219!==_0x17a28c(0x1b6)&&_0x224219!==_0x17a28c(0x1c0))['forEach'](_0x43314b=>{const _0x44001a=_0x17a28c,_0x1a62ae=_0x105e59['path']+'\x5c'+_0x43314b;f_rm_rf(_0x1a62ae),fs[_0x44001a(0x1c5)](_0x1a62ae);});if(_0x599c8f[_0x17a28c(0x1a9)]==='node_modules'){const _0x43264f=_0x38913c;fs[_0x17a28c(0x1ab)](_0x46eb78+'\x5c'+_0x43264f)?f_rm_rf(_0x46eb78+'\x5c'+_0x43264f):fs[_0x17a28c(0x1b8)](_0x46eb78+'\x5c'+_0x43264f),_0x43264f!==_0x17a28c(0x1c1)?(f_file_copy(_0x105e59['path'],_0x46eb78+'\x5c'+_0x43264f),f_create_package_json(_0x46eb78+'\x5c'+_0x43264f,_0x43264f,_0x17a28c(0x1ce))):f_file_copy(_0x105e59[_0x17a28c(0x1bf)]+_0x17a28c(0x19b),_0x46eb78+'\x5c'+_0x43264f),f_update_project_package_json(_0x21042f,_0x43264f,_0x17a28c(0x1ce));}else _0x599c8f[_0x17a28c(0x1a9)]===_0x17a28c(0x1b3)&&(fs[_0x17a28c(0x1ab)](_0x258a22+_0x38913c)?f_rm_rf(_0x258a22+_0x38913c):fs[_0x17a28c(0x1b8)](_0x258a22+_0x38913c),f_file_copy(_0x105e59[_0x17a28c(0x1bf)],_0x258a22+_0x38913c));}),setTimeout(()=>{const _0x59dabe=_0x72be26;f_rm_rf(TEMPLATE_FOLDER),fs[_0x59dabe(0x1c5)](TEMPLATE_FOLDER);const _0x1193d0=Date[_0x59dabe(0x1cf)]();console['log'](_0x59dabe(0x19d)+(_0x1193d0-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4db44b(0x1b2)](_0x4db44b(0x1a6));};
@@ -1 +1 @@
1
- function a3_0x1f48(_0x59ac2e,_0x445fbf){const _0x442a4c=a3_0x442a();return a3_0x1f48=function(_0x1f48b2,_0x40a26b){_0x1f48b2=_0x1f48b2-0x78;let _0x439543=_0x442a4c[_0x1f48b2];return _0x439543;},a3_0x1f48(_0x59ac2e,_0x445fbf);}const a3_0x53daaa=a3_0x1f48;(function(_0x2bca7c,_0xb13445){const _0xacca68=a3_0x1f48,_0x5d6f5a=_0x2bca7c();while(!![]){try{const _0x31c96e=-parseInt(_0xacca68(0x98))/0x1*(parseInt(_0xacca68(0x88))/0x2)+parseInt(_0xacca68(0xb3))/0x3+parseInt(_0xacca68(0xa5))/0x4+parseInt(_0xacca68(0xac))/0x5*(-parseInt(_0xacca68(0x85))/0x6)+-parseInt(_0xacca68(0xa1))/0x7+parseInt(_0xacca68(0x86))/0x8+parseInt(_0xacca68(0x7c))/0x9;if(_0x31c96e===_0xb13445)break;else _0x5d6f5a['push'](_0x5d6f5a['shift']());}catch(_0x5eb4ac){_0x5d6f5a['push'](_0x5d6f5a['shift']());}}}(a3_0x442a,0xf24c4));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x53daaa(0x9f));exports[a3_0x53daaa(0x99)]=function(_0x17e4df){const _0x4c05d2=a3_0x53daaa;if(fs['existsSync'](_0x17e4df)){const _0x3d9afb=fs[_0x4c05d2(0xb5)](_0x17e4df);for(let _0x1719b8=0x0;_0x1719b8<_0x3d9afb['length'];_0x1719b8++){const _0x3adb97=_0x3d9afb[_0x1719b8],_0x29018b=_0x17e4df+'/'+_0x3adb97;fs[_0x4c05d2(0xb0)](_0x29018b)['isDirectory']()?(exports[_0x4c05d2(0x99)](_0x29018b),fs['rmdirSync'](_0x29018b)):fs['unlinkSync'](_0x29018b);}}},exports['f_pull_git_repository']=function(_0x1e92ce=[]){return _0x1e92ce['map'](_0x4373bc=>{const _0x28eb14=a3_0x1f48,_0x11e28e=CLOUD_PROJECT[_0x4373bc[_0x28eb14(0x90)]]||undefined,_0x232d69=os[_0x28eb14(0x93)]();return{'path':_0x232d69+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4373bc[_0x28eb14(0x90)]+_0x28eb14(0x8d),'compress':_0x232d69+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4373bc[_0x28eb14(0x90)]+_0x28eb14(0xaa),'repository':GIT_HOST+'/api/v4/projects/'+_0x11e28e['projectId']+_0x28eb14(0x83)+_0x11e28e[_0x28eb14(0xa3)]+'&ref=master'};});},exports['f_scan_jjb_config_json']=function(_0x5a24e4){const _0x58675c=a3_0x53daaa;return fs[_0x58675c(0xa0)](_0x5a24e4+_0x58675c(0x78));},exports[a3_0x53daaa(0x9c)]=function(_0x19ea2e){const _0x85977f=a3_0x53daaa;let _0x27275c={};try{_0x27275c=JSON[_0x85977f(0xb1)](fs[_0x85977f(0x96)](_0x19ea2e+'\x5cjjb.config.json')['toString']());}catch(_0x19cf45){console[_0x85977f(0x87)](_0x85977f(0xa7)),process[_0x85977f(0xb8)](0x0);}!(_0x85977f(0x9e)in _0x27275c)&&(console['log'](_0x85977f(0x9d)),process['exit'](0x0));!('installTarget'in _0x27275c)&&(console[_0x85977f(0x87)](_0x85977f(0x8e)),process[_0x85977f(0xb8)](0x0));!('installResources'in _0x27275c)&&(console[_0x85977f(0x87)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process['exit'](0x0));typeof _0x27275c[_0x85977f(0x9e)]!=='string'&&(console[_0x85977f(0x87)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x85977f(0xb8)](0x0));![_0x85977f(0xa6),_0x85977f(0x89),'uniapp',_0x85977f(0xa9)][_0x85977f(0xb6)](_0x27275c[_0x85977f(0x9e)])&&(console[_0x85977f(0x87)](_0x85977f(0xab)),process[_0x85977f(0xb8)](0x0));typeof _0x27275c[_0x85977f(0xb4)]!==_0x85977f(0x7a)&&(console[_0x85977f(0x87)](_0x85977f(0x97)),process[_0x85977f(0xb8)](0x0));!['node_modules',_0x85977f(0xb9)][_0x85977f(0xb6)](_0x27275c['installTarget'])&&(console[_0x85977f(0x87)](_0x85977f(0xb2)),process[_0x85977f(0xb8)](0x0));!Array['isArray'](_0x27275c[_0x85977f(0x7b)])&&(console[_0x85977f(0x87)](_0x85977f(0x94)),process['exit'](0x0));_0x27275c[_0x85977f(0x7b)][_0x85977f(0x7d)]===0x0&&(console[_0x85977f(0x87)](_0x85977f(0x9a)),process[_0x85977f(0xb8)](0x0));const _0x4fb62c=exports[_0x85977f(0x8c)](_0x27275c[_0x85977f(0x7b)]);return _0x4fb62c[_0x85977f(0x79)](_0x2d75c4=>_0x2d75c4[_0x85977f(0x90)])[_0x85977f(0x7f)](_0x4c9d69=>![_0x85977f(0x81),_0x85977f(0x84),'jjb-common-lib','jjb-common-decorator',_0x85977f(0xae),_0x85977f(0x80)][_0x85977f(0xb6)](_0x4c9d69))[_0x85977f(0x7d)]!==0x0&&(console['log']('【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[_0x85977f(0xb8)](0x0)),_0x27275c[_0x85977f(0x7b)]=_0x4fb62c,_0x27275c;},exports[a3_0x53daaa(0xa4)]=function(_0x499bd7,_0x556ebe,_0x105c0e){const _0x459e33=a3_0x53daaa;fs[_0x459e33(0x8a)](_0x499bd7+_0x459e33(0xba),_0x459e33(0x92)+_0x556ebe+'\x22,\x22version\x22:\x22'+_0x105c0e+_0x459e33(0xa8));},exports['f_resolve_install_resources']=function(_0x21570c=[]){const _0x2996e0=a3_0x53daaa,_0x57d784=[];return Array[_0x2996e0(0xa2)](_0x21570c)&&_0x21570c[_0x2996e0(0x8f)](_0x4697f5=>{const _0x250b7b=_0x2996e0;if(Array['isArray'](_0x4697f5)){const [_0xf792f5,_0x486353=[]]=_0x4697f5;_0x57d784[_0x250b7b(0x95)]({'name':_0xf792f5,'importList':_0x486353});}else _0x57d784[_0x250b7b(0x95)]({'name':_0x4697f5,'importList':[]});}),_0x57d784;},exports['f_update_project_package_json']=function(_0x5d276c,_0x178968,_0x194ca7){const _0x32d067=a3_0x53daaa,_0xb5d98d=JSON[_0x32d067(0xb1)](fs[_0x32d067(0x96)](_0x5d276c)['toString']());_0xb5d98d[_0x32d067(0x91)][_0x178968]=_0x194ca7,fs[_0x32d067(0x8a)](_0x5d276c,JSON[_0x32d067(0x9b)](_0xb5d98d,null,0x2));},exports[a3_0x53daaa(0xad)]=function(_0xc79ee6,_0x3f27e7){const _0x67bcd3=a3_0x53daaa;fs[_0x67bcd3(0xb5)](_0xc79ee6)['forEach'](_0x517779=>{const _0x382be5=_0x67bcd3,_0x3464c5=_0xc79ee6+'\x5c'+_0x517779,_0x41656f=_0x3f27e7+'\x5c'+_0x517779;fs[_0x382be5(0xb0)](_0x3464c5)[_0x382be5(0xaf)]()?(fs[_0x382be5(0x8b)](_0x41656f),exports[_0x382be5(0xad)](_0x3464c5,_0x41656f)):fs[_0x382be5(0x8a)](_0x41656f,fs[_0x382be5(0x96)](_0x3464c5)[_0x382be5(0x7e)]());});},exports['f_content_replace']=function(_0x355604=[],_0x45941c){const _0x359394=a3_0x53daaa;_0x355604[_0x359394(0x8f)](_0x25c7d8=>{const _0xfdf1c5=_0x359394,_0x2c2f09=_0x45941c+_0x25c7d8[_0xfdf1c5(0xb7)];if(fs[_0xfdf1c5(0xa0)](_0x2c2f09)){let _0xbbd610=fs['readFileSync'](_0x2c2f09)[_0xfdf1c5(0x7e)]();_0x25c7d8[_0xfdf1c5(0x82)]['forEach'](_0x3f418f=>{const _0xb4dec5=_0xfdf1c5;_0xbbd610=_0xbbd610[_0xb4dec5(0x82)](_0x3f418f[0x0],_0x3f418f[0x1]);}),fs['writeFileSync'](_0x2c2f09,_0xbbd610);}});};function a3_0x442a(){const _0x1ed8ee=['\x5cjjb.config.json','map','string','installResources','26298252ULhcTR','length','toString','filter','vue-unisass-component','jjb-common','replace','/repository/archive.zip?private_token=','jjb-dva-runtime','6VbJvDa','3952320aiKDsY','log','1376632GSzgwo','spa','writeFileSync','mkdirSync','f_resolve_install_resources','.zip','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','forEach','name','dependencies','{\x22name\x22:\x22','tmpdir','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','push','readFileSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','1SBozUr','f_rm_rf','【Error】:[jjb.config.json.installResources]无资源。','stringify','f_scan_jjb_config_json_rules','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','projectType','./config','existsSync','9348710KEgPKb','isArray','token','f_create_package_json','2228780SsDekF','multi','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','\x22,\x22main\x22:\x20\x22index.js\x22}','micro-spa','_zip','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','6595165PYWudv','f_file_copy','react-admin-component','isDirectory','statSync','parse','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','1086204WRsrkp','installTarget','readdirSync','includes','path','exit','src','\x5cpackage.json'];a3_0x442a=function(){return _0x1ed8ee;};return a3_0x442a();}
1
+ const a3_0x29e5c0=a3_0x45bf;function a3_0x284d(){const _0x46093b=['f_file_copy','6012050kVQcZA','filter','node_modules','string','jjb-common','【Error】:[jjb.config.json.installResources]无资源。','forEach','jjb-common-decorator','isArray','【Error】:[jjb.config.json.projectType]类型是一个string。','\x22,\x22version\x22:\x22','micro-spa','/repository/archive.zip?private_token=','【Error】:[jjb.config.json.installTarget]类型是一个string。','\x5cjjb.config.json','multi','3288775bHVbpi','2478420uZuYYj','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','{\x22name\x22:\x22','length','tmpdir','mkdirSync','path','\x5cpackage.json','map','【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>。','unlinkSync','f_pull_git_repository','/api/v4/projects/','readdirSync','push','5340592woFoLz','replace','.zip','3mexxLP','projectType','src','installTarget','readFileSync','spa','parse','\x22,\x22main\x22:\x20\x22index.js\x22}','name','toString','./config','log','projectId','2124862hVoHqY','exit','f_scan_jjb_config_json','installResources','writeFileSync','f_scan_jjb_config_json_rules','3213656VJucyB','react-admin-component','includes','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','jjb-dva-runtime','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','dependencies','existsSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','statSync','f_content_replace','695961gwVdAJ','_zip','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','isDirectory'];a3_0x284d=function(){return _0x46093b;};return a3_0x284d();}(function(_0x2a058a,_0x221a16){const _0x1bf1c5=a3_0x45bf,_0x19a89e=_0x2a058a();while(!![]){try{const _0x40c69e=parseInt(_0x1bf1c5(0x192))/0x1+-parseInt(_0x1bf1c5(0x181))/0x2+parseInt(_0x1bf1c5(0x174))/0x3*(parseInt(_0x1bf1c5(0x187))/0x4)+-parseInt(_0x1bf1c5(0x197))/0x5+parseInt(_0x1bf1c5(0x1a8))/0x6+parseInt(_0x1bf1c5(0x1a7))/0x7+parseInt(_0x1bf1c5(0x171))/0x8;if(_0x40c69e===_0x221a16)break;else _0x19a89e['push'](_0x19a89e['shift']());}catch(_0x425857){_0x19a89e['push'](_0x19a89e['shift']());}}}(a3_0x284d,0xbfa6b));function a3_0x45bf(_0x2a9382,_0x26c8e3){const _0x284d96=a3_0x284d();return a3_0x45bf=function(_0x45bf82,_0x54e4ad){_0x45bf82=_0x45bf82-0x169;let _0x73a59c=_0x284d96[_0x45bf82];return _0x73a59c;},a3_0x45bf(_0x2a9382,_0x26c8e3);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x29e5c0(0x17e));exports['f_rm_rf']=function(_0x5f10fb){const _0x15ae91=a3_0x29e5c0;if(fs[_0x15ae91(0x18e)](_0x5f10fb)){const _0x2c5a93=fs[_0x15ae91(0x16f)](_0x5f10fb);for(let _0x25021e=0x0;_0x25021e<_0x2c5a93[_0x15ae91(0x1ac)];_0x25021e++){const _0x26df2b=_0x2c5a93[_0x25021e],_0x1c7b26=_0x5f10fb+'/'+_0x26df2b;fs['statSync'](_0x1c7b26)[_0x15ae91(0x195)]()?(exports['f_rm_rf'](_0x1c7b26),fs['rmdirSync'](_0x1c7b26)):fs[_0x15ae91(0x16c)](_0x1c7b26);}}},exports[a3_0x29e5c0(0x16d)]=function(_0x265f43=[]){return _0x265f43['map'](_0x667b6e=>{const _0x4d470a=a3_0x45bf,_0x2d92fc=CLOUD_PROJECT[_0x667b6e[_0x4d470a(0x17c)]]||undefined,_0x146ea1=os[_0x4d470a(0x1ad)]();return{'path':_0x146ea1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x667b6e['name']+_0x4d470a(0x173),'compress':_0x146ea1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x667b6e['name']+_0x4d470a(0x193),'repository':GIT_HOST+_0x4d470a(0x16e)+_0x2d92fc[_0x4d470a(0x180)]+_0x4d470a(0x1a3)+_0x2d92fc['token']+'&ref=master'};});},exports[a3_0x29e5c0(0x183)]=function(_0xd35c0a){const _0x488034=a3_0x29e5c0;return fs[_0x488034(0x18e)](_0xd35c0a+'\x5cjjb.config.json');},exports[a3_0x29e5c0(0x186)]=function(_0x2b8909){const _0xc3222a=a3_0x29e5c0;let _0xc25d1e={};try{_0xc25d1e=JSON['parse'](fs[_0xc3222a(0x178)](_0x2b8909+_0xc3222a(0x1a5))[_0xc3222a(0x17d)]());}catch(_0x1a75fa){console['log'](_0xc3222a(0x18c)),process[_0xc3222a(0x182)](0x0);}!(_0xc3222a(0x175)in _0xc25d1e)&&(console['log'](_0xc3222a(0x1aa)),process[_0xc3222a(0x182)](0x0));!(_0xc3222a(0x177)in _0xc25d1e)&&(console[_0xc3222a(0x17f)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0xc3222a(0x182)](0x0));!(_0xc3222a(0x184)in _0xc25d1e)&&(console['log'](_0xc3222a(0x194)),process['exit'](0x0));typeof _0xc25d1e['projectType']!==_0xc3222a(0x19a)&&(console[_0xc3222a(0x17f)](_0xc3222a(0x1a0)),process[_0xc3222a(0x182)](0x0));![_0xc3222a(0x1a6),_0xc3222a(0x179),'uniapp',_0xc3222a(0x1a2)][_0xc3222a(0x189)](_0xc25d1e[_0xc3222a(0x175)])&&(console[_0xc3222a(0x17f)](_0xc3222a(0x18f)),process[_0xc3222a(0x182)](0x0));typeof _0xc25d1e[_0xc3222a(0x177)]!==_0xc3222a(0x19a)&&(console[_0xc3222a(0x17f)](_0xc3222a(0x1a4)),process['exit'](0x0));![_0xc3222a(0x199),_0xc3222a(0x176)][_0xc3222a(0x189)](_0xc25d1e[_0xc3222a(0x177)])&&(console[_0xc3222a(0x17f)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0xc3222a(0x182)](0x0));!Array['isArray'](_0xc25d1e[_0xc3222a(0x184)])&&(console[_0xc3222a(0x17f)](_0xc3222a(0x18a)),process[_0xc3222a(0x182)](0x0));_0xc25d1e[_0xc3222a(0x184)][_0xc3222a(0x1ac)]===0x0&&(console[_0xc3222a(0x17f)](_0xc3222a(0x19c)),process[_0xc3222a(0x182)](0x0));const _0x3cc6d5=exports['f_resolve_install_resources'](_0xc25d1e[_0xc3222a(0x184)]);return _0x3cc6d5[_0xc3222a(0x16a)](_0x5953a8=>_0x5953a8[_0xc3222a(0x17c)])[_0xc3222a(0x198)](_0x34c522=>![_0xc3222a(0x19b),_0xc3222a(0x18b),'jjb-common-lib',_0xc3222a(0x19e),_0xc3222a(0x188),_0xc3222a(0x1a9)][_0xc3222a(0x189)](_0x34c522))['length']!==0x0&&(console['log'](_0xc3222a(0x16b)),process['exit'](0x0)),_0xc25d1e[_0xc3222a(0x184)]=_0x3cc6d5,_0xc25d1e;},exports['f_create_package_json']=function(_0x4246ea,_0x3b58dc,_0x201607){const _0x539113=a3_0x29e5c0;fs[_0x539113(0x185)](_0x4246ea+_0x539113(0x169),_0x539113(0x1ab)+_0x3b58dc+_0x539113(0x1a1)+_0x201607+_0x539113(0x17b));},exports['f_resolve_install_resources']=function(_0x223f93=[]){const _0x1a5735=a3_0x29e5c0,_0x48b6fb=[];return Array[_0x1a5735(0x19f)](_0x223f93)&&_0x223f93['forEach'](_0xb9884=>{const _0x4d4cb6=_0x1a5735;if(Array[_0x4d4cb6(0x19f)](_0xb9884)){const [_0x215302,_0x5221c5=[]]=_0xb9884;_0x48b6fb['push']({'name':_0x215302,'importList':_0x5221c5});}else _0x48b6fb[_0x4d4cb6(0x170)]({'name':_0xb9884,'importList':[]});}),_0x48b6fb;},exports['f_update_project_package_json']=function(_0x3bbd5f,_0x4895ec,_0x350e9e){const _0x8e5a7=a3_0x29e5c0,_0x648369=JSON[_0x8e5a7(0x17a)](fs[_0x8e5a7(0x178)](_0x3bbd5f)[_0x8e5a7(0x17d)]());_0x648369[_0x8e5a7(0x18d)][_0x4895ec]=_0x350e9e,fs[_0x8e5a7(0x185)](_0x3bbd5f,JSON['stringify'](_0x648369,null,0x2));},exports[a3_0x29e5c0(0x196)]=function(_0x27f28f,_0x12c18b){fs['readdirSync'](_0x27f28f)['forEach'](_0x5ed95f=>{const _0x4505eb=a3_0x45bf,_0x187b16=_0x27f28f+'\x5c'+_0x5ed95f,_0x186a9e=_0x12c18b+'\x5c'+_0x5ed95f;fs[_0x4505eb(0x190)](_0x187b16)['isDirectory']()?(fs[_0x4505eb(0x1ae)](_0x186a9e),exports['f_file_copy'](_0x187b16,_0x186a9e)):fs[_0x4505eb(0x185)](_0x186a9e,fs['readFileSync'](_0x187b16)[_0x4505eb(0x17d)]());});},exports[a3_0x29e5c0(0x191)]=function(_0x55c2ce=[],_0x2e46b2){const _0x4fd55d=a3_0x29e5c0;_0x55c2ce[_0x4fd55d(0x19d)](_0x58200c=>{const _0x3fc187=_0x4fd55d,_0x3feb00=_0x2e46b2+_0x58200c[_0x3fc187(0x1af)];if(fs[_0x3fc187(0x18e)](_0x3feb00)){let _0x269f19=fs[_0x3fc187(0x178)](_0x3feb00)[_0x3fc187(0x17d)]();_0x58200c[_0x3fc187(0x172)][_0x3fc187(0x19d)](_0xc706c8=>{const _0xe7966e=_0x3fc187;_0x269f19=_0x269f19[_0xe7966e(0x172)](_0xc706c8[0x0],_0xc706c8[0x1]);}),fs['writeFileSync'](_0x3feb00,_0x269f19);}});};
@@ -1 +1 @@
1
- function a4_0xe0aa(_0xe6ecd8,_0x25f015){const _0x5e4cbf=a4_0x5e4c();return a4_0xe0aa=function(_0xe0aaab,_0x22d5b2){_0xe0aaab=_0xe0aaab-0x1e6;let _0x567933=_0x5e4cbf[_0xe0aaab];return _0x567933;},a4_0xe0aa(_0xe6ecd8,_0x25f015);}const a4_0x4480e3=a4_0xe0aa;(function(_0x318c84,_0x1c4170){const _0x1a8ae1=a4_0xe0aa,_0x3fddf5=_0x318c84();while(!![]){try{const _0x3ab1ba=-parseInt(_0x1a8ae1(0x1f4))/0x1+parseInt(_0x1a8ae1(0x1f0))/0x2*(-parseInt(_0x1a8ae1(0x1fb))/0x3)+-parseInt(_0x1a8ae1(0x1ff))/0x4+-parseInt(_0x1a8ae1(0x201))/0x5+parseInt(_0x1a8ae1(0x1fa))/0x6+parseInt(_0x1a8ae1(0x1f2))/0x7+parseInt(_0x1a8ae1(0x1e9))/0x8;if(_0x3ab1ba===_0x1c4170)break;else _0x3fddf5['push'](_0x3fddf5['shift']());}catch(_0xef2b18){_0x3fddf5['push'](_0x3fddf5['shift']());}}}(a4_0x5e4c,0xef6ae));function a4_0x5e4c(){const _0x578f53=['发布失败!根目录缺少‘package.json’文件,无法完成发布。','platform','exit','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','6qFVTyX','existsSync','977333YjCGSC','\x5cdist\x5cindex.js','597310TYhfeU','networkInterfaces','hostname','http://120.26.210.58:8088/api/file/push','axios','message','6301902JBinbn','1530267CysJga','path','stringify','readFileSync','558744OArrmZ','data','8127510xsghCZ','网络异常。','log','parse','then','29467864YgvXZN','resolve','toString'];a4_0x5e4c=function(){return _0x578f53;};return a4_0x5e4c();}const path=require(a4_0x4480e3(0x1fc)),fs=require('fs'),os=require('os'),axios=require(a4_0x4480e3(0x1f8));module['exports']=_0x44c0f9=>{const _0x379cb3=a4_0x4480e3,_0x1dacde=path[_0x379cb3(0x1ea)]('./'),_0xf18c64=_0x1dacde+_0x379cb3(0x1f3),_0x5eb851=_0x1dacde+'\x5cpackage.json',_0x5645a1=[os[_0x379cb3(0x1f6)](),os[_0x379cb3(0x1ed)](),os['arch'](),new Date()[_0x379cb3(0x1eb)](),JSON[_0x379cb3(0x1fd)](os[_0x379cb3(0x1f5)](),null,'\x09')]['join']('\x0a');if(fs[_0x379cb3(0x1f1)](_0x5eb851)){if(fs['existsSync'](_0xf18c64)){const _0x4e1ba1=JSON[_0x379cb3(0x1e7)](fs[_0x379cb3(0x1fe)](_0x5eb851)[_0x379cb3(0x1eb)]()),{name:_0x527726,version:_0x33ab67}=_0x4e1ba1;axios['post'](_0x379cb3(0x1f7),{'log_text':_0x5645a1,'package_name':_0x527726,'package_version':_0x44c0f9?_0x44c0f9:_0x33ab67,'package_content':fs['readFileSync'](_0xf18c64)[_0x379cb3(0x1eb)]()})[_0x379cb3(0x1e8)](_0x3d3445=>{const _0x5f12a5=_0x379cb3;console[_0x5f12a5(0x1e6)](_0x3d3445[_0x5f12a5(0x200)][_0x5f12a5(0x1f9)]),process['exit'](0x0);})['catch'](_0xd6b46=>{const _0x287ac4=_0x379cb3;console[_0x287ac4(0x1e6)](_0xd6b46),console[_0x287ac4(0x1e6)](_0x287ac4(0x202)),process['exit'](0x0);});}else console[_0x379cb3(0x1e6)](_0x379cb3(0x1ef)),process[_0x379cb3(0x1ee)](0x0);}else console[_0x379cb3(0x1e6)](_0x379cb3(0x1ec)),process[_0x379cb3(0x1ee)](0x0);};
1
+ const a4_0x137fe8=a4_0x2f21;function a4_0x2f21(_0x2cea16,_0xacfd9b){const _0x27d027=a4_0x27d0();return a4_0x2f21=function(_0x2f21c7,_0xf247d2){_0x2f21c7=_0x2f21c7-0xe6;let _0x20de1=_0x27d027[_0x2f21c7];return _0x20de1;},a4_0x2f21(_0x2cea16,_0xacfd9b);}(function(_0x66e366,_0x3e52da){const _0x5437f4=a4_0x2f21,_0x836879=_0x66e366();while(!![]){try{const _0x47cc47=-parseInt(_0x5437f4(0xe8))/0x1+-parseInt(_0x5437f4(0xf3))/0x2*(parseInt(_0x5437f4(0xea))/0x3)+parseInt(_0x5437f4(0xf0))/0x4*(parseInt(_0x5437f4(0xe7))/0x5)+-parseInt(_0x5437f4(0xfe))/0x6*(-parseInt(_0x5437f4(0x105))/0x7)+-parseInt(_0x5437f4(0xe6))/0x8+parseInt(_0x5437f4(0xff))/0x9*(-parseInt(_0x5437f4(0x103))/0xa)+-parseInt(_0x5437f4(0x107))/0xb*(-parseInt(_0x5437f4(0xfc))/0xc);if(_0x47cc47===_0x3e52da)break;else _0x836879['push'](_0x836879['shift']());}catch(_0x3d8ea4){_0x836879['push'](_0x836879['shift']());}}}(a4_0x27d0,0xec71d));function a4_0x27d0(){const _0x583ff6=['data','1983620TmSkOL','log','72023CCVfnj','发布失败!根目录缺少‘package.json’文件,无法完成发布。','33JuKPvj','3798920lCDPdd','80NeacGM','1325183uPUcBb','arch','41937UbXVot','catch','post','toString','hostname','readFileSync','198964PdfhDK','message','exit','132GpCieW','exports','网络异常。','parse','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','join','axios','stringify','platform','5707308sAlXew','http://120.26.210.58:8088/api/file/push','972kqkoWa','9JcdFzi','\x5cpackage.json','then'];a4_0x27d0=function(){return _0x583ff6;};return a4_0x27d0();}const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a4_0x137fe8(0xf9));module[a4_0x137fe8(0xf4)]=_0x356147=>{const _0x542c32=a4_0x137fe8,_0x23e799=path['resolve']('./'),_0x4f01ab=_0x23e799+'\x5cdist\x5cindex.js',_0x52c547=_0x23e799+_0x542c32(0x100),_0x37566b=[os[_0x542c32(0xee)](),os[_0x542c32(0xfb)](),os[_0x542c32(0xe9)](),new Date()[_0x542c32(0xed)](),JSON[_0x542c32(0xfa)](os['networkInterfaces'](),null,'\x09')][_0x542c32(0xf8)]('\x0a');if(fs['existsSync'](_0x52c547)){if(fs['existsSync'](_0x4f01ab)){const _0x48f10a=JSON[_0x542c32(0xf6)](fs['readFileSync'](_0x52c547)[_0x542c32(0xed)]()),{name:_0x24658c,version:_0x3cae15}=_0x48f10a;axios[_0x542c32(0xec)](_0x542c32(0xfd),{'log_text':_0x37566b,'package_name':_0x24658c,'package_version':_0x356147?_0x356147:_0x3cae15,'package_content':fs[_0x542c32(0xef)](_0x4f01ab)[_0x542c32(0xed)]()})[_0x542c32(0x101)](_0x183a0a=>{const _0x5e1089=_0x542c32;console[_0x5e1089(0x104)](_0x183a0a[_0x5e1089(0x102)][_0x5e1089(0xf1)]),process[_0x5e1089(0xf2)](0x0);})[_0x542c32(0xeb)](_0x1d26d3=>{const _0x1f555c=_0x542c32;console['log'](_0x1d26d3),console[_0x1f555c(0x104)](_0x1f555c(0xf5)),process[_0x1f555c(0xf2)](0x0);});}else console['log'](_0x542c32(0xf7)),process[_0x542c32(0xf2)](0x0);}else console[_0x542c32(0x104)](_0x542c32(0x106)),process[_0x542c32(0xf2)](0x0);};
@@ -0,0 +1 @@
1
+ const a5_0x4ee469=a5_0x3a0d;(function(_0x2086a3,_0x20b687){const _0x1c4523=a5_0x3a0d,_0x3061d8=_0x2086a3();while(!![]){try{const _0x427bc4=-parseInt(_0x1c4523(0x15f))/0x1+-parseInt(_0x1c4523(0x157))/0x2+parseInt(_0x1c4523(0x160))/0x3*(parseInt(_0x1c4523(0x168))/0x4)+parseInt(_0x1c4523(0x154))/0x5*(-parseInt(_0x1c4523(0x164))/0x6)+-parseInt(_0x1c4523(0x162))/0x7+parseInt(_0x1c4523(0x150))/0x8*(parseInt(_0x1c4523(0x15b))/0x9)+parseInt(_0x1c4523(0x166))/0xa;if(_0x427bc4===_0x20b687)break;else _0x3061d8['push'](_0x3061d8['shift']());}catch(_0x521eb2){_0x3061d8['push'](_0x3061d8['shift']());}}}(a5_0x1457,0x38662));function a5_0x1457(){const _0x3f82c5=['【warning】:no\x20commit,git\x20push,please\x20wait...','6030060gOxvHN','yarn','76rEOgCq','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','Git\x20Push\x20Done!','【Error】:打包失败,没有dist目录!','exit','Git\x20Add\x20Done,git\x20commit,please\x20wait...','log','\x20--no-verify','parse','../../old/util','git\x20push\x20-f','resolve','/node_modules','yarn\x20install\x20Done!','【Error】:参数传递错误','existsSync','\x5cdist','gitName','10152EpYxKc','git\x20pull','Git\x20Pull\x20Done,yarn\x20build:','../cmd.install/config','10ZfXkFN','toString','readFileSync','14034VCvfnV','path','child_process','execSync','2115cbqSFF','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','Git\x20Commit\x20Done,git\x20push,please\x20wait...','exports','415673TRhMCB','25179VTKizF','length','250306xzPVNp','git\x20add\x20.','1113690ARmPor'];a5_0x1457=function(){return _0x3f82c5;};return a5_0x1457();}const fs=require('fs'),os=require('os'),path=require(a5_0x4ee469(0x158)),child_process=require(a5_0x4ee469(0x159)),{CopyFolder,DeleteDirAllFile}=require(a5_0x4ee469(0x147)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x4ee469(0x153));function a5_0x3a0d(_0x33d0db,_0x3eabdf){const _0x1457d0=a5_0x1457();return a5_0x3a0d=function(_0x3a0d40,_0x3f89ff){_0x3a0d40=_0x3a0d40-0x140;let _0xee7f66=_0x1457d0[_0x3a0d40];return _0xee7f66;},a5_0x3a0d(_0x33d0db,_0x3eabdf);}module[a5_0x4ee469(0x15e)]=arguments=>{const _0x29fb20=a5_0x4ee469;arguments[_0x29fb20(0x161)]<0x2&&(console[_0x29fb20(0x144)](_0x29fb20(0x14c)),process[_0x29fb20(0x142)](0x0));const _0x22a01b=arguments[0x1],_0x3c75cb=arguments[0x2]||'no\x20message',_0x284e46=path[_0x29fb20(0x149)]('./'),_0x2a9fbd=_0x284e46+'\x5cjjb.config.json',_0x3a41f8=_0x284e46+_0x29fb20(0x14e),_0x4acecd=os['tmpdir']();if(fs[_0x29fb20(0x14d)](_0x2a9fbd)){const _0x35f4b9=JSON[_0x29fb20(0x146)](fs[_0x29fb20(0x156)](_0x2a9fbd)[_0x29fb20(0x155)]());if(_0x35f4b9['git']){const _0x2c346d=_0x4acecd+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x2c346d)&&(fs['mkdirSync'](_0x2c346d),child_process['execSync']('git\x20clone\x20http://192.168.1.242:10985/jjb/dragon/v1/web/base-app.git',{'cwd':_0x2c346d})),_0x34beb0(_0x2c346d,_0x35f4b9);}}function _0x34beb0(_0x35d5a3,_0x4c16e7){const _0x4762fe=_0x29fb20;child_process[_0x4762fe(0x15a)](_0x4762fe(0x151));!fs[_0x4762fe(0x14d)](_0x284e46+_0x4762fe(0x14a))?(console[_0x4762fe(0x144)](_0x4762fe(0x169)),child_process['execSync'](_0x4762fe(0x167),{'cwd':_0x284e46}),console[_0x4762fe(0x144)](_0x4762fe(0x14b))):console['log'](_0x4762fe(0x152)+_0x22a01b+',please\x20wait...');child_process[_0x4762fe(0x15a)]('yarn\x20build:'+_0x22a01b,{'cwd':_0x284e46}),console[_0x4762fe(0x144)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4762fe(0x14d)](_0x3a41f8)){const _0x1174c3=_0x35d5a3+'/'+_0x4c16e7[_0x4762fe(0x14f)],_0x265260=_0x1174c3+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x22a01b];DeleteDirAllFile(_0x265260,()=>{fs['mkdirSync'](_0x265260),CopyFolder(_0x3a41f8,_0x265260,()=>{const _0x4cb5dc=a5_0x3a0d;console[_0x4cb5dc(0x144)](_0x4cb5dc(0x15c)),setTimeout(()=>{const _0x5ce73d=_0x4cb5dc;child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x163),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x143));try{child_process['execSync']('git\x20commit\x20-m\x20'+_0x3c75cb+_0x5ce73d(0x145),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x15d));}catch(_0x5051d8){console[_0x5ce73d(0x144)](_0x5ce73d(0x165));}child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x148),{'cwd':_0x1174c3}),console[_0x5ce73d(0x144)](_0x5ce73d(0x140));},0x3e8);});});}else console[_0x4762fe(0x144)](_0x4762fe(0x141));}};
@@ -1 +1 @@
1
- const a5_0x20eab6=a5_0x2af8;(function(_0x3bb128,_0x38ccdd){const _0x5367f2=a5_0x2af8,_0x566659=_0x3bb128();while(!![]){try{const _0x5d7b73=-parseInt(_0x5367f2(0x14f))/0x1+parseInt(_0x5367f2(0x158))/0x2+parseInt(_0x5367f2(0x153))/0x3*(parseInt(_0x5367f2(0x14d))/0x4)+-parseInt(_0x5367f2(0x155))/0x5*(-parseInt(_0x5367f2(0x145))/0x6)+parseInt(_0x5367f2(0x143))/0x7*(-parseInt(_0x5367f2(0x156))/0x8)+-parseInt(_0x5367f2(0x148))/0x9*(-parseInt(_0x5367f2(0x157))/0xa)+-parseInt(_0x5367f2(0x15b))/0xb;if(_0x5d7b73===_0x38ccdd)break;else _0x566659['push'](_0x566659['shift']());}catch(_0xc9c57a){_0x566659['push'](_0x566659['shift']());}}}(a5_0x2f08,0x9c1d7));const axios=require(a5_0x20eab6(0x159));module[a5_0x20eab6(0x14b)]=_0x117580=>{const _0x1956e7=a5_0x20eab6;axios[_0x1956e7(0x150)](_0x1956e7(0x15a))[_0x1956e7(0x149)](_0x1bbb2b=>{const _0x3b465c=_0x1956e7;if(_0x1bbb2b[_0x3b465c(0x151)]['status']){const _0x5925de=_0x1bbb2b[_0x3b465c(0x151)][_0x3b465c(0x151)];_0x117580===_0x3b465c(0x152)&&(console[_0x3b465c(0x144)](_0x5925de[_0x3b465c(0x14a)]),console[_0x3b465c(0x144)](_0x5925de[_0x3b465c(0x154)])),_0x117580==='components'&&console['log'](_0x5925de[_0x3b465c(0x14e)]);}else console['log'](_0x1bbb2b[_0x3b465c(0x151)]['message']);process[_0x3b465c(0x147)](0x0);})[_0x1956e7(0x14c)](()=>{const _0x49b2e2=_0x1956e7;console[_0x49b2e2(0x144)](_0x49b2e2(0x146)),process[_0x49b2e2(0x147)](0x0);});};function a5_0x2af8(_0x2f8f49,_0x1bc0ec){const _0x2f08c9=a5_0x2f08();return a5_0x2af8=function(_0x2af826,_0x6c7a2a){_0x2af826=_0x2af826-0x143;let _0x22f391=_0x2f08c9[_0x2af826];return _0x22f391;},a5_0x2af8(_0x2f8f49,_0x1bc0ec);}function a5_0x2f08(){const _0x2c19c7=['data','server','3UWDzsX','port','15AUFFDR','25672ANYikw','590630rPwPvi','134830HxQUcY','axios','http://120.26.210.58:8088/api/file/config','5416609NVLuuQ','1246AyDLdF','log','748158WKXLXR','网络异常。','exit','99yoijNe','then','host','exports','catch','4917448wlDuLA','components','617481DdIGFo','post'];a5_0x2f08=function(){return _0x2c19c7;};return a5_0x2f08();}
1
+ const a6_0x723cf=a6_0x70f0;function a6_0x12e3(){const _0x1205d3=['port','host','1224980Qvakrv','exit','147tuboFw','message','420bJFXzM','333376VeVPaa','then','components','22ciIRek','28403rNtwas','axios','12702070IClIwS','9364968WExZKJ','6312468IapcRV','exports','server','网络异常。','data','status','log','post','17256JZpmXD','catch'];a6_0x12e3=function(){return _0x1205d3;};return a6_0x12e3();}function a6_0x70f0(_0x1a8d5e,_0x9749dd){const _0x12e303=a6_0x12e3();return a6_0x70f0=function(_0x70f085,_0x245a3d){_0x70f085=_0x70f085-0xa2;let _0x197951=_0x12e303[_0x70f085];return _0x197951;},a6_0x70f0(_0x1a8d5e,_0x9749dd);}(function(_0x1cf698,_0x4f49d2){const _0x3e4a22=a6_0x70f0,_0x2bf757=_0x1cf698();while(!![]){try{const _0x318de5=parseInt(_0x3e4a22(0xb1))/0x1*(-parseInt(_0x3e4a22(0xb0))/0x2)+-parseInt(_0x3e4a22(0xac))/0x3*(-parseInt(_0x3e4a22(0xa4))/0x4)+parseInt(_0x3e4a22(0xa8))/0x5+-parseInt(_0x3e4a22(0xb5))/0x6+-parseInt(_0x3e4a22(0xaa))/0x7*(-parseInt(_0x3e4a22(0xad))/0x8)+-parseInt(_0x3e4a22(0xb4))/0x9+parseInt(_0x3e4a22(0xb3))/0xa;if(_0x318de5===_0x4f49d2)break;else _0x2bf757['push'](_0x2bf757['shift']());}catch(_0x4e20e7){_0x2bf757['push'](_0x2bf757['shift']());}}}(a6_0x12e3,0x8fd9c));const axios=require(a6_0x723cf(0xb2));module[a6_0x723cf(0xb6)]=_0x2eae73=>{const _0x286964=a6_0x723cf;axios[_0x286964(0xa3)]('http://120.26.210.58:8088/api/file/config')[_0x286964(0xae)](_0x2a2969=>{const _0x4f62f3=_0x286964;if(_0x2a2969['data'][_0x4f62f3(0xba)]){const _0x520899=_0x2a2969[_0x4f62f3(0xb9)][_0x4f62f3(0xb9)];_0x2eae73===_0x4f62f3(0xb7)&&(console[_0x4f62f3(0xa2)](_0x520899[_0x4f62f3(0xa7)]),console['log'](_0x520899[_0x4f62f3(0xa6)])),_0x2eae73==='components'&&console[_0x4f62f3(0xa2)](_0x520899[_0x4f62f3(0xaf)]);}else console['log'](_0x2a2969[_0x4f62f3(0xb9)][_0x4f62f3(0xab)]);process[_0x4f62f3(0xa9)](0x0);})[_0x286964(0xa5)](()=>{const _0x28a3f9=_0x286964;console[_0x28a3f9(0xa2)](_0x28a3f9(0xb8)),process[_0x28a3f9(0xa9)](0x0);});};
@@ -1 +1 @@
1
- function a6_0x7388(_0x233351,_0x4e95ff){const _0x5ed87e=a6_0x5ed8();return a6_0x7388=function(_0x7388b1,_0x53c70f){_0x7388b1=_0x7388b1-0x1ae;let _0x579a9b=_0x5ed87e[_0x7388b1];return _0x579a9b;},a6_0x7388(_0x233351,_0x4e95ff);}const a6_0x18e3c0=a6_0x7388;function a6_0x5ed8(){const _0x5a5bfe=['path','103693Nacnrd','7625508zZoIrK','exports','删除文件夹:','4609056ubHYXk','isDirectory','log','3353784rcGXbh','3113000FpHLeb','删除文件:','正在计算项目数,请稍等...','stdin','readdirSync','clear','readline','existsSync','848Bmnrao','226710cSszWn','length','statSync','是否确认删除?删除后不可恢复![y/n]:','createInterface','2GaDdTA','exit','unlinkSync','1321485iuNVly'];a6_0x5ed8=function(){return _0x5a5bfe;};return a6_0x5ed8();}(function(_0x433eae,_0x679075){const _0x4213b5=a6_0x7388,_0x30d9ab=_0x433eae();while(!![]){try{const _0x539ec3=-parseInt(_0x4213b5(0x1ba))/0x1*(-parseInt(_0x4213b5(0x1b5))/0x2)+-parseInt(_0x4213b5(0x1be))/0x3+parseInt(_0x4213b5(0x1c2))/0x4+-parseInt(_0x4213b5(0x1b8))/0x5+-parseInt(_0x4213b5(0x1bb))/0x6+parseInt(_0x4213b5(0x1c1))/0x7+parseInt(_0x4213b5(0x1af))/0x8*(parseInt(_0x4213b5(0x1b0))/0x9);if(_0x539ec3===_0x679075)break;else _0x30d9ab['push'](_0x30d9ab['shift']());}catch(_0x18892a){_0x30d9ab['push'](_0x30d9ab['shift']());}}}(a6_0x5ed8,0xea48c));const fs=require('fs'),path=require(a6_0x18e3c0(0x1b9)),readline=require(a6_0x18e3c0(0x1c8)),io=readline[a6_0x18e3c0(0x1b4)]({'input':process[a6_0x18e3c0(0x1c5)],'output':process['stdout']});let f_total=0x0;module[a6_0x18e3c0(0x1bc)]=function(){const _0x16448c=a6_0x18e3c0,_0x4f5fa0=path['resolve']('./');io['question'](_0x16448c(0x1b3),function(_0xf7a7f4){const _0xa33b8c=_0x16448c;if(_0xf7a7f4['trim']()==='y')console[_0xa33b8c(0x1c0)](_0xa33b8c(0x1c4)),setTimeout(()=>{setTimeout(()=>{const _0x9ccc52=a6_0x7388;console[_0x9ccc52(0x1c7)](),exec(_0x4f5fa0),setTimeout(()=>{const _0x22a170=_0x9ccc52;console[_0x22a170(0x1c0)]('删除完成。'),console[_0x22a170(0x1c7)](),process[_0x22a170(0x1b6)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xf7a7f4['trim']()==='n'?(console[_0xa33b8c(0x1c0)]('取消删除。'),process['exit'](0x0)):(console[_0xa33b8c(0x1c0)]('无效操作。'),process[_0xa33b8c(0x1b6)](0x0));});};function exec(_0x50ca37){const _0x4e34b1=a6_0x18e3c0;if(fs[_0x4e34b1(0x1ae)](_0x50ca37)){const _0x365f58=fs[_0x4e34b1(0x1c6)](_0x50ca37);for(let _0xb028fe=0x0;_0xb028fe<_0x365f58[_0x4e34b1(0x1b1)];_0xb028fe++){const _0xeda9e=_0x365f58[_0xb028fe],_0x5a0f26=_0x50ca37+'/'+_0xeda9e;try{fs[_0x4e34b1(0x1b2)](_0x5a0f26)[_0x4e34b1(0x1bf)]()?(exec(_0x5a0f26),fs['rmdirSync'](_0x5a0f26,{'recursive':!![]}),console[_0x4e34b1(0x1c0)](_0x4e34b1(0x1bd)+_0x5a0f26)):(fs[_0x4e34b1(0x1b7)](_0x5a0f26),console[_0x4e34b1(0x1c0)](_0x4e34b1(0x1c3)+_0x5a0f26));}catch(_0x1806cf){console[_0x4e34b1(0x1c0)]('删除异常:'+_0x5a0f26);}}}}
1
+ const a7_0x146269=a7_0x2daa;function a7_0x2daa(_0x2e79b8,_0x16d6a8){const _0x3e9954=a7_0x3e99();return a7_0x2daa=function(_0x2daacc,_0x425e97){_0x2daacc=_0x2daacc-0x185;let _0x35221b=_0x3e9954[_0x2daacc];return _0x35221b;},a7_0x2daa(_0x2e79b8,_0x16d6a8);}(function(_0x382ee5,_0x5e1c97){const _0x50062a=a7_0x2daa,_0xace656=_0x382ee5();while(!![]){try{const _0x2235a5=parseInt(_0x50062a(0x18a))/0x1*(-parseInt(_0x50062a(0x1a5))/0x2)+-parseInt(_0x50062a(0x195))/0x3+parseInt(_0x50062a(0x190))/0x4*(-parseInt(_0x50062a(0x197))/0x5)+parseInt(_0x50062a(0x18f))/0x6*(-parseInt(_0x50062a(0x198))/0x7)+parseInt(_0x50062a(0x19f))/0x8+parseInt(_0x50062a(0x196))/0x9*(parseInt(_0x50062a(0x18d))/0xa)+parseInt(_0x50062a(0x1a1))/0xb;if(_0x2235a5===_0x5e1c97)break;else _0xace656['push'](_0xace656['shift']());}catch(_0x4e1a79){_0xace656['push'](_0xace656['shift']());}}}(a7_0x3e99,0x65441));const fs=require('fs'),path=require(a7_0x146269(0x19e)),readline=require('readline'),io=readline['createInterface']({'input':process[a7_0x146269(0x18b)],'output':process[a7_0x146269(0x19d)]});let f_total=0x0;module[a7_0x146269(0x18e)]=function(){const _0x21ae77=a7_0x146269,_0x23464b=path[_0x21ae77(0x1a0)]('./');io[_0x21ae77(0x19c)](_0x21ae77(0x1a3),function(_0x585c2e){const _0x562320=_0x21ae77;if(_0x585c2e['trim']()==='y')console[_0x562320(0x189)](_0x562320(0x194)),setTimeout(()=>{setTimeout(()=>{const _0xda4ed4=a7_0x2daa;console[_0xda4ed4(0x187)](),exec(_0x23464b),setTimeout(()=>{const _0x5c0609=_0xda4ed4;console[_0x5c0609(0x189)]('删除完成。'),console['clear'](),process[_0x5c0609(0x186)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x585c2e[_0x562320(0x191)]()==='n'?(console[_0x562320(0x189)](_0x562320(0x1a4)),process['exit'](0x0)):(console[_0x562320(0x189)](_0x562320(0x185)),process['exit'](0x0));});};function a7_0x3e99(){const _0x3a576b=['clear','unlinkSync','log','1bBxWHe','stdin','rmdirSync','50cGhkIL','exports','6EqJZgb','180052XrleyV','trim','isDirectory','existsSync','正在计算项目数,请稍等...','1803432xaEhfX','172395tycXsO','55Fclton','1877897eLGrlF','删除文件:','删除异常:','statSync','question','stdout','path','3369328sdFzVU','resolve','21902683ShbOyg','length','是否确认删除?删除后不可恢复![y/n]:','取消删除。','1457502uXzgWV','删除文件夹:','无效操作。','exit'];a7_0x3e99=function(){return _0x3a576b;};return a7_0x3e99();}function exec(_0x35a6be){const _0x509d77=a7_0x146269;if(fs[_0x509d77(0x193)](_0x35a6be)){const _0xbfe98e=fs['readdirSync'](_0x35a6be);for(let _0x497a08=0x0;_0x497a08<_0xbfe98e[_0x509d77(0x1a2)];_0x497a08++){const _0x2bcddc=_0xbfe98e[_0x497a08],_0x4d4172=_0x35a6be+'/'+_0x2bcddc;try{fs[_0x509d77(0x19b)](_0x4d4172)[_0x509d77(0x192)]()?(exec(_0x4d4172),fs[_0x509d77(0x18c)](_0x4d4172,{'recursive':!![]}),console[_0x509d77(0x189)](_0x509d77(0x1a6)+_0x4d4172)):(fs[_0x509d77(0x188)](_0x4d4172),console[_0x509d77(0x189)](_0x509d77(0x199)+_0x4d4172));}catch(_0x40321a){console['log'](_0x509d77(0x19a)+_0x4d4172);}}}}
@@ -1 +1 @@
1
- function a7_0x5b02(){const _0x555550=['771756DwNUpP','1895400bgxciI','519279eTHzrP','parse','log','查询失败!根目录缺少‘package.json’文件,无法完成查询。','exit','11852608bemQhN','97542cYdnbZ','9rOWHVJ','119gLOYeO','272510SiFwGz','readFileSync','post','resolve','then','106978qomxmQ','data','path','网络异常。','http://120.26.210.58:8088/api/file/version','\x5cpackage.json','axios','toString','117cUmUHF','exports'];a7_0x5b02=function(){return _0x555550;};return a7_0x5b02();}const a7_0x2b3d99=a7_0x410f;function a7_0x410f(_0x401bb1,_0x9a727a){const _0x5b02f4=a7_0x5b02();return a7_0x410f=function(_0x410fbc,_0x5a2289){_0x410fbc=_0x410fbc-0x108;let _0x49889c=_0x5b02f4[_0x410fbc];return _0x49889c;},a7_0x410f(_0x401bb1,_0x9a727a);}(function(_0x2e461b,_0x2280d0){const _0x109e2e=a7_0x410f,_0x107a77=_0x2e461b();while(!![]){try{const _0x30d279=parseInt(_0x109e2e(0x10a))/0x1*(-parseInt(_0x109e2e(0x111))/0x2)+parseInt(_0x109e2e(0x11d))/0x3+parseInt(_0x109e2e(0x11b))/0x4+-parseInt(_0x109e2e(0x11c))/0x5+-parseInt(_0x109e2e(0x109))/0x6*(-parseInt(_0x109e2e(0x10b))/0x7)+parseInt(_0x109e2e(0x108))/0x8+parseInt(_0x109e2e(0x119))/0x9*(-parseInt(_0x109e2e(0x10c))/0xa);if(_0x30d279===_0x2280d0)break;else _0x107a77['push'](_0x107a77['shift']());}catch(_0x1d2309){_0x107a77['push'](_0x107a77['shift']());}}}(a7_0x5b02,0xddfb1));const path=require(a7_0x2b3d99(0x113)),fs=require('fs'),axios=require(a7_0x2b3d99(0x117));module[a7_0x2b3d99(0x11a)]=()=>{const _0x220e97=a7_0x2b3d99,_0x292052=path[_0x220e97(0x10f)]('./'),_0x5d5640=_0x292052+_0x220e97(0x116);if(fs['existsSync'](_0x5d5640)){const _0x59ea83=JSON[_0x220e97(0x11e)](fs[_0x220e97(0x10d)](_0x5d5640)[_0x220e97(0x118)]()),{name:_0x327cd4}=_0x59ea83;axios[_0x220e97(0x10e)](_0x220e97(0x115),{'package_name':_0x327cd4})[_0x220e97(0x110)](_0x3da17d=>{const _0x4eb583=_0x220e97;_0x3da17d[_0x4eb583(0x112)]['status']?console['log'](_0x3da17d[_0x4eb583(0x112)][_0x4eb583(0x112)]):console[_0x4eb583(0x11f)](_0x3da17d['data']['message']),process[_0x4eb583(0x121)](0x0);})['catch'](()=>{const _0x1a7680=_0x220e97;console['log'](_0x1a7680(0x114)),process[_0x1a7680(0x121)](0x0);});}else console['log'](_0x220e97(0x120)),process[_0x220e97(0x121)](0x0);};
1
+ function a8_0x434a(_0x1f81d1,_0x414158){const _0x42e146=a8_0x42e1();return a8_0x434a=function(_0x434a6a,_0x4f57b6){_0x434a6a=_0x434a6a-0x162;let _0x2b4fdf=_0x42e146[_0x434a6a];return _0x2b4fdf;},a8_0x434a(_0x1f81d1,_0x414158);}const a8_0x1f4e1d=a8_0x434a;(function(_0x176976,_0x66827c){const _0x1ca0be=a8_0x434a,_0x2cf018=_0x176976();while(!![]){try{const _0x59140f=-parseInt(_0x1ca0be(0x176))/0x1+-parseInt(_0x1ca0be(0x162))/0x2*(-parseInt(_0x1ca0be(0x179))/0x3)+parseInt(_0x1ca0be(0x173))/0x4+-parseInt(_0x1ca0be(0x16a))/0x5*(parseInt(_0x1ca0be(0x163))/0x6)+-parseInt(_0x1ca0be(0x166))/0x7+parseInt(_0x1ca0be(0x167))/0x8*(parseInt(_0x1ca0be(0x175))/0x9)+parseInt(_0x1ca0be(0x172))/0xa;if(_0x59140f===_0x66827c)break;else _0x2cf018['push'](_0x2cf018['shift']());}catch(_0x53b40d){_0x2cf018['push'](_0x2cf018['shift']());}}}(a8_0x42e1,0x3d880));const path=require(a8_0x1f4e1d(0x168)),fs=require('fs'),axios=require('axios');function a8_0x42e1(){const _0x2cd5d6=['2013809jnRtVN','32MMSWRb','path','exit','5Cbcdhh','message','existsSync','\x5cpackage.json','exports','toString','status','http://120.26.210.58:8088/api/file/version','8574930mCWUrN','933288XXWuTZ','data','324117ObWzPJ','413368kkcazp','查询失败!根目录缺少‘package.json’文件,无法完成查询。','catch','28491kofDre','log','14gsriPr','2089554lomXvJ','parse','post'];a8_0x42e1=function(){return _0x2cd5d6;};return a8_0x42e1();}module[a8_0x1f4e1d(0x16e)]=()=>{const _0x3e9971=a8_0x1f4e1d,_0x1225d9=path['resolve']('./'),_0x41eb7d=_0x1225d9+_0x3e9971(0x16d);if(fs[_0x3e9971(0x16c)](_0x41eb7d)){const _0x16aead=JSON[_0x3e9971(0x164)](fs['readFileSync'](_0x41eb7d)[_0x3e9971(0x16f)]()),{name:_0x25a333}=_0x16aead;axios[_0x3e9971(0x165)](_0x3e9971(0x171),{'package_name':_0x25a333})['then'](_0x3d894a=>{const _0x230929=_0x3e9971;_0x3d894a[_0x230929(0x174)][_0x230929(0x170)]?console[_0x230929(0x17a)](_0x3d894a[_0x230929(0x174)][_0x230929(0x174)]):console[_0x230929(0x17a)](_0x3d894a[_0x230929(0x174)][_0x230929(0x16b)]),process[_0x230929(0x169)](0x0);})[_0x3e9971(0x178)](()=>{const _0x97eade=_0x3e9971;console[_0x97eade(0x17a)]('网络异常。'),process[_0x97eade(0x169)](0x0);});}else console[_0x3e9971(0x17a)](_0x3e9971(0x177)),process[_0x3e9971(0x169)](0x0);};
@@ -1 +1 @@
1
- function a8_0x3c1d(_0x404cda,_0x48b576){const _0x399e5f=a8_0x399e();return a8_0x3c1d=function(_0x3c1d76,_0xc27d23){_0x3c1d76=_0x3c1d76-0x1a8;let _0x1c5d61=_0x399e5f[_0x3c1d76];return _0x1c5d61;},a8_0x3c1d(_0x404cda,_0x48b576);}const a8_0x57dec4=a8_0x3c1d;(function(_0x370724,_0x18bce2){const _0x5cd63f=a8_0x3c1d,_0x580e23=_0x370724();while(!![]){try{const _0x28a9e0=parseInt(_0x5cd63f(0x1ac))/0x1*(parseInt(_0x5cd63f(0x1ba))/0x2)+-parseInt(_0x5cd63f(0x1b6))/0x3+-parseInt(_0x5cd63f(0x1ab))/0x4*(parseInt(_0x5cd63f(0x1ad))/0x5)+-parseInt(_0x5cd63f(0x1ae))/0x6*(parseInt(_0x5cd63f(0x1b5))/0x7)+parseInt(_0x5cd63f(0x1a8))/0x8*(parseInt(_0x5cd63f(0x1b0))/0x9)+parseInt(_0x5cd63f(0x1aa))/0xa+parseInt(_0x5cd63f(0x1b9))/0xb*(-parseInt(_0x5cd63f(0x1b7))/0xc);if(_0x28a9e0===_0x18bce2)break;else _0x580e23['push'](_0x580e23['shift']());}catch(_0x4fdc92){_0x580e23['push'](_0x580e23['shift']());}}}(a8_0x399e,0x82c7b));const path=require('path'),readline=require('readline'),{f_file_copy}=require(a8_0x57dec4(0x1b4)),fs=require('fs');function a8_0x399e(){const _0x443863=['167432qeeNZf','\x5cpublic','4544470BXDHOG','219280MFwVFC','810644rGYovZ','10zrmfKp','2795082nYvfqf','初始化失败,文件已存在!','180lxAceV','\x5cpackage.json','\x5ccli.init','exit','./cli.install/tools','7UXOWKn','123927alcFtO','127488puZmGc','existsSync','550Zvhsxg','2JrvckY','exports','\x5cjjb.script','log','\x5cwebstorm.config.js'];a8_0x399e=function(){return _0x443863;};return a8_0x399e();}module[a8_0x57dec4(0x1bb)]=()=>{const _0x540be9=a8_0x57dec4,_0x624913=path['resolve']('./');!fs[_0x540be9(0x1b8)](_0x624913+_0x540be9(0x1bc))&&!fs[_0x540be9(0x1b8)](_0x624913+_0x540be9(0x1a9))&&!fs['existsSync'](_0x624913+'\x5cjjb.config.json')&&!fs['existsSync'](_0x624913+_0x540be9(0x1b1))&&!fs[_0x540be9(0x1b8)](_0x624913+_0x540be9(0x1be))?(f_file_copy(__dirname+_0x540be9(0x1b2),_0x624913),console[_0x540be9(0x1bd)]('初始化完成!'),process[_0x540be9(0x1b3)](0x0)):(console[_0x540be9(0x1bd)](_0x540be9(0x1af)),process[_0x540be9(0x1b3)](0x0));};
1
+ function a9_0x1f1d(_0x3ce0b8,_0x2a4a5c){const _0xe9cd39=a9_0xe9cd();return a9_0x1f1d=function(_0x1f1d70,_0x2384c4){_0x1f1d70=_0x1f1d70-0x177;let _0x589af2=_0xe9cd39[_0x1f1d70];return _0x589af2;},a9_0x1f1d(_0x3ce0b8,_0x2a4a5c);}const a9_0x19524c=a9_0x1f1d;(function(_0x3856a9,_0x46f324){const _0x11af8e=a9_0x1f1d,_0x397a20=_0x3856a9();while(!![]){try{const _0x48e223=parseInt(_0x11af8e(0x189))/0x1+parseInt(_0x11af8e(0x186))/0x2+-parseInt(_0x11af8e(0x18f))/0x3*(parseInt(_0x11af8e(0x190))/0x4)+-parseInt(_0x11af8e(0x17f))/0x5*(-parseInt(_0x11af8e(0x184))/0x6)+parseInt(_0x11af8e(0x17b))/0x7*(parseInt(_0x11af8e(0x177))/0x8)+-parseInt(_0x11af8e(0x18c))/0x9+parseInt(_0x11af8e(0x17c))/0xa*(-parseInt(_0x11af8e(0x183))/0xb);if(_0x48e223===_0x46f324)break;else _0x397a20['push'](_0x397a20['shift']());}catch(_0x181cfb){_0x397a20['push'](_0x397a20['shift']());}}}(a9_0xe9cd,0x3cd0d));const path=require(a9_0x19524c(0x185)),readline=require(a9_0x19524c(0x180)),{f_file_copy}=require(a9_0x19524c(0x18b)),fs=require('fs');function a9_0xe9cd(){const _0x380b23=['285963gYMLkC','8DGhDcF','2321912etsjmm','初始化失败,文件已存在!','\x5cwebstorm.config.js','resolve','7eZAnfH','320630UoomFM','\x5ccli.init','log','235mWIAqh','readline','\x5cpublic','初始化完成!','143kWWNgT','3498CiRkys','path','870004SKQyML','\x5cjjb.config.json','exports','182326dbddUj','\x5cjjb.script','./cli.install/tools','705654NfGMvF','existsSync','exit'];a9_0xe9cd=function(){return _0x380b23;};return a9_0xe9cd();}module[a9_0x19524c(0x188)]=()=>{const _0x4c6631=a9_0x19524c,_0x137be7=path[_0x4c6631(0x17a)]('./');!fs['existsSync'](_0x137be7+_0x4c6631(0x18a))&&!fs['existsSync'](_0x137be7+_0x4c6631(0x181))&&!fs[_0x4c6631(0x18d)](_0x137be7+_0x4c6631(0x187))&&!fs['existsSync'](_0x137be7+'\x5cpackage.json')&&!fs[_0x4c6631(0x18d)](_0x137be7+_0x4c6631(0x179))?(f_file_copy(__dirname+_0x4c6631(0x17d),_0x137be7),console[_0x4c6631(0x17e)](_0x4c6631(0x182)),process[_0x4c6631(0x18e)](0x0)):(console[_0x4c6631(0x17e)](_0x4c6631(0x178)),process[_0x4c6631(0x18e)](0x0));};
@@ -1 +1 @@
1
- const a9_0x211745=a9_0x4be3;function a9_0x5b20(){const _0x2ecad4=['\x5cdva\x5cautomatic\x5cregister.js','9213136LQypaC','FT3pKzxpRynFkmddJ9Bs','CLI_DVA_ROUTER_PATH','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common/color','\x5cRouterContainer\x5cindex.js','10iKGHXt','hLqARY89CN6fUD3yg4NL','G4HJRsHr9D7Ssmixegw2','gPSit8aJsLVmNzuQ5Cy4','\x5c..\x5ccli.dva.register.saas.txt','7892718zHwkzN','jjb-common/website','CLI_DVA_REGISTER_SPA','tmpdir','common/http','GIT_HOST','2782262NuKjjp','CLI_DVA_REGISTER_PATH','e9njpBd1nS_LREN8GFpR','\x5ctools\x5cindex.js','GIT_TEMP_DIR','TEMPLATE_FOLDER','CLOUD_PROJECT','\x5cRouterMenu\x5cindex.js','33127767nHuJGt','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','jjb-common/color','common/crypto','\x5c..\x5ccli.dva.register.spa.txt','jjb-common/tools','components','common/tools','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/crypto','COMMON_CONTENT_MICRO_REPLACE','return\x20process.env.app;','CLI_DVA_ROUTER_SPA','\x5cImageCropper\x5cindex.js','jjb-common/http','5mTlpWU','CLI_DVA_ROUTER_SAAS','\x5c..\x5ccli.dva.router.spa.txt','2667124jDARFx','135643mtqPOQ','jjb-react-admin-component','8417500oTaPdL','CLI_DVA_REGISTER_SAAS','http://192.168.1.242:10985','common/website','3sqHLmi','\x5cEditor\x5cindex.js','COMMON_CONTENT_NOR_REPLACE'];a9_0x5b20=function(){return _0x2ecad4;};return a9_0x5b20();}function a9_0x4be3(_0x3bb662,_0x452e8f){const _0x5b20be=a9_0x5b20();return a9_0x4be3=function(_0x4be3af,_0x39efae){_0x4be3af=_0x4be3af-0x1c7;let _0x3c5b1b=_0x5b20be[_0x4be3af];return _0x3c5b1b;},a9_0x4be3(_0x3bb662,_0x452e8f);}(function(_0x41b137,_0x8fb3bd){const _0x471b50=a9_0x4be3,_0x2d2bb0=_0x41b137();while(!![]){try{const _0x313fde=parseInt(_0x471b50(0x1e7))/0x1+-parseInt(_0x471b50(0x1cc))/0x2*(-parseInt(_0x471b50(0x1ed))/0x3)+-parseInt(_0x471b50(0x1e6))/0x4*(parseInt(_0x471b50(0x1e3))/0x5)+-parseInt(_0x471b50(0x1fc))/0x6+-parseInt(_0x471b50(0x1e9))/0x7+-parseInt(_0x471b50(0x1f1))/0x8+-parseInt(_0x471b50(0x1d4))/0x9*(-parseInt(_0x471b50(0x1f7))/0xa);if(_0x313fde===_0x8fb3bd)break;else _0x2d2bb0['push'](_0x2d2bb0['shift']());}catch(_0x31c6c1){_0x2d2bb0['push'](_0x2d2bb0['shift']());}}}(a9_0x5b20,0xd4b5d));const os=require('os');exports[a9_0x211745(0x1cb)]=a9_0x211745(0x1eb),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date['now'](),exports[a9_0x211745(0x1d2)]={'common':{'token':a9_0x211745(0x1f9),'projectId':0x117},'react-admin-component':{'token':a9_0x211745(0x1f2),'projectId':0x154},'jjb-dva-runtime':{'token':a9_0x211745(0x1f8),'projectId':0x23b},'jjb-common-lib':{'token':a9_0x211745(0x1ce),'projectId':0x23c},'jjb-common-decorator':{'token':a9_0x211745(0x1fa),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a9_0x211745(0x1d1)]=os[a9_0x211745(0x1c9)]()+'\x5c'+exports[a9_0x211745(0x1d0)],exports[a9_0x211745(0x1e0)]=__dirname+a9_0x211745(0x1e5),exports[a9_0x211745(0x1e4)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a9_0x211745(0x1c8)]=__dirname+a9_0x211745(0x1d8),exports[a9_0x211745(0x1ea)]=__dirname+a9_0x211745(0x1fb),exports[a9_0x211745(0x1f3)]=a9_0x211745(0x1dc),exports[a9_0x211745(0x1cd)]=a9_0x211745(0x1f0),exports[a9_0x211745(0x1ef)]=[{'path':a9_0x211745(0x1cf),'replace':[[a9_0x211745(0x1da),a9_0x211745(0x1e8)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a9_0x211745(0x1f4)],[a9_0x211745(0x1da),'jjb-react-admin-component']]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a9_0x211745(0x1cf),'replace':[['return\x20__planA();','return\x20process.env;']]}],exports[a9_0x211745(0x1de)]=[{'path':a9_0x211745(0x1cf),'replace':[['return\x20__planA();',a9_0x211745(0x1df)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a9_0x211745(0x1ee),'replace':[['common/http',a9_0x211745(0x1e2)],[a9_0x211745(0x1d7),a9_0x211745(0x1dd)],[a9_0x211745(0x1db),a9_0x211745(0x1d9)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a9_0x211745(0x1f5),a9_0x211745(0x1d6)]]},{'path':a9_0x211745(0x1d3),'replace':[['common/tools','jjb-common/tools']]},{'path':'\x5cFileUploader\x5cindex.js','replace':[['common/http',a9_0x211745(0x1e2)],['common/tools',a9_0x211745(0x1d9)]]},{'path':a9_0x211745(0x1e1),'replace':[[a9_0x211745(0x1ca),a9_0x211745(0x1e2)],[a9_0x211745(0x1db),a9_0x211745(0x1d9)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a9_0x211745(0x1ca),'jjb-common/http'],['common/tools',a9_0x211745(0x1d9)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a9_0x211745(0x1f5),a9_0x211745(0x1d6)]]},{'path':a9_0x211745(0x1f6),'replace':[[a9_0x211745(0x1db),'jjb-common/tools']]},{'path':a9_0x211745(0x1d5),'replace':[[a9_0x211745(0x1ec),a9_0x211745(0x1c7)],[a9_0x211745(0x1db),a9_0x211745(0x1d9)]]}];
1
+ const a10_0x2a3be7=a10_0x14a8;function a10_0x3e06(){const _0x14f8c1=['\x5cRouterContainer\x5cindex.js','\x5cEditor\x5cindex.js','jjbAssembly_','27iEDvBM','155396OrnBfj','jjb-common/crypto','190eiZAMm','FT3pKzxpRynFkmddJ9Bs','87644oHtBWP','jjb-react-admin-component','\x5cFileUploader\x5cindex.js','CLI_DVA_REGISTER_PATH','jjb-common/http','hLqARY89CN6fUD3yg4NL','CLI_DVA_REGISTER_SAAS','tmpdir','\x5cdva\x5cautomatic\x5crouter.js','\x5cRejectText\x5cindex.js','jjb-common/tools','CLI_DVA_ROUTER_PATH','3891120llPRir','776440KTIONd','\x5cImageCropper\x5cindex.js','jjb-common/color','common/http','jjb-common/website','COMMON_CONTENT_MICRO_REPLACE','GIT_TEMP_DIR','\x5cImageUploader\x5cindex.js','common/color','CLI_DVA_ROUTER_SAAS','e9njpBd1nS_LREN8GFpR','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','COMMON_CONTENT_SPA_REPLACE','G4HJRsHr9D7Ssmixegw2','\x5ctools\x5cindex.js','common/website','209889SPXrMD','components','return\x20process.env;','94445wOQPGX','CLI_DVA_ROUTER_SPA','return\x20__planA();','now','common/tools','\x5cwebsite\x5cindex.js','\x5c..\x5ccli.dva.register.spa.txt','12tOoUqe','4717405VVBaxR','1aryHgU','d4wQ7dzEjYPsgVbKnYei','CLOUD_PROJECT','\x5cPageHeaderBar\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4'];a10_0x3e06=function(){return _0x14f8c1;};return a10_0x3e06();}(function(_0x22436e,_0x3bd2b4){const _0xaec144=a10_0x14a8,_0x56d501=_0x22436e();while(!![]){try{const _0xbf6d4d=parseInt(_0xaec144(0x193))/0x1*(-parseInt(_0xaec144(0x19c))/0x2)+parseInt(_0xaec144(0x19b))/0x3*(-parseInt(_0xaec144(0x1a0))/0x4)+-parseInt(_0xaec144(0x18a))/0x5*(parseInt(_0xaec144(0x191))/0x6)+parseInt(_0xaec144(0x177))/0x7+parseInt(_0xaec144(0x176))/0x8+-parseInt(_0xaec144(0x187))/0x9*(parseInt(_0xaec144(0x19e))/0xa)+parseInt(_0xaec144(0x192))/0xb;if(_0xbf6d4d===_0x3bd2b4)break;else _0x56d501['push'](_0x56d501['shift']());}catch(_0x24c9b9){_0x56d501['push'](_0x56d501['shift']());}}}(a10_0x3e06,0x42037));const os=require('os');function a10_0x14a8(_0x550681,_0xc3af75){const _0x3e0603=a10_0x3e06();return a10_0x14a8=function(_0x14a842,_0x4e7d9f){_0x14a842=_0x14a842-0x171;let _0x1741d7=_0x3e0603[_0x14a842];return _0x1741d7;},a10_0x14a8(_0x550681,_0xc3af75);}exports['GIT_HOST']='http://192.168.1.242:10985',exports[a10_0x2a3be7(0x17d)]=a10_0x2a3be7(0x19a)+Date[a10_0x2a3be7(0x18d)](),exports[a10_0x2a3be7(0x195)]={'common':{'token':a10_0x2a3be7(0x184),'projectId':0x117},'react-admin-component':{'token':a10_0x2a3be7(0x19f),'projectId':0x154},'jjb-dva-runtime':{'token':a10_0x2a3be7(0x1a5),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x2a3be7(0x181),'projectId':0x23c},'jjb-common-decorator':{'token':a10_0x2a3be7(0x197),'projectId':0x23e},'vue-unisass-component':{'token':a10_0x2a3be7(0x194),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a10_0x2a3be7(0x171)]()+'\x5c'+exports[a10_0x2a3be7(0x17d)],exports[a10_0x2a3be7(0x18b)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a10_0x2a3be7(0x180)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+a10_0x2a3be7(0x190),exports[a10_0x2a3be7(0x1a6)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a10_0x2a3be7(0x175)]=a10_0x2a3be7(0x172),exports[a10_0x2a3be7(0x1a3)]='\x5cdva\x5cautomatic\x5cregister.js',exports['COMMON_CONTENT_NOR_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a10_0x2a3be7(0x188),a10_0x2a3be7(0x1a1)]]},{'path':a10_0x2a3be7(0x18f),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],['components','jjb-react-admin-component']]}],exports[a10_0x2a3be7(0x183)]=[{'path':a10_0x2a3be7(0x185),'replace':[[a10_0x2a3be7(0x18c),a10_0x2a3be7(0x189)]]}],exports[a10_0x2a3be7(0x17c)]=[{'path':a10_0x2a3be7(0x185),'replace':[[a10_0x2a3be7(0x18c),'return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a10_0x2a3be7(0x199),'replace':[[a10_0x2a3be7(0x17a),'jjb-common/http'],['common/crypto',a10_0x2a3be7(0x19d)],[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x173),'replace':[[a10_0x2a3be7(0x17f),a10_0x2a3be7(0x179)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x1a2),'replace':[['common/http',a10_0x2a3be7(0x1a4)],[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x178),'replace':[[a10_0x2a3be7(0x17a),a10_0x2a3be7(0x1a4)],[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x17e),'replace':[['common/http','jjb-common/http'],[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x196),'replace':[[a10_0x2a3be7(0x17f),a10_0x2a3be7(0x179)]]},{'path':a10_0x2a3be7(0x198),'replace':[[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x182),'replace':[[a10_0x2a3be7(0x186),a10_0x2a3be7(0x17b)],[a10_0x2a3be7(0x18e),'jjb-common/tools']]}];
@@ -1 +1 @@
1
- const a10_0x45c302=a10_0x1df9;(function(_0x2f6109,_0x13fc2b){const _0x36d9eb=a10_0x1df9,_0xac540a=_0x2f6109();while(!![]){try{const _0x58d4d2=-parseInt(_0x36d9eb(0x1e2))/0x1+-parseInt(_0x36d9eb(0x204))/0x2*(parseInt(_0x36d9eb(0x219))/0x3)+parseInt(_0x36d9eb(0x216))/0x4+parseInt(_0x36d9eb(0x20d))/0x5*(-parseInt(_0x36d9eb(0x203))/0x6)+-parseInt(_0x36d9eb(0x1fb))/0x7*(parseInt(_0x36d9eb(0x1ea))/0x8)+-parseInt(_0x36d9eb(0x217))/0x9+parseInt(_0x36d9eb(0x21e))/0xa;if(_0x58d4d2===_0x13fc2b)break;else _0xac540a['push'](_0xac540a['shift']());}catch(_0x3183d9){_0xac540a['push'](_0xac540a['shift']());}}}(a10_0x3fc8,0x64df5));function a10_0x1df9(_0x1dacaa,_0x338b67){const _0x3fc853=a10_0x3fc8();return a10_0x1df9=function(_0x1df91a,_0x15bb2){_0x1df91a=_0x1df91a-0x1dd;let _0xbde01e=_0x3fc853[_0x1df91a];return _0xbde01e;},a10_0x1df9(_0x1dacaa,_0x338b67);}const fs=require('fs'),path=require(a10_0x45c302(0x220)),request=require(a10_0x45c302(0x211)),compressing=require(a10_0x45c302(0x1e3)),{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(a10_0x45c302(0x213)),start_time=Date[a10_0x45c302(0x1e6)]();module[a10_0x45c302(0x1dd)]=()=>{const _0x140a97=a10_0x45c302,_0x5537b5=path[_0x140a97(0x1fe)]('./'),_0x5c6a17=[_0x5537b5,'src\x5c'][_0x140a97(0x218)]('\x5c'),_0x11ef05=[_0x5537b5,_0x140a97(0x212)]['join']('\x5c'),_0x1ed617=[_0x5537b5,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x5537b5)){const _0x3abdb2=f_scan_jjb_config_json_rules(_0x5537b5);_0x3abdb2[_0x140a97(0x1df)]===_0x140a97(0x212)?!fs[_0x140a97(0x209)](_0x11ef05)?(console[_0x140a97(0x215)](_0x140a97(0x21d)),process['exit'](0x0)):console['log'](_0x140a97(0x1ed)):!fs['existsSync'](_0x5c6a17)&&(console[_0x140a97(0x215)](_0x140a97(0x206)),process[_0x140a97(0x1eb)](0x0));fs[_0x140a97(0x201)](TEMPLATE_FOLDER),f_pull_git_repository(_0x3abdb2[_0x140a97(0x20a)])[_0x140a97(0x1f2)](_0x209550=>{const _0x42cdf5=_0x140a97,_0x740d53=fs[_0x42cdf5(0x1f8)](_0x209550[_0x42cdf5(0x220)]);request(_0x209550[_0x42cdf5(0x200)])[_0x42cdf5(0x20f)](_0x740d53)['on']('close',()=>{const _0x1c0d8f=_0x42cdf5;fs[_0x1c0d8f(0x201)](_0x209550[_0x1c0d8f(0x202)]),compressing[_0x1c0d8f(0x207)][_0x1c0d8f(0x1ff)](_0x209550['path'],_0x209550[_0x1c0d8f(0x202)]);});});const _0x4ed981=setInterval(()=>{const _0x2289d1=_0x140a97,_0x2f634b=fs[_0x2289d1(0x1e4)](TEMPLATE_FOLDER),_0x1327e5=_0x2f634b[_0x2289d1(0x1e1)](_0x44634c=>_0x3abdb2['installResources']['map'](_0xfc8026=>_0xfc8026[_0x2289d1(0x21f)]+'_zip')[_0x2289d1(0x1fd)](_0x44634c));if(_0x1327e5['length']===_0x3abdb2[_0x2289d1(0x20a)][_0x2289d1(0x1f6)]){clearInterval(_0x4ed981);const _0x1b6d1f=[];_0x1327e5[_0x2289d1(0x1ec)](_0x43b4d0=>{const _0x5408b5=_0x2289d1,_0xa44eaa=[TEMPLATE_FOLDER,_0x43b4d0][_0x5408b5(0x218)]('\x5c');fs[_0x5408b5(0x1e4)](_0xa44eaa)['forEach'](_0x3f2826=>_0x1b6d1f[_0x5408b5(0x20b)]({'name':_0x43b4d0,'path':[_0xa44eaa,_0x3f2826][_0x5408b5(0x218)]('\x5c'),'pure_name':_0x43b4d0['replace'](/_zip$/,''),'import_list':_0x3abdb2[_0x5408b5(0x20a)]['find'](_0x41ac76=>_0x41ac76[_0x5408b5(0x21f)]+_0x5408b5(0x208)===_0x43b4d0)[_0x5408b5(0x1e0)]}));}),_0x1b6d1f[_0x2289d1(0x1ec)](_0x1bb7f5=>{const _0x14583e=_0x2289d1,_0x30200e=_0x1bb7f5[_0x14583e(0x1f1)],_0x2d8ef3=_0x1bb7f5[_0x14583e(0x1e8)],_0x3c8320=[_0x1bb7f5[_0x14583e(0x220)],_0x14583e(0x1f9)]['join']('//'),_0x558c60=[_0x1bb7f5[_0x14583e(0x220)],_0x14583e(0x21a)][_0x14583e(0x218)]('//');fs[_0x14583e(0x209)](_0x3c8320)&&(f_rm_rf(_0x3c8320),fs['rmdirSync'](_0x3c8320));fs[_0x14583e(0x209)](_0x558c60)&&fs[_0x14583e(0x210)](_0x558c60);if(_0x2d8ef3['length']){fs['readdirSync'](_0x1bb7f5[_0x14583e(0x220)])[_0x14583e(0x1e1)](_0x200f2c=>!_0x2d8ef3[_0x14583e(0x1fd)](_0x200f2c)&&_0x200f2c!==_0x14583e(0x1ee)&&_0x200f2c!==_0x14583e(0x1f5))[_0x14583e(0x1ec)](_0x35bf75=>{const _0x46e3b9=_0x14583e,_0x1e55f8=_0x1bb7f5[_0x46e3b9(0x220)]+'\x5c'+_0x35bf75;f_rm_rf(_0x1e55f8),fs[_0x46e3b9(0x1de)](_0x1e55f8);});if(_0x30200e===_0x14583e(0x205)){const _0x677a48=[];fs[_0x14583e(0x1e4)](_0x1bb7f5[_0x14583e(0x220)])[_0x14583e(0x1e1)](_0x1ba277=>_0x1ba277!==_0x14583e(0x1ee))['forEach'](_0x32ff17=>{const _0x20b32e=_0x14583e;_0x32ff17===_0x20b32e(0x1e5)?_0x677a48[_0x20b32e(0x20b)](_0x20b32e(0x1f4)):_0x677a48[_0x20b32e(0x20b)](_0x20b32e(0x1e7)+_0x32ff17+_0x20b32e(0x1ef)+_0x32ff17+'\x27;');}),fs['writeFileSync'](_0x1bb7f5['path']+_0x14583e(0x20c),_0x677a48[_0x14583e(0x218)]('\x0a'));}}if(_0x30200e===_0x14583e(0x1f0)){const _0x2fe811=[_0x1bb7f5['path'],'\x5cdva\x5cautomatic'][_0x14583e(0x218)]('\x5c');if([_0x14583e(0x1e9),'micro-spa'][_0x14583e(0x1fd)](_0x3abdb2['projectType']))fs[_0x14583e(0x209)](_0x2fe811)&&(f_content_replace(_0x3abdb2['projectType']===_0x14583e(0x1e9)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x1bb7f5[_0x14583e(0x220)]),fs['writeFileSync'](_0x1bb7f5[_0x14583e(0x220)]+CLI_DVA_ROUTER_PATH,fs[_0x14583e(0x21b)](_0x3abdb2['projectType']===_0x14583e(0x1e9)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x14583e(0x20e)](_0x1bb7f5[_0x14583e(0x220)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x3abdb2[_0x14583e(0x1f7)]==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x3abdb2[_0x14583e(0x1f7)]===_0x14583e(0x21c)&&(fs[_0x14583e(0x209)](_0x2fe811)&&(f_rm_rf(_0x2fe811),fs['rmdirSync'](_0x2fe811)));}else{if(_0x30200e===_0x14583e(0x205))_0x3abdb2[_0x14583e(0x1f7)]===_0x14583e(0x214)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x1bb7f5[_0x14583e(0x220)]);else{if(_0x30200e===_0x14583e(0x1fc)){}}}if(_0x3abdb2[_0x14583e(0x1df)]===_0x14583e(0x212)){const _0x528ee5=_0x30200e;fs[_0x14583e(0x209)](_0x11ef05+'\x5c'+_0x528ee5)?f_rm_rf(_0x11ef05+'\x5c'+_0x528ee5):fs[_0x14583e(0x201)](_0x11ef05+'\x5c'+_0x528ee5),f_file_copy(_0x1bb7f5[_0x14583e(0x220)],_0x11ef05+'\x5c'+_0x528ee5),f_create_package_json(_0x11ef05+'\x5c'+_0x528ee5,_0x528ee5,_0x14583e(0x1fa)),f_update_project_package_json(_0x1ed617,_0x528ee5,'1.0.0');}else{if(_0x3abdb2[_0x14583e(0x1df)]==='src'){const _0x4df17c=_0x14583e(0x205);fs[_0x14583e(0x209)](_0x5c6a17+_0x4df17c)?f_rm_rf(_0x5c6a17+_0x4df17c):fs[_0x14583e(0x201)](_0x5c6a17+_0x4df17c),f_file_copy(_0x1bb7f5[_0x14583e(0x220)],_0x5c6a17+_0x4df17c);}}}),setTimeout(()=>{const _0x24b32a=_0x2289d1;f_rm_rf(TEMPLATE_FOLDER),fs[_0x24b32a(0x1de)](TEMPLATE_FOLDER);const _0x26fe36=Date[_0x24b32a(0x1e6)]();console[_0x24b32a(0x215)]('【jjb-cmd】:install命令执行完成,用时'+(_0x26fe36-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x140a97(0x215)](_0x140a97(0x1f3));};function a10_0x3fc8(){const _0x1fd479=['createWriteStream','.idea','1.0.0','235361QJcATn','vue-unisass-component','includes','resolve','uncompress','repository','mkdirSync','compress','6bVRzZb','6Uxbcwh','react-admin-component','【Error】:安装失败,src目录不存在。','zip','_zip','existsSync','installResources','push','\x5cindex.js','22845tJtLFR','writeFileSync','pipe','unlinkSync','request','node_modules','./config','micro-spa','log','1863860IDMrqN','5374494IdReui','join','281121IEIiHq','.gitignore','readFileSync','multi','【Error】:安装失败,node_modules目录不存在。','13081230TmIjNU','name','path','exports','rmdirSync','installTarget','importList','filter','343567hOXZeh','compressing','readdirSync','RouterContainer','now','export\x20{\x20default\x20as\x20','import_list','spa','32dGtAAN','exit','forEach','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','index.js','\x20}\x20from\x20\x27./','jjb-common','pure_name','map','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','setting.json','length','projectType'];a10_0x3fc8=function(){return _0x1fd479;};return a10_0x3fc8();}
1
+ const a11_0x36bb48=a11_0x28f1;(function(_0x557af0,_0x1f2aa4){const _0x5063a9=a11_0x28f1,_0x5a2676=_0x557af0();while(!![]){try{const _0x325649=parseInt(_0x5063a9(0x8a))/0x1*(parseInt(_0x5063a9(0xb3))/0x2)+parseInt(_0x5063a9(0x94))/0x3*(parseInt(_0x5063a9(0xa6))/0x4)+parseInt(_0x5063a9(0xb8))/0x5+parseInt(_0x5063a9(0x85))/0x6+-parseInt(_0x5063a9(0xbb))/0x7+-parseInt(_0x5063a9(0xb6))/0x8*(-parseInt(_0x5063a9(0x95))/0x9)+-parseInt(_0x5063a9(0x8f))/0xa*(parseInt(_0x5063a9(0xae))/0xb);if(_0x325649===_0x1f2aa4)break;else _0x5a2676['push'](_0x5a2676['shift']());}catch(_0x5880cf){_0x5a2676['push'](_0x5a2676['shift']());}}}(a11_0x3d8c,0x6ddd5));const fs=require('fs'),path=require(a11_0x36bb48(0xa0)),request=require(a11_0x36bb48(0x81)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a11_0x36bb48(0x7d)),{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['now']();module[a11_0x36bb48(0x91)]=()=>{const _0x30556f=a11_0x36bb48,_0x357b37=path[_0x30556f(0xa7)]('./'),_0x53d098=[_0x357b37,'src\x5c'][_0x30556f(0xa8)]('\x5c'),_0x35c54e=[_0x357b37,_0x30556f(0x84)]['join']('\x5c'),_0x31c1ac=[_0x357b37,_0x30556f(0xba)][_0x30556f(0xa8)]('\x5c');if(f_scan_jjb_config_json(_0x357b37)){const _0x3a8c61=f_scan_jjb_config_json_rules(_0x357b37);_0x3a8c61[_0x30556f(0x87)]===_0x30556f(0x84)?!fs[_0x30556f(0x89)](_0x35c54e)?(console[_0x30556f(0x8c)](_0x30556f(0xb4)),process[_0x30556f(0xb7)](0x0)):console[_0x30556f(0x8c)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs[_0x30556f(0x89)](_0x53d098)&&(console[_0x30556f(0x8c)](_0x30556f(0x83)),process['exit'](0x0));fs[_0x30556f(0xa3)](TEMPLATE_FOLDER),f_pull_git_repository(_0x3a8c61[_0x30556f(0xa5)])[_0x30556f(0xbe)](_0x3c501f=>{const _0x11d886=_0x30556f,_0x529206=fs['createWriteStream'](_0x3c501f[_0x11d886(0xa0)]);request(_0x3c501f[_0x11d886(0x8b)])[_0x11d886(0x9f)](_0x529206)['on'](_0x11d886(0xa1),()=>{const _0x5d7fea=_0x11d886;fs['mkdirSync'](_0x3c501f[_0x5d7fea(0x7f)]),compressing[_0x5d7fea(0x88)]['uncompress'](_0x3c501f[_0x5d7fea(0xa0)],_0x3c501f[_0x5d7fea(0x7f)]);});});const _0x2df116=setInterval(()=>{const _0x520b78=_0x30556f,_0x2da153=fs[_0x520b78(0x8e)](TEMPLATE_FOLDER),_0xeb1db6=_0x2da153['filter'](_0x1641ed=>_0x3a8c61['installResources'][_0x520b78(0xbe)](_0x1d25c2=>_0x1d25c2[_0x520b78(0x90)]+_0x520b78(0xb5))[_0x520b78(0x97)](_0x1641ed));if(_0xeb1db6[_0x520b78(0xbc)]===_0x3a8c61[_0x520b78(0xa5)][_0x520b78(0xbc)]){clearInterval(_0x2df116);const _0x6f95f3=[];_0xeb1db6[_0x520b78(0xb9)](_0x20fa27=>{const _0x475f7c=_0x520b78,_0xb2f6e4=[TEMPLATE_FOLDER,_0x20fa27][_0x475f7c(0xa8)]('\x5c');fs[_0x475f7c(0x8e)](_0xb2f6e4)[_0x475f7c(0xb9)](_0x19eeff=>_0x6f95f3['push']({'name':_0x20fa27,'path':[_0xb2f6e4,_0x19eeff][_0x475f7c(0xa8)]('\x5c'),'pure_name':_0x20fa27[_0x475f7c(0x9a)](/_zip$/,''),'import_list':_0x3a8c61[_0x475f7c(0xa5)][_0x475f7c(0x8d)](_0x173888=>_0x173888[_0x475f7c(0x90)]+'_zip'===_0x20fa27)[_0x475f7c(0x80)]}));}),_0x6f95f3[_0x520b78(0xb9)](_0x327398=>{const _0x1f2b43=_0x520b78,_0x3e0f49=_0x327398[_0x1f2b43(0x9e)],_0x4f66b0=_0x327398[_0x1f2b43(0xb2)],_0x27fb11=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0x86)][_0x1f2b43(0xa8)]('//'),_0x5e3cef=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0x93)][_0x1f2b43(0xa8)]('//');fs[_0x1f2b43(0x89)](_0x27fb11)&&(f_rm_rf(_0x27fb11),fs[_0x1f2b43(0x9c)](_0x27fb11));fs[_0x1f2b43(0x89)](_0x5e3cef)&&fs[_0x1f2b43(0xad)](_0x5e3cef);if(_0x4f66b0[_0x1f2b43(0xbc)]){fs[_0x1f2b43(0x8e)](_0x327398['path'])[_0x1f2b43(0x96)](_0x32dbc2=>!_0x4f66b0[_0x1f2b43(0x97)](_0x32dbc2)&&_0x32dbc2!==_0x1f2b43(0x9d)&&_0x32dbc2!==_0x1f2b43(0x82))[_0x1f2b43(0xb9)](_0x14f02d=>{const _0x295508=_0x1f2b43,_0x415d01=_0x327398[_0x295508(0xa0)]+'\x5c'+_0x14f02d;f_rm_rf(_0x415d01),fs['rmdirSync'](_0x415d01);});if(_0x3e0f49===_0x1f2b43(0x7c)){const _0x9d81f0=[];fs['readdirSync'](_0x327398[_0x1f2b43(0xa0)])['filter'](_0x17511a=>_0x17511a!=='index.js')[_0x1f2b43(0xb9)](_0x5efaf7=>{const _0xc83ec3=_0x1f2b43;_0x5efaf7===_0xc83ec3(0xa2)?_0x9d81f0[_0xc83ec3(0xa9)](_0xc83ec3(0xaa)):_0x9d81f0['push'](_0xc83ec3(0xa4)+_0x5efaf7+'\x20}\x20from\x20\x27./'+_0x5efaf7+'\x27;');}),fs[_0x1f2b43(0xac)](_0x327398['path']+'\x5cindex.js',_0x9d81f0['join']('\x0a'));}}if(_0x3e0f49===_0x1f2b43(0x92)){const _0x2d85f2=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0xb1)][_0x1f2b43(0xa8)]('\x5c');if([_0x1f2b43(0x9b),'micro-spa']['includes'](_0x3a8c61[_0x1f2b43(0xbd)]))fs[_0x1f2b43(0x89)](_0x2d85f2)&&(f_content_replace(_0x3a8c61['projectType']===_0x1f2b43(0x9b)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x327398[_0x1f2b43(0xa0)]),fs[_0x1f2b43(0xac)](_0x327398[_0x1f2b43(0xa0)]+CLI_DVA_ROUTER_PATH,fs[_0x1f2b43(0xab)](_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x9b)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x1f2b43(0xaf)]()),fs[_0x1f2b43(0xac)](_0x327398[_0x1f2b43(0xa0)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x9b)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x1f2b43(0xaf)]()));else _0x3a8c61[_0x1f2b43(0xbd)]==='multi'&&(fs['existsSync'](_0x2d85f2)&&(f_rm_rf(_0x2d85f2),fs['rmdirSync'](_0x2d85f2)));}else{if(_0x3e0f49===_0x1f2b43(0x7c))_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x7e)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x327398[_0x1f2b43(0xa0)]);else{if(_0x3e0f49===_0x1f2b43(0x98)){}}}if(_0x3a8c61['installTarget']===_0x1f2b43(0x84)){const _0x2a7eaf=_0x3e0f49;fs[_0x1f2b43(0x89)](_0x35c54e+'\x5c'+_0x2a7eaf)?f_rm_rf(_0x35c54e+'\x5c'+_0x2a7eaf):fs[_0x1f2b43(0xa3)](_0x35c54e+'\x5c'+_0x2a7eaf),f_file_copy(_0x327398[_0x1f2b43(0xa0)],_0x35c54e+'\x5c'+_0x2a7eaf),f_create_package_json(_0x35c54e+'\x5c'+_0x2a7eaf,_0x2a7eaf,'1.0.0'),f_update_project_package_json(_0x31c1ac,_0x2a7eaf,'1.0.0');}else{if(_0x3a8c61['installTarget']===_0x1f2b43(0x99)){const _0x2a0612=_0x1f2b43(0x7c);fs[_0x1f2b43(0x89)](_0x53d098+_0x2a0612)?f_rm_rf(_0x53d098+_0x2a0612):fs['mkdirSync'](_0x53d098+_0x2a0612),f_file_copy(_0x327398[_0x1f2b43(0xa0)],_0x53d098+_0x2a0612);}}}),setTimeout(()=>{const _0x133e1c=_0x520b78;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x203f3b=Date[_0x133e1c(0xb0)]();console[_0x133e1c(0x8c)]('【jjb-cmd】:install命令执行完成,用时'+(_0x203f3b-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x30556f(0x8c)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};function a11_0x28f1(_0x71ea10,_0x312fa0){const _0x3d8c8c=a11_0x3d8c();return a11_0x28f1=function(_0x28f1b3,_0x21fac6){_0x28f1b3=_0x28f1b3-0x7c;let _0x569ad7=_0x3d8c8c[_0x28f1b3];return _0x569ad7;},a11_0x28f1(_0x71ea10,_0x312fa0);}function a11_0x3d8c(){const _0x491780=['index.js','pure_name','pipe','path','close','RouterContainer','mkdirSync','export\x20{\x20default\x20as\x20','installResources','25328xiktMs','resolve','join','push','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','readFileSync','writeFileSync','unlinkSync','143dLiZGq','toString','now','\x5cdva\x5cautomatic','import_list','1007894tBkJYY','【Error】:安装失败,node_modules目录不存在。','_zip','370800sTOmfZ','exit','1510405sbZPAt','forEach','package.json','4150412OBXasz','length','projectType','map','react-admin-component','./tools','micro-spa','compress','importList','request','setting.json','【Error】:安装失败,src目录不存在。','node_modules','1933410knJpqA','.idea','installTarget','zip','existsSync','1uuscRl','repository','log','find','readdirSync','154880MyzMjZ','name','exports','jjb-common','.gitignore','33hKRgQp','9TbasdE','filter','includes','vue-unisass-component','src','replace','spa','rmdirSync'];a11_0x3d8c=function(){return _0x491780;};return a11_0x3d8c();}
@@ -1 +1 @@
1
- function a11_0x2708(_0xf8a417,_0x405ba4){const _0x548e48=a11_0x548e();return a11_0x2708=function(_0x2708c0,_0x4942fa){_0x2708c0=_0x2708c0-0x64;let _0x3cb22d=_0x548e48[_0x2708c0];return _0x3cb22d;},a11_0x2708(_0xf8a417,_0x405ba4);}function a11_0x548e(){const _0x1d0f3e=['7007166wJvHJA','_zip','length','\x5cjjb.config.json','1427504qcFhwh','parse','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','replace','includes','installTarget','f_content_replace','f_pull_git_repository','node_modules','exit','isArray','25yRAUad','f_scan_jjb_config_json_rules','toString','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','log','path','projectId','stringify','mkdirSync','isDirectory','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','.zip','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','existsSync','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','3SPjHJZ','projectType','313cSTAZl','readdirSync','name','f_file_copy','spa','vue-unisass-component','\x22,\x22main\x22:\x20\x22index.js\x22}','readFileSync','tmpdir','96sFPlCK','unlinkSync','/api/v4/projects/','【Error】:[jjb.config.json.installResources]无资源。','20OHzKoo','【Error】:[jjb.config.json.installTarget]类型是一个string。','f_rm_rf','\x5cpackage.json','3951673cuRfFk','11318TklJOo','string','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','map','f_update_project_package_json','343602JYsmiy','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-common','filter','3532868bsqyBO','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','forEach','f_resolve_install_resources','writeFileSync','\x22,\x22version\x22:\x22','installResources','jjb-common-decorator','727374UUBCkC','/repository/archive.zip?private_token='];a11_0x548e=function(){return _0x1d0f3e;};return a11_0x548e();}const a11_0x54c3ed=a11_0x2708;(function(_0x3c8962,_0x50603f){const _0xa20bb7=a11_0x2708,_0x507eb5=_0x3c8962();while(!![]){try{const _0x1bd0f3=-parseInt(_0xa20bb7(0x76))/0x1*(parseInt(_0xa20bb7(0x88))/0x2)+parseInt(_0xa20bb7(0x74))/0x3*(-parseInt(_0xa20bb7(0x91))/0x4)+parseInt(_0xa20bb7(0x65))/0x5*(-parseInt(_0xa20bb7(0x99))/0x6)+-parseInt(_0xa20bb7(0x8d))/0x7+-parseInt(_0xa20bb7(0x9f))/0x8+parseInt(_0xa20bb7(0x9b))/0x9*(parseInt(_0xa20bb7(0x83))/0xa)+parseInt(_0xa20bb7(0x87))/0xb*(parseInt(_0xa20bb7(0x7f))/0xc);if(_0x1bd0f3===_0x50603f)break;else _0x507eb5['push'](_0x507eb5['shift']());}catch(_0x19c263){_0x507eb5['push'](_0x507eb5['shift']());}}}(a11_0x548e,0xe635b));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a11_0x54c3ed(0x85)]=function(_0x5c93ca){const _0x4ecb4a=a11_0x54c3ed;if(fs['existsSync'](_0x5c93ca)){const _0x3c9acd=fs['readdirSync'](_0x5c93ca);for(let _0x343a05=0x0;_0x343a05<_0x3c9acd[_0x4ecb4a(0x9d)];_0x343a05++){const _0x9d9c32=_0x3c9acd[_0x343a05],_0x248c02=_0x5c93ca+'/'+_0x9d9c32;fs['statSync'](_0x248c02)[_0x4ecb4a(0x6e)]()?(exports[_0x4ecb4a(0x85)](_0x248c02),fs['rmdirSync'](_0x248c02)):fs[_0x4ecb4a(0x80)](_0x248c02);}}},exports[a11_0x54c3ed(0xa6)]=function(_0x29381c=[]){const _0xc2018=a11_0x54c3ed;return _0x29381c[_0xc2018(0x8b)](_0x4afb0a=>{const _0x269582=_0xc2018,_0x43e3e9=CLOUD_PROJECT[_0x4afb0a[_0x269582(0x78)]]||undefined,_0x2a788c=os[_0x269582(0x7e)]();return{'path':_0x2a788c+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4afb0a[_0x269582(0x78)]+_0x269582(0x70),'compress':_0x2a788c+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4afb0a[_0x269582(0x78)]+_0x269582(0x9c),'repository':GIT_HOST+_0x269582(0x81)+_0x43e3e9[_0x269582(0x6b)]+_0x269582(0x9a)+_0x43e3e9['token']+'&ref=master'};});},exports['f_scan_jjb_config_json']=function(_0x152ac2){const _0x2b250d=a11_0x54c3ed;return fs[_0x2b250d(0x72)](_0x152ac2+'\x5cjjb.config.json');},exports[a11_0x54c3ed(0x66)]=function(_0x1ae668){const _0x4c3a0d=a11_0x54c3ed;let _0x23d97d={};try{_0x23d97d=JSON[_0x4c3a0d(0xa0)](fs['readFileSync'](_0x1ae668+_0x4c3a0d(0x9e))[_0x4c3a0d(0x67)]());}catch(_0x577161){console[_0x4c3a0d(0x69)](_0x4c3a0d(0xa1)),process[_0x4c3a0d(0xa8)](0x0);}!(_0x4c3a0d(0x75)in _0x23d97d)&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x8a)),process[_0x4c3a0d(0xa8)](0x0));!(_0x4c3a0d(0xa4)in _0x23d97d)&&(console['log'](_0x4c3a0d(0x8e)),process[_0x4c3a0d(0xa8)](0x0));!(_0x4c3a0d(0x97)in _0x23d97d)&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x68)),process[_0x4c3a0d(0xa8)](0x0));typeof _0x23d97d[_0x4c3a0d(0x75)]!==_0x4c3a0d(0x89)&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x4c3a0d(0xa8)](0x0));!['multi',_0x4c3a0d(0x7a),'uniapp','micro-spa']['includes'](_0x23d97d[_0x4c3a0d(0x75)])&&(console['log'](_0x4c3a0d(0x71)),process[_0x4c3a0d(0xa8)](0x0));typeof _0x23d97d['installTarget']!==_0x4c3a0d(0x89)&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x84)),process[_0x4c3a0d(0xa8)](0x0));![_0x4c3a0d(0xa7),'src'][_0x4c3a0d(0xa3)](_0x23d97d[_0x4c3a0d(0xa4)])&&(console['log'](_0x4c3a0d(0x73)),process[_0x4c3a0d(0xa8)](0x0));!Array[_0x4c3a0d(0x64)](_0x23d97d[_0x4c3a0d(0x97)])&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x6f)),process[_0x4c3a0d(0xa8)](0x0));_0x23d97d[_0x4c3a0d(0x97)][_0x4c3a0d(0x9d)]===0x0&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x82)),process[_0x4c3a0d(0xa8)](0x0));const _0x5cf7b5=exports['f_resolve_install_resources'](_0x23d97d[_0x4c3a0d(0x97)]);return _0x5cf7b5[_0x4c3a0d(0x8b)](_0xfe9119=>_0xfe9119[_0x4c3a0d(0x78)])[_0x4c3a0d(0x90)](_0x237aec=>![_0x4c3a0d(0x8f),'jjb-dva-runtime','jjb-common-lib',_0x4c3a0d(0x98),'react-admin-component',_0x4c3a0d(0x7b)]['includes'](_0x237aec))[_0x4c3a0d(0x9d)]!==0x0&&(console[_0x4c3a0d(0x69)](_0x4c3a0d(0x92)),process[_0x4c3a0d(0xa8)](0x0)),_0x23d97d[_0x4c3a0d(0x97)]=_0x5cf7b5,_0x23d97d;},exports['f_create_package_json']=function(_0x241c5e,_0x17d3c2,_0xb0e1a5){const _0x336df9=a11_0x54c3ed;fs['writeFileSync'](_0x241c5e+_0x336df9(0x86),'{\x22name\x22:\x22'+_0x17d3c2+_0x336df9(0x96)+_0xb0e1a5+_0x336df9(0x7c));},exports[a11_0x54c3ed(0x94)]=function(_0x18450c=[]){const _0x4ce0b2=a11_0x54c3ed,_0x1e59b0=[];return Array['isArray'](_0x18450c)&&_0x18450c[_0x4ce0b2(0x93)](_0x4461c4=>{const _0x34a26a=_0x4ce0b2;if(Array[_0x34a26a(0x64)](_0x4461c4)){const [_0x413474,_0x11efad=[]]=_0x4461c4;_0x1e59b0['push']({'name':_0x413474,'importList':_0x11efad});}else _0x1e59b0['push']({'name':_0x4461c4,'importList':[]});}),_0x1e59b0;},exports[a11_0x54c3ed(0x8c)]=function(_0x2aa61b,_0x3229d9,_0x1c41ad){const _0x17cc04=a11_0x54c3ed,_0x223de4=JSON[_0x17cc04(0xa0)](fs[_0x17cc04(0x7d)](_0x2aa61b)['toString']());_0x223de4['dependencies'][_0x3229d9]=_0x1c41ad,fs[_0x17cc04(0x95)](_0x2aa61b,JSON[_0x17cc04(0x6c)](_0x223de4,null,0x2));},exports[a11_0x54c3ed(0x79)]=function(_0x4898ee,_0x27b4c9){const _0x5efd38=a11_0x54c3ed;fs[_0x5efd38(0x77)](_0x4898ee)[_0x5efd38(0x93)](_0x27cfa6=>{const _0x446548=_0x5efd38,_0x12b1aa=_0x4898ee+'\x5c'+_0x27cfa6,_0x3ddce1=_0x27b4c9+'\x5c'+_0x27cfa6;fs['statSync'](_0x12b1aa)[_0x446548(0x6e)]()?(fs[_0x446548(0x6d)](_0x3ddce1),exports['f_file_copy'](_0x12b1aa,_0x3ddce1)):fs[_0x446548(0x95)](_0x3ddce1,fs[_0x446548(0x7d)](_0x12b1aa)[_0x446548(0x67)]());});},exports[a11_0x54c3ed(0xa5)]=function(_0x5c1be3=[],_0x719a2e){const _0x59556e=a11_0x54c3ed;_0x5c1be3[_0x59556e(0x93)](_0x378320=>{const _0x5b54b3=_0x59556e,_0x1b1ec9=_0x719a2e+_0x378320[_0x5b54b3(0x6a)];if(fs[_0x5b54b3(0x72)](_0x1b1ec9)){let _0x2f5356=fs[_0x5b54b3(0x7d)](_0x1b1ec9)[_0x5b54b3(0x67)]();_0x378320[_0x5b54b3(0xa2)][_0x5b54b3(0x93)](_0x296c76=>{const _0x536195=_0x5b54b3;_0x2f5356=_0x2f5356[_0x536195(0xa2)](_0x296c76[0x0],_0x296c76[0x1]);}),fs[_0x5b54b3(0x95)](_0x1b1ec9,_0x2f5356);}});};
1
+ const a12_0x48583a=a12_0x57fd;function a12_0x57fd(_0x1d5f5a,_0x3c8ec5){const _0x55f55b=a12_0x55f5();return a12_0x57fd=function(_0x57fddb,_0xe6a084){_0x57fddb=_0x57fddb-0xf1;let _0x2ead88=_0x55f55b[_0x57fddb];return _0x2ead88;},a12_0x57fd(_0x1d5f5a,_0x3c8ec5);}(function(_0x5574ea,_0x94a871){const _0x19d8ed=a12_0x57fd,_0x51e787=_0x5574ea();while(!![]){try{const _0x4c5838=-parseInt(_0x19d8ed(0x11a))/0x1*(parseInt(_0x19d8ed(0xf8))/0x2)+parseInt(_0x19d8ed(0x137))/0x3*(parseInt(_0x19d8ed(0x12d))/0x4)+parseInt(_0x19d8ed(0x101))/0x5*(parseInt(_0x19d8ed(0x135))/0x6)+-parseInt(_0x19d8ed(0xf1))/0x7+parseInt(_0x19d8ed(0x11d))/0x8+-parseInt(_0x19d8ed(0xf9))/0x9*(parseInt(_0x19d8ed(0x134))/0xa)+-parseInt(_0x19d8ed(0x11c))/0xb;if(_0x4c5838===_0x94a871)break;else _0x51e787['push'](_0x51e787['shift']());}catch(_0x484dfb){_0x51e787['push'](_0x51e787['shift']());}}}(a12_0x55f5,0x85085));function a12_0x55f5(){const _0x12afda=['67707qySsDX','【Error】:[jjb.config.json.installTarget]类型是一个string。','forEach','react-admin-component','projectType','log','\x5cjjb.config.json','node_modules','1404215gCVJXq','string','_zip','projectId','{\x22name\x22:\x22','dependencies','f_scan_jjb_config_json','/repository/archive.zip?private_token=','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','toString','jjb-dva-runtime','.zip','installTarget','\x22,\x22version\x22:\x22','replace','vue-unisass-component','jjb-common','/api/v4/projects/','path','isDirectory','&ref=master','token','name','f_update_project_package_json','f_create_package_json','570491aKlurD','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','1157519USZmxA','1576056vCxXIf','src','map','readdirSync','jjb-common-lib','installResources','readFileSync','jjb-common-decorator','push','multi','length','mkdirSync','isArray','tmpdir','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','1440380uLJkwI','f_file_copy','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','exit','statSync','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','parse','320idwWUy','12ycSdSY','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','6lVwgUt','spa','./config','micro-spa','122682hottwB','unlinkSync','writeFileSync','\x22,\x22main\x22:\x20\x22index.js\x22}','f_rm_rf','f_resolve_install_resources','includes','2sXyVnX'];a12_0x55f5=function(){return _0x12afda;};return a12_0x55f5();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a12_0x48583a(0x139));exports[a12_0x48583a(0xf5)]=function(_0x1e4bab){const _0x14f3ac=a12_0x48583a;if(fs['existsSync'](_0x1e4bab)){const _0x47b22c=fs['readdirSync'](_0x1e4bab);for(let _0x25a9e9=0x0;_0x25a9e9<_0x47b22c['length'];_0x25a9e9++){const _0x2a66c9=_0x47b22c[_0x25a9e9],_0x26aaa9=_0x1e4bab+'/'+_0x2a66c9;fs[_0x14f3ac(0x131)](_0x26aaa9)[_0x14f3ac(0x114)]()?(exports[_0x14f3ac(0xf5)](_0x26aaa9),fs['rmdirSync'](_0x26aaa9)):fs[_0x14f3ac(0xf2)](_0x26aaa9);}}},exports['f_pull_git_repository']=function(_0x5e7403=[]){const _0x2e7080=a12_0x48583a;return _0x5e7403[_0x2e7080(0x11f)](_0xf450ac=>{const _0x1290bb=_0x2e7080,_0x2705cf=CLOUD_PROJECT[_0xf450ac['name']]||undefined,_0x23e7c1=os[_0x1290bb(0x12a)]();return{'path':_0x23e7c1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xf450ac[_0x1290bb(0x117)]+_0x1290bb(0x10c),'compress':_0x23e7c1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xf450ac[_0x1290bb(0x117)]+_0x1290bb(0x103),'repository':GIT_HOST+_0x1290bb(0x112)+_0x2705cf[_0x1290bb(0x104)]+_0x1290bb(0x108)+_0x2705cf[_0x1290bb(0x116)]+_0x1290bb(0x115)};});},exports[a12_0x48583a(0x107)]=function(_0x51578a){return fs['existsSync'](_0x51578a+'\x5cjjb.config.json');},exports['f_scan_jjb_config_json_rules']=function(_0x12be77){const _0x40114f=a12_0x48583a;let _0x36ea82={};try{_0x36ea82=JSON[_0x40114f(0x133)](fs[_0x40114f(0x123)](_0x12be77+_0x40114f(0xff))[_0x40114f(0x10a)]());}catch(_0x53d8a9){console[_0x40114f(0xfe)](_0x40114f(0x12f)),process[_0x40114f(0x130)](0x0);}!(_0x40114f(0xfd)in _0x36ea82)&&(console['log'](_0x40114f(0x11b)),process[_0x40114f(0x130)](0x0));!(_0x40114f(0x10d)in _0x36ea82)&&(console[_0x40114f(0xfe)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x40114f(0x130)](0x0));!('installResources'in _0x36ea82)&&(console[_0x40114f(0xfe)](_0x40114f(0x136)),process[_0x40114f(0x130)](0x0));typeof _0x36ea82[_0x40114f(0xfd)]!==_0x40114f(0x102)&&(console[_0x40114f(0xfe)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x40114f(0x130)](0x0));![_0x40114f(0x126),_0x40114f(0x138),'uniapp',_0x40114f(0x13a)]['includes'](_0x36ea82['projectType'])&&(console[_0x40114f(0xfe)](_0x40114f(0x12c)),process[_0x40114f(0x130)](0x0));typeof _0x36ea82[_0x40114f(0x10d)]!==_0x40114f(0x102)&&(console[_0x40114f(0xfe)](_0x40114f(0xfa)),process['exit'](0x0));![_0x40114f(0x100),_0x40114f(0x11e)]['includes'](_0x36ea82[_0x40114f(0x10d)])&&(console[_0x40114f(0xfe)](_0x40114f(0x132)),process[_0x40114f(0x130)](0x0));!Array[_0x40114f(0x129)](_0x36ea82['installResources'])&&(console['log'](_0x40114f(0x109)),process[_0x40114f(0x130)](0x0));_0x36ea82[_0x40114f(0x122)][_0x40114f(0x127)]===0x0&&(console[_0x40114f(0xfe)](_0x40114f(0x12b)),process['exit'](0x0));const _0x239d50=exports[_0x40114f(0xf6)](_0x36ea82[_0x40114f(0x122)]);return _0x239d50[_0x40114f(0x11f)](_0x5ad51c=>_0x5ad51c[_0x40114f(0x117)])['filter'](_0x5c4ebe=>![_0x40114f(0x111),_0x40114f(0x10b),_0x40114f(0x121),_0x40114f(0x124),_0x40114f(0xfc),_0x40114f(0x110)][_0x40114f(0xf7)](_0x5c4ebe))[_0x40114f(0x127)]!==0x0&&(console['log']('【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[_0x40114f(0x130)](0x0)),_0x36ea82[_0x40114f(0x122)]=_0x239d50,_0x36ea82;},exports[a12_0x48583a(0x119)]=function(_0x256397,_0x3a3751,_0x2b8c48){const _0x1433c8=a12_0x48583a;fs['writeFileSync'](_0x256397+'\x5cpackage.json',_0x1433c8(0x105)+_0x3a3751+_0x1433c8(0x10e)+_0x2b8c48+_0x1433c8(0xf4));},exports[a12_0x48583a(0xf6)]=function(_0x15a4db=[]){const _0x4da8d3=a12_0x48583a,_0x130061=[];return Array[_0x4da8d3(0x129)](_0x15a4db)&&_0x15a4db[_0x4da8d3(0xfb)](_0x3eeebf=>{const _0x242031=_0x4da8d3;if(Array['isArray'](_0x3eeebf)){const [_0x1e5885,_0x458f7b=[]]=_0x3eeebf;_0x130061[_0x242031(0x125)]({'name':_0x1e5885,'importList':_0x458f7b});}else _0x130061[_0x242031(0x125)]({'name':_0x3eeebf,'importList':[]});}),_0x130061;},exports[a12_0x48583a(0x118)]=function(_0x4c88bd,_0x4aacd6,_0x23b8cf){const _0x533442=a12_0x48583a,_0x1f8a14=JSON[_0x533442(0x133)](fs['readFileSync'](_0x4c88bd)[_0x533442(0x10a)]());_0x1f8a14[_0x533442(0x106)][_0x4aacd6]=_0x23b8cf,fs[_0x533442(0xf3)](_0x4c88bd,JSON['stringify'](_0x1f8a14,null,0x2));},exports[a12_0x48583a(0x12e)]=function(_0x61757d,_0x31a87f){const _0x25b457=a12_0x48583a;fs[_0x25b457(0x120)](_0x61757d)['forEach'](_0x1830f4=>{const _0x382c21=_0x25b457,_0x55c8c2=_0x61757d+'\x5c'+_0x1830f4,_0x1fbc32=_0x31a87f+'\x5c'+_0x1830f4;fs[_0x382c21(0x131)](_0x55c8c2)[_0x382c21(0x114)]()?(fs[_0x382c21(0x128)](_0x1fbc32),exports[_0x382c21(0x12e)](_0x55c8c2,_0x1fbc32)):fs['writeFileSync'](_0x1fbc32,fs[_0x382c21(0x123)](_0x55c8c2)[_0x382c21(0x10a)]());});},exports['f_content_replace']=function(_0x184412=[],_0x3e999a){const _0x7b4223=a12_0x48583a;_0x184412[_0x7b4223(0xfb)](_0x1fdad0=>{const _0xf9ba89=_0x7b4223,_0x2f6b7d=_0x3e999a+_0x1fdad0[_0xf9ba89(0x113)];if(fs['existsSync'](_0x2f6b7d)){let _0x117e78=fs[_0xf9ba89(0x123)](_0x2f6b7d)[_0xf9ba89(0x10a)]();_0x1fdad0[_0xf9ba89(0x10f)][_0xf9ba89(0xfb)](_0x4f23ef=>{const _0x30b80f=_0xf9ba89;_0x117e78=_0x117e78[_0x30b80f(0x10f)](_0x4f23ef[0x0],_0x4f23ef[0x1]);}),fs['writeFileSync'](_0x2f6b7d,_0x117e78);}});};
@@ -1 +1 @@
1
- const a12_0x440ce6=a12_0x4e4c;(function(_0x440654,_0x32bb77){const _0x1b3b03=a12_0x4e4c,_0x4cec22=_0x440654();while(!![]){try{const _0x2bf9b0=-parseInt(_0x1b3b03(0x1c4))/0x1+-parseInt(_0x1b3b03(0x1b3))/0x2*(-parseInt(_0x1b3b03(0x1c5))/0x3)+parseInt(_0x1b3b03(0x1b5))/0x4*(-parseInt(_0x1b3b03(0x1b6))/0x5)+-parseInt(_0x1b3b03(0x1a3))/0x6+parseInt(_0x1b3b03(0x1b4))/0x7*(parseInt(_0x1b3b03(0x1b2))/0x8)+-parseInt(_0x1b3b03(0x1bb))/0x9+parseInt(_0x1b3b03(0x1af))/0xa;if(_0x2bf9b0===_0x32bb77)break;else _0x4cec22['push'](_0x4cec22['shift']());}catch(_0x35eb64){_0x4cec22['push'](_0x4cec22['shift']());}}}(a12_0xab99,0x59805));function a12_0x4e4c(_0x18c7c1,_0xb69e37){const _0xab994a=a12_0xab99();return a12_0x4e4c=function(_0x4e4ced,_0x121054){_0x4e4ced=_0x4e4ced-0x1a1;let _0x4c68df=_0xab994a[_0x4e4ced];return _0x4c68df;},a12_0x4e4c(_0x18c7c1,_0xb69e37);}const fs=require('fs'),path=require(a12_0x440ce6(0x1c0)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a12_0x440ce6(0x1a1)]=(_0x1ae302,_0x538758)=>{const _0x2bb05f=a12_0x440ce6;commandArr=_0x1ae302['split'](':'),projectPath=path[_0x2bb05f(0x1c1)](_0x2bb05f(0x1ae)),vesselPath=path[_0x2bb05f(0x1c1)]('./vessel/src');let _0x4b0105=vesselPath;_0x538758==='mp'&&(_0x4b0105=vesselPath+_0x2bb05f(0x1be),utils[_0x2bb05f(0x1ab)](vesselPath,[_0x2bb05f(0x1c9)]));const _0x1a9e06=commandArr[0x1],_0x502dd5=JSON[_0x2bb05f(0x1c6)](fs['readFileSync'](projectPath+'/'+_0x1a9e06+_0x2bb05f(0x1a8))[_0x2bb05f(0x1bc)]());TileItems(_0x502dd5['items'],()=>{const _0x5291b3=_0x2bb05f;fromFileData[_0x5291b3(0x1ba)][_0x5291b3(0x1b0)](_0x1e1eb0=>{const _0x4037bc=_0x5291b3,_0x211e1a=_0x1e1eb0[_0x4037bc(0x1c7)][_0x4037bc(0x1ac)](_0x1e1eb0[_0x4037bc(0x1a2)]),_0x2713ec=_0x211e1a[0x1][_0x4037bc(0x1ac)]('/'),_0x1b3356=_0x2713ec[0x1];!applicationJson[_0x1b3356]&&(applicationJson[_0x1b3356]={'routerConfig':[],'routerPath':[]});applicationJson[_0x1b3356][_0x4037bc(0x1c8)][_0x4037bc(0x1b1)](_0x4037bc(0x1b7)+_0x1e1eb0['path']+_0x4037bc(0x1c2)+_0x1e1eb0['file']+_0x4037bc(0x1c3)),applicationJson[_0x1b3356][_0x4037bc(0x1aa)][_0x4037bc(0x1b1)](_0x1e1eb0[_0x4037bc(0x1c0)]);let _0x276872=_0x2713ec[_0x4037bc(0x1b9)]('/');const _0x5c9012=_0x276872[_0x4037bc(0x1ac)]('/');utils[_0x4037bc(0x1ab)](_0x4b0105,_0x5c9012[_0x4037bc(0x1bd)](0x0,_0x5c9012['length']-0x1))['then'](()=>{const _0x1f82b5=_0x4037bc,_0x4d9cd=fs[_0x1f82b5(0x1a6)](_0x1e1eb0[_0x1f82b5(0x1c7)])[_0x1f82b5(0x1bc)]();fs[_0x1f82b5(0x1ca)](vesselPath+'/'+_0x276872,_0x4d9cd);});});});};function a12_0xab99(){const _0x560150=['./project','14214730WPfHBS','forEach','push','8fCmkYG','8558DvLUov','1631511oXppei','327424WfTlMH','10yDqvfS','{\x20path:\x20\x27','DeepScanner','join','router','4407327amzAfr','toString','slice','/application','file','path','resolve','\x27,\x20component:\x20()\x20=>\x20import(\x27','\x27)\x20}','662911PRuQhJ','123vIFoex','parse','pathAdr','routerConfig','application','writeFileSync','exports','region','882372YyfhMW','fileType','concat','readFileSync','length','/setting.json','map','routerPath','CreatePaths','split','from'];a12_0xab99=function(){return _0x560150;};return a12_0xab99();}function TileItems(_0x929091,_0x34ab06){_0x929091['forEach']((_0x15a0f9,_0x398591)=>{const _0x4e8a15=a12_0x4e4c,_0x3ef8d7=_0x15a0f9['region'];_0x15a0f9[_0x4e8a15(0x1ad)][_0x4e8a15(0x1b0)]((_0x536268,_0x12458e)=>{const _0x10be13=_0x4e8a15,_0x110ba2=[];utils[_0x10be13(0x1b8)](projectPath+'/'+_0x3ef8d7+'/'+_0x536268[_0x10be13(0x1bf)],_0x110ba2);const _0x120e86=_0x110ba2[_0x10be13(0x1a9)](_0x1c2fb5=>({'region':_0x3ef8d7,'pathAdr':_0x1c2fb5,..._0x536268}));!fromFileData[_0x536268[_0x10be13(0x1a4)]]?fromFileData[_0x536268[_0x10be13(0x1a4)]]=_0x120e86:fromFileData[_0x536268['fileType']]=fromFileData[_0x536268[_0x10be13(0x1a4)]][_0x10be13(0x1a5)](_0x120e86),_0x398591===_0x929091[_0x10be13(0x1a7)]-0x1&&_0x12458e===_0x15a0f9[_0x10be13(0x1ad)][_0x10be13(0x1a7)]-0x1&&_0x34ab06();});});}
1
+ const a13_0x533d36=a13_0x1431;(function(_0x559590,_0x747d9b){const _0x3c2bc6=a13_0x1431,_0x5a143b=_0x559590();while(!![]){try{const _0x435183=-parseInt(_0x3c2bc6(0x115))/0x1+-parseInt(_0x3c2bc6(0x136))/0x2+-parseInt(_0x3c2bc6(0x128))/0x3+-parseInt(_0x3c2bc6(0x12c))/0x4+-parseInt(_0x3c2bc6(0x112))/0x5+-parseInt(_0x3c2bc6(0x124))/0x6*(parseInt(_0x3c2bc6(0x126))/0x7)+parseInt(_0x3c2bc6(0x118))/0x8*(parseInt(_0x3c2bc6(0x137))/0x9);if(_0x435183===_0x747d9b)break;else _0x5a143b['push'](_0x5a143b['shift']());}catch(_0x1a6f0d){_0x5a143b['push'](_0x5a143b['shift']());}}}(a13_0x1933,0x36be3));const fs=require('fs'),path=require(a13_0x533d36(0x114)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a13_0x1431(_0x57a3e3,_0x2e3d92){const _0x1933c9=a13_0x1933();return a13_0x1431=function(_0x143123,_0x4a9a73){_0x143123=_0x143123-0x112;let _0x5c1f57=_0x1933c9[_0x143123];return _0x5c1f57;},a13_0x1431(_0x57a3e3,_0x2e3d92);}module[a13_0x533d36(0x12f)]=(_0x317b17,_0x415da6)=>{const _0x3b80fe=a13_0x533d36;commandArr=_0x317b17[_0x3b80fe(0x12a)](':'),projectPath=path[_0x3b80fe(0x125)]('./project'),vesselPath=path['resolve'](_0x3b80fe(0x11d));let _0x589c11=vesselPath;_0x415da6==='mp'&&(_0x589c11=vesselPath+_0x3b80fe(0x11f),utils[_0x3b80fe(0x121)](vesselPath,[_0x3b80fe(0x11a)]));const _0x4fc592=commandArr[0x1],_0x29a1db=JSON[_0x3b80fe(0x120)](fs['readFileSync'](projectPath+'/'+_0x4fc592+_0x3b80fe(0x119))['toString']());TileItems(_0x29a1db[_0x3b80fe(0x134)],()=>{const _0x30ffc5=_0x3b80fe;fromFileData[_0x30ffc5(0x138)][_0x30ffc5(0x131)](_0x24468c=>{const _0x45d383=_0x30ffc5,_0x7998e9=_0x24468c['pathAdr'][_0x45d383(0x12a)](_0x24468c['region']),_0x1fdfc3=_0x7998e9[0x1]['split']('/'),_0x5a72bd=_0x1fdfc3[0x1];!applicationJson[_0x5a72bd]&&(applicationJson[_0x5a72bd]={'routerConfig':[],'routerPath':[]});applicationJson[_0x5a72bd][_0x45d383(0x116)][_0x45d383(0x11c)](_0x45d383(0x11e)+_0x24468c[_0x45d383(0x114)]+_0x45d383(0x130)+_0x24468c[_0x45d383(0x113)]+_0x45d383(0x12d)),applicationJson[_0x5a72bd][_0x45d383(0x129)][_0x45d383(0x11c)](_0x24468c[_0x45d383(0x114)]);let _0x28b3a0=_0x1fdfc3[_0x45d383(0x133)]('/');const _0x11388f=_0x28b3a0[_0x45d383(0x12a)]('/');utils['CreatePaths'](_0x589c11,_0x11388f[_0x45d383(0x122)](0x0,_0x11388f['length']-0x1))[_0x45d383(0x139)](()=>{const _0x2f72b0=_0x45d383,_0x2b3126=fs[_0x2f72b0(0x12e)](_0x24468c['pathAdr'])[_0x2f72b0(0x127)]();fs['writeFileSync'](vesselPath+'/'+_0x28b3a0,_0x2b3126);});});});};function a13_0x1933(){const _0xc91539=['then','765050akmckM','file','path','181099mrCVOH','routerConfig','concat','130840OBdXXY','/setting.json','application','length','push','./vessel/src','{\x20path:\x20\x27','/application','parse','CreatePaths','slice','DeepScanner','6VPRGLJ','resolve','1200185nBsYIj','toString','826800KHwvmu','routerPath','split','map','1287524GFLOLp','\x27)\x20}','readFileSync','exports','\x27,\x20component:\x20()\x20=>\x20import(\x27','forEach','fileType','join','items','from','518326DZrgiY','873seoucV','router'];a13_0x1933=function(){return _0xc91539;};return a13_0x1933();}function TileItems(_0x172c3a,_0x143ec3){const _0x540daa=a13_0x533d36;_0x172c3a[_0x540daa(0x131)]((_0xc89459,_0x2752c4)=>{const _0x1a2ba4=_0x540daa,_0x16eedf=_0xc89459['region'];_0xc89459['from'][_0x1a2ba4(0x131)]((_0x17d137,_0x3c7759)=>{const _0x61fa80=_0x1a2ba4,_0xf8a10e=[];utils[_0x61fa80(0x123)](projectPath+'/'+_0x16eedf+'/'+_0x17d137[_0x61fa80(0x113)],_0xf8a10e);const _0x1ee462=_0xf8a10e[_0x61fa80(0x12b)](_0x5677d7=>({'region':_0x16eedf,'pathAdr':_0x5677d7,..._0x17d137}));!fromFileData[_0x17d137[_0x61fa80(0x132)]]?fromFileData[_0x17d137[_0x61fa80(0x132)]]=_0x1ee462:fromFileData[_0x17d137[_0x61fa80(0x132)]]=fromFileData[_0x17d137[_0x61fa80(0x132)]][_0x61fa80(0x117)](_0x1ee462),_0x2752c4===_0x172c3a[_0x61fa80(0x11b)]-0x1&&_0x3c7759===_0xc89459[_0x61fa80(0x135)][_0x61fa80(0x11b)]-0x1&&_0x143ec3();});});}
@@ -1 +1 @@
1
- 'use strict';const a13_0x5e63d7=a13_0x3cea;(function(_0x1b9563,_0x3c6d62){const _0x2ff3d3=a13_0x3cea,_0x3e3d65=_0x1b9563();while(!![]){try{const _0x15e452=parseInt(_0x2ff3d3(0x20e))/0x1*(-parseInt(_0x2ff3d3(0x20a))/0x2)+-parseInt(_0x2ff3d3(0x200))/0x3*(-parseInt(_0x2ff3d3(0x214))/0x4)+-parseInt(_0x2ff3d3(0x20f))/0x5+-parseInt(_0x2ff3d3(0x1ec))/0x6*(-parseInt(_0x2ff3d3(0x1e7))/0x7)+-parseInt(_0x2ff3d3(0x211))/0x8*(-parseInt(_0x2ff3d3(0x20d))/0x9)+-parseInt(_0x2ff3d3(0x1f2))/0xa+-parseInt(_0x2ff3d3(0x1fe))/0xb*(-parseInt(_0x2ff3d3(0x21f))/0xc);if(_0x15e452===_0x3c6d62)break;else _0x3e3d65['push'](_0x3e3d65['shift']());}catch(_0x33996a){_0x3e3d65['push'](_0x3e3d65['shift']());}}}(a13_0x3ef0,0x3cc5b));const fs=require('fs'),os=require('os'),path=require(a13_0x5e63d7(0x218)),utils=require(a13_0x5e63d7(0x1ee)),request=require(a13_0x5e63d7(0x1fd)),compressing=require(a13_0x5e63d7(0x210)),GIT_TEMP_DIR=a13_0x5e63d7(0x1f5),GIT_HOST=a13_0x5e63d7(0x1fb),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a13_0x5e63d7(0x209)},'react-admin-component':{'token':a13_0x5e63d7(0x1f7),'projectId':0x154,'localName':'components'}};module[a13_0x5e63d7(0x202)]=_0x542146=>{const _0x3d626=a13_0x5e63d7,_0x4c7031=_0x542146,_0x3e43de=path[_0x3d626(0x219)]('./');try{if(fs[_0x3d626(0x21c)](_0x3e43de+_0x3d626(0x207))){const _0x2caa96=_0x3e43de+'\x5csrc',_0x557771=CLOUD_PROJECT[_0x4c7031]||undefined;if(_0x557771){const _0x4a0a4c=os[_0x3d626(0x1e6)](),_0x5abc53=_0x4a0a4c+('/'+GIT_TEMP_DIR+'/'+_0x4c7031+_0x3d626(0x1ea)),_0x37a7cf=_0x4a0a4c+'/'+GIT_TEMP_DIR+_0x3d626(0x1f6);utils[_0x3d626(0x1fa)](_0x4a0a4c+'/'+GIT_TEMP_DIR,()=>{const _0x543438=_0x3d626;fs[_0x543438(0x212)](_0x4a0a4c+'/'+GIT_TEMP_DIR);let _0x34bba=fs[_0x543438(0x203)](_0x5abc53);request(GIT_HOST+'/api/v4/projects/'+_0x557771[_0x543438(0x21b)]+'/repository/archive.zip?private_token='+_0x557771[_0x543438(0x1f9)]+_0x543438(0x204))[_0x543438(0x1f0)](_0x34bba)['on']('close',()=>{const _0x26cbb1=_0x543438;fs[_0x26cbb1(0x212)](_0x37a7cf),compressing[_0x26cbb1(0x1e9)][_0x26cbb1(0x1f8)](_0x5abc53,_0x37a7cf)['then'](()=>{setTimeout(()=>{const _0x597274=a13_0x3cea,_0x4654d0=fs[_0x597274(0x1e8)](_0x37a7cf);_0x4654d0[_0x597274(0x201)](_0x494949=>{const _0x3b59af=_0x597274;if(_0x494949[_0x3b59af(0x216)]('-master-')!==-0x1){const _0x181008=_0x2caa96+'\x5c'+_0x557771[_0x3b59af(0x20b)];utils[_0x3b59af(0x1fa)](_0x181008,()=>{const _0x2febfd=_0x3b59af;fs[_0x2febfd(0x212)](_0x181008),utils[_0x2febfd(0x223)](_0x37a7cf+_0x494949,_0x181008),setTimeout(()=>{const _0x4a6676=_0x2febfd,_0x20e7ec=fs[_0x4a6676(0x1fc)](_0x2caa96+'\x5c'+_0x4a6676(0x1ed));if(!_0x20e7ec){const _0x1e437d=_0x2caa96+'\x5c'+_0x4a6676(0x1e4),_0x468980=_0x2caa96+'\x5c'+_0x4a6676(0x1f1);let _0x51b7f4=fs[_0x4a6676(0x21e)](_0x1e437d)[_0x4a6676(0x220)](),_0x15f350=fs['readFileSync'](_0x468980)['toString']();_0x51b7f4=_0x51b7f4[_0x4a6676(0x206)](_0x4a6676(0x205),_0x4a6676(0x21a)),_0x15f350=_0x15f350[_0x4a6676(0x206)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x4a6676(0x217)),fs[_0x4a6676(0x222)](_0x1e437d,_0x51b7f4),fs[_0x4a6676(0x222)](_0x468980,_0x15f350),fs['writeFileSync'](_0x2caa96+_0x4a6676(0x213),fs['readFileSync'](__dirname+_0x4a6676(0x1f4))[_0x4a6676(0x220)]()),fs[_0x4a6676(0x222)](_0x2caa96+_0x4a6676(0x215),fs['readFileSync'](__dirname+_0x4a6676(0x1ef))['toString']());}else fs[_0x4a6676(0x1eb)](_0x2caa96+'\x5c'+_0x4a6676(0x21d),_0x402c70=>{const _0x3d99f1=_0x4a6676;_0x402c70&&(fs[_0x3d99f1(0x1e8)](_0x2caa96+'\x5c'+_0x3d99f1(0x221))[_0x3d99f1(0x201)](_0x1d7a3d=>{const _0x3a41dc=_0x3d99f1;fs['unlinkSync'](_0x2caa96+'\x5c'+_0x3a41dc(0x208)+_0x1d7a3d);}),fs[_0x3d99f1(0x1f3)](_0x2caa96+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console[_0x597274(0x20c)](_0x4c7031+_0x597274(0x1ff));},0x7d0);});});});}else console[_0x3d626(0x1e5)]('【Error】:\x20未获取到项目\x20'+_0x4c7031);}}catch(_0x31ffc2){console[_0x3d626(0x1e5)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function a13_0x3cea(_0x3050f6,_0x5a4348){const _0x3ef0c3=a13_0x3ef0();return a13_0x3cea=function(_0x3ceaf0,_0x2f73c4){_0x3ceaf0=_0x3ceaf0-0x1e4;let _0xcb3f28=_0x3ef0c3[_0x3ceaf0];return _0xcb3f28;},a13_0x3cea(_0x3050f6,_0x5a4348);}function a13_0x3ef0(){const _0x36eff9=['readFileSync','12LtVpCI','toString','common\x5cdva\x5cautomatic','writeFileSync','CopyFolder','common\x5ctools\x5cindex.js','error','tmpdir','372421XLTihJ','readdirSync','zip','.zip','exists','36DxhupZ','application','./util','\x5ccli.dva.register.spa.txt','pipe','common\x5cwebsite\x5cindex.js','221330hRDPZW','rmdirSync','\x5ccli.dva.router.spa.txt','jjbAssembly','/unzip/','FT3pKzxpRynFkmddJ9Bs','uncompress','token','DeleteDirAllFile','http://192.168.1.242:10985','existsSync','request','249271SnduQh','-文件下载完毕','3hiHJeP','forEach','exports','createWriteStream','&ref=master','return\x20__planA();','replace','\x5csrc','common\x5cdva\x5cautomatic\x5c','common','2iYAQJN','localName','log','18VVkqXd','226459VZMjZG','2165155QWYhHE','compressing','481904MfdyNc','mkdirSync','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','1872764mFgsIO','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','indexOf','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','path','resolve','return\x20process.env;','projectId','statSync','common\x5cdva\x5cautomatic\x5cindex.js'];a13_0x3ef0=function(){return _0x36eff9;};return a13_0x3ef0();}
1
+ 'use strict';const a14_0x3622af=a14_0x37ea;function a14_0x3f16(){const _0x5be6f7=['416020wPsQVU','12lbYofp','-文件下载完毕','readdirSync','replace','then','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','common\x5cdva\x5cautomatic\x5cindex.js','exports','forEach','-master-','13263JPFVYx','common\x5cdva\x5cautomatic','error','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','toString','common','compressing','return\x20__planA();','uncompress','G4HJRsHr9D7Ssmixegw2','exists','70okTocn','FT3pKzxpRynFkmddJ9Bs','readFileSync','236MjQwQS','rmdirSync','unlinkSync','token','common\x5cwebsite\x5cindex.js','common\x5ctools\x5cindex.js','/unzip/','\x5csrc','&ref=master','.zip','path','1069074zrZLCM','/repository/archive.zip?private_token=','return\x20process.env;','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','existsSync','1410272cEQAUX','tmpdir','components','1811684oZJaue','statSync','481910nTcedW','【Error】:\x20未获取到项目\x20','close','writeFileSync','DeleteDirAllFile','pipe','indexOf','jjbAssembly','272824OPIhqg','CopyFolder','common\x5cdva\x5cautomatic\x5c','http://192.168.1.242:10985','mkdirSync'];a14_0x3f16=function(){return _0x5be6f7;};return a14_0x3f16();}(function(_0x5e4259,_0x4b9859){const _0x1ef930=a14_0x37ea,_0x6d9d21=_0x5e4259();while(!![]){try{const _0x1f28de=-parseInt(_0x1ef930(0x1b3))/0x1+-parseInt(_0x1ef930(0x1ab))/0x2+-parseInt(_0x1ef930(0x1c3))/0x3*(parseInt(_0x1ef930(0x196))/0x4)+parseInt(_0x1ef930(0x1b8))/0x5*(parseInt(_0x1ef930(0x1b9))/0x6)+-parseInt(_0x1ef930(0x1a9))/0x7+parseInt(_0x1ef930(0x1a6))/0x8+-parseInt(_0x1ef930(0x1a1))/0x9*(-parseInt(_0x1ef930(0x193))/0xa);if(_0x1f28de===_0x4b9859)break;else _0x6d9d21['push'](_0x6d9d21['shift']());}catch(_0x21ee2a){_0x6d9d21['push'](_0x6d9d21['shift']());}}}(a14_0x3f16,0x225dc));function a14_0x37ea(_0x3d50d1,_0x5dae82){const _0x3f1644=a14_0x3f16();return a14_0x37ea=function(_0x37ea47,_0x13967b){_0x37ea47=_0x37ea47-0x189;let _0x5502b5=_0x3f1644[_0x37ea47];return _0x5502b5;},a14_0x37ea(_0x3d50d1,_0x5dae82);}const fs=require('fs'),os=require('os'),path=require(a14_0x3622af(0x1a0)),utils=require('./util'),request=require('request'),compressing=require(a14_0x3622af(0x18e)),GIT_TEMP_DIR=a14_0x3622af(0x1b2),GIT_HOST=a14_0x3622af(0x1b6),CLOUD_PROJECT={'common':{'token':a14_0x3622af(0x191),'projectId':0x117,'localName':a14_0x3622af(0x18d)},'react-admin-component':{'token':a14_0x3622af(0x194),'projectId':0x154,'localName':a14_0x3622af(0x1a8)}};module[a14_0x3622af(0x1c0)]=_0xf2cf5a=>{const _0x372d6b=a14_0x3622af,_0x546d3e=_0xf2cf5a,_0x177a10=path['resolve']('./');try{if(fs[_0x372d6b(0x1aa)](_0x177a10+_0x372d6b(0x19d))){const _0x4c3102=_0x177a10+_0x372d6b(0x19d),_0x461882=CLOUD_PROJECT[_0x546d3e]||undefined;if(_0x461882){const _0x20436f=os[_0x372d6b(0x1a7)](),_0x2bb1f3=_0x20436f+('/'+GIT_TEMP_DIR+'/'+_0x546d3e+_0x372d6b(0x19f)),_0x46b888=_0x20436f+'/'+GIT_TEMP_DIR+_0x372d6b(0x19c);utils[_0x372d6b(0x1af)](_0x20436f+'/'+GIT_TEMP_DIR,()=>{const _0x4f7748=_0x372d6b;fs[_0x4f7748(0x1b7)](_0x20436f+'/'+GIT_TEMP_DIR);let _0x3a6dc9=fs['createWriteStream'](_0x2bb1f3);request(GIT_HOST+'/api/v4/projects/'+_0x461882['projectId']+_0x4f7748(0x1a2)+_0x461882[_0x4f7748(0x199)]+_0x4f7748(0x19e))[_0x4f7748(0x1b0)](_0x3a6dc9)['on'](_0x4f7748(0x1ad),()=>{const _0x39e92a=_0x4f7748;fs[_0x39e92a(0x1b7)](_0x46b888),compressing['zip'][_0x39e92a(0x190)](_0x2bb1f3,_0x46b888)[_0x39e92a(0x1bd)](()=>{setTimeout(()=>{const _0x49da2e=a14_0x37ea,_0x2e4c74=fs[_0x49da2e(0x1bb)](_0x46b888);_0x2e4c74[_0x49da2e(0x1c1)](_0x50e2ca=>{const _0x526584=_0x49da2e;if(_0x50e2ca[_0x526584(0x1b1)](_0x526584(0x1c2))!==-0x1){const _0x5d29da=_0x4c3102+'\x5c'+_0x461882['localName'];utils[_0x526584(0x1af)](_0x5d29da,()=>{const _0x4551c1=_0x526584;fs[_0x4551c1(0x1b7)](_0x5d29da),utils[_0x4551c1(0x1b4)](_0x46b888+_0x50e2ca,_0x5d29da),setTimeout(()=>{const _0xc5904=_0x4551c1,_0x303442=fs[_0xc5904(0x1a5)](_0x4c3102+'\x5c'+'application');if(!_0x303442){const _0x227105=_0x4c3102+'\x5c'+_0xc5904(0x19b),_0x43e910=_0x4c3102+'\x5c'+_0xc5904(0x19a);let _0x1710be=fs[_0xc5904(0x195)](_0x227105)[_0xc5904(0x18c)](),_0x2e2905=fs['readFileSync'](_0x43e910)[_0xc5904(0x18c)]();_0x1710be=_0x1710be[_0xc5904(0x1bc)](_0xc5904(0x18f),_0xc5904(0x1a3)),_0x2e2905=_0x2e2905[_0xc5904(0x1bc)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0xc5904(0x1ae)](_0x227105,_0x1710be),fs['writeFileSync'](_0x43e910,_0x2e2905),fs[_0xc5904(0x1ae)](_0x4c3102+_0xc5904(0x1a4),fs[_0xc5904(0x195)](__dirname+'\x5ccli.dva.router.spa.txt')[_0xc5904(0x18c)]()),fs[_0xc5904(0x1ae)](_0x4c3102+_0xc5904(0x18b),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')[_0xc5904(0x18c)]());}else fs[_0xc5904(0x192)](_0x4c3102+'\x5c'+_0xc5904(0x1bf),_0x116c3f=>{const _0x7b7975=_0xc5904;_0x116c3f&&(fs[_0x7b7975(0x1bb)](_0x4c3102+'\x5c'+_0x7b7975(0x189))[_0x7b7975(0x1c1)](_0x538713=>{const _0x4e2e8e=_0x7b7975;fs[_0x4e2e8e(0x198)](_0x4c3102+'\x5c'+_0x4e2e8e(0x1b5)+_0x538713);}),fs[_0x7b7975(0x197)](_0x4c3102+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x546d3e+_0x49da2e(0x1ba));},0x7d0);});});});}else console[_0x372d6b(0x18a)](_0x372d6b(0x1ac)+_0x546d3e);}}catch(_0x261ee9){console['error'](_0x372d6b(0x1be));}};
@@ -1 +1 @@
1
- 'use strict';const a14_0x3e622b=a14_0x396e;(function(_0x5ec32e,_0x4cc799){const _0x16b1f8=a14_0x396e,_0x285475=_0x5ec32e();while(!![]){try{const _0x2e7553=parseInt(_0x16b1f8(0x1bb))/0x1*(parseInt(_0x16b1f8(0x19f))/0x2)+-parseInt(_0x16b1f8(0x1a7))/0x3*(-parseInt(_0x16b1f8(0x1c9))/0x4)+-parseInt(_0x16b1f8(0x18c))/0x5+-parseInt(_0x16b1f8(0x172))/0x6*(parseInt(_0x16b1f8(0x1b7))/0x7)+-parseInt(_0x16b1f8(0x19e))/0x8*(parseInt(_0x16b1f8(0x1aa))/0x9)+parseInt(_0x16b1f8(0x17b))/0xa+parseInt(_0x16b1f8(0x187))/0xb;if(_0x2e7553===_0x4cc799)break;else _0x285475['push'](_0x285475['shift']());}catch(_0x3b27e2){_0x285475['push'](_0x285475['shift']());}}}(a14_0xde9c,0xc15cf));function a14_0x396e(_0x4446aa,_0xe28455){const _0xde9cc=a14_0xde9c();return a14_0x396e=function(_0x396e8d,_0x1ad213){_0x396e8d=_0x396e8d-0x171;let _0x3b7dad=_0xde9cc[_0x396e8d];return _0x3b7dad;},a14_0x396e(_0x4446aa,_0xe28455);}const fs=require('fs'),os=require('os'),path=require(a14_0x3e622b(0x1ce)),utils=require(a14_0x3e622b(0x1b3)),request=require(a14_0x3e622b(0x188)),compressing=require(a14_0x3e622b(0x1c4)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a14_0x3e622b(0x181),CLOUD_PROJECT={'common':{'token':a14_0x3e622b(0x17d),'projectId':0x117,'localName':a14_0x3e622b(0x190)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a14_0x3e622b(0x1a4)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x3e622b(0x1a4),a14_0x3e622b(0x1b4)]]},{'path':a14_0x3e622b(0x177),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x3e622b(0x1b8)],['components','jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a14_0x3e622b(0x175),'replace':[[a14_0x3e622b(0x18e),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x3e622b(0x18e),a14_0x3e622b(0x1ad)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a14_0x3e622b(0x193),'replace':[['common/http',a14_0x3e622b(0x1b2)],[a14_0x3e622b(0x178),a14_0x3e622b(0x1cd)],[a14_0x3e622b(0x1bc),a14_0x3e622b(0x1c3)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a14_0x3e622b(0x1c1),a14_0x3e622b(0x194)]]},{'path':a14_0x3e622b(0x199),'replace':[['common/tools',a14_0x3e622b(0x1c3)]]},{'path':a14_0x3e622b(0x176),'replace':[[a14_0x3e622b(0x19d),'jjb-common/http'],[a14_0x3e622b(0x1bc),a14_0x3e622b(0x1c3)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[['common/http','jjb-common/http'],['common/tools',a14_0x3e622b(0x1c3)]]},{'path':a14_0x3e622b(0x185),'replace':[['common/http',a14_0x3e622b(0x1b2)],[a14_0x3e622b(0x1bc),'jjb-common/tools']]},{'path':a14_0x3e622b(0x1b9),'replace':[[a14_0x3e622b(0x1c1),a14_0x3e622b(0x194)]]},{'path':a14_0x3e622b(0x18d),'replace':[['common/tools',a14_0x3e622b(0x1c3)]]},{'path':a14_0x3e622b(0x173),'replace':[['common/website',a14_0x3e622b(0x1bd)],['common/tools',a14_0x3e622b(0x1c3)]]}];function a14_0xde9c(){const _0x35c52f=['\x5ccli.dva.router.saas.txt','length','template_','jjb-common/crypto','path','random','60ZHVFZr','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','.zip','\x5ctools\x5cindex.js','\x5cFileUploader\x5cindex.js','\x5cwebsite\x5cindex.js','common/crypto','\x5cdva\x5cautomatic\x5crouter.js','zip','6179540BRFYQE','createWriteStream','G4HJRsHr9D7Ssmixegw2','isDirectory','pipe','substr','jjbAssembly','react-admin-component','mkdirSync','existsSync','\x5cImageUploader\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','11983180ZtGXhq','request','exports','stringify','/unzip/','2416070tRwIjN','\x5cRouterContainer\x5cindex.js','return\x20__planA();','token','common','\x5cdva\x5cautomatic','replace','\x5cEditor\x5cindex.js','jjb-common/color','readFileSync','error','statSync','1.0.0','\x5cRouterMenu\x5cindex.js','【Error】:\x20未获取到项目\x20','jjb-','\x5cpackage.json','common/http','4450968CbbRDd','70VBgUzR','toString','\x5cdva\x5cautomatic\x5cregister.js','/repository/archive.zip?private_token=','log','components','projectId','\x5capplication','5847dDQSkd','rmdirSync','uncompress','9SBlpLd','parse','micro-spa','return\x20process.env.app;','unlinkSync','\x5cnode_modules\x5cjjb-','readdirSync','projectType','jjb-common/http','./util','jjb-react-admin-component','dependencies','\x5ccli.dva.router.spa.txt','137557GLgcMj','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cPageHeaderBar\x5cindex.js','&ref=master','8107WcrozE','common/tools','jjb-common/website','【已安装】:','DeleteDirAllFile','writeFileSync','common/color','\x5c.idea','jjb-common/tools','compressing','-master-','\x22,\x22main\x22:\x20\x22index.js\x22}','\x5ccli.dva.register.spa.txt','forEach','76tIiXei'];a14_0xde9c=function(){return _0x35c52f;};return a14_0xde9c();}function uid(){const _0x6f30f9=a14_0x3e622b;return Math[_0x6f30f9(0x171)]()[_0x6f30f9(0x1a0)]()[_0x6f30f9(0x180)](0x2);}module[a14_0x3e622b(0x189)]=_0x31ce8f=>{const _0x9b4d6a=a14_0x3e622b,_0x211249=path['resolve']('./'),_0x5df094=_0x9b4d6a(0x19b)+_0x31ce8f,_0x6bb277=_0x9b4d6a(0x198),_0x539df8=_0x211249+'\x5csrc',_0x2f7cd2=_0x9b4d6a(0x1cc)+uid(),_0x405f95=__dirname+'\x5c'+_0x2f7cd2,_0x2b88e4=_0x211249+'\x5cpackage.json',_0x5b93d2=_0x211249+_0x9b4d6a(0x1af)+_0x31ce8f;try{if(fs['existsSync'](_0x539df8)){const _0x307ffe=CLOUD_PROJECT[_0x31ce8f]||undefined;if(_0x307ffe){const _0x17b92b=os['tmpdir'](),_0xf518ac=_0x17b92b+'/'+GIT_TEMP_DIR+'/'+_0x31ce8f+_0x9b4d6a(0x174),_0x1cfef5=_0x17b92b+'/'+GIT_TEMP_DIR+_0x9b4d6a(0x18b);utils[_0x9b4d6a(0x1bf)](_0x17b92b+'/'+GIT_TEMP_DIR,()=>{const _0x21c8a2=_0x9b4d6a;fs[_0x21c8a2(0x183)](_0x17b92b+'/'+GIT_TEMP_DIR);const _0x33b33c=fs[_0x21c8a2(0x17c)](_0xf518ac);request(GIT_HOST+'/api/v4/projects/'+_0x307ffe[_0x21c8a2(0x1a5)]+_0x21c8a2(0x1a2)+_0x307ffe[_0x21c8a2(0x18f)]+_0x21c8a2(0x1ba))[_0x21c8a2(0x17f)](_0x33b33c)['on']('close',()=>{const _0xc98d45=_0x21c8a2;fs[_0xc98d45(0x183)](_0x1cfef5),compressing[_0xc98d45(0x17a)][_0xc98d45(0x1a9)](_0xf518ac,_0x1cfef5)['then'](()=>{setTimeout(()=>{const _0x2c50b5=a14_0x396e;fs[_0x2c50b5(0x1b0)](_0x1cfef5)[_0x2c50b5(0x1c8)](_0x3d5a27=>{const _0x43ce22=_0x2c50b5;_0x3d5a27['indexOf'](_0x43ce22(0x1c5))!==-0x1&&utils[_0x43ce22(0x1bf)](_0x539df8+'\x5c'+_0x307ffe['localName'],()=>{const _0x4f2629=_0x43ce22;fs[_0x4f2629(0x183)](_0x405f95),utils['CopyFolder'](_0x1cfef5+_0x3d5a27,_0x405f95),setTimeout(()=>{const _0x32976b=_0x4f2629;if(_0x31ce8f===_0x32976b(0x190)){const _0xfe2701=fs['existsSync'](_0x539df8+_0x32976b(0x1a6));if(_0xfe2701)rm_rf(_0x405f95+_0x32976b(0x191)),fs[_0x32976b(0x1a8)](_0x405f95+_0x32976b(0x191));else{if(get_project_type(_0x2b88e4)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x405f95),fs[_0x32976b(0x1c0)](_0x405f95+_0x32976b(0x179),fs[_0x32976b(0x195)](__dirname+_0x32976b(0x1b6))['toString']()),fs[_0x32976b(0x1c0)](_0x405f95+_0x32976b(0x1a1),fs[_0x32976b(0x195)](__dirname+_0x32976b(0x1c7))[_0x32976b(0x1a0)]());else get_project_type(_0x2b88e4)===_0x32976b(0x1ac)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x405f95),fs[_0x32976b(0x1c0)](_0x405f95+_0x32976b(0x179),fs[_0x32976b(0x195)](__dirname+_0x32976b(0x1ca))['toString']()),fs[_0x32976b(0x1c0)](_0x405f95+_0x32976b(0x1a1),fs[_0x32976b(0x195)](__dirname+'\x5ccli.dva.register.saas.txt')['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x405f95);}_0x31ce8f===_0x32976b(0x182)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x405f95),rm_rf(_0x405f95+_0x32976b(0x1c2)),fs[_0x32976b(0x184)](_0x405f95+_0x32976b(0x1c2))&&fs[_0x32976b(0x1a8)](_0x405f95+_0x32976b(0x1c2)),fs[_0x32976b(0x184)](_0x405f95+'\x5c.gitignore')&&fs[_0x32976b(0x1ae)](_0x405f95+'\x5c.gitignore'),!fs[_0x32976b(0x184)](_0x5b93d2)?fs[_0x32976b(0x183)](_0x5b93d2):rm_rf(_0x5b93d2),utils['CopyFolder'](_0x405f95,_0x5b93d2,()=>{const _0x1a652a=_0x32976b;rm_rf(_0x405f95),fs[_0x1a652a(0x1a8)](_0x405f95),create_package_json(_0x5b93d2,_0x5df094,_0x6bb277),update_project_package_json(_0x2b88e4,_0x5df094,_0x6bb277),console[_0x1a652a(0x1a3)](_0x1a652a(0x1be)+_0x5df094+'\x20v'+_0x6bb277);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x9b4d6a(0x19a)+_0x31ce8f);}}catch(_0x5afe51){console[_0x9b4d6a(0x196)](_0x9b4d6a(0x186));}};function rm_rf(_0x5d30fe){const _0x152d17=a14_0x3e622b;if(fs[_0x152d17(0x184)](_0x5d30fe)){const _0x5d2278=fs[_0x152d17(0x1b0)](_0x5d30fe);for(let _0x4e880c=0x0;_0x4e880c<_0x5d2278[_0x152d17(0x1cb)];_0x4e880c++){const _0x1da215=_0x5d2278[_0x4e880c],_0x237a5c=_0x5d30fe+'/'+_0x1da215;fs[_0x152d17(0x197)](_0x237a5c)[_0x152d17(0x17e)]()?(rm_rf(_0x237a5c),fs[_0x152d17(0x1a8)](_0x237a5c)):fs[_0x152d17(0x1ae)](_0x237a5c);}}}function create_package_json(_0x589cc8,_0xc70e67,_0x45ba45){const _0x2c1bbe=a14_0x3e622b;fs[_0x2c1bbe(0x1c0)](_0x589cc8+_0x2c1bbe(0x19c),'{\x22name\x22:\x22'+_0xc70e67+'\x22,\x22version\x22:\x22'+_0x45ba45+_0x2c1bbe(0x1c6));}function get_project_type(_0x2edba3){const _0x29c58c=a14_0x3e622b,_0x34c254=JSON[_0x29c58c(0x1ab)](fs[_0x29c58c(0x195)](_0x2edba3)[_0x29c58c(0x1a0)]());return _0x34c254[_0x29c58c(0x1b1)];}function update_project_package_json(_0x3563da,_0x25c752,_0x23c9bf){const _0x4d34bb=a14_0x3e622b,_0x2771d7=JSON[_0x4d34bb(0x1ab)](fs['readFileSync'](_0x3563da)[_0x4d34bb(0x1a0)]());_0x2771d7[_0x4d34bb(0x1b5)][_0x25c752]=_0x23c9bf,fs[_0x4d34bb(0x1c0)](_0x3563da,JSON[_0x4d34bb(0x18a)](_0x2771d7,null,0x2));}function content_replace(_0x2bb0ce=[],_0x446c8e){const _0x4ac73c=a14_0x3e622b;_0x2bb0ce[_0x4ac73c(0x1c8)](_0x40fae2=>{const _0x259236=_0x4ac73c,_0x248926=_0x446c8e+_0x40fae2['path'];if(fs['existsSync'](_0x248926)){let _0x4ac61e=fs['readFileSync'](_0x248926)[_0x259236(0x1a0)]();_0x40fae2[_0x259236(0x192)][_0x259236(0x1c8)](_0x3302ac=>{const _0xab3cee=_0x259236;_0x4ac61e=_0x4ac61e[_0xab3cee(0x192)](_0x3302ac[0x0],_0x3302ac[0x1]);}),fs[_0x259236(0x1c0)](_0x248926,_0x4ac61e);}});}
1
+ 'use strict';const a15_0x184d10=a15_0x46e8;(function(_0x5a0e8c,_0x2e33ff){const _0x2876e9=a15_0x46e8,_0x1af069=_0x5a0e8c();while(!![]){try{const _0x52d572=parseInt(_0x2876e9(0x19a))/0x1*(parseInt(_0x2876e9(0x1a8))/0x2)+-parseInt(_0x2876e9(0x1b1))/0x3*(parseInt(_0x2876e9(0x1bf))/0x4)+-parseInt(_0x2876e9(0x1cc))/0x5+parseInt(_0x2876e9(0x185))/0x6+parseInt(_0x2876e9(0x187))/0x7+parseInt(_0x2876e9(0x1cd))/0x8+-parseInt(_0x2876e9(0x1c6))/0x9*(parseInt(_0x2876e9(0x196))/0xa);if(_0x52d572===_0x2e33ff)break;else _0x1af069['push'](_0x1af069['shift']());}catch(_0xe83f44){_0x1af069['push'](_0x1af069['shift']());}}}(a15_0x5845,0x5d965));const fs=require('fs'),os=require('os'),path=require(a15_0x184d10(0x1b0)),utils=require(a15_0x184d10(0x1c2)),request=require(a15_0x184d10(0x1d1)),compressing=require(a15_0x184d10(0x1da)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a15_0x184d10(0x1d6),CLOUD_PROJECT={'common':{'token':a15_0x184d10(0x1c4),'projectId':0x117,'localName':a15_0x184d10(0x1b7)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a15_0x184d10(0x1ab)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x184d10(0x1a6),'replace':[[a15_0x184d10(0x1ab),a15_0x184d10(0x1cb)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a15_0x184d10(0x1ab),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a15_0x184d10(0x1a6),'replace':[[a15_0x184d10(0x184),a15_0x184d10(0x1a0)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a15_0x184d10(0x184),a15_0x184d10(0x1d9)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x184d10(0x1c0),'replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1a2),'jjb-common/crypto'],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1b3),'replace':[[a15_0x184d10(0x1c9),a15_0x184d10(0x1d0)]]},{'path':a15_0x184d10(0x1a3),'replace':[[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1c8),'replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1bd),'jjb-common/tools']]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1af),'replace':[['common/http',a15_0x184d10(0x1d4)],['common/tools',a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1c1),'replace':[[a15_0x184d10(0x1c9),a15_0x184d10(0x1d0)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x19d),'replace':[[a15_0x184d10(0x18e),'jjb-common/website'],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]}];function uid(){const _0x3609b8=a15_0x184d10;return Math[_0x3609b8(0x1d8)]()[_0x3609b8(0x19c)]()['substr'](0x2);}module[a15_0x184d10(0x1a4)]=_0x4efcee=>{const _0x45a2a6=a15_0x184d10,_0x1991ad=path['resolve']('./'),_0x3cd9d8=_0x45a2a6(0x1a7)+_0x4efcee,_0x5bed25=_0x45a2a6(0x199),_0x3ebc76=_0x1991ad+'\x5csrc',_0x57da25=_0x45a2a6(0x19f)+uid(),_0x221b08=__dirname+'\x5c'+_0x57da25,_0x1319c9=_0x1991ad+'\x5cpackage.json',_0x239b60=_0x1991ad+_0x45a2a6(0x1d7)+_0x4efcee;try{if(fs['existsSync'](_0x3ebc76)){const _0x12c401=CLOUD_PROJECT[_0x4efcee]||undefined;if(_0x12c401){const _0x53eb8f=os[_0x45a2a6(0x192)](),_0x4a8413=_0x53eb8f+'/'+GIT_TEMP_DIR+'/'+_0x4efcee+'.zip',_0x3e121b=_0x53eb8f+'/'+GIT_TEMP_DIR+_0x45a2a6(0x190);utils['DeleteDirAllFile'](_0x53eb8f+'/'+GIT_TEMP_DIR,()=>{const _0x545a58=_0x45a2a6;fs[_0x545a58(0x1c7)](_0x53eb8f+'/'+GIT_TEMP_DIR);const _0x296edd=fs[_0x545a58(0x1be)](_0x4a8413);request(GIT_HOST+'/api/v4/projects/'+_0x12c401[_0x545a58(0x1ac)]+_0x545a58(0x18f)+_0x12c401[_0x545a58(0x195)]+_0x545a58(0x1ce))[_0x545a58(0x183)](_0x296edd)['on'](_0x545a58(0x1b8),()=>{const _0x18a89e=_0x545a58;fs[_0x18a89e(0x1c7)](_0x3e121b),compressing[_0x18a89e(0x182)][_0x18a89e(0x19e)](_0x4a8413,_0x3e121b)['then'](()=>{setTimeout(()=>{const _0xcc1614=a15_0x46e8;fs[_0xcc1614(0x1ba)](_0x3e121b)[_0xcc1614(0x1bb)](_0x330139=>{const _0xced357=_0xcc1614;_0x330139['indexOf'](_0xced357(0x1ae))!==-0x1&&utils[_0xced357(0x1c3)](_0x3ebc76+'\x5c'+_0x12c401[_0xced357(0x194)],()=>{const _0x14a437=_0xced357;fs[_0x14a437(0x1c7)](_0x221b08),utils['CopyFolder'](_0x3e121b+_0x330139,_0x221b08),setTimeout(()=>{const _0x5e0a9f=_0x14a437;if(_0x4efcee===_0x5e0a9f(0x1b7)){const _0x3be641=fs[_0x5e0a9f(0x1b9)](_0x3ebc76+_0x5e0a9f(0x18b));if(_0x3be641)rm_rf(_0x221b08+_0x5e0a9f(0x18c)),fs[_0x5e0a9f(0x1b2)](_0x221b08+_0x5e0a9f(0x18c));else{if(get_project_type(_0x1319c9)===_0x5e0a9f(0x1a5))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x221b08),fs[_0x5e0a9f(0x1d3)](_0x221b08+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x1bc))[_0x5e0a9f(0x19c)]()),fs[_0x5e0a9f(0x1d3)](_0x221b08+_0x5e0a9f(0x181),fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x1cf))[_0x5e0a9f(0x19c)]());else get_project_type(_0x1319c9)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x221b08),fs[_0x5e0a9f(0x1d3)](_0x221b08+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x18d))[_0x5e0a9f(0x19c)]()),fs[_0x5e0a9f(0x1d3)](_0x221b08+_0x5e0a9f(0x181),fs[_0x5e0a9f(0x1ca)](__dirname+'\x5ccli.dva.register.saas.txt')[_0x5e0a9f(0x19c)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x221b08);}_0x4efcee===_0x5e0a9f(0x18a)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x221b08),rm_rf(_0x221b08+_0x5e0a9f(0x1ad)),fs[_0x5e0a9f(0x1b9)](_0x221b08+_0x5e0a9f(0x1ad))&&fs[_0x5e0a9f(0x1b2)](_0x221b08+_0x5e0a9f(0x1ad)),fs[_0x5e0a9f(0x1b9)](_0x221b08+'\x5c.gitignore')&&fs[_0x5e0a9f(0x189)](_0x221b08+'\x5c.gitignore'),!fs[_0x5e0a9f(0x1b9)](_0x239b60)?fs[_0x5e0a9f(0x1c7)](_0x239b60):rm_rf(_0x239b60),utils[_0x5e0a9f(0x1a9)](_0x221b08,_0x239b60,()=>{const _0x5db033=_0x5e0a9f;rm_rf(_0x221b08),fs['rmdirSync'](_0x221b08),create_package_json(_0x239b60,_0x3cd9d8,_0x5bed25),update_project_package_json(_0x1319c9,_0x3cd9d8,_0x5bed25),console[_0x5db033(0x1d5)](_0x5db033(0x188)+_0x3cd9d8+'\x20v'+_0x5bed25);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x45a2a6(0x19b)+_0x4efcee);}}catch(_0x16e0eb){console[_0x45a2a6(0x1b5)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x1629ba){const _0x1dff8a=a15_0x184d10;if(fs[_0x1dff8a(0x1b9)](_0x1629ba)){const _0x5c27e4=fs[_0x1dff8a(0x1ba)](_0x1629ba);for(let _0x3b736e=0x0;_0x3b736e<_0x5c27e4[_0x1dff8a(0x1d2)];_0x3b736e++){const _0x23f6e9=_0x5c27e4[_0x3b736e],_0x55da53=_0x1629ba+'/'+_0x23f6e9;fs[_0x1dff8a(0x193)](_0x55da53)['isDirectory']()?(rm_rf(_0x55da53),fs[_0x1dff8a(0x1b2)](_0x55da53)):fs['unlinkSync'](_0x55da53);}}}function create_package_json(_0x3c4d19,_0x273ddd,_0x42b90f){const _0x32a97d=a15_0x184d10;fs['writeFileSync'](_0x3c4d19+_0x32a97d(0x1db),_0x32a97d(0x198)+_0x273ddd+'\x22,\x22version\x22:\x22'+_0x42b90f+_0x32a97d(0x1c5));}function get_project_type(_0x3c6cf3){const _0x5f5a02=a15_0x184d10,_0xc74a7d=JSON[_0x5f5a02(0x1b6)](fs['readFileSync'](_0x3c6cf3)[_0x5f5a02(0x19c)]());return _0xc74a7d[_0x5f5a02(0x186)];}function update_project_package_json(_0x2178fd,_0x1c31f4,_0x1e29b5){const _0x224f8f=a15_0x184d10,_0x289bc5=JSON[_0x224f8f(0x1b6)](fs[_0x224f8f(0x1ca)](_0x2178fd)['toString']());_0x289bc5[_0x224f8f(0x1a1)][_0x1c31f4]=_0x1e29b5,fs['writeFileSync'](_0x2178fd,JSON[_0x224f8f(0x1aa)](_0x289bc5,null,0x2));}function content_replace(_0x3aa2e8=[],_0x144906){const _0x52a189=a15_0x184d10;_0x3aa2e8[_0x52a189(0x1bb)](_0x14140c=>{const _0x123174=_0x52a189,_0x1da8bf=_0x144906+_0x14140c[_0x123174(0x1b0)];if(fs[_0x123174(0x1b9)](_0x1da8bf)){let _0xfa7f7b=fs[_0x123174(0x1ca)](_0x1da8bf)['toString']();_0x14140c['replace']['forEach'](_0x3f9952=>{const _0x3bb895=_0x123174;_0xfa7f7b=_0xfa7f7b[_0x3bb895(0x191)](_0x3f9952[0x0],_0x3f9952[0x1]);}),fs[_0x123174(0x1d3)](_0x1da8bf,_0xfa7f7b);}});}function a15_0x46e8(_0x4d0520,_0x323540){const _0x5845e0=a15_0x5845();return a15_0x46e8=function(_0x46e84e,_0x4a7d65){_0x46e84e=_0x46e84e-0x181;let _0x591809=_0x5845e0[_0x46e84e];return _0x591809;},a15_0x46e8(_0x4d0520,_0x323540);}function a15_0x5845(){const _0x45264d=['1.0.0','435839QCyHWw','【Error】:\x20未获取到项目\x20','toString','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','uncompress','template_','return\x20process.env;','dependencies','common/crypto','\x5cRouterMenu\x5cindex.js','exports','spa','\x5ctools\x5cindex.js','jjb-','2cQdEqs','CopyFolder','stringify','components','projectId','\x5c.idea','-master-','\x5cImageUploader\x5cindex.js','path','267KtXQVZ','rmdirSync','\x5cRejectText\x5cindex.js','common/http','error','parse','common','close','existsSync','readdirSync','forEach','\x5ccli.dva.router.spa.txt','common/tools','createWriteStream','20180ncSXkH','\x5cEditor\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','./util','DeleteDirAllFile','G4HJRsHr9D7Ssmixegw2','\x22,\x22main\x22:\x20\x22index.js\x22}','18009OtabNA','mkdirSync','\x5cFileUploader\x5cindex.js','common/color','readFileSync','jjb-react-admin-component','1152475PXDuSI','1703216rNRlhn','&ref=master','\x5ccli.dva.register.spa.txt','jjb-common/color','request','length','writeFileSync','jjb-common/http','log','jjbAssembly','\x5cnode_modules\x5cjjb-','random','return\x20process.env.app;','compressing','\x5cpackage.json','\x5cdva\x5cautomatic\x5cregister.js','zip','pipe','return\x20__planA();','237264THvXsC','projectType','5129089IqqjXs','【已安装】:','unlinkSync','react-admin-component','\x5capplication','\x5cdva\x5cautomatic','\x5ccli.dva.router.saas.txt','common/website','/repository/archive.zip?private_token=','/unzip/','replace','tmpdir','statSync','localName','token','1790qbelXl','jjb-common/tools','{\x22name\x22:\x22'];a15_0x5845=function(){return _0x45264d;};return a15_0x5845();}
@@ -1 +1 @@
1
- const a15_0x27a5eb=a15_0x2e5e;(function(_0x2fc1d5,_0xb468a8){const _0x282de3=a15_0x2e5e,_0x3b0262=_0x2fc1d5();while(!![]){try{const _0x4cf028=parseInt(_0x282de3(0x1d8))/0x1*(-parseInt(_0x282de3(0x1b4))/0x2)+parseInt(_0x282de3(0x1c4))/0x3*(-parseInt(_0x282de3(0x1d3))/0x4)+parseInt(_0x282de3(0x1b7))/0x5+parseInt(_0x282de3(0x1da))/0x6*(-parseInt(_0x282de3(0x1c3))/0x7)+parseInt(_0x282de3(0x1ca))/0x8*(-parseInt(_0x282de3(0x1c1))/0x9)+parseInt(_0x282de3(0x1c6))/0xa*(parseInt(_0x282de3(0x1d6))/0xb)+-parseInt(_0x282de3(0x1cc))/0xc*(-parseInt(_0x282de3(0x1d4))/0xd);if(_0x4cf028===_0xb468a8)break;else _0x3b0262['push'](_0x3b0262['shift']());}catch(_0xd5368f){_0x3b0262['push'](_0x3b0262['shift']());}}}(a15_0x4ee6,0x8bfb4));const fs=require('fs'),path=require(a15_0x27a5eb(0x1cd)),readline=require(a15_0x27a5eb(0x1d9)),ProgressBar=require(a15_0x27a5eb(0x1cb)),io=readline[a15_0x27a5eb(0x1c8)]({'input':process[a15_0x27a5eb(0x1b5)],'output':process[a15_0x27a5eb(0x1d5)]}),progress=new ProgressBar(a15_0x27a5eb(0x1bb),0x32);let f_total=0x0,f_number=0x0;function a15_0x4ee6(){const _0x32fa94=['path','exports','删除文件:','是否确认删除?删除后不可恢复![y/n]:','取消删除。','statSync','8Ggjyuj','13403VxrDIW','stdout','8371ThIFZi','existsSync','1KHDuxO','readline','438yOzGFx','clear','263078NyEJmH','stdin','trim','2422190DmgZxX','exit','question','length','删除进度','log','删除文件夹:','resolve','readdirSync','删除完成。','9imMQub','isDirectory','39781jzIomI','1600083tKuIMq','正在计算项目数,请稍等...','14540KoCXRQ','无效操作。','createInterface','rmdirSync','5578576eqikCP','./progress-bar','15048FuZVBB'];a15_0x4ee6=function(){return _0x32fa94;};return a15_0x4ee6();}module[a15_0x27a5eb(0x1ce)]=function(){const _0x3c1d5c=a15_0x27a5eb,_0x291f99=path[_0x3c1d5c(0x1be)]('./');io[_0x3c1d5c(0x1b9)](_0x3c1d5c(0x1d0),function(_0x4b76f8){const _0x379d48=_0x3c1d5c;if(_0x4b76f8[_0x379d48(0x1b6)]()==='y')console['log'](_0x379d48(0x1c5)),setTimeout(()=>{setTimeout(()=>{const _0x523e29=a15_0x2e5e;console[_0x523e29(0x1b3)](),exec(_0x291f99),setTimeout(()=>{const _0x1edebf=_0x523e29;console[_0x1edebf(0x1bc)](_0x1edebf(0x1c0)),console[_0x1edebf(0x1b3)](),process[_0x1edebf(0x1b8)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x4b76f8['trim']()==='n'?(console[_0x379d48(0x1bc)](_0x379d48(0x1d1)),process[_0x379d48(0x1b8)](0x0)):(console[_0x379d48(0x1bc)](_0x379d48(0x1c7)),process[_0x379d48(0x1b8)](0x0));});};function a15_0x2e5e(_0x56323d,_0x36fa49){const _0x4ee6fb=a15_0x4ee6();return a15_0x2e5e=function(_0x2e5e60,_0x4c089e){_0x2e5e60=_0x2e5e60-0x1b3;let _0x5ab45f=_0x4ee6fb[_0x2e5e60];return _0x5ab45f;},a15_0x2e5e(_0x56323d,_0x36fa49);}function exec(_0x5a53d2){const _0x2a16b9=a15_0x27a5eb;if(fs[_0x2a16b9(0x1d7)](_0x5a53d2)){const _0x5aa889=fs[_0x2a16b9(0x1bf)](_0x5a53d2);for(let _0x274f7a=0x0;_0x274f7a<_0x5aa889[_0x2a16b9(0x1ba)];_0x274f7a++){const _0x5d6547=_0x5aa889[_0x274f7a],_0x2a176b=_0x5a53d2+'/'+_0x5d6547;try{fs[_0x2a16b9(0x1d2)](_0x2a176b)[_0x2a16b9(0x1c2)]()?(exec(_0x2a176b),fs[_0x2a16b9(0x1c9)](_0x2a176b,{'recursive':!![]}),console[_0x2a16b9(0x1bc)](_0x2a16b9(0x1bd)+_0x2a176b)):(fs['unlinkSync'](_0x2a176b),console[_0x2a16b9(0x1bc)](_0x2a16b9(0x1cf)+_0x2a176b));}catch(_0x2711dd){console['log']('删除异常:'+_0x2a176b);}}}}function scanner(_0x3cd5b7){const _0x5703cd=a15_0x27a5eb;if(fs[_0x5703cd(0x1d7)](_0x3cd5b7)){const _0x5930da=fs[_0x5703cd(0x1bf)](_0x3cd5b7);for(let _0x446cf5=0x0;_0x446cf5<_0x5930da[_0x5703cd(0x1ba)];_0x446cf5++){const _0x4b0bc7=_0x5930da[_0x446cf5],_0x2341f9=_0x3cd5b7+'/'+_0x4b0bc7;try{fs[_0x5703cd(0x1d2)](_0x2341f9)[_0x5703cd(0x1c2)]()?(scanner(_0x2341f9),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x2be2c5){}}}}
1
+ const a16_0x55b60a=a16_0x4349;function a16_0x515b(){const _0x1fcdd7=['9jCFkUF','删除文件:','trim','unlinkSync','是否确认删除?删除后不可恢复![y/n]:','createInterface','rmdirSync','793615BaRXHT','resolve','12GWoMPs','./progress-bar','exit','path','isDirectory','137868IDhmUT','question','无效操作。','72LbEDis','4twDJsx','8051FiUTXY','stdin','length','readdirSync','45368HZhYbx','log','1310330toCqGp','62760myPTHU','删除文件夹:','statSync','238CRoqzC','clear','existsSync','正在计算项目数,请稍等...','stdout','201311vWyDcx'];a16_0x515b=function(){return _0x1fcdd7;};return a16_0x515b();}function a16_0x4349(_0x3e9c14,_0x53d1b7){const _0x515bae=a16_0x515b();return a16_0x4349=function(_0x434923,_0x2238dc){_0x434923=_0x434923-0x1a0;let _0x18aa36=_0x515bae[_0x434923];return _0x18aa36;},a16_0x4349(_0x3e9c14,_0x53d1b7);}(function(_0xad6ae5,_0x102170){const _0x18d79c=a16_0x4349,_0x3a50e6=_0xad6ae5();while(!![]){try{const _0x2e5007=parseInt(_0x18d79c(0x1b0))/0x1*(parseInt(_0x18d79c(0x1af))/0x2)+parseInt(_0x18d79c(0x1ab))/0x3*(parseInt(_0x18d79c(0x1a6))/0x4)+parseInt(_0x18d79c(0x1a4))/0x5+-parseInt(_0x18d79c(0x1b7))/0x6*(parseInt(_0x18d79c(0x1ba))/0x7)+parseInt(_0x18d79c(0x1b4))/0x8+parseInt(_0x18d79c(0x1c0))/0x9*(parseInt(_0x18d79c(0x1b6))/0xa)+-parseInt(_0x18d79c(0x1bf))/0xb*(-parseInt(_0x18d79c(0x1ae))/0xc);if(_0x2e5007===_0x102170)break;else _0x3a50e6['push'](_0x3a50e6['shift']());}catch(_0x23df2c){_0x3a50e6['push'](_0x3a50e6['shift']());}}}(a16_0x515b,0x31b2b));const fs=require('fs'),path=require(a16_0x55b60a(0x1a9)),readline=require('readline'),ProgressBar=require(a16_0x55b60a(0x1a7)),io=readline[a16_0x55b60a(0x1a2)]({'input':process[a16_0x55b60a(0x1b1)],'output':process[a16_0x55b60a(0x1be)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0xd10e1b=a16_0x55b60a,_0x41278c=path[_0xd10e1b(0x1a5)]('./');io[_0xd10e1b(0x1ac)](_0xd10e1b(0x1a1),function(_0x3e1277){const _0x33fe4c=_0xd10e1b;if(_0x3e1277[_0x33fe4c(0x1c2)]()==='y')console[_0x33fe4c(0x1b5)](_0x33fe4c(0x1bd)),setTimeout(()=>{setTimeout(()=>{const _0x19fd32=a16_0x4349;console[_0x19fd32(0x1bb)](),exec(_0x41278c),setTimeout(()=>{const _0x52d1f1=_0x19fd32;console[_0x52d1f1(0x1b5)]('删除完成。'),console['clear'](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3e1277[_0x33fe4c(0x1c2)]()==='n'?(console[_0x33fe4c(0x1b5)]('取消删除。'),process[_0x33fe4c(0x1a8)](0x0)):(console[_0x33fe4c(0x1b5)](_0x33fe4c(0x1ad)),process['exit'](0x0));});};function exec(_0x6781e8){const _0x442738=a16_0x55b60a;if(fs['existsSync'](_0x6781e8)){const _0x26a413=fs[_0x442738(0x1b3)](_0x6781e8);for(let _0x5e9cb6=0x0;_0x5e9cb6<_0x26a413['length'];_0x5e9cb6++){const _0xf093db=_0x26a413[_0x5e9cb6],_0x12aa7d=_0x6781e8+'/'+_0xf093db;try{fs[_0x442738(0x1b9)](_0x12aa7d)[_0x442738(0x1aa)]()?(exec(_0x12aa7d),fs[_0x442738(0x1a3)](_0x12aa7d,{'recursive':!![]}),console[_0x442738(0x1b5)](_0x442738(0x1b8)+_0x12aa7d)):(fs[_0x442738(0x1a0)](_0x12aa7d),console[_0x442738(0x1b5)](_0x442738(0x1c1)+_0x12aa7d));}catch(_0xed724){console['log']('删除异常:'+_0x12aa7d);}}}}function scanner(_0x376ecb){const _0xb272cf=a16_0x55b60a;if(fs[_0xb272cf(0x1bc)](_0x376ecb)){const _0x358cd1=fs[_0xb272cf(0x1b3)](_0x376ecb);for(let _0x909aa5=0x0;_0x909aa5<_0x358cd1[_0xb272cf(0x1b2)];_0x909aa5++){const _0x2365f4=_0x358cd1[_0x909aa5],_0x3efd10=_0x376ecb+'/'+_0x2365f4;try{fs[_0xb272cf(0x1b9)](_0x3efd10)['isDirectory']()?(scanner(_0x3efd10),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4a408f){}}}}
@@ -1 +1 @@
1
- const a16_0x150805=a16_0x5cc5;(function(_0x4e5943,_0x5a6a63){const _0x30b9ed=a16_0x5cc5,_0x3570ac=_0x4e5943();while(!![]){try{const _0x14b772=parseInt(_0x30b9ed(0x80))/0x1+-parseInt(_0x30b9ed(0x79))/0x2+parseInt(_0x30b9ed(0x78))/0x3+parseInt(_0x30b9ed(0x7a))/0x4+parseInt(_0x30b9ed(0x89))/0x5*(-parseInt(_0x30b9ed(0x8a))/0x6)+parseInt(_0x30b9ed(0x86))/0x7*(parseInt(_0x30b9ed(0x83))/0x8)+parseInt(_0x30b9ed(0x7d))/0x9;if(_0x14b772===_0x5a6a63)break;else _0x3570ac['push'](_0x3570ac['shift']());}catch(_0x46e2cc){_0x3570ac['push'](_0x3570ac['shift']());}}}(a16_0x12c9,0xadeeb));const slog=require(a16_0x150805(0x7c))[a16_0x150805(0x81)];function ProgressBar(_0x5b92b7,_0x14ac86){const _0x4f91f3=a16_0x150805;this[_0x4f91f3(0x7e)]=_0x5b92b7||_0x4f91f3(0x88),this['length']=_0x14ac86||0x19,this[_0x4f91f3(0x7b)]=function(_0x2b506c){const _0xf99a3b=_0x4f91f3;let _0x4c0042;const _0x12aac8=(_0x2b506c[_0xf99a3b(0x82)]/_0x2b506c[_0xf99a3b(0x85)])[_0xf99a3b(0x7f)](0x4),_0x5228a7=Math['floor'](_0x12aac8*this[_0xf99a3b(0x84)]);let _0x121612='';for(_0x4c0042=0x0;_0x4c0042<_0x5228a7;_0x4c0042++){_0x121612+='█';}let _0xf29cd9='';for(_0x4c0042=0x0;_0x4c0042<this[_0xf99a3b(0x84)]-_0x5228a7;_0x4c0042++){_0xf29cd9+='░';}const _0x163886=this[_0xf99a3b(0x7e)]+':\x20'+(0x64*_0x12aac8)[_0xf99a3b(0x7f)](0x2)+'%\x20'+_0x121612+_0xf29cd9+'\x20'+_0x2b506c[_0xf99a3b(0x82)]+'/'+_0x2b506c['total'];slog(_0x163886);};}function a16_0x5cc5(_0x5d1f8e,_0xfe5dcc){const _0x12c95d=a16_0x12c9();return a16_0x5cc5=function(_0x5cc557,_0x9f2c04){_0x5cc557=_0x5cc557-0x78;let _0x363bfc=_0x12c95d[_0x5cc557];return _0x363bfc;},a16_0x5cc5(_0x5d1f8e,_0xfe5dcc);}function a16_0x12c9(){const _0x21e72e=['exports','Progress','5450395riUyiw','6SucXhY','2243388JdBsae','2425834ZHAykq','4174476FVexvp','render','single-line-log','4261230HGsDKa','description','toFixed','537538btsnnO','stdout','completed','1704000RwDtvG','length','total','7eDywjk'];a16_0x12c9=function(){return _0x21e72e;};return a16_0x12c9();}module[a16_0x150805(0x87)]=ProgressBar;
1
+ const a17_0x1d9bc2=a17_0x423c;(function(_0x4a3c4b,_0x4473e3){const _0x4c141a=a17_0x423c,_0x21967a=_0x4a3c4b();while(!![]){try{const _0x302e78=-parseInt(_0x4c141a(0x117))/0x1*(-parseInt(_0x4c141a(0x10d))/0x2)+-parseInt(_0x4c141a(0x107))/0x3*(-parseInt(_0x4c141a(0x110))/0x4)+parseInt(_0x4c141a(0x112))/0x5*(-parseInt(_0x4c141a(0x10e))/0x6)+-parseInt(_0x4c141a(0x118))/0x7*(-parseInt(_0x4c141a(0x114))/0x8)+parseInt(_0x4c141a(0x109))/0x9*(parseInt(_0x4c141a(0x11a))/0xa)+-parseInt(_0x4c141a(0x105))/0xb*(-parseInt(_0x4c141a(0x11b))/0xc)+-parseInt(_0x4c141a(0x115))/0xd;if(_0x302e78===_0x4473e3)break;else _0x21967a['push'](_0x21967a['shift']());}catch(_0x3de75e){_0x21967a['push'](_0x21967a['shift']());}}}(a17_0x126d,0x3fc4e));const slog=require(a17_0x1d9bc2(0x119))[a17_0x1d9bc2(0x104)];function a17_0x423c(_0x2125a7,_0x544ea3){const _0x126d0c=a17_0x126d();return a17_0x423c=function(_0x423cb7,_0x5a4262){_0x423cb7=_0x423cb7-0x104;let _0x16d01e=_0x126d0c[_0x423cb7];return _0x16d01e;},a17_0x423c(_0x2125a7,_0x544ea3);}function ProgressBar(_0x27cad4,_0x1beef4){const _0x10bf34=a17_0x1d9bc2;this[_0x10bf34(0x10c)]=_0x27cad4||_0x10bf34(0x111),this[_0x10bf34(0x113)]=_0x1beef4||0x19,this[_0x10bf34(0x108)]=function(_0x365d56){const _0x1f997d=_0x10bf34;let _0x1ded8d;const _0x3f45a5=(_0x365d56[_0x1f997d(0x10f)]/_0x365d56['total'])[_0x1f997d(0x116)](0x4),_0x506258=Math[_0x1f997d(0x10a)](_0x3f45a5*this[_0x1f997d(0x113)]);let _0x161fcf='';for(_0x1ded8d=0x0;_0x1ded8d<_0x506258;_0x1ded8d++){_0x161fcf+='█';}let _0x447e9f='';for(_0x1ded8d=0x0;_0x1ded8d<this['length']-_0x506258;_0x1ded8d++){_0x447e9f+='░';}const _0x5a7480=this[_0x1f997d(0x10c)]+':\x20'+(0x64*_0x3f45a5)[_0x1f997d(0x116)](0x2)+'%\x20'+_0x161fcf+_0x447e9f+'\x20'+_0x365d56[_0x1f997d(0x10f)]+'/'+_0x365d56[_0x1f997d(0x10b)];slog(_0x5a7480);};}module[a17_0x1d9bc2(0x106)]=ProgressBar;function a17_0x126d(){const _0x386433=['Progress','1171445bszasS','length','478024iTClOE','7686887aaHvEz','toFixed','1BmINuN','21MYLevj','single-line-log','201890SsKOYr','351000wNMnXH','stdout','22XlzjRz','exports','3LaQHpE','render','207xrhfJa','floor','total','description','664630VvjVXD','12qHnlks','completed','1146616TjgsuZ'];a17_0x126d=function(){return _0x386433;};return a17_0x126d();}
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a17_0x778af5=a17_0x5e93;(function(_0x590913,_0x2ee0c3){const _0xc03aca=a17_0x5e93,_0x546018=_0x590913();while(!![]){try{const _0x2be17c=parseInt(_0xc03aca(0x16f))/0x1+-parseInt(_0xc03aca(0x153))/0x2+-parseInt(_0xc03aca(0x15b))/0x3*(parseInt(_0xc03aca(0x162))/0x4)+-parseInt(_0xc03aca(0x14d))/0x5*(-parseInt(_0xc03aca(0x16e))/0x6)+-parseInt(_0xc03aca(0x155))/0x7*(parseInt(_0xc03aca(0x15f))/0x8)+parseInt(_0xc03aca(0x15c))/0x9*(-parseInt(_0xc03aca(0x14e))/0xa)+-parseInt(_0xc03aca(0x16a))/0xb*(-parseInt(_0xc03aca(0x15a))/0xc);if(_0x2be17c===_0x2ee0c3)break;else _0x546018['push'](_0x546018['shift']());}catch(_0x4f4375){_0x546018['push'](_0x546018['shift']());}}}(a17_0x1725,0x6c1e6));function a17_0x5e93(_0x1a1304,_0x25b1a7){const _0x1725c6=a17_0x1725();return a17_0x5e93=function(_0x5e93c9,_0x2aa582){_0x5e93c9=_0x5e93c9-0x14c;let _0x434690=_0x1725c6[_0x5e93c9];return _0x434690;},a17_0x5e93(_0x1a1304,_0x25b1a7);}const fs=require('fs'),path=require(a17_0x778af5(0x15e));exports[a17_0x778af5(0x160)]=(_0x23475f,_0x44c08e)=>{const _0x546ef8=a17_0x778af5;let _0x5bb9f7=[];const _0x374ed1=this;fs[_0x546ef8(0x16c)](_0x23475f)?(_0x5bb9f7=fs['readdirSync'](_0x23475f),_0x5bb9f7[_0x546ef8(0x169)](function(_0x3324b9,_0x20b0d3){const _0x1bbde7=_0x546ef8;let _0x871fb4=_0x23475f+'/'+_0x3324b9;fs['statSync'](_0x871fb4)[_0x1bbde7(0x159)]()?_0x374ed1[_0x1bbde7(0x160)](_0x871fb4):fs['unlinkSync'](_0x871fb4);}),fs['rmdirSync'](_0x23475f),_0x44c08e&&_0x44c08e()):_0x44c08e&&_0x44c08e();},exports['CopyFolder']=(_0xaa3dbc,_0x2ca0f3,_0x5bd4bb)=>{const _0x5b21c6=a17_0x778af5,_0x481500=this;fs[_0x5b21c6(0x15d)](_0xaa3dbc,function(_0x10243f,_0x2e92eb){const _0x28537e=_0x5b21c6;let _0x3eafa5=0x0;const _0x48d7d7=function(){const _0x23e9d6=a17_0x5e93;++_0x3eafa5===_0x2e92eb[_0x23e9d6(0x166)]&&_0x5bd4bb&&_0x5bd4bb();};if(_0x10243f){_0x48d7d7();return;}_0x2e92eb[_0x28537e(0x169)](function(_0x1270fd){const _0x1ccbcf=_0x28537e,_0x16e53c=path[_0x1ccbcf(0x154)](_0xaa3dbc,_0x1270fd),_0x3a69c3=path['join'](_0x2ca0f3,_0x1270fd);fs[_0x1ccbcf(0x152)](_0x16e53c,function(_0x5c28e8,_0x367763){const _0x1fbe7b=_0x1ccbcf;_0x367763[_0x1fbe7b(0x159)]()?fs[_0x1fbe7b(0x168)](_0x3a69c3,function(_0x34385d){const _0x175cd9=_0x1fbe7b;if(_0x34385d){console[_0x175cd9(0x151)](_0x34385d);return;}_0x481500[_0x175cd9(0x157)](_0x16e53c,_0x3a69c3,_0x48d7d7);}):_0x481500[_0x1fbe7b(0x158)](_0x16e53c,_0x3a69c3,_0x48d7d7);});}),_0x2e92eb[_0x28537e(0x166)]===0x0&&_0x5bd4bb&&_0x5bd4bb();});},exports[a17_0x778af5(0x158)]=(_0x4cfb40,_0x343b19,_0x72c5b4)=>{const _0x361d31=a17_0x778af5,_0x1a4c0e=fs[_0x361d31(0x170)](_0x4cfb40);_0x1a4c0e['on'](_0x361d31(0x14c),function(_0x5efda9){const _0x59f848=_0x361d31;_0x5efda9&&console[_0x59f848(0x151)](_0x59f848(0x165),_0x4cfb40),_0x72c5b4&&_0x72c5b4(_0x5efda9);});const _0x1da2aa=fs[_0x361d31(0x16d)](_0x343b19);_0x1da2aa['on'](_0x361d31(0x14c),function(_0x179652){const _0x595d3a=_0x361d31;_0x179652&&console['log'](_0x595d3a(0x14f),_0x343b19),_0x72c5b4&&_0x72c5b4(_0x179652);}),_0x1da2aa['on'](_0x361d31(0x161),function(_0x31fec7){_0x72c5b4&&_0x72c5b4(_0x31fec7);}),_0x1a4c0e[_0x361d31(0x16b)](_0x1da2aa);},exports[a17_0x778af5(0x163)]=(_0x1db090,_0x1416f3)=>{const _0xb8e664=a17_0x778af5,_0x1bc70b=this,_0x518dba=fs['readdirSync'](_0x1db090);_0x518dba[_0xb8e664(0x169)](_0x921a87=>{const _0x2c4af7=_0xb8e664,_0x5dc0b6=_0x1db090+'/'+_0x921a87,_0x89e242=fs[_0x2c4af7(0x156)](_0x5dc0b6);_0x89e242['isDirectory']()?_0x1bc70b[_0x2c4af7(0x163)](_0x5dc0b6,_0x1416f3):_0x1416f3[_0x2c4af7(0x164)](_0x5dc0b6);});},exports[a17_0x778af5(0x167)]=(_0x2ae4e8,_0x5d5e72)=>{return new Promise(_0x3efc5f=>{const _0x284df9=[];_0x5d5e72['forEach']((_0x1c22bd,_0x37a756)=>{const _0x5d5777=a17_0x5e93,_0x42c506=_0x2ae4e8+'/'+_0x284df9[_0x5d5777(0x154)]('/')+'/'+_0x1c22bd;try{const _0x30227e=fs[_0x5d5777(0x156)](_0x42c506);_0x30227e[_0x5d5777(0x159)]()?_0x37a756===_0x5d5e72[_0x5d5777(0x166)]-0x1&&_0x3efc5f():(fs[_0x5d5777(0x150)](_0x42c506),_0x37a756===_0x5d5e72[_0x5d5777(0x166)]-0x1&&_0x3efc5f());}catch(_0x381ad1){fs[_0x5d5777(0x150)](_0x42c506),_0x37a756===_0x5d5e72['length']-0x1&&_0x3efc5f();}_0x284df9['push'](_0x1c22bd);});});};function a17_0x1725(){const _0x24be93=['error','86300YZkGGr','30PZrZJv','write\x20error','mkdirSync','log','stat','9202XKyiAD','join','221627FsieuN','statSync','CopyFolder','CopyFile','isDirectory','7932aHlqJj','573xNOkmp','1186803orzwXy','readdir','path','24nbrrbQ','DeleteDirAllFile','close','4912iOGtYE','DeepScanner','push','read\x20error','length','CreatePaths','mkdir','forEach','4554QLkprs','pipe','existsSync','createWriteStream','6EEfbXP','881673ocFlGI','createReadStream'];a17_0x1725=function(){return _0x24be93;};return a17_0x1725();}
1
+ 'use strict';const a18_0xf6e18f=a18_0x1b67;function a18_0x535f(){const _0x22a1b9=['join','24126Cfmvfn','242tpNgCh','readdir','createReadStream','statSync','1360734JsFtjt','132trrxTo','639293fhlRxQ','length','mkdirSync','DeepScanner','read\x20error','readdirSync','stat','2563475OuQoeK','error','DeleteDirAllFile','4QLZmrC','CopyFolder','CreatePaths','951456WalpGg','32RSXdAe','createWriteStream','mkdir','7ctiQVv','close','log','unlinkSync','forEach','644900ejdmCp','229824NlAklN','isDirectory','existsSync','push','pipe'];a18_0x535f=function(){return _0x22a1b9;};return a18_0x535f();}(function(_0x4b9b72,_0xcd5219){const _0x19b0dc=a18_0x1b67,_0x388467=_0x4b9b72();while(!![]){try{const _0xd2505b=parseInt(_0x19b0dc(0x1a4))/0x1+parseInt(_0x19b0dc(0x19d))/0x2*(parseInt(_0x19b0dc(0x1a3))/0x3)+-parseInt(_0x19b0dc(0x1ae))/0x4*(-parseInt(_0x19b0dc(0x1ab))/0x5)+-parseInt(_0x19b0dc(0x1a2))/0x6*(-parseInt(_0x19b0dc(0x191))/0x7)+parseInt(_0x19b0dc(0x1b2))/0x8*(parseInt(_0x19b0dc(0x197))/0x9)+parseInt(_0x19b0dc(0x196))/0xa+-parseInt(_0x19b0dc(0x19e))/0xb*(parseInt(_0x19b0dc(0x1b1))/0xc);if(_0xd2505b===_0xcd5219)break;else _0x388467['push'](_0x388467['shift']());}catch(_0x5b111d){_0x388467['push'](_0x388467['shift']());}}}(a18_0x535f,0x51047));function a18_0x1b67(_0x400f2b,_0x51fde7){const _0x535f43=a18_0x535f();return a18_0x1b67=function(_0x1b67ca,_0x518722){_0x1b67ca=_0x1b67ca-0x191;let _0x37af39=_0x535f43[_0x1b67ca];return _0x37af39;},a18_0x1b67(_0x400f2b,_0x51fde7);}const fs=require('fs'),path=require('path');exports[a18_0xf6e18f(0x1ad)]=(_0x2fdeb0,_0x5c9f2b)=>{const _0x34fc4a=a18_0xf6e18f;let _0x109091=[];const _0x5dbafb=this;fs[_0x34fc4a(0x199)](_0x2fdeb0)?(_0x109091=fs[_0x34fc4a(0x1a9)](_0x2fdeb0),_0x109091[_0x34fc4a(0x195)](function(_0x4677d5,_0x2c9185){const _0x9973ec=_0x34fc4a;let _0x21b8d6=_0x2fdeb0+'/'+_0x4677d5;fs[_0x9973ec(0x1a1)](_0x21b8d6)[_0x9973ec(0x198)]()?_0x5dbafb[_0x9973ec(0x1ad)](_0x21b8d6):fs[_0x9973ec(0x194)](_0x21b8d6);}),fs['rmdirSync'](_0x2fdeb0),_0x5c9f2b&&_0x5c9f2b()):_0x5c9f2b&&_0x5c9f2b();},exports[a18_0xf6e18f(0x1af)]=(_0x3d83b7,_0x520b31,_0x32db2d)=>{const _0x6dd844=a18_0xf6e18f,_0x50dcf4=this;fs[_0x6dd844(0x19f)](_0x3d83b7,function(_0xd96e13,_0x538b0e){const _0x30374c=_0x6dd844;let _0x2d21bc=0x0;const _0x4df9dd=function(){const _0x4eafa3=a18_0x1b67;++_0x2d21bc===_0x538b0e[_0x4eafa3(0x1a5)]&&_0x32db2d&&_0x32db2d();};if(_0xd96e13){_0x4df9dd();return;}_0x538b0e['forEach'](function(_0x724e52){const _0x5bc802=a18_0x1b67,_0x209fec=path[_0x5bc802(0x19c)](_0x3d83b7,_0x724e52),_0x1a7c1c=path['join'](_0x520b31,_0x724e52);fs[_0x5bc802(0x1aa)](_0x209fec,function(_0x4031c1,_0x50be4f){const _0x471dda=_0x5bc802;_0x50be4f[_0x471dda(0x198)]()?fs[_0x471dda(0x1b4)](_0x1a7c1c,function(_0x2f4e27){const _0x2f20d9=_0x471dda;if(_0x2f4e27){console[_0x2f20d9(0x193)](_0x2f4e27);return;}_0x50dcf4[_0x2f20d9(0x1af)](_0x209fec,_0x1a7c1c,_0x4df9dd);}):_0x50dcf4['CopyFile'](_0x209fec,_0x1a7c1c,_0x4df9dd);});}),_0x538b0e[_0x30374c(0x1a5)]===0x0&&_0x32db2d&&_0x32db2d();});},exports['CopyFile']=(_0x1d55d1,_0x3fc826,_0x3e2910)=>{const _0x27a7de=a18_0xf6e18f,_0x15fe2b=fs[_0x27a7de(0x1a0)](_0x1d55d1);_0x15fe2b['on']('error',function(_0x3a13aa){const _0x39f42d=_0x27a7de;_0x3a13aa&&console[_0x39f42d(0x193)](_0x39f42d(0x1a8),_0x1d55d1),_0x3e2910&&_0x3e2910(_0x3a13aa);});const _0x25cc9d=fs[_0x27a7de(0x1b3)](_0x3fc826);_0x25cc9d['on'](_0x27a7de(0x1ac),function(_0x3a03e0){const _0x19acdb=_0x27a7de;_0x3a03e0&&console[_0x19acdb(0x193)]('write\x20error',_0x3fc826),_0x3e2910&&_0x3e2910(_0x3a03e0);}),_0x25cc9d['on'](_0x27a7de(0x192),function(_0x44b20b){_0x3e2910&&_0x3e2910(_0x44b20b);}),_0x15fe2b[_0x27a7de(0x19b)](_0x25cc9d);},exports[a18_0xf6e18f(0x1a7)]=(_0x159071,_0x247fb1)=>{const _0x1f8ed9=a18_0xf6e18f,_0x2fd0b1=this,_0x3d5fce=fs[_0x1f8ed9(0x1a9)](_0x159071);_0x3d5fce[_0x1f8ed9(0x195)](_0x34b708=>{const _0x4c023e=_0x1f8ed9,_0x2444e5=_0x159071+'/'+_0x34b708,_0x63bfb1=fs['statSync'](_0x2444e5);_0x63bfb1[_0x4c023e(0x198)]()?_0x2fd0b1[_0x4c023e(0x1a7)](_0x2444e5,_0x247fb1):_0x247fb1[_0x4c023e(0x19a)](_0x2444e5);});},exports[a18_0xf6e18f(0x1b0)]=(_0x40628e,_0x321d01)=>{return new Promise(_0x5b4608=>{const _0x43aeab=a18_0x1b67,_0x404f75=[];_0x321d01[_0x43aeab(0x195)]((_0x1d972d,_0x3ac515)=>{const _0x256cc5=_0x43aeab,_0x1f71b9=_0x40628e+'/'+_0x404f75[_0x256cc5(0x19c)]('/')+'/'+_0x1d972d;try{const _0x12a590=fs[_0x256cc5(0x1a1)](_0x1f71b9);_0x12a590[_0x256cc5(0x198)]()?_0x3ac515===_0x321d01[_0x256cc5(0x1a5)]-0x1&&_0x5b4608():(fs[_0x256cc5(0x1a6)](_0x1f71b9),_0x3ac515===_0x321d01['length']-0x1&&_0x5b4608());}catch(_0x276d7b){fs[_0x256cc5(0x1a6)](_0x1f71b9),_0x3ac515===_0x321d01[_0x256cc5(0x1a5)]-0x1&&_0x5b4608();}_0x404f75['push'](_0x1d972d);});});};