jjb-cmd 2.1.3 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.5</p>
6
+ <div>指定java pull工作区域cwd</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.4</p>
10
+ <div>修复问题</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.3</p>
6
14
  <div>push指令增加打包到java容器,参数java test(环境) 更新文案(版本描述)</div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "jjb脚手架工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +1 @@
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
+ const a0_0x48fa55=a0_0xea96;function a0_0x2e6d(){const _0x39160b=['pipe','indexOf','forEach','../cmd.install/config','/unzip/','-master-','4014774gdoYWw','不存在。','24224shUiXe','/repository/archive.zip?private_token=','28298KWTHmf','812fVleFp','log','12661JxSpls','../../old/util','compressing','10vODrcX','uncompress','&ref=master','createWriteStream','projectId','564rsXbZx','mkdirSync','初始化完成!','1061106WAujgJ','exit','1PyBXMt','token','../cmd.install/tools','readdirSync','3267360SKwyHH','exports','tmpdir','4644hyaqJh'];a0_0x2e6d=function(){return _0x39160b;};return a0_0x2e6d();}function a0_0xea96(_0x270d93,_0x401690){const _0x2e6d4a=a0_0x2e6d();return a0_0xea96=function(_0xea9672,_0x5ac0bd){_0xea9672=_0xea9672-0x10e;let _0x4d94cb=_0x2e6d4a[_0xea9672];return _0x4d94cb;},a0_0xea96(_0x270d93,_0x401690);}(function(_0x1fc1c6,_0x1ba77f){const _0x581553=a0_0xea96,_0x1a1014=_0x1fc1c6();while(!![]){try{const _0x584b72=parseInt(_0x581553(0x118))/0x1*(-parseInt(_0x581553(0x12a))/0x2)+parseInt(_0x581553(0x113))/0x3*(-parseInt(_0x581553(0x11f))/0x4)+parseInt(_0x581553(0x10e))/0x5*(parseInt(_0x581553(0x116))/0x6)+-parseInt(_0x581553(0x12b))/0x7*(-parseInt(_0x581553(0x128))/0x8)+-parseInt(_0x581553(0x126))/0x9+parseInt(_0x581553(0x11c))/0xa+-parseInt(_0x581553(0x12d))/0xb;if(_0x584b72===_0x1ba77f)break;else _0x1a1014['push'](_0x1a1014['shift']());}catch(_0xe2fef5){_0x1a1014['push'](_0x1a1014['shift']());}}}(a0_0x2e6d,0x55f20));const path=require('path'),{f_file_copy}=require(a0_0x48fa55(0x11a)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a0_0x48fa55(0x123)),fs=require('fs'),os=require('os'),utils=require(a0_0x48fa55(0x12e)),request=require('request'),compressing=require(a0_0x48fa55(0x12f));module[a0_0x48fa55(0x11d)]=_0x25f5b0=>{const _0x1dc16a=a0_0x48fa55,_0x127263=path['resolve']('./'),_0x27d1a7=CLOUD_PROJECT[_0x25f5b0]||undefined;if(_0x27d1a7){const _0x4c6efa=os[_0x1dc16a(0x11e)](),_0x56575b=_0x4c6efa+'/'+GIT_TEMP_DIR+'/'+_0x25f5b0+'.zip',_0xcf3092=_0x4c6efa+'/'+GIT_TEMP_DIR+_0x1dc16a(0x124);utils['DeleteDirAllFile'](_0x4c6efa+'/'+GIT_TEMP_DIR,()=>{const _0x4e23c2=_0x1dc16a;fs['mkdirSync'](_0x4c6efa+'/'+GIT_TEMP_DIR);let _0x31c690=fs[_0x4e23c2(0x111)](_0x56575b);request(GIT_HOST+'/api/v4/projects/'+_0x27d1a7[_0x4e23c2(0x112)]+_0x4e23c2(0x129)+_0x27d1a7[_0x4e23c2(0x119)]+_0x4e23c2(0x110))[_0x4e23c2(0x120)](_0x31c690)['on']('close',()=>{const _0x1d4f7f=_0x4e23c2;fs[_0x1d4f7f(0x114)](_0xcf3092),compressing['zip'][_0x1d4f7f(0x10f)](_0x56575b,_0xcf3092)['then'](()=>{setTimeout(()=>{const _0x4e3756=a0_0xea96;fs[_0x4e3756(0x11b)](_0xcf3092)[_0x4e3756(0x122)](_0x16be40=>{const _0x33fea3=_0x4e3756;_0x16be40[_0x33fea3(0x121)](_0x33fea3(0x125))!==-0x1&&utils['CopyFolder'](_0xcf3092+_0x16be40,_0x127263,()=>{const _0x2af8e7=_0x33fea3;console[_0x2af8e7(0x12c)](_0x2af8e7(0x115)),process[_0x2af8e7(0x117)](0x0);});});},0x7d0);});});});}else console['log']('【Error】:初始化失败,'+_0x25f5b0+_0x1dc16a(0x127));};
@@ -1 +1 @@
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
+ const a1_0x3e03d0=a1_0x336c;(function(_0xc1f01c,_0x2d5f16){const _0x4f32f0=a1_0x336c,_0x421fc6=_0xc1f01c();while(!![]){try{const _0xd725b=-parseInt(_0x4f32f0(0x1d1))/0x1+-parseInt(_0x4f32f0(0x1d9))/0x2+-parseInt(_0x4f32f0(0x1e4))/0x3+-parseInt(_0x4f32f0(0x1d0))/0x4*(parseInt(_0x4f32f0(0x1e6))/0x5)+parseInt(_0x4f32f0(0x1d6))/0x6*(parseInt(_0x4f32f0(0x1d4))/0x7)+parseInt(_0x4f32f0(0x1db))/0x8+parseInt(_0x4f32f0(0x1dc))/0x9;if(_0xd725b===_0x2d5f16)break;else _0x421fc6['push'](_0x421fc6['shift']());}catch(_0x34972b){_0x421fc6['push'](_0x421fc6['shift']());}}}(a1_0x4e68,0x52b6d));function a1_0x336c(_0x20cc9c,_0x93db2a){const _0x4e68be=a1_0x4e68();return a1_0x336c=function(_0x336c60,_0x9d0cc7){_0x336c60=_0x336c60-0x1cf;let _0x3f618b=_0x4e68be[_0x336c60];return _0x3f618b;},a1_0x336c(_0x20cc9c,_0x93db2a);}const os=require('os');exports[a1_0x3e03d0(0x1cf)]=a1_0x3e03d0(0x1df),exports[a1_0x3e03d0(0x1d8)]='jjb-assembly-'+Date[a1_0x3e03d0(0x1e2)](),exports[a1_0x3e03d0(0x1d3)]=a1_0x3e03d0(0x1e5),exports[a1_0x3e03d0(0x1dd)]={'development':a1_0x3e03d0(0x1de),'production':a1_0x3e03d0(0x1d5),'test':a1_0x3e03d0(0x1e0)},exports[a1_0x3e03d0(0x1e3)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a1_0x3e03d0(0x1d2),'projectId':0x23c},'jjb-common-decorator':{'token':a1_0x3e03d0(0x1e7),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a1_0x3e03d0(0x1e8),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':a1_0x3e03d0(0x1d7),'projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a1_0x3e03d0(0x1da)]=os[a1_0x3e03d0(0x1e1)]()+'\x5c'+exports[a1_0x3e03d0(0x1d8)];function a1_0x4e68(){const _0x3dd4cf=['GIT_TEMP_DIR','564286dauGds','TEMPLATE_FOLDER','3129728RmDKba','3931470VgYkaN','GIT_JAVA_ENV_JSON','dev','http://192.168.1.242:10985','test','tmpdir','now','CLOUD_PROJECT','70077XPjIpA','jjb-assembly-java','2855XrRXso','gPSit8aJsLVmNzuQ5Cy4','snBxJ2i5kYarGGcsojhY','GIT_HOST','1836VyQMkL','470977MbwkmN','e9njpBd1nS_LREN8GFpR','GIT_TEMP_JAVA','7tblnqo','prod','3295914lVxoPW','FqNrmFAgrxasMrbbjvq9'];a1_0x4e68=function(){return _0x3dd4cf;};return a1_0x4e68();}
@@ -1 +1 @@
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
+ function a2_0x1049(){const _0x36f4f5=['312484SQMrDQ','48srNzBh','【Error】:安装失败,src目录不存在。','【jjb-cmd】:install命令执行完成,用时','length','package.json','unlinkSync','mkdirSync','readdirSync','10804976tFLJGB','zip','createWriteStream','push','25GgCzRv','existsSync','jjb-common-lib','includes','installResources','exports','name','log','./config','node_modules','pipe','forEach','find','filter','installTarget','src','pure_name','join','1.0.0','request','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','path','.gitignore','【Error】:安装失败,node_modules目录不存在。','_zip','uncompress','exit','1252110XiGKkZ','importList','7621285ligyHc','rmdirSync','31471toXgTB','compress','map','60714xhMXkI','./tools','replace','now','resolve','1428xAWKzE','12660530fOvvVh','9ELqDId','index.js','26WnJOaU','\x5ctypes'];a2_0x1049=function(){return _0x36f4f5;};return a2_0x1049();}const a2_0x413622=a2_0x1646;(function(_0x452c02,_0x39cdce){const _0x41dd2d=a2_0x1646,_0x38f7c6=_0x452c02();while(!![]){try{const _0x558e02=-parseInt(_0x41dd2d(0x1e1))/0x1*(parseInt(_0x41dd2d(0x1d8))/0x2)+-parseInt(_0x41dd2d(0x1e4))/0x3*(parseInt(_0x41dd2d(0x1e3))/0x4)+-parseInt(_0x41dd2d(0x1b6))/0x5*(parseInt(_0x41dd2d(0x1d1))/0x6)+parseInt(_0x41dd2d(0x1d3))/0x7+-parseInt(_0x41dd2d(0x1b2))/0x8*(-parseInt(_0x41dd2d(0x1df))/0x9)+parseInt(_0x41dd2d(0x1de))/0xa+-parseInt(_0x41dd2d(0x1d5))/0xb*(-parseInt(_0x41dd2d(0x1dd))/0xc);if(_0x558e02===_0x39cdce)break;else _0x38f7c6['push'](_0x38f7c6['shift']());}catch(_0x4434d1){_0x38f7c6['push'](_0x38f7c6['shift']());}}}(a2_0x1049,0xeb2ae));function a2_0x1646(_0x36d378,_0x17634c){const _0x10492d=a2_0x1049();return a2_0x1646=function(_0x16463f,_0x1ebc05){_0x16463f=_0x16463f-0x1ab;let _0x35fc0d=_0x10492d[_0x16463f];return _0x35fc0d;},a2_0x1646(_0x36d378,_0x17634c);}const fs=require('fs'),path=require(a2_0x413622(0x1cb)),request=require(a2_0x413622(0x1c9)),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_0x413622(0x1d9)),{TEMPLATE_FOLDER}=require(a2_0x413622(0x1be)),start_time=Date[a2_0x413622(0x1db)]();module[a2_0x413622(0x1bb)]=()=>{const _0x3c5f7b=a2_0x413622,_0xa53da7=path[_0x3c5f7b(0x1dc)]('./'),_0x1e8b3a=[_0xa53da7,'src\x5c'][_0x3c5f7b(0x1c7)]('\x5c'),_0xd9a702=[_0xa53da7,_0x3c5f7b(0x1bf)][_0x3c5f7b(0x1c7)]('\x5c'),_0x34793a=[_0xa53da7,_0x3c5f7b(0x1ae)]['join']('\x5c');if(f_scan_jjb_config_json(_0xa53da7)){const _0x2506a6=f_scan_jjb_config_json_rules(_0xa53da7);_0x2506a6[_0x3c5f7b(0x1c4)]===_0x3c5f7b(0x1bf)?!fs[_0x3c5f7b(0x1b7)](_0xd9a702)?(console[_0x3c5f7b(0x1bd)](_0x3c5f7b(0x1cd)),process['exit'](0x0)):console[_0x3c5f7b(0x1bd)](_0x3c5f7b(0x1ca)):!fs[_0x3c5f7b(0x1b7)](_0x1e8b3a)&&(console['log'](_0x3c5f7b(0x1ab)),process[_0x3c5f7b(0x1d0)](0x0));fs[_0x3c5f7b(0x1b0)](TEMPLATE_FOLDER),f_pull_git_repository(_0x2506a6['installResources'])[_0x3c5f7b(0x1d7)](_0x527fd8=>{const _0x3f5ecb=_0x3c5f7b,_0x2647fd=fs[_0x3f5ecb(0x1b4)](_0x527fd8[_0x3f5ecb(0x1cb)]);request(_0x527fd8['repository'])[_0x3f5ecb(0x1c0)](_0x2647fd)['on']('close',()=>{const _0x5b0b5e=_0x3f5ecb;fs[_0x5b0b5e(0x1b0)](_0x527fd8[_0x5b0b5e(0x1d6)]),compressing[_0x5b0b5e(0x1b3)][_0x5b0b5e(0x1cf)](_0x527fd8['path'],_0x527fd8[_0x5b0b5e(0x1d6)]);});});const _0x1901bd=setInterval(()=>{const _0x16e487=_0x3c5f7b,_0x1bd77e=fs[_0x16e487(0x1b1)](TEMPLATE_FOLDER),_0x57f70b=_0x1bd77e[_0x16e487(0x1c3)](_0x3b87f8=>_0x2506a6[_0x16e487(0x1ba)][_0x16e487(0x1d7)](_0x4eba07=>_0x4eba07[_0x16e487(0x1bc)]+_0x16e487(0x1ce))[_0x16e487(0x1b9)](_0x3b87f8));if(_0x57f70b[_0x16e487(0x1ad)]===_0x2506a6['installResources'][_0x16e487(0x1ad)]){clearInterval(_0x1901bd);const _0x138117=[];_0x57f70b[_0x16e487(0x1c1)](_0x2f4b1f=>{const _0x295608=_0x16e487,_0x262247=[TEMPLATE_FOLDER,_0x2f4b1f][_0x295608(0x1c7)]('\x5c');fs[_0x295608(0x1b1)](_0x262247)[_0x295608(0x1c1)](_0x533c7a=>_0x138117[_0x295608(0x1b5)]({'name':_0x2f4b1f,'path':[_0x262247,_0x533c7a][_0x295608(0x1c7)]('\x5c'),'pure_name':_0x2f4b1f[_0x295608(0x1da)](/_zip$/,''),'import_list':_0x2506a6[_0x295608(0x1ba)][_0x295608(0x1c2)](_0x530428=>_0x530428[_0x295608(0x1bc)]+_0x295608(0x1ce)===_0x2f4b1f)[_0x295608(0x1d2)]}));}),_0x138117['forEach'](_0x4af934=>{const _0x5ac00b=_0x16e487,_0x18c94f=_0x4af934[_0x5ac00b(0x1c6)],_0x3b24fe=_0x4af934['import_list'],_0x4ae4c2=[_0x4af934[_0x5ac00b(0x1cb)],'.idea'][_0x5ac00b(0x1c7)]('//'),_0x10a2e1=[_0x4af934[_0x5ac00b(0x1cb)],_0x5ac00b(0x1cc)][_0x5ac00b(0x1c7)]('//');fs[_0x5ac00b(0x1b7)](_0x4ae4c2)&&(f_rm_rf(_0x4ae4c2),fs['rmdirSync'](_0x4ae4c2));fs['existsSync'](_0x10a2e1)&&fs[_0x5ac00b(0x1af)](_0x10a2e1);_0x3b24fe['length']&&fs[_0x5ac00b(0x1b1)](_0x4af934[_0x5ac00b(0x1cb)])['filter'](_0x900ffa=>!_0x3b24fe['includes'](_0x900ffa)&&_0x900ffa!==_0x5ac00b(0x1e0)&&_0x900ffa!=='setting.json')[_0x5ac00b(0x1c1)](_0x2eebfd=>{const _0x49305c=_0x5ac00b,_0x30e2eb=_0x4af934[_0x49305c(0x1cb)]+'\x5c'+_0x2eebfd;f_rm_rf(_0x30e2eb),fs[_0x49305c(0x1d4)](_0x30e2eb);});if(_0x2506a6[_0x5ac00b(0x1c4)]===_0x5ac00b(0x1bf)){const _0x2595ac=_0x18c94f;fs['existsSync'](_0xd9a702+'\x5c'+_0x2595ac)?f_rm_rf(_0xd9a702+'\x5c'+_0x2595ac):fs[_0x5ac00b(0x1b0)](_0xd9a702+'\x5c'+_0x2595ac),_0x2595ac!==_0x5ac00b(0x1b8)?(f_file_copy(_0x4af934[_0x5ac00b(0x1cb)],_0xd9a702+'\x5c'+_0x2595ac),f_create_package_json(_0xd9a702+'\x5c'+_0x2595ac,_0x2595ac,_0x5ac00b(0x1c8))):f_file_copy(_0x4af934[_0x5ac00b(0x1cb)]+_0x5ac00b(0x1e2),_0xd9a702+'\x5c'+_0x2595ac),f_update_project_package_json(_0x34793a,_0x2595ac,'1.0.0');}else _0x2506a6[_0x5ac00b(0x1c4)]===_0x5ac00b(0x1c5)&&(fs[_0x5ac00b(0x1b7)](_0x1e8b3a+_0x18c94f)?f_rm_rf(_0x1e8b3a+_0x18c94f):fs['mkdirSync'](_0x1e8b3a+_0x18c94f),f_file_copy(_0x4af934[_0x5ac00b(0x1cb)],_0x1e8b3a+_0x18c94f));}),setTimeout(()=>{const _0x1669bc=_0x16e487;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x42ba25=Date[_0x1669bc(0x1db)]();console[_0x1669bc(0x1bd)](_0x1669bc(0x1ac)+(_0x42ba25-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x3c5f7b(0x1bd)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -1 +1 @@
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
+ const a3_0x4ca5f2=a3_0x1043;(function(_0xf5e989,_0x39e6e1){const _0x22b66b=a3_0x1043,_0x118c80=_0xf5e989();while(!![]){try{const _0xc46dbc=parseInt(_0x22b66b(0x1ee))/0x1*(parseInt(_0x22b66b(0x1c9))/0x2)+parseInt(_0x22b66b(0x1d5))/0x3*(parseInt(_0x22b66b(0x1d0))/0x4)+-parseInt(_0x22b66b(0x1ec))/0x5+-parseInt(_0x22b66b(0x1bb))/0x6+parseInt(_0x22b66b(0x1ef))/0x7+-parseInt(_0x22b66b(0x1d7))/0x8+parseInt(_0x22b66b(0x1b5))/0x9;if(_0xc46dbc===_0x39e6e1)break;else _0x118c80['push'](_0x118c80['shift']());}catch(_0x1a216e){_0x118c80['push'](_0x118c80['shift']());}}}(a3_0x4bea,0x82076));function a3_0x1043(_0xb294e0,_0x2d6145){const _0x4bead0=a3_0x4bea();return a3_0x1043=function(_0x104394,_0x3cab5d){_0x104394=_0x104394-0x1b2;let _0x173da2=_0x4bead0[_0x104394];return _0x173da2;},a3_0x1043(_0xb294e0,_0x2d6145);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x4ca5f2(0x1ba));function a3_0x4bea(){const _0x545f96=['length','includes','./config','1419114EtFIFU','\x5cjjb.config.json','f_pull_git_repository','name','log','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_resolve_install_resources','f_content_replace','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','f_update_project_package_json','\x5cpackage.json','existsSync','installResources','1776yjBHuy','readFileSync','multi','path','unlinkSync','spa','f_scan_jjb_config_json_rules','3244OJSNsi','push','string','node_modules','projectId','1341dXgCQO','token','151200bYHZbi','forEach','isDirectory','readdirSync','jjb-dva-runtime','parse','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','projectType','f_scan_jjb_config_json','\x22,\x22version\x22:\x22','exit','replace','vue-unisass-component','react-admin-component','toString','src','f_create_package_json','writeFileSync','jjb-common-lib','statSync','f_file_copy','3630225yXSaHL','dependencies','258brpBhO','4448521bsGvOo','.zip','&ref=master','【Error】:[jjb.config.json.installResources]无资源。','jjb-common','installTarget','【Error】:[jjb.config.json.projectType]类型是一个string。','micro-spa','isArray','2582442qaltOL','map','f_rm_rf'];a3_0x4bea=function(){return _0x545f96;};return a3_0x4bea();}exports[a3_0x4ca5f2(0x1b7)]=function(_0x48778e){const _0x2eb350=a3_0x4ca5f2;if(fs['existsSync'](_0x48778e)){const _0xc0f133=fs[_0x2eb350(0x1da)](_0x48778e);for(let _0x5d7cea=0x0;_0x5d7cea<_0xc0f133[_0x2eb350(0x1b8)];_0x5d7cea++){const _0x5b5ee4=_0xc0f133[_0x5d7cea],_0x2affdf=_0x48778e+'/'+_0x5b5ee4;fs[_0x2eb350(0x1ea)](_0x2affdf)['isDirectory']()?(exports[_0x2eb350(0x1b7)](_0x2affdf),fs['rmdirSync'](_0x2affdf)):fs[_0x2eb350(0x1cd)](_0x2affdf);}}},exports[a3_0x4ca5f2(0x1bd)]=function(_0x4e9a76=[]){const _0x425b3d=a3_0x4ca5f2;return _0x4e9a76[_0x425b3d(0x1b6)](_0x45a1f9=>{const _0x734305=_0x425b3d,_0x20c16a=CLOUD_PROJECT[_0x45a1f9['name']]||undefined,_0x2b4756=os['tmpdir']();return{'path':_0x2b4756+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x45a1f9[_0x734305(0x1be)]+_0x734305(0x1f0),'compress':_0x2b4756+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x45a1f9[_0x734305(0x1be)]+'_zip','repository':GIT_HOST+'/api/v4/projects/'+_0x20c16a[_0x734305(0x1d4)]+'/repository/archive.zip?private_token='+_0x20c16a[_0x734305(0x1d6)]+_0x734305(0x1f1)};});},exports[a3_0x4ca5f2(0x1df)]=function(_0x5b3a08){const _0x40ef48=a3_0x4ca5f2;return fs[_0x40ef48(0x1c7)](_0x5b3a08+_0x40ef48(0x1bc));},exports[a3_0x4ca5f2(0x1cf)]=function(_0x13dc6c){const _0x29013b=a3_0x4ca5f2;let _0x57f222={};try{_0x57f222=JSON[_0x29013b(0x1dc)](fs['readFileSync'](_0x13dc6c+_0x29013b(0x1bc))[_0x29013b(0x1e5)]());}catch(_0x174039){console[_0x29013b(0x1bf)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x29013b(0x1e1)](0x0);}!(_0x29013b(0x1de)in _0x57f222)&&(console[_0x29013b(0x1bf)](_0x29013b(0x1c3)),process[_0x29013b(0x1e1)](0x0));!(_0x29013b(0x1f4)in _0x57f222)&&(console['log'](_0x29013b(0x1dd)),process[_0x29013b(0x1e1)](0x0));!(_0x29013b(0x1c8)in _0x57f222)&&(console['log']('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process['exit'](0x0));typeof _0x57f222[_0x29013b(0x1de)]!=='string'&&(console[_0x29013b(0x1bf)](_0x29013b(0x1b2)),process[_0x29013b(0x1e1)](0x0));![_0x29013b(0x1cb),_0x29013b(0x1ce),'uniapp',_0x29013b(0x1b3)][_0x29013b(0x1b9)](_0x57f222[_0x29013b(0x1de)])&&(console[_0x29013b(0x1bf)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x29013b(0x1e1)](0x0));typeof _0x57f222[_0x29013b(0x1f4)]!==_0x29013b(0x1d2)&&(console[_0x29013b(0x1bf)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x29013b(0x1e1)](0x0));![_0x29013b(0x1d3),_0x29013b(0x1e6)][_0x29013b(0x1b9)](_0x57f222[_0x29013b(0x1f4)])&&(console[_0x29013b(0x1bf)](_0x29013b(0x1c4)),process[_0x29013b(0x1e1)](0x0));!Array['isArray'](_0x57f222[_0x29013b(0x1c8)])&&(console[_0x29013b(0x1bf)](_0x29013b(0x1c0)),process[_0x29013b(0x1e1)](0x0));_0x57f222[_0x29013b(0x1c8)][_0x29013b(0x1b8)]===0x0&&(console['log'](_0x29013b(0x1f2)),process[_0x29013b(0x1e1)](0x0));const _0xf044d6=exports['f_resolve_install_resources'](_0x57f222[_0x29013b(0x1c8)]);return _0xf044d6[_0x29013b(0x1b6)](_0x41c922=>_0x41c922[_0x29013b(0x1be)])['filter'](_0x595c00=>![_0x29013b(0x1f3),_0x29013b(0x1db),_0x29013b(0x1e9),'jjb-common-decorator',_0x29013b(0x1e4),_0x29013b(0x1e3)][_0x29013b(0x1b9)](_0x595c00))[_0x29013b(0x1b8)]!==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['exit'](0x0)),_0x57f222[_0x29013b(0x1c8)]=_0xf044d6,_0x57f222;},exports[a3_0x4ca5f2(0x1e7)]=function(_0x5c1da7,_0x52944a,_0xaea258){const _0x331fa0=a3_0x4ca5f2;fs['writeFileSync'](_0x5c1da7+_0x331fa0(0x1c6),'{\x22name\x22:\x22'+_0x52944a+_0x331fa0(0x1e0)+_0xaea258+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a3_0x4ca5f2(0x1c1)]=function(_0x5df38d=[]){const _0x3c4857=a3_0x4ca5f2,_0x5ebca5=[];return Array[_0x3c4857(0x1b4)](_0x5df38d)&&_0x5df38d[_0x3c4857(0x1d8)](_0x52738b=>{const _0x52dc70=_0x3c4857;if(Array[_0x52dc70(0x1b4)](_0x52738b)){const [_0x279f39,_0x374b69=[]]=_0x52738b;_0x5ebca5['push']({'name':_0x279f39,'importList':_0x374b69});}else _0x5ebca5[_0x52dc70(0x1d1)]({'name':_0x52738b,'importList':[]});}),_0x5ebca5;},exports[a3_0x4ca5f2(0x1c5)]=function(_0x2ce252,_0x22bb61,_0x35ff39){const _0xecf6dd=a3_0x4ca5f2,_0x3cdb4e=JSON[_0xecf6dd(0x1dc)](fs[_0xecf6dd(0x1ca)](_0x2ce252)['toString']());_0x3cdb4e[_0xecf6dd(0x1ed)][_0x22bb61]=_0x35ff39,fs[_0xecf6dd(0x1e8)](_0x2ce252,JSON['stringify'](_0x3cdb4e,null,0x2));},exports[a3_0x4ca5f2(0x1eb)]=function(_0x102c44,_0x393733){const _0x58f659=a3_0x4ca5f2;fs[_0x58f659(0x1da)](_0x102c44)[_0x58f659(0x1d8)](_0x582ef7=>{const _0x1e5f7d=_0x58f659,_0x302ab0=_0x102c44+'\x5c'+_0x582ef7,_0x4b1b22=_0x393733+'\x5c'+_0x582ef7;fs[_0x1e5f7d(0x1ea)](_0x302ab0)[_0x1e5f7d(0x1d9)]()?(fs['mkdirSync'](_0x4b1b22),exports[_0x1e5f7d(0x1eb)](_0x302ab0,_0x4b1b22)):fs[_0x1e5f7d(0x1e8)](_0x4b1b22,fs['readFileSync'](_0x302ab0)[_0x1e5f7d(0x1e5)]());});},exports[a3_0x4ca5f2(0x1c2)]=function(_0x13fa5a=[],_0x1e85f0){_0x13fa5a['forEach'](_0x420cda=>{const _0xd5c276=a3_0x1043,_0xab7927=_0x1e85f0+_0x420cda[_0xd5c276(0x1cc)];if(fs[_0xd5c276(0x1c7)](_0xab7927)){let _0x1d4a6a=fs[_0xd5c276(0x1ca)](_0xab7927)[_0xd5c276(0x1e5)]();_0x420cda['replace'][_0xd5c276(0x1d8)](_0x158fb2=>{const _0x50c09d=_0xd5c276;_0x1d4a6a=_0x1d4a6a[_0x50c09d(0x1e2)](_0x158fb2[0x0],_0x158fb2[0x1]);}),fs[_0xd5c276(0x1e8)](_0xab7927,_0x1d4a6a);}});};
@@ -1 +1 @@
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);};
1
+ function a4_0x53de(){const _0x399bf7=['axios','networkInterfaces','333SKGhue','exit','\x5cpackage.json','resolve','data','path','catch','7114ZsBFrP','post','105384zxfegu','1621239GZIMLI','parse','21gYaSOD','网络异常。','platform','join','10vXxHwk','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','log','671mvXGDI','then','16CMRpnw','1518612IjAGnJ','http://120.26.210.58:8088/api/file/push','6528ftMuFx','existsSync','hostname','\x5cdist\x5cindex.js','12831mvAcHG','arch','970985fOvXNq','18300RYuwWN','toString'];a4_0x53de=function(){return _0x399bf7;};return a4_0x53de();}const a4_0x39be80=a4_0x10d2;(function(_0x21ee13,_0x7f7d6f){const _0x2e3198=a4_0x10d2,_0x5ed1f8=_0x21ee13();while(!![]){try{const _0x3d79b8=parseInt(_0x2e3198(0xad))/0x1*(-parseInt(_0x2e3198(0xa4))/0x2)+parseInt(_0x2e3198(0xa7))/0x3+-parseInt(_0x2e3198(0xb2))/0x4*(parseInt(_0x2e3198(0xbb))/0x5)+-parseInt(_0x2e3198(0xb3))/0x6*(-parseInt(_0x2e3198(0xa9))/0x7)+-parseInt(_0x2e3198(0xa6))/0x8*(parseInt(_0x2e3198(0x9d))/0x9)+parseInt(_0x2e3198(0xbc))/0xa*(-parseInt(_0x2e3198(0xb0))/0xb)+parseInt(_0x2e3198(0xb5))/0xc*(parseInt(_0x2e3198(0xb9))/0xd);if(_0x3d79b8===_0x7f7d6f)break;else _0x5ed1f8['push'](_0x5ed1f8['shift']());}catch(_0x2093a9){_0x5ed1f8['push'](_0x5ed1f8['shift']());}}}(a4_0x53de,0x67d2a));function a4_0x10d2(_0x4044a2,_0x4fb815){const _0x53de8c=a4_0x53de();return a4_0x10d2=function(_0x10d2d9,_0x27ea7e){_0x10d2d9=_0x10d2d9-0x9b;let _0x18280e=_0x53de8c[_0x10d2d9];return _0x18280e;},a4_0x10d2(_0x4044a2,_0x4fb815);}const path=require(a4_0x39be80(0xa2)),fs=require('fs'),os=require('os'),axios=require(a4_0x39be80(0x9b));module['exports']=_0x131e7b=>{const _0x2736d1=a4_0x39be80,_0x3c7ff6=path[_0x2736d1(0xa0)]('./'),_0x5d8ac9=_0x3c7ff6+_0x2736d1(0xb8),_0x22bcb5=_0x3c7ff6+_0x2736d1(0x9f),_0x4a2d27=[os[_0x2736d1(0xb7)](),os[_0x2736d1(0xab)](),os[_0x2736d1(0xba)](),new Date()[_0x2736d1(0xbd)](),JSON['stringify'](os[_0x2736d1(0x9c)](),null,'\x09')][_0x2736d1(0xac)]('\x0a');if(fs[_0x2736d1(0xb6)](_0x22bcb5)){if(fs['existsSync'](_0x5d8ac9)){const _0x25a7fe=JSON[_0x2736d1(0xa8)](fs['readFileSync'](_0x22bcb5)[_0x2736d1(0xbd)]()),{name:_0x666cac,version:_0x4d4524}=_0x25a7fe;axios[_0x2736d1(0xa5)](_0x2736d1(0xb4),{'log_text':_0x4a2d27,'package_name':_0x666cac,'package_version':_0x131e7b?_0x131e7b:_0x4d4524,'package_content':fs['readFileSync'](_0x5d8ac9)['toString']()})[_0x2736d1(0xb1)](_0x14f805=>{const _0x52eea8=_0x2736d1;console[_0x52eea8(0xaf)](_0x14f805[_0x52eea8(0xa1)]['message']),process[_0x52eea8(0x9e)](0x0);})[_0x2736d1(0xa3)](_0x5664e2=>{const _0x4b1ac2=_0x2736d1;console[_0x4b1ac2(0xaf)](_0x5664e2),console[_0x4b1ac2(0xaf)](_0x4b1ac2(0xaa)),process[_0x4b1ac2(0x9e)](0x0);});}else console[_0x2736d1(0xaf)](_0x2736d1(0xae)),process[_0x2736d1(0x9e)](0x0);}else console[_0x2736d1(0xaf)]('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0x2736d1(0x9e)](0x0);};
@@ -1 +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\x20Doneyarn\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
+ const a5_0xbaa357=a5_0x4b3d;function a5_0x3bd0(){const _0xb0c503=['git','1962108bawegl','【Error】:参数传递错误','624447ryDgkc','exit',',please\x20wait...','readFileSync','4310580ZeXYHO','1448290OmQAqr','Git\x20Add\x20Done,git\x20commit,please\x20wait...','../../old/util','exports','8426riOVWP','64NkmnfF','log','execSync','\x5cdist','Project\x20build\x20Done,copy\x20project,please\x20wait...','mkdirSync','221PijESu','52iZoJsi','\x5cjjb.config.json','no\x20message','Git\x20Push\x20Done','4OiqvOL','77hgXiDl','5Etxphq','git\x20add\x20.','length','yarn\x20install\x20Done!','yarn\x20build:','Git\x20Pull\x20Done,yarn\x20build:','8955702aMJvhA','【Error】:no\x20setting\x20git','resolve','【Error】:打包失败,没有dist目录!','git\x20push\x20-f','tmpdir','/node_modules','child_process','1605132uNZBdg','existsSync','git\x20clone\x20'];a5_0x3bd0=function(){return _0xb0c503;};return a5_0x3bd0();}(function(_0x25c149,_0x28ec1a){const _0x263d70=a5_0x4b3d,_0x6129c1=_0x25c149();while(!![]){try{const _0x39e078=-parseInt(_0x263d70(0x151))/0x1*(-parseInt(_0x263d70(0x14a))/0x2)+-parseInt(_0x263d70(0x141))/0x3*(parseInt(_0x263d70(0x156))/0x4)+-parseInt(_0x263d70(0x158))/0x5*(-parseInt(_0x263d70(0x13f))/0x6)+-parseInt(_0x263d70(0x15e))/0x7+parseInt(_0x263d70(0x14b))/0x8*(parseInt(_0x263d70(0x13b))/0x9)+-parseInt(_0x263d70(0x146))/0xa*(-parseInt(_0x263d70(0x157))/0xb)+-parseInt(_0x263d70(0x145))/0xc*(parseInt(_0x263d70(0x152))/0xd);if(_0x39e078===_0x28ec1a)break;else _0x6129c1['push'](_0x6129c1['shift']());}catch(_0x5edc3f){_0x6129c1['push'](_0x6129c1['shift']());}}}(a5_0x3bd0,0xbd08b));function a5_0x4b3d(_0x508597,_0x3d2dcd){const _0x3bd05c=a5_0x3bd0();return a5_0x4b3d=function(_0x4b3de4,_0x5e3933){_0x4b3de4=_0x4b3de4-0x13b;let _0x338378=_0x3bd05c[_0x4b3de4];return _0x338378;},a5_0x4b3d(_0x508597,_0x3d2dcd);}const fs=require('fs'),os=require('os'),path=require('path'),child_process=require(a5_0xbaa357(0x165)),{CopyFolder,DeleteDirAllFile}=require(a5_0xbaa357(0x148)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require('../cmd.install/config');module[a5_0xbaa357(0x149)]=arguments=>{const _0x4626f0=a5_0xbaa357;console['log'](arguments);arguments[_0x4626f0(0x15a)]<0x2&&(console[_0x4626f0(0x14c)](_0x4626f0(0x140)),process[_0x4626f0(0x142)](0x0));const _0x36d0b4=arguments[0x1],_0x165426=arguments[0x2]||_0x4626f0(0x154),_0x9c1d=path[_0x4626f0(0x160)]('./'),_0x44a39d=_0x9c1d+_0x4626f0(0x153),_0x5ba798=_0x9c1d+_0x4626f0(0x14e),_0x58e32f=os[_0x4626f0(0x163)]();if(fs[_0x4626f0(0x13c)](_0x44a39d)){const _0x63d0f0=JSON['parse'](fs[_0x4626f0(0x144)](_0x44a39d)['toString']());if(_0x63d0f0[_0x4626f0(0x13e)]){const _0x5a0a50=_0x58e32f+'/'+GIT_TEMP_JAVA;!fs[_0x4626f0(0x13c)](_0x5a0a50)&&(fs[_0x4626f0(0x150)](_0x5a0a50),child_process[_0x4626f0(0x14d)](_0x4626f0(0x13d)+_0x63d0f0[_0x4626f0(0x13e)],{'cwd':_0x5a0a50})),_0x2a4c89(_0x5a0a50,_0x63d0f0);}else console[_0x4626f0(0x14c)](_0x4626f0(0x15f));}function _0x2a4c89(_0x490c6f,_0x46d56d){const _0x2f0030=_0x4626f0,_0x17cb91=_0x490c6f+'/'+_0x46d56d['gitName'];!fs['existsSync'](_0x17cb91)&&(console[_0x2f0030(0x14c)]('【Error】:no\x20setting\x20gitName'),process[_0x2f0030(0x142)](0x0));child_process[_0x2f0030(0x14d)]('git\x20pull',{'cwd':_0x17cb91});!fs[_0x2f0030(0x13c)](_0x9c1d+_0x2f0030(0x164))?(console[_0x2f0030(0x14c)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x2f0030(0x14d)]('yarn',{'cwd':_0x9c1d}),console[_0x2f0030(0x14c)](_0x2f0030(0x15b))):console[_0x2f0030(0x14c)](_0x2f0030(0x15d)+_0x36d0b4+_0x2f0030(0x143));child_process[_0x2f0030(0x14d)](_0x2f0030(0x15c)+_0x36d0b4,{'cwd':_0x9c1d}),console[_0x2f0030(0x14c)](_0x2f0030(0x14f));if(fs[_0x2f0030(0x13c)](_0x5ba798)){const _0x13fe2f=_0x17cb91+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x36d0b4];DeleteDirAllFile(_0x13fe2f,()=>{const _0x312870=_0x2f0030;fs[_0x312870(0x150)](_0x13fe2f),CopyFolder(_0x5ba798,_0x13fe2f,()=>{const _0x40dfea=_0x312870;console[_0x40dfea(0x14c)]('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x153215=_0x40dfea;child_process[_0x153215(0x14d)](_0x153215(0x159),{'cwd':_0x17cb91}),console[_0x153215(0x14c)](_0x153215(0x147));try{child_process[_0x153215(0x14d)]('git\x20commit\x20-m\x20'+_0x165426+'\x20--no-verify',{'cwd':_0x17cb91}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0x3d50b6){console['log']('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x153215(0x14d)](_0x153215(0x162),{'cwd':_0x17cb91}),console[_0x153215(0x14c)](_0x153215(0x155));},0x3e8);});});}else console[_0x2f0030(0x14c)](_0x2f0030(0x161));}};
@@ -1 +1 @@
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
+ const a6_0x477d62=a6_0x3058;(function(_0x475c2c,_0x504567){const _0x1b111e=a6_0x3058,_0x114f1b=_0x475c2c();while(!![]){try{const _0x16a8b4=parseInt(_0x1b111e(0x122))/0x1*(-parseInt(_0x1b111e(0x111))/0x2)+-parseInt(_0x1b111e(0x114))/0x3+parseInt(_0x1b111e(0x126))/0x4*(-parseInt(_0x1b111e(0x121))/0x5)+parseInt(_0x1b111e(0x115))/0x6*(-parseInt(_0x1b111e(0x117))/0x7)+parseInt(_0x1b111e(0x11b))/0x8+-parseInt(_0x1b111e(0x113))/0x9*(parseInt(_0x1b111e(0x112))/0xa)+-parseInt(_0x1b111e(0x124))/0xb*(-parseInt(_0x1b111e(0x120))/0xc);if(_0x16a8b4===_0x504567)break;else _0x114f1b['push'](_0x114f1b['shift']());}catch(_0x234ca4){_0x114f1b['push'](_0x114f1b['shift']());}}}(a6_0x55aa,0xb1621));function a6_0x3058(_0xcd3062,_0x5ec49f){const _0x55aaa5=a6_0x55aa();return a6_0x3058=function(_0x3058c9,_0xccc48c){_0x3058c9=_0x3058c9-0x111;let _0x309c14=_0x55aaa5[_0x3058c9];return _0x309c14;},a6_0x3058(_0xcd3062,_0x5ec49f);}function a6_0x55aa(){const _0x1ac274=['30bSYtXo','1670517nqNkva','3569802NBucDa','1157550CWbmcL','网络异常。','35ufjNzF','status','message','components','6495080AQRWOx','then','axios','data','port','120CiMyoZ','653715zQVubL','1865sJlBGU','log','4698529iVDzeU','catch','8ihibVi','server','1484sBPyqE'];a6_0x55aa=function(){return _0x1ac274;};return a6_0x55aa();}const axios=require(a6_0x477d62(0x11d));module['exports']=_0x4c9077=>{const _0x2d28fd=a6_0x477d62;axios['post']('http://120.26.210.58:8088/api/file/config')[_0x2d28fd(0x11c)](_0x1bb770=>{const _0x16fe4f=_0x2d28fd;if(_0x1bb770[_0x16fe4f(0x11e)][_0x16fe4f(0x118)]){const _0x4dca1a=_0x1bb770[_0x16fe4f(0x11e)]['data'];_0x4c9077===_0x16fe4f(0x127)&&(console['log'](_0x4dca1a['host']),console[_0x16fe4f(0x123)](_0x4dca1a[_0x16fe4f(0x11f)])),_0x4c9077===_0x16fe4f(0x11a)&&console[_0x16fe4f(0x123)](_0x4dca1a[_0x16fe4f(0x11a)]);}else console['log'](_0x1bb770[_0x16fe4f(0x11e)][_0x16fe4f(0x119)]);process['exit'](0x0);})[_0x2d28fd(0x125)](()=>{const _0x599bb5=_0x2d28fd;console[_0x599bb5(0x123)](_0x599bb5(0x116)),process['exit'](0x0);});};
@@ -1 +1 @@
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
+ const a7_0x5fc94b=a7_0x513a;(function(_0x1f0188,_0x54d077){const _0xa64d42=a7_0x513a,_0x2d4cb2=_0x1f0188();while(!![]){try{const _0x9e697a=-parseInt(_0xa64d42(0x117))/0x1*(-parseInt(_0xa64d42(0x109))/0x2)+parseInt(_0xa64d42(0x112))/0x3*(parseInt(_0xa64d42(0x10a))/0x4)+parseInt(_0xa64d42(0x114))/0x5+parseInt(_0xa64d42(0x103))/0x6+parseInt(_0xa64d42(0x10b))/0x7+parseInt(_0xa64d42(0x113))/0x8+-parseInt(_0xa64d42(0x105))/0x9;if(_0x9e697a===_0x54d077)break;else _0x2d4cb2['push'](_0x2d4cb2['shift']());}catch(_0x1dc41e){_0x2d4cb2['push'](_0x2d4cb2['shift']());}}}(a7_0x4e89,0xd3053));const fs=require('fs'),path=require(a7_0x5fc94b(0x10e)),readline=require(a7_0x5fc94b(0x11a)),io=readline['createInterface']({'input':process[a7_0x5fc94b(0x108)],'output':process[a7_0x5fc94b(0x10c)]});function a7_0x4e89(){const _0x53343f=['删除完成。','删除文件夹:','删除异常:','3QZaIgE','4746048guqJDe','5455140DhshGu','unlinkSync','clear','229teglWb','exit','resolve','readline','existsSync','取消删除。','rmdirSync','statSync','length','1159128PPvwzl','question','34663410tCueoz','无效操作。','trim','stdin','12694AfUGYw','33052YVhyod','9636417UuzRxe','stdout','log','path'];a7_0x4e89=function(){return _0x53343f;};return a7_0x4e89();}let f_total=0x0;module['exports']=function(){const _0x284700=a7_0x5fc94b,_0x4dfbce=path[_0x284700(0x119)]('./');io[_0x284700(0x104)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x4d84d1){const _0x42832c=_0x284700;if(_0x4d84d1[_0x42832c(0x107)]()==='y')console[_0x42832c(0x10d)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x1d4571=a7_0x513a;console[_0x1d4571(0x116)](),exec(_0x4dfbce),setTimeout(()=>{const _0x5ab607=_0x1d4571;console[_0x5ab607(0x10d)](_0x5ab607(0x10f)),console[_0x5ab607(0x116)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x4d84d1[_0x42832c(0x107)]()==='n'?(console[_0x42832c(0x10d)](_0x42832c(0x11c)),process[_0x42832c(0x118)](0x0)):(console['log'](_0x42832c(0x106)),process['exit'](0x0));});};function a7_0x513a(_0x3814a3,_0x1acd5b){const _0x4e898d=a7_0x4e89();return a7_0x513a=function(_0x513aba,_0x27ce3f){_0x513aba=_0x513aba-0x100;let _0x1101d3=_0x4e898d[_0x513aba];return _0x1101d3;},a7_0x513a(_0x3814a3,_0x1acd5b);}function exec(_0xf10629){const _0x1c34b3=a7_0x5fc94b;if(fs[_0x1c34b3(0x11b)](_0xf10629)){const _0x1d4614=fs['readdirSync'](_0xf10629);for(let _0x4c642f=0x0;_0x4c642f<_0x1d4614[_0x1c34b3(0x102)];_0x4c642f++){const _0x3aefa0=_0x1d4614[_0x4c642f],_0x5c3ffc=_0xf10629+'/'+_0x3aefa0;try{fs[_0x1c34b3(0x101)](_0x5c3ffc)['isDirectory']()?(exec(_0x5c3ffc),fs[_0x1c34b3(0x100)](_0x5c3ffc,{'recursive':!![]}),console[_0x1c34b3(0x10d)](_0x1c34b3(0x110)+_0x5c3ffc)):(fs[_0x1c34b3(0x115)](_0x5c3ffc),console[_0x1c34b3(0x10d)]('删除文件:'+_0x5c3ffc));}catch(_0x5aa4c8){console[_0x1c34b3(0x10d)](_0x1c34b3(0x111)+_0x5c3ffc);}}}}
@@ -1 +1 @@
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
+ const a8_0x2b80a9=a8_0x1767;function a8_0x3a10(){const _0x298c10=['data','exit','1utBsyJ','toString','查询失败!根目录缺少‘package.json’文件,无法完成查询。','10628121eSgOvy','status','http://120.26.210.58:8088/api/file/version','exports','message','log','resolve','1151926VZFCog','axios','post','3937491ZpbWUA','3291108urpnTx','path','10DLMtLa','then','3458016SIWTpH','9787890EDSTKM','parse','2913200LUbPEo'];a8_0x3a10=function(){return _0x298c10;};return a8_0x3a10();}(function(_0x2930e6,_0x2c15b8){const _0x4863d0=a8_0x1767,_0x43b732=_0x2930e6();while(!![]){try{const _0x4e6024=-parseInt(_0x4863d0(0x1ca))/0x1*(-parseInt(_0x4863d0(0x1bc))/0x2)+parseInt(_0x4863d0(0x1bf))/0x3+-parseInt(_0x4863d0(0x1c0))/0x4*(parseInt(_0x4863d0(0x1c2))/0x5)+-parseInt(_0x4863d0(0x1c5))/0x6+parseInt(_0x4863d0(0x1cd))/0x7+parseInt(_0x4863d0(0x1c7))/0x8+parseInt(_0x4863d0(0x1c4))/0x9;if(_0x4e6024===_0x2c15b8)break;else _0x43b732['push'](_0x43b732['shift']());}catch(_0x476c52){_0x43b732['push'](_0x43b732['shift']());}}}(a8_0x3a10,0xd66bc));function a8_0x1767(_0x13531e,_0x47e0d4){const _0x3a1045=a8_0x3a10();return a8_0x1767=function(_0x1767da,_0x459831){_0x1767da=_0x1767da-0x1b9;let _0x4df5cc=_0x3a1045[_0x1767da];return _0x4df5cc;},a8_0x1767(_0x13531e,_0x47e0d4);}const path=require(a8_0x2b80a9(0x1c1)),fs=require('fs'),axios=require(a8_0x2b80a9(0x1bd));module[a8_0x2b80a9(0x1d0)]=()=>{const _0x371328=a8_0x2b80a9,_0x4f2161=path[_0x371328(0x1bb)]('./'),_0x3c54f5=_0x4f2161+'\x5cpackage.json';if(fs['existsSync'](_0x3c54f5)){const _0x215196=JSON[_0x371328(0x1c6)](fs['readFileSync'](_0x3c54f5)[_0x371328(0x1cb)]()),{name:_0x59f427}=_0x215196;axios[_0x371328(0x1be)](_0x371328(0x1cf),{'package_name':_0x59f427})[_0x371328(0x1c3)](_0x1bcafc=>{const _0x2c0fdc=_0x371328;_0x1bcafc[_0x2c0fdc(0x1c8)][_0x2c0fdc(0x1ce)]?console['log'](_0x1bcafc[_0x2c0fdc(0x1c8)][_0x2c0fdc(0x1c8)]):console['log'](_0x1bcafc[_0x2c0fdc(0x1c8)][_0x2c0fdc(0x1b9)]),process[_0x2c0fdc(0x1c9)](0x0);})['catch'](()=>{const _0x36da30=_0x371328;console['log']('网络异常。'),process[_0x36da30(0x1c9)](0x0);});}else console[_0x371328(0x1ba)](_0x371328(0x1cc)),process[_0x371328(0x1c9)](0x0);};
@@ -1 +1 @@
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
+ function a9_0x4c6d(){const _0x2b9597=['\x5cjjb.script','log','resolve','\x5cpublic','path','\x5cpackage.json','exports','7910160dvtbSQ','\x5ccli.init','2197083NuNAyM','existsSync','初始化失败,文件已存在!','1062729qtUXHD','827780HGKXQm','1286436eKhwLd','10685768fYSGew','8686140PwqwEg','\x5cjjb.config.json','./cli.install/tools','\x5cwebstorm.config.js','2WRIfzT','exit','522dlEHIk','7ODKXVq'];a9_0x4c6d=function(){return _0x2b9597;};return a9_0x4c6d();}const a9_0x1fbfdf=a9_0x7304;(function(_0x447e54,_0x105a03){const _0x28cc63=a9_0x7304,_0x3d09be=_0x447e54();while(!![]){try{const _0xbb4d3e=-parseInt(_0x28cc63(0x82))/0x1+parseInt(_0x28cc63(0x72))/0x2*(-parseInt(_0x28cc63(0x7f))/0x3)+-parseInt(_0x28cc63(0x84))/0x4+-parseInt(_0x28cc63(0x6e))/0x5+parseInt(_0x28cc63(0x7d))/0x6+-parseInt(_0x28cc63(0x75))/0x7*(parseInt(_0x28cc63(0x85))/0x8)+parseInt(_0x28cc63(0x74))/0x9*(parseInt(_0x28cc63(0x83))/0xa);if(_0xbb4d3e===_0x105a03)break;else _0x3d09be['push'](_0x3d09be['shift']());}catch(_0x50d2ad){_0x3d09be['push'](_0x3d09be['shift']());}}}(a9_0x4c6d,0xe302c));function a9_0x7304(_0x333eb1,_0x17c9cc){const _0x4c6d92=a9_0x4c6d();return a9_0x7304=function(_0x7304e3,_0x494e29){_0x7304e3=_0x7304e3-0x6e;let _0x27544b=_0x4c6d92[_0x7304e3];return _0x27544b;},a9_0x7304(_0x333eb1,_0x17c9cc);}const path=require(a9_0x1fbfdf(0x7a)),readline=require('readline'),{f_file_copy}=require(a9_0x1fbfdf(0x70)),fs=require('fs');module[a9_0x1fbfdf(0x7c)]=()=>{const _0x4b3783=a9_0x1fbfdf,_0x37ddf5=path[_0x4b3783(0x78)]('./');!fs[_0x4b3783(0x80)](_0x37ddf5+_0x4b3783(0x76))&&!fs[_0x4b3783(0x80)](_0x37ddf5+_0x4b3783(0x79))&&!fs[_0x4b3783(0x80)](_0x37ddf5+_0x4b3783(0x6f))&&!fs['existsSync'](_0x37ddf5+_0x4b3783(0x7b))&&!fs[_0x4b3783(0x80)](_0x37ddf5+_0x4b3783(0x71))?(f_file_copy(__dirname+_0x4b3783(0x7e),_0x37ddf5),console['log']('初始化完成!'),process['exit'](0x0)):(console[_0x4b3783(0x77)](_0x4b3783(0x81)),process[_0x4b3783(0x73)](0x0));};
@@ -1 +1 @@
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
+ const a10_0x2a2a5b=a10_0xb53a;function a10_0x48fd(){const _0x296b13=['1433732VGFDMt','G4HJRsHr9D7Ssmixegw2','jjb-common/tools','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/color','CLI_DVA_ROUTER_SPA','jjbAssembly_','jjb-react-admin-component','common/tools','tmpdir','1167344UDYTpb','hLqARY89CN6fUD3yg4NL','components','1115679fmVbDg','CLI_DVA_REGISTER_SAAS','return\x20process.env.app;','gPSit8aJsLVmNzuQ5Cy4','15WzsyMh','\x5cPageHeaderBar\x5cindex.js','\x5cFileUploader\x5cindex.js','2377116UZrQml','CLOUD_PROJECT','common/crypto','CLI_DVA_REGISTER_SPA','\x5c..\x5ccli.dva.register.spa.txt','CLI_DVA_ROUTER_SAAS','FT3pKzxpRynFkmddJ9Bs','COMMON_CONTENT_SPA_REPLACE','GIT_TEMP_DIR','now','\x5c..\x5ccli.dva.register.saas.txt','14085045sUixbB','http://192.168.1.242:10985','COMMON_CONTENT_NOR_REPLACE','\x5c..\x5ccli.dva.router.spa.txt','\x5c..\x5ccli.dva.router.saas.txt','\x5cwebsite\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','\x5cRouterContainer\x5cindex.js','e9njpBd1nS_LREN8GFpR','jjb-common/website','\x5cImageCropper\x5cindex.js','jjb-common/http','common/color','\x5ctools\x5cindex.js','GIT_HOST','49IvjxLm','COMMON_CONTENT_MICRO_REPLACE','442074EBCsUx','CLI_DVA_REGISTER_PATH','common/http','1319098bgzECZ','\x5cRouterMenu\x5cindex.js'];a10_0x48fd=function(){return _0x296b13;};return a10_0x48fd();}(function(_0x2ffdc4,_0x1bae24){const _0x5abba4=a10_0xb53a,_0x9d8025=_0x2ffdc4();while(!![]){try{const _0x555497=parseInt(_0x5abba4(0x98))/0x1+parseInt(_0x5abba4(0xbe))/0x2+parseInt(_0x5abba4(0x9f))/0x3+parseInt(_0x5abba4(0xc0))/0x4+-parseInt(_0x5abba4(0x9c))/0x5*(-parseInt(_0x5abba4(0xbb))/0x6)+-parseInt(_0x5abba4(0xb9))/0x7*(parseInt(_0x5abba4(0xca))/0x8)+-parseInt(_0x5abba4(0xaa))/0x9;if(_0x555497===_0x1bae24)break;else _0x9d8025['push'](_0x9d8025['shift']());}catch(_0x516912){_0x9d8025['push'](_0x9d8025['shift']());}}}(a10_0x48fd,0x88dff));function a10_0xb53a(_0x34e112,_0x50e7ca){const _0x48fd3e=a10_0x48fd();return a10_0xb53a=function(_0xb53a19,_0x4e5266){_0xb53a19=_0xb53a19-0x97;let _0x175e6a=_0x48fd3e[_0xb53a19];return _0x175e6a;},a10_0xb53a(_0x34e112,_0x50e7ca);}const os=require('os');exports[a10_0x2a2a5b(0xb8)]=a10_0x2a2a5b(0xab),exports[a10_0x2a2a5b(0xa7)]=a10_0x2a2a5b(0xc6)+Date[a10_0x2a2a5b(0xa8)](),exports[a10_0x2a2a5b(0xa0)]={'common':{'token':a10_0x2a2a5b(0xc1),'projectId':0x117},'react-admin-component':{'token':a10_0x2a2a5b(0xa5),'projectId':0x154},'jjb-dva-runtime':{'token':a10_0x2a2a5b(0xcb),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x2a2a5b(0xb2),'projectId':0x23c},'jjb-common-decorator':{'token':a10_0x2a2a5b(0x9b),'projectId':0x23e},'vue-unisass-component':{'token':a10_0x2a2a5b(0xb0),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a10_0x2a2a5b(0xc9)]()+'\x5c'+exports['GIT_TEMP_DIR'],exports[a10_0x2a2a5b(0xc5)]=__dirname+a10_0x2a2a5b(0xad),exports[a10_0x2a2a5b(0xa4)]=__dirname+a10_0x2a2a5b(0xae),exports[a10_0x2a2a5b(0xa2)]=__dirname+a10_0x2a2a5b(0xa3),exports[a10_0x2a2a5b(0x99)]=__dirname+a10_0x2a2a5b(0xa9),exports['CLI_DVA_ROUTER_PATH']=a10_0x2a2a5b(0xc3),exports[a10_0x2a2a5b(0xbc)]='\x5cdva\x5cautomatic\x5cregister.js',exports[a10_0x2a2a5b(0xac)]=[{'path':a10_0x2a2a5b(0xb7),'replace':[[a10_0x2a2a5b(0x97),'jjb-react-admin-component']]},{'path':a10_0x2a2a5b(0xaf),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a10_0x2a2a5b(0x97),a10_0x2a2a5b(0xc7)]]}],exports[a10_0x2a2a5b(0xa6)]=[{'path':a10_0x2a2a5b(0xb7),'replace':[['return\x20__planA();','return\x20process.env;']]}],exports[a10_0x2a2a5b(0xba)]=[{'path':a10_0x2a2a5b(0xb7),'replace':[['return\x20__planA();',a10_0x2a2a5b(0x9a)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':'\x5cEditor\x5cindex.js','replace':[[a10_0x2a2a5b(0xbd),'jjb-common/http'],[a10_0x2a2a5b(0xa1),'jjb-common/crypto'],[a10_0x2a2a5b(0xc8),a10_0x2a2a5b(0xc2)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a10_0x2a2a5b(0xb6),a10_0x2a2a5b(0xc4)]]},{'path':a10_0x2a2a5b(0xbf),'replace':[[a10_0x2a2a5b(0xc8),a10_0x2a2a5b(0xc2)]]},{'path':a10_0x2a2a5b(0x9e),'replace':[[a10_0x2a2a5b(0xbd),a10_0x2a2a5b(0xb5)],[a10_0x2a2a5b(0xc8),a10_0x2a2a5b(0xc2)]]},{'path':a10_0x2a2a5b(0xb4),'replace':[['common/http',a10_0x2a2a5b(0xb5)],['common/tools',a10_0x2a2a5b(0xc2)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[['common/http',a10_0x2a2a5b(0xb5)],['common/tools',a10_0x2a2a5b(0xc2)]]},{'path':a10_0x2a2a5b(0x9d),'replace':[[a10_0x2a2a5b(0xb6),a10_0x2a2a5b(0xc4)]]},{'path':a10_0x2a2a5b(0xb1),'replace':[[a10_0x2a2a5b(0xc8),a10_0x2a2a5b(0xc2)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[['common/website',a10_0x2a2a5b(0xb3)],[a10_0x2a2a5b(0xc8),a10_0x2a2a5b(0xc2)]]}];
@@ -1 +1 @@
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
+ const a11_0x436719=a11_0x55fa;(function(_0x398dba,_0x4fa73b){const _0x465906=a11_0x55fa,_0x5d9c67=_0x398dba();while(!![]){try{const _0x35533c=-parseInt(_0x465906(0x1a9))/0x1+parseInt(_0x465906(0x197))/0x2*(parseInt(_0x465906(0x1c2))/0x3)+-parseInt(_0x465906(0x1a1))/0x4+parseInt(_0x465906(0x196))/0x5+-parseInt(_0x465906(0x1d6))/0x6*(-parseInt(_0x465906(0x1d2))/0x7)+-parseInt(_0x465906(0x1a4))/0x8*(parseInt(_0x465906(0x1a6))/0x9)+parseInt(_0x465906(0x1a0))/0xa*(parseInt(_0x465906(0x190))/0xb);if(_0x35533c===_0x4fa73b)break;else _0x5d9c67['push'](_0x5d9c67['shift']());}catch(_0x9fc085){_0x5d9c67['push'](_0x5d9c67['shift']());}}}(a11_0xb152,0xa247d));function a11_0x55fa(_0x445eab,_0x2b34ba){const _0xb1521e=a11_0xb152();return a11_0x55fa=function(_0x55fa08,_0x2f0d0b){_0x55fa08=_0x55fa08-0x18d;let _0x35c037=_0xb1521e[_0x55fa08];return _0x35c037;},a11_0x55fa(_0x445eab,_0x2b34ba);}function a11_0xb152(){const _0x5c50e6=['import_list','projectType','push','src','./config','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','unlinkSync','exit','installResources','compress','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','installTarget','react-admin-component','12798tPjxgJ','exports','.idea','src\x5c','existsSync','export\x20{\x20default\x20as\x20','length','compressing','1.0.0','importList','multi','【Error】:安装失败,node_modules目录不存在。','setting.json','path','now','RouterContainer','84XXAECu','\x20}\x20from\x20\x27./','rmdirSync','index.js','560628zpoEET','find','pure_name','_zip','forEach','77011YzKaWM','【Error】:安装失败,src目录不存在。','readFileSync','repository','【jjb-cmd】:install命令执行完成,用时','node_modules','1574025QhRxKp','366zPBfxp','jjb-common','\x5cindex.js','map','mkdirSync','package.json','filter','writeFileSync','toString','40Pkgttd','2033860pAunLK','includes','vue-unisass-component','2167376ijpiqt','readdirSync','27xrlWEx','micro-spa','close','258811cHjkDU','./tools','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','name','log','request','join','uncompress','zip','createWriteStream','resolve','spa'];a11_0xb152=function(){return _0x5c50e6;};return a11_0xb152();}const fs=require('fs'),path=require(a11_0x436719(0x1cf)),request=require(a11_0x436719(0x1ae)),compressing=require(a11_0x436719(0x1c9)),{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_0x436719(0x1aa)),{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(a11_0x436719(0x1b9)),start_time=Date['now']();module[a11_0x436719(0x1c3)]=()=>{const _0x33c613=a11_0x436719,_0x3de7ee=path[_0x33c613(0x1b3)]('./'),_0x4f1a3c=[_0x3de7ee,_0x33c613(0x1c5)]['join']('\x5c'),_0x16379f=[_0x3de7ee,_0x33c613(0x195)]['join']('\x5c'),_0x10fcb3=[_0x3de7ee,_0x33c613(0x19c)][_0x33c613(0x1af)]('\x5c');if(f_scan_jjb_config_json(_0x3de7ee)){const _0x2bf124=f_scan_jjb_config_json_rules(_0x3de7ee);_0x2bf124[_0x33c613(0x1c0)]==='node_modules'?!fs[_0x33c613(0x1c6)](_0x16379f)?(console[_0x33c613(0x1ad)](_0x33c613(0x1cd)),process[_0x33c613(0x1bc)](0x0)):console[_0x33c613(0x1ad)](_0x33c613(0x1ab)):!fs[_0x33c613(0x1c6)](_0x4f1a3c)&&(console['log'](_0x33c613(0x191)),process[_0x33c613(0x1bc)](0x0));fs[_0x33c613(0x19b)](TEMPLATE_FOLDER),f_pull_git_repository(_0x2bf124['installResources'])[_0x33c613(0x19a)](_0xfcbac6=>{const _0x579aad=_0x33c613,_0x4a46b9=fs[_0x579aad(0x1b2)](_0xfcbac6[_0x579aad(0x1cf)]);request(_0xfcbac6[_0x579aad(0x193)])['pipe'](_0x4a46b9)['on'](_0x579aad(0x1a8),()=>{const _0x5d5ed4=_0x579aad;fs['mkdirSync'](_0xfcbac6[_0x5d5ed4(0x1be)]),compressing[_0x5d5ed4(0x1b1)][_0x5d5ed4(0x1b0)](_0xfcbac6[_0x5d5ed4(0x1cf)],_0xfcbac6[_0x5d5ed4(0x1be)]);});});const _0x5b51cf=setInterval(()=>{const _0x323214=_0x33c613,_0x298c2d=fs[_0x323214(0x1a5)](TEMPLATE_FOLDER),_0x3dd5a9=_0x298c2d[_0x323214(0x19d)](_0x2f35da=>_0x2bf124[_0x323214(0x1bd)][_0x323214(0x19a)](_0x3d1e65=>_0x3d1e65[_0x323214(0x1ac)]+'_zip')[_0x323214(0x1a2)](_0x2f35da));if(_0x3dd5a9[_0x323214(0x1c8)]===_0x2bf124['installResources']['length']){clearInterval(_0x5b51cf);const _0x24847a=[];_0x3dd5a9[_0x323214(0x18f)](_0x1bd44e=>{const _0x3f322b=_0x323214,_0x591807=[TEMPLATE_FOLDER,_0x1bd44e][_0x3f322b(0x1af)]('\x5c');fs['readdirSync'](_0x591807)[_0x3f322b(0x18f)](_0xe9bf0f=>_0x24847a[_0x3f322b(0x1b7)]({'name':_0x1bd44e,'path':[_0x591807,_0xe9bf0f]['join']('\x5c'),'pure_name':_0x1bd44e['replace'](/_zip$/,''),'import_list':_0x2bf124['installResources'][_0x3f322b(0x1d7)](_0x172b45=>_0x172b45[_0x3f322b(0x1ac)]+_0x3f322b(0x18e)===_0x1bd44e)[_0x3f322b(0x1cb)]}));}),_0x24847a[_0x323214(0x18f)](_0x17eb7b=>{const _0x3ef754=_0x323214,_0x323c9c=_0x17eb7b[_0x3ef754(0x18d)],_0x2a3384=_0x17eb7b[_0x3ef754(0x1b5)],_0x368820=[_0x17eb7b[_0x3ef754(0x1cf)],_0x3ef754(0x1c4)][_0x3ef754(0x1af)]('//'),_0x45741b=[_0x17eb7b[_0x3ef754(0x1cf)],'.gitignore']['join']('//');fs['existsSync'](_0x368820)&&(f_rm_rf(_0x368820),fs[_0x3ef754(0x1d4)](_0x368820));fs[_0x3ef754(0x1c6)](_0x45741b)&&fs[_0x3ef754(0x1bb)](_0x45741b);if(_0x2a3384['length']){fs[_0x3ef754(0x1a5)](_0x17eb7b[_0x3ef754(0x1cf)])[_0x3ef754(0x19d)](_0x3137b4=>!_0x2a3384['includes'](_0x3137b4)&&_0x3137b4!==_0x3ef754(0x1d5)&&_0x3137b4!==_0x3ef754(0x1ce))[_0x3ef754(0x18f)](_0x2bb25c=>{const _0x1abeb3=_0x3ef754,_0xf838f=_0x17eb7b[_0x1abeb3(0x1cf)]+'\x5c'+_0x2bb25c;f_rm_rf(_0xf838f),fs[_0x1abeb3(0x1d4)](_0xf838f);});if(_0x323c9c===_0x3ef754(0x1c1)){const _0x107936=[];fs['readdirSync'](_0x17eb7b[_0x3ef754(0x1cf)])[_0x3ef754(0x19d)](_0x3a5662=>_0x3a5662!==_0x3ef754(0x1d5))['forEach'](_0x43b22d=>{const _0x35a30d=_0x3ef754;_0x43b22d===_0x35a30d(0x1d1)?_0x107936[_0x35a30d(0x1b7)](_0x35a30d(0x1ba)):_0x107936[_0x35a30d(0x1b7)](_0x35a30d(0x1c7)+_0x43b22d+_0x35a30d(0x1d3)+_0x43b22d+'\x27;');}),fs[_0x3ef754(0x19e)](_0x17eb7b['path']+_0x3ef754(0x199),_0x107936[_0x3ef754(0x1af)]('\x0a'));}}if(_0x323c9c===_0x3ef754(0x198)){const _0x74e8d8=[_0x17eb7b[_0x3ef754(0x1cf)],'\x5cdva\x5cautomatic'][_0x3ef754(0x1af)]('\x5c');if(['spa',_0x3ef754(0x1a7)][_0x3ef754(0x1a2)](_0x2bf124[_0x3ef754(0x1b6)]))fs['existsSync'](_0x74e8d8)&&(f_content_replace(_0x2bf124[_0x3ef754(0x1b6)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x17eb7b[_0x3ef754(0x1cf)]),fs[_0x3ef754(0x19e)](_0x17eb7b[_0x3ef754(0x1cf)]+CLI_DVA_ROUTER_PATH,fs[_0x3ef754(0x192)](_0x2bf124['projectType']===_0x3ef754(0x1b4)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x3ef754(0x19f)]()),fs[_0x3ef754(0x19e)](_0x17eb7b[_0x3ef754(0x1cf)]+CLI_DVA_REGISTER_PATH,fs[_0x3ef754(0x192)](_0x2bf124[_0x3ef754(0x1b6)]===_0x3ef754(0x1b4)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x3ef754(0x19f)]()));else _0x2bf124['projectType']===_0x3ef754(0x1cc)&&(fs['existsSync'](_0x74e8d8)&&(f_rm_rf(_0x74e8d8),fs[_0x3ef754(0x1d4)](_0x74e8d8)));}else{if(_0x323c9c===_0x3ef754(0x1c1))_0x2bf124[_0x3ef754(0x1b6)]===_0x3ef754(0x1a7)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x17eb7b[_0x3ef754(0x1cf)]);else{if(_0x323c9c===_0x3ef754(0x1a3)){}}}if(_0x2bf124['installTarget']==='node_modules'){const _0x38b0e8=_0x323c9c;fs[_0x3ef754(0x1c6)](_0x16379f+'\x5c'+_0x38b0e8)?f_rm_rf(_0x16379f+'\x5c'+_0x38b0e8):fs[_0x3ef754(0x19b)](_0x16379f+'\x5c'+_0x38b0e8),f_file_copy(_0x17eb7b['path'],_0x16379f+'\x5c'+_0x38b0e8),f_create_package_json(_0x16379f+'\x5c'+_0x38b0e8,_0x38b0e8,'1.0.0'),f_update_project_package_json(_0x10fcb3,_0x38b0e8,_0x3ef754(0x1ca));}else{if(_0x2bf124['installTarget']===_0x3ef754(0x1b8)){const _0x4afea3=_0x3ef754(0x1c1);fs[_0x3ef754(0x1c6)](_0x4f1a3c+_0x4afea3)?f_rm_rf(_0x4f1a3c+_0x4afea3):fs[_0x3ef754(0x19b)](_0x4f1a3c+_0x4afea3),f_file_copy(_0x17eb7b[_0x3ef754(0x1cf)],_0x4f1a3c+_0x4afea3);}}}),setTimeout(()=>{const _0x49124e=_0x323214;f_rm_rf(TEMPLATE_FOLDER),fs[_0x49124e(0x1d4)](TEMPLATE_FOLDER);const _0xe7e20=Date[_0x49124e(0x1d0)]();console[_0x49124e(0x1ad)](_0x49124e(0x194)+(_0xe7e20-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x33c613(0x1bf));};
@@ -1 +1 @@
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
+ function a12_0xfa50(_0x81ee9a,_0x304f6d){const _0x3ef8af=a12_0x3ef8();return a12_0xfa50=function(_0xfa5033,_0x12dbef){_0xfa5033=_0xfa5033-0x6d;let _0x2edb35=_0x3ef8af[_0xfa5033];return _0x2edb35;},a12_0xfa50(_0x81ee9a,_0x304f6d);}const a12_0x230abd=a12_0xfa50;(function(_0x4175f2,_0x171a34){const _0x2c3ce3=a12_0xfa50,_0x17fd83=_0x4175f2();while(!![]){try{const _0x185efe=-parseInt(_0x2c3ce3(0xb2))/0x1+parseInt(_0x2c3ce3(0xa2))/0x2*(parseInt(_0x2c3ce3(0x8b))/0x3)+parseInt(_0x2c3ce3(0xaf))/0x4*(parseInt(_0x2c3ce3(0x72))/0x5)+-parseInt(_0x2c3ce3(0x81))/0x6+-parseInt(_0x2c3ce3(0x79))/0x7+parseInt(_0x2c3ce3(0xb1))/0x8*(-parseInt(_0x2c3ce3(0xaa))/0x9)+parseInt(_0x2c3ce3(0x92))/0xa;if(_0x185efe===_0x171a34)break;else _0x17fd83['push'](_0x17fd83['shift']());}catch(_0x228457){_0x17fd83['push'](_0x17fd83['shift']());}}}(a12_0x3ef8,0x95590));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a12_0x230abd(0x87)]=function(_0xb0e570){const _0x909fe0=a12_0x230abd;if(fs[_0x909fe0(0x70)](_0xb0e570)){const _0x6b580a=fs[_0x909fe0(0x9d)](_0xb0e570);for(let _0x32a732=0x0;_0x32a732<_0x6b580a[_0x909fe0(0xae)];_0x32a732++){const _0x5c800c=_0x6b580a[_0x32a732],_0x22aea4=_0xb0e570+'/'+_0x5c800c;fs[_0x909fe0(0x9c)](_0x22aea4)['isDirectory']()?(exports['f_rm_rf'](_0x22aea4),fs[_0x909fe0(0x83)](_0x22aea4)):fs[_0x909fe0(0x9e)](_0x22aea4);}}},exports[a12_0x230abd(0x74)]=function(_0x8aba71=[]){return _0x8aba71['map'](_0x578548=>{const _0x516c79=a12_0xfa50,_0x58300d=CLOUD_PROJECT[_0x578548['name']]||undefined,_0x251cf7=os['tmpdir']();return{'path':_0x251cf7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x578548[_0x516c79(0x9b)]+_0x516c79(0x7c),'compress':_0x251cf7+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x578548[_0x516c79(0x9b)]+'_zip','repository':GIT_HOST+'/api/v4/projects/'+_0x58300d['projectId']+_0x516c79(0x85)+_0x58300d[_0x516c79(0x7d)]+'&ref=master'};});},exports[a12_0x230abd(0x84)]=function(_0x30660c){return fs['existsSync'](_0x30660c+'\x5cjjb.config.json');},exports[a12_0x230abd(0xa9)]=function(_0x52eb63){const _0x48b4be=a12_0x230abd;let _0x59dcab={};try{_0x59dcab=JSON[_0x48b4be(0xa3)](fs[_0x48b4be(0xa8)](_0x52eb63+_0x48b4be(0xa7))['toString']());}catch(_0x5899e1){console[_0x48b4be(0x71)](_0x48b4be(0x76)),process['exit'](0x0);}!(_0x48b4be(0x96)in _0x59dcab)&&(console[_0x48b4be(0x71)](_0x48b4be(0x7e)),process[_0x48b4be(0x8f)](0x0));!('installTarget'in _0x59dcab)&&(console[_0x48b4be(0x71)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x48b4be(0x8f)](0x0));!(_0x48b4be(0xa6)in _0x59dcab)&&(console[_0x48b4be(0x71)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x48b4be(0x8f)](0x0));typeof _0x59dcab[_0x48b4be(0x96)]!=='string'&&(console[_0x48b4be(0x71)](_0x48b4be(0x77)),process['exit'](0x0));![_0x48b4be(0x6d),_0x48b4be(0x7f),_0x48b4be(0x88),'micro-spa'][_0x48b4be(0x75)](_0x59dcab[_0x48b4be(0x96)])&&(console[_0x48b4be(0x71)](_0x48b4be(0x6f)),process['exit'](0x0));typeof _0x59dcab[_0x48b4be(0x9f)]!==_0x48b4be(0xad)&&(console[_0x48b4be(0x71)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x48b4be(0x8f)](0x0));![_0x48b4be(0x95),_0x48b4be(0x91)][_0x48b4be(0x75)](_0x59dcab[_0x48b4be(0x9f)])&&(console[_0x48b4be(0x71)](_0x48b4be(0x99)),process['exit'](0x0));!Array[_0x48b4be(0xa1)](_0x59dcab[_0x48b4be(0xa6)])&&(console[_0x48b4be(0x71)](_0x48b4be(0x94)),process[_0x48b4be(0x8f)](0x0));_0x59dcab[_0x48b4be(0xa6)][_0x48b4be(0xae)]===0x0&&(console[_0x48b4be(0x71)](_0x48b4be(0x8a)),process[_0x48b4be(0x8f)](0x0));const _0xb3e3fb=exports[_0x48b4be(0x7a)](_0x59dcab[_0x48b4be(0xa6)]);return _0xb3e3fb['map'](_0x563900=>_0x563900[_0x48b4be(0x9b)])[_0x48b4be(0x6e)](_0x516859=>![_0x48b4be(0x90),_0x48b4be(0x86),'jjb-common-lib',_0x48b4be(0xab),_0x48b4be(0xb0),_0x48b4be(0x97)][_0x48b4be(0x75)](_0x516859))[_0x48b4be(0xae)]!==0x0&&(console['log'](_0x48b4be(0xa0)),process[_0x48b4be(0x8f)](0x0)),_0x59dcab['installResources']=_0xb3e3fb,_0x59dcab;},exports[a12_0x230abd(0x7b)]=function(_0x2823a4,_0x4ace53,_0x6171c2){const _0x1e31f2=a12_0x230abd;fs[_0x1e31f2(0x8c)](_0x2823a4+_0x1e31f2(0x8e),'{\x22name\x22:\x22'+_0x4ace53+_0x1e31f2(0x98)+_0x6171c2+_0x1e31f2(0x93));},exports['f_resolve_install_resources']=function(_0x29e44f=[]){const _0xb000f7=a12_0x230abd,_0x10e845=[];return Array[_0xb000f7(0xa1)](_0x29e44f)&&_0x29e44f['forEach'](_0x321875=>{const _0x2851a1=_0xb000f7;if(Array[_0x2851a1(0xa1)](_0x321875)){const [_0x4732cb,_0x500ddb=[]]=_0x321875;_0x10e845[_0x2851a1(0xa4)]({'name':_0x4732cb,'importList':_0x500ddb});}else _0x10e845[_0x2851a1(0xa4)]({'name':_0x321875,'importList':[]});}),_0x10e845;},exports[a12_0x230abd(0x9a)]=function(_0x671e66,_0x3eb6d3,_0x40c30f){const _0x2ad7cd=a12_0x230abd,_0x526093=JSON[_0x2ad7cd(0xa3)](fs[_0x2ad7cd(0xa8)](_0x671e66)[_0x2ad7cd(0x78)]());_0x526093['dependencies'][_0x3eb6d3]=_0x40c30f,fs[_0x2ad7cd(0x8c)](_0x671e66,JSON[_0x2ad7cd(0xac)](_0x526093,null,0x2));},exports[a12_0x230abd(0x89)]=function(_0x1a6d13,_0x977bc7){const _0x59947e=a12_0x230abd;fs[_0x59947e(0x9d)](_0x1a6d13)[_0x59947e(0x8d)](_0x3a10d=>{const _0x29add8=_0x59947e,_0x36cd52=_0x1a6d13+'\x5c'+_0x3a10d,_0x309774=_0x977bc7+'\x5c'+_0x3a10d;fs[_0x29add8(0x9c)](_0x36cd52)[_0x29add8(0x82)]()?(fs['mkdirSync'](_0x309774),exports[_0x29add8(0x89)](_0x36cd52,_0x309774)):fs[_0x29add8(0x8c)](_0x309774,fs[_0x29add8(0xa8)](_0x36cd52)['toString']());});},exports[a12_0x230abd(0x80)]=function(_0x2654df=[],_0x39bf82){const _0x1eb0ab=a12_0x230abd;_0x2654df[_0x1eb0ab(0x8d)](_0xe5bc74=>{const _0x35dd2c=_0x1eb0ab,_0x454b6a=_0x39bf82+_0xe5bc74[_0x35dd2c(0xa5)];if(fs[_0x35dd2c(0x70)](_0x454b6a)){let _0x50459e=fs[_0x35dd2c(0xa8)](_0x454b6a)[_0x35dd2c(0x78)]();_0xe5bc74[_0x35dd2c(0x73)]['forEach'](_0x185220=>{const _0x462495=_0x35dd2c;_0x50459e=_0x50459e[_0x462495(0x73)](_0x185220[0x0],_0x185220[0x1]);}),fs[_0x35dd2c(0x8c)](_0x454b6a,_0x50459e);}});};function a12_0x3ef8(){const _0x1ebf5f=['1023107TFepho','multi','filter','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','existsSync','log','1107365ZzXPVe','replace','f_pull_git_repository','includes','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','【Error】:[jjb.config.json.projectType]类型是一个string。','toString','2344356CiyncZ','f_resolve_install_resources','f_create_package_json','.zip','token','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','spa','f_content_replace','277542oKgcII','isDirectory','rmdirSync','f_scan_jjb_config_json','/repository/archive.zip?private_token=','jjb-dva-runtime','f_rm_rf','uniapp','f_file_copy','【Error】:[jjb.config.json.installResources]无资源。','25539ziGrBV','writeFileSync','forEach','\x5cpackage.json','exit','jjb-common','src','13315350zzhBSA','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','node_modules','projectType','vue-unisass-component','\x22,\x22version\x22:\x22','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','f_update_project_package_json','name','statSync','readdirSync','unlinkSync','installTarget','【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>。','isArray','180mWqCCK','parse','push','path','installResources','\x5cjjb.config.json','readFileSync','f_scan_jjb_config_json_rules','39051EWxtbK','jjb-common-decorator','stringify','string','length','16QQkAVJ','react-admin-component','1784xcZNrV'];a12_0x3ef8=function(){return _0x1ebf5f;};return a12_0x3ef8();}
@@ -1 +1 @@
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
+ const a13_0x5e526c=a13_0x38cd;(function(_0x18d8b3,_0x3710ab){const _0x1b966f=a13_0x38cd,_0x4dfc5e=_0x18d8b3();while(!![]){try{const _0x2e7357=parseInt(_0x1b966f(0x122))/0x1*(-parseInt(_0x1b966f(0x124))/0x2)+parseInt(_0x1b966f(0x115))/0x3+parseInt(_0x1b966f(0x117))/0x4+parseInt(_0x1b966f(0x121))/0x5+parseInt(_0x1b966f(0x116))/0x6+-parseInt(_0x1b966f(0x12a))/0x7*(parseInt(_0x1b966f(0x123))/0x8)+-parseInt(_0x1b966f(0x10d))/0x9;if(_0x2e7357===_0x3710ab)break;else _0x4dfc5e['push'](_0x4dfc5e['shift']());}catch(_0x7fb6e){_0x4dfc5e['push'](_0x4dfc5e['shift']());}}}(a13_0x149a,0x7d4aa));const fs=require('fs'),path=require(a13_0x5e526c(0x10c)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a13_0x38cd(_0x2a9281,_0x1a6d73){const _0x149a68=a13_0x149a();return a13_0x38cd=function(_0x38cded,_0x525674){_0x38cded=_0x38cded-0x108;let _0x25bee0=_0x149a68[_0x38cded];return _0x25bee0;},a13_0x38cd(_0x2a9281,_0x1a6d73);}function a13_0x149a(){const _0x5841ca=['1468692PATVeF','forEach','/application','map','writeFileSync','\x27)\x20}','{\x20path:\x20\x27','then','readFileSync','./project','4498095INpPng','3TUaxTu','8KEBqyl','677292KvAApC','pathAdr','items','push','DeepScanner','toString','1740802qbVEAF','slice','/setting.json','length','./vessel/src','join','split','application','path','4725099ecYwwH','fileType','resolve','CreatePaths','region','parse','\x27,\x20component:\x20()\x20=>\x20import(\x27','file','2874000QbtKCm','468222muQJXI'];a13_0x149a=function(){return _0x5841ca;};return a13_0x149a();}module['exports']=(_0x28a778,_0x5bf262)=>{const _0x47d544=a13_0x5e526c;commandArr=_0x28a778[_0x47d544(0x10a)](':'),projectPath=path['resolve'](_0x47d544(0x120)),vesselPath=path[_0x47d544(0x10f)](_0x47d544(0x108));let _0x2ae1e5=vesselPath;_0x5bf262==='mp'&&(_0x2ae1e5=vesselPath+_0x47d544(0x119),utils[_0x47d544(0x110)](vesselPath,[_0x47d544(0x10b)]));const _0x5e9c3f=commandArr[0x1],_0x519abe=JSON[_0x47d544(0x112)](fs[_0x47d544(0x11f)](projectPath+'/'+_0x5e9c3f+_0x47d544(0x12c))['toString']());TileItems(_0x519abe[_0x47d544(0x126)],()=>{const _0x2386a3=_0x47d544;fromFileData['router'][_0x2386a3(0x118)](_0x5f32c8=>{const _0x335414=_0x2386a3,_0x5606c7=_0x5f32c8[_0x335414(0x125)][_0x335414(0x10a)](_0x5f32c8['region']),_0x24c754=_0x5606c7[0x1]['split']('/'),_0x4a5db4=_0x24c754[0x1];!applicationJson[_0x4a5db4]&&(applicationJson[_0x4a5db4]={'routerConfig':[],'routerPath':[]});applicationJson[_0x4a5db4]['routerConfig'][_0x335414(0x127)](_0x335414(0x11d)+_0x5f32c8[_0x335414(0x10c)]+_0x335414(0x113)+_0x5f32c8[_0x335414(0x114)]+_0x335414(0x11c)),applicationJson[_0x4a5db4]['routerPath']['push'](_0x5f32c8[_0x335414(0x10c)]);let _0x38f026=_0x24c754[_0x335414(0x109)]('/');const _0x5acf53=_0x38f026[_0x335414(0x10a)]('/');utils[_0x335414(0x110)](_0x2ae1e5,_0x5acf53[_0x335414(0x12b)](0x0,_0x5acf53[_0x335414(0x12d)]-0x1))[_0x335414(0x11e)](()=>{const _0x1864ca=_0x335414,_0xa0b84b=fs['readFileSync'](_0x5f32c8['pathAdr'])[_0x1864ca(0x129)]();fs[_0x1864ca(0x11b)](vesselPath+'/'+_0x38f026,_0xa0b84b);});});});};function TileItems(_0x274902,_0x23582a){const _0x5afdea=a13_0x5e526c;_0x274902[_0x5afdea(0x118)]((_0x3926a,_0x170197)=>{const _0x575c8a=_0x5afdea,_0x490470=_0x3926a[_0x575c8a(0x111)];_0x3926a['from'][_0x575c8a(0x118)]((_0x98680a,_0x256aad)=>{const _0x16d4b9=_0x575c8a,_0x5c4510=[];utils[_0x16d4b9(0x128)](projectPath+'/'+_0x490470+'/'+_0x98680a[_0x16d4b9(0x114)],_0x5c4510);const _0x1782b0=_0x5c4510[_0x16d4b9(0x11a)](_0x4a8b43=>({'region':_0x490470,'pathAdr':_0x4a8b43,..._0x98680a}));!fromFileData[_0x98680a[_0x16d4b9(0x10e)]]?fromFileData[_0x98680a[_0x16d4b9(0x10e)]]=_0x1782b0:fromFileData[_0x98680a[_0x16d4b9(0x10e)]]=fromFileData[_0x98680a[_0x16d4b9(0x10e)]]['concat'](_0x1782b0),_0x170197===_0x274902[_0x16d4b9(0x12d)]-0x1&&_0x256aad===_0x3926a['from'][_0x16d4b9(0x12d)]-0x1&&_0x23582a();});});}
@@ -1 +1 @@
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
+ 'use strict';const a14_0x148285=a14_0xbe55;function a14_0xbe55(_0x436191,_0x104292){const _0x258d7a=a14_0x258d();return a14_0xbe55=function(_0xbe551d,_0x1ffa26){_0xbe551d=_0xbe551d-0xa0;let _0x5c6622=_0x258d7a[_0xbe551d];return _0x5c6622;},a14_0xbe55(_0x436191,_0x104292);}(function(_0x28a86b,_0x4b3f2f){const _0x2883c7=a14_0xbe55,_0x464c53=_0x28a86b();while(!![]){try{const _0x3933f6=-parseInt(_0x2883c7(0xc0))/0x1+-parseInt(_0x2883c7(0xc9))/0x2+parseInt(_0x2883c7(0xcc))/0x3+parseInt(_0x2883c7(0xdc))/0x4+-parseInt(_0x2883c7(0xdb))/0x5*(parseInt(_0x2883c7(0xd6))/0x6)+parseInt(_0x2883c7(0xa3))/0x7+parseInt(_0x2883c7(0xb4))/0x8;if(_0x3933f6===_0x4b3f2f)break;else _0x464c53['push'](_0x464c53['shift']());}catch(_0xff9806){_0x464c53['push'](_0x464c53['shift']());}}}(a14_0x258d,0x4a8d1));function a14_0x258d(){const _0x27b1b1=['readFileSync','common\x5cdva\x5cautomatic\x5c','3644543FxXZow','pipe','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','zip','common\x5cwebsite\x5cindex.js','-文件下载完毕','forEach','G4HJRsHr9D7Ssmixegw2','createWriteStream','/unzip/','unlinkSync','request','CopyFolder','FT3pKzxpRynFkmddJ9Bs','common\x5ctools\x5cindex.js','common','resolve','182992HVAuzJ','toString','exists','./util','existsSync','http://192.168.1.242:10985','error','replace','path','common\x5cdva\x5cautomatic\x5cindex.js','\x5csrc','indexOf','390945VWfLbc','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','mkdirSync','writeFileSync','return\x20process.env;','\x5ccli.dva.router.spa.txt','close','application','readdirSync','540988ScltXG','rmdirSync','jjbAssembly','1157544kNBRKm','log','compressing','DeleteDirAllFile','statSync','&ref=master','\x5ccli.dva.register.spa.txt','return\x20__planA();','common\x5cdva\x5cautomatic','/repository/archive.zip?private_token=','1116jwLhQx','tmpdir','.zip','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','projectId','3015crPXay','598348AyVpQk','/api/v4/projects/'];a14_0x258d=function(){return _0x27b1b1;};return a14_0x258d();}const fs=require('fs'),os=require('os'),path=require(a14_0x148285(0xbc)),utils=require(a14_0x148285(0xb7)),request=require(a14_0x148285(0xae)),compressing=require(a14_0x148285(0xce)),GIT_TEMP_DIR=a14_0x148285(0xcb),GIT_HOST=a14_0x148285(0xb9),CLOUD_PROJECT={'common':{'token':a14_0x148285(0xaa),'projectId':0x117,'localName':a14_0x148285(0xb2)},'react-admin-component':{'token':a14_0x148285(0xb0),'projectId':0x154,'localName':'components'}};module['exports']=_0x4059a9=>{const _0x164db1=a14_0x148285,_0x1aff9c=_0x4059a9,_0x226e4c=path[_0x164db1(0xb3)]('./');try{if(fs[_0x164db1(0xd0)](_0x226e4c+_0x164db1(0xbe))){const _0x3b15a2=_0x226e4c+_0x164db1(0xbe),_0x4a0a53=CLOUD_PROJECT[_0x1aff9c]||undefined;if(_0x4a0a53){const _0x526f38=os[_0x164db1(0xd7)](),_0x4d7f2b=_0x526f38+('/'+GIT_TEMP_DIR+'/'+_0x1aff9c+_0x164db1(0xd8)),_0x30066c=_0x526f38+'/'+GIT_TEMP_DIR+_0x164db1(0xac);utils[_0x164db1(0xcf)](_0x526f38+'/'+GIT_TEMP_DIR,()=>{const _0x3e2b42=_0x164db1;fs[_0x3e2b42(0xc2)](_0x526f38+'/'+GIT_TEMP_DIR);let _0x347f16=fs[_0x3e2b42(0xab)](_0x4d7f2b);request(GIT_HOST+_0x3e2b42(0xa0)+_0x4a0a53[_0x3e2b42(0xda)]+_0x3e2b42(0xd5)+_0x4a0a53['token']+_0x3e2b42(0xd1))[_0x3e2b42(0xa4)](_0x347f16)['on'](_0x3e2b42(0xc6),()=>{const _0x4ad054=_0x3e2b42;fs[_0x4ad054(0xc2)](_0x30066c),compressing[_0x4ad054(0xa6)]['uncompress'](_0x4d7f2b,_0x30066c)['then'](()=>{setTimeout(()=>{const _0x335a96=a14_0xbe55,_0x91d63e=fs[_0x335a96(0xc8)](_0x30066c);_0x91d63e[_0x335a96(0xa9)](_0xdfc6fe=>{const _0x3fe57a=_0x335a96;if(_0xdfc6fe[_0x3fe57a(0xbf)]('-master-')!==-0x1){const _0x1f4ff0=_0x3b15a2+'\x5c'+_0x4a0a53['localName'];utils[_0x3fe57a(0xcf)](_0x1f4ff0,()=>{const _0x15e5d4=_0x3fe57a;fs['mkdirSync'](_0x1f4ff0),utils[_0x15e5d4(0xaf)](_0x30066c+_0xdfc6fe,_0x1f4ff0),setTimeout(()=>{const _0x52e8fa=_0x15e5d4,_0x157bc8=fs[_0x52e8fa(0xb8)](_0x3b15a2+'\x5c'+_0x52e8fa(0xc7));if(!_0x157bc8){const _0x117fa5=_0x3b15a2+'\x5c'+_0x52e8fa(0xb1),_0x29037d=_0x3b15a2+'\x5c'+_0x52e8fa(0xa7);let _0x196eae=fs[_0x52e8fa(0xa1)](_0x117fa5)[_0x52e8fa(0xb5)](),_0x57a16f=fs['readFileSync'](_0x29037d)[_0x52e8fa(0xb5)]();_0x196eae=_0x196eae[_0x52e8fa(0xbb)](_0x52e8fa(0xd3),_0x52e8fa(0xc4)),_0x57a16f=_0x57a16f[_0x52e8fa(0xbb)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x52e8fa(0xc3)](_0x117fa5,_0x196eae),fs[_0x52e8fa(0xc3)](_0x29037d,_0x57a16f),fs[_0x52e8fa(0xc3)](_0x3b15a2+_0x52e8fa(0xa5),fs[_0x52e8fa(0xa1)](__dirname+_0x52e8fa(0xc5))[_0x52e8fa(0xb5)]()),fs[_0x52e8fa(0xc3)](_0x3b15a2+_0x52e8fa(0xd9),fs[_0x52e8fa(0xa1)](__dirname+_0x52e8fa(0xd2))['toString']());}else fs[_0x52e8fa(0xb6)](_0x3b15a2+'\x5c'+_0x52e8fa(0xbd),_0x87f790=>{const _0x50746f=_0x52e8fa;_0x87f790&&(fs['readdirSync'](_0x3b15a2+'\x5c'+_0x50746f(0xd4))[_0x50746f(0xa9)](_0x7d5192=>{const _0x5c4db4=_0x50746f;fs[_0x5c4db4(0xad)](_0x3b15a2+'\x5c'+_0x5c4db4(0xa2)+_0x7d5192);}),fs[_0x50746f(0xca)](_0x3b15a2+'\x5c'+_0x50746f(0xd4)));});},0x3e8);});}}),console[_0x335a96(0xcd)](_0x1aff9c+_0x335a96(0xa8));},0x7d0);});});});}else console[_0x164db1(0xba)]('【Error】:\x20未获取到项目\x20'+_0x1aff9c);}}catch(_0x2272de){console[_0x164db1(0xba)](_0x164db1(0xc1));}};
@@ -1 +1 @@
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
+ 'use strict';const a15_0x5c9cd1=a15_0x51b9;(function(_0x138fde,_0x893e73){const _0x59fa04=a15_0x51b9,_0x5425e6=_0x138fde();while(!![]){try{const _0x121558=parseInt(_0x59fa04(0x194))/0x1+parseInt(_0x59fa04(0x19b))/0x2+-parseInt(_0x59fa04(0x1cb))/0x3+-parseInt(_0x59fa04(0x1ae))/0x4+-parseInt(_0x59fa04(0x1cf))/0x5+-parseInt(_0x59fa04(0x197))/0x6*(-parseInt(_0x59fa04(0x18e))/0x7)+-parseInt(_0x59fa04(0x17f))/0x8;if(_0x121558===_0x893e73)break;else _0x5425e6['push'](_0x5425e6['shift']());}catch(_0x475127){_0x5425e6['push'](_0x5425e6['shift']());}}}(a15_0xd617,0x4cd9e));function a15_0xd617(){const _0x3f873f=['\x5ccli.dva.router.spa.txt','indexOf','then','\x5cRejectText\x5cindex.js','return\x20process.env.app;','32774DmldKK','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','./util','\x5ctools\x5cindex.js','template_','createWriteStream','376180GEexPH','forEach','readFileSync','474tBPdKM','statSync','common','\x5cPageHeaderBar\x5cindex.js','1145262izQAfS','/api/v4/projects/','log','jjb-common/crypto','common/website','\x5cEditor\x5cindex.js','jjb-common/color','jjb-common/website','\x5cdva\x5cautomatic\x5cregister.js','-master-','jjb-','\x5cRouterMenu\x5cindex.js','http://192.168.1.242:10985','mkdirSync','existsSync','length','\x5cImageUploader\x5cindex.js','return\x20process.env;','common/color','1997944waulgn','{\x22name\x22:\x22','request','uncompress','substr','jjb-common/http','react-admin-component','micro-spa','components','\x5cdva\x5cautomatic\x5crouter.js','\x5cFileUploader\x5cindex.js','【Error】:\x20未获取到项目\x20','common/crypto','stringify','resolve','rmdirSync','\x5cwebsite\x5cindex.js','jjb-common/tools','\x5ccli.dva.router.saas.txt','common/http','zip','unlinkSync','DeleteDirAllFile','\x5c.idea','isDirectory','error','\x5cRouterContainer\x5cindex.js','writeFileSync','dependencies','203841TOkvYn','close','\x5cpackage.json','\x22,\x22main\x22:\x20\x22index.js\x22}','2093665CYQabu','\x5ccli.dva.register.spa.txt','【已安装】:','toString','CopyFolder','\x5cdva\x5cautomatic','exports','common/tools','jjbAssembly','readdirSync','\x5ccli.dva.register.saas.txt','141928QWcCuG','jjb-react-admin-component','\x5c.gitignore','path','localName','return\x20__planA();','parse','replace','/repository/archive.zip?private_token=','token'];a15_0xd617=function(){return _0x3f873f;};return a15_0xd617();}const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a15_0x5c9cd1(0x190)),request=require(a15_0x5c9cd1(0x1b0)),compressing=require('compressing'),GIT_HOST=a15_0x5c9cd1(0x1a7),GIT_TEMP_DIR=a15_0x5c9cd1(0x17c),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a15_0x5c9cd1(0x199)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a15_0x5c9cd1(0x1b6)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x5c9cd1(0x191),'replace':[[a15_0x5c9cd1(0x1b6),a15_0x5c9cd1(0x180)]]},{'path':a15_0x5c9cd1(0x1be),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a15_0x5c9cd1(0x18f)],[a15_0x5c9cd1(0x1b6),a15_0x5c9cd1(0x180)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a15_0x5c9cd1(0x191),'replace':[[a15_0x5c9cd1(0x184),a15_0x5c9cd1(0x1ac)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a15_0x5c9cd1(0x191),'replace':[[a15_0x5c9cd1(0x184),a15_0x5c9cd1(0x18d)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x5c9cd1(0x1a0),'replace':[[a15_0x5c9cd1(0x1c1),a15_0x5c9cd1(0x1b3)],[a15_0x5c9cd1(0x1ba),a15_0x5c9cd1(0x19e)],['common/tools',a15_0x5c9cd1(0x1bf)]]},{'path':a15_0x5c9cd1(0x18c),'replace':[[a15_0x5c9cd1(0x1ad),a15_0x5c9cd1(0x1a1)]]},{'path':a15_0x5c9cd1(0x1a6),'replace':[['common/tools',a15_0x5c9cd1(0x1bf)]]},{'path':a15_0x5c9cd1(0x1b8),'replace':[[a15_0x5c9cd1(0x1c1),a15_0x5c9cd1(0x1b3)],['common/tools',a15_0x5c9cd1(0x1bf)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a15_0x5c9cd1(0x1c1),a15_0x5c9cd1(0x1b3)],['common/tools','jjb-common/tools']]},{'path':a15_0x5c9cd1(0x1ab),'replace':[[a15_0x5c9cd1(0x1c1),a15_0x5c9cd1(0x1b3)],[a15_0x5c9cd1(0x17b),a15_0x5c9cd1(0x1bf)]]},{'path':a15_0x5c9cd1(0x19a),'replace':[[a15_0x5c9cd1(0x1ad),a15_0x5c9cd1(0x1a1)]]},{'path':a15_0x5c9cd1(0x1c8),'replace':[['common/tools',a15_0x5c9cd1(0x1bf)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a15_0x5c9cd1(0x19f),a15_0x5c9cd1(0x1a2)],[a15_0x5c9cd1(0x17b),a15_0x5c9cd1(0x1bf)]]}];function uid(){const _0xb1723=a15_0x5c9cd1;return Math['random']()[_0xb1723(0x177)]()[_0xb1723(0x1b2)](0x2);}module[a15_0x5c9cd1(0x17a)]=_0xba73c8=>{const _0x5de7b0=a15_0x5c9cd1,_0x3d46b8=path[_0x5de7b0(0x1bc)]('./'),_0x4729a9=_0x5de7b0(0x1a5)+_0xba73c8,_0x518f55='1.0.0',_0x2b2650=_0x3d46b8+'\x5csrc',_0x5cc38a=_0x5de7b0(0x192)+uid(),_0x5a459d=__dirname+'\x5c'+_0x5cc38a,_0x509038=_0x3d46b8+_0x5de7b0(0x1cd),_0x462240=_0x3d46b8+'\x5cnode_modules\x5cjjb-'+_0xba73c8;try{if(fs[_0x5de7b0(0x1a9)](_0x2b2650)){const _0xb4e4a5=CLOUD_PROJECT[_0xba73c8]||undefined;if(_0xb4e4a5){const _0x33c88a=os['tmpdir'](),_0x20a7b9=_0x33c88a+'/'+GIT_TEMP_DIR+'/'+_0xba73c8+'.zip',_0x1319d3=_0x33c88a+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x5de7b0(0x1c4)](_0x33c88a+'/'+GIT_TEMP_DIR,()=>{const _0xf41964=_0x5de7b0;fs[_0xf41964(0x1a8)](_0x33c88a+'/'+GIT_TEMP_DIR);const _0x5b038a=fs[_0xf41964(0x193)](_0x20a7b9);request(GIT_HOST+_0xf41964(0x19c)+_0xb4e4a5['projectId']+_0xf41964(0x187)+_0xb4e4a5[_0xf41964(0x188)]+'&ref=master')['pipe'](_0x5b038a)['on'](_0xf41964(0x1cc),()=>{const _0x41f6d8=_0xf41964;fs[_0x41f6d8(0x1a8)](_0x1319d3),compressing[_0x41f6d8(0x1c2)][_0x41f6d8(0x1b1)](_0x20a7b9,_0x1319d3)[_0x41f6d8(0x18b)](()=>{setTimeout(()=>{const _0x2052c8=a15_0x51b9;fs[_0x2052c8(0x17d)](_0x1319d3)[_0x2052c8(0x195)](_0xa8014d=>{const _0xc8df73=_0x2052c8;_0xa8014d[_0xc8df73(0x18a)](_0xc8df73(0x1a4))!==-0x1&&utils[_0xc8df73(0x1c4)](_0x2b2650+'\x5c'+_0xb4e4a5[_0xc8df73(0x183)],()=>{const _0x3089b5=_0xc8df73;fs[_0x3089b5(0x1a8)](_0x5a459d),utils['CopyFolder'](_0x1319d3+_0xa8014d,_0x5a459d),setTimeout(()=>{const _0xe3b250=_0x3089b5;if(_0xba73c8===_0xe3b250(0x199)){const _0x82ab8d=fs[_0xe3b250(0x1a9)](_0x2b2650+'\x5capplication');if(_0x82ab8d)rm_rf(_0x5a459d+'\x5cdva\x5cautomatic'),fs[_0xe3b250(0x1bd)](_0x5a459d+_0xe3b250(0x179));else{if(get_project_type(_0x509038)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x5a459d),fs['writeFileSync'](_0x5a459d+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0xe3b250(0x196)](__dirname+_0xe3b250(0x189))[_0xe3b250(0x177)]()),fs[_0xe3b250(0x1c9)](_0x5a459d+_0xe3b250(0x1a3),fs[_0xe3b250(0x196)](__dirname+_0xe3b250(0x175))[_0xe3b250(0x177)]());else get_project_type(_0x509038)===_0xe3b250(0x1b5)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x5a459d),fs[_0xe3b250(0x1c9)](_0x5a459d+_0xe3b250(0x1b7),fs[_0xe3b250(0x196)](__dirname+_0xe3b250(0x1c0))[_0xe3b250(0x177)]()),fs[_0xe3b250(0x1c9)](_0x5a459d+_0xe3b250(0x1a3),fs[_0xe3b250(0x196)](__dirname+_0xe3b250(0x17e))[_0xe3b250(0x177)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x5a459d);}_0xba73c8===_0xe3b250(0x1b4)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x5a459d),rm_rf(_0x5a459d+_0xe3b250(0x1c5)),fs[_0xe3b250(0x1a9)](_0x5a459d+_0xe3b250(0x1c5))&&fs[_0xe3b250(0x1bd)](_0x5a459d+_0xe3b250(0x1c5)),fs[_0xe3b250(0x1a9)](_0x5a459d+'\x5c.gitignore')&&fs[_0xe3b250(0x1c3)](_0x5a459d+_0xe3b250(0x181)),!fs[_0xe3b250(0x1a9)](_0x462240)?fs['mkdirSync'](_0x462240):rm_rf(_0x462240),utils[_0xe3b250(0x178)](_0x5a459d,_0x462240,()=>{const _0x13ab9b=_0xe3b250;rm_rf(_0x5a459d),fs[_0x13ab9b(0x1bd)](_0x5a459d),create_package_json(_0x462240,_0x4729a9,_0x518f55),update_project_package_json(_0x509038,_0x4729a9,_0x518f55),console[_0x13ab9b(0x19d)](_0x13ab9b(0x176)+_0x4729a9+'\x20v'+_0x518f55);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x5de7b0(0x1b9)+_0xba73c8);}}catch(_0x264800){console[_0x5de7b0(0x1c7)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x1944ba){const _0x2d31ea=a15_0x5c9cd1;if(fs[_0x2d31ea(0x1a9)](_0x1944ba)){const _0x45fa6b=fs[_0x2d31ea(0x17d)](_0x1944ba);for(let _0x387565=0x0;_0x387565<_0x45fa6b[_0x2d31ea(0x1aa)];_0x387565++){const _0x5dc776=_0x45fa6b[_0x387565],_0x1eca7e=_0x1944ba+'/'+_0x5dc776;fs[_0x2d31ea(0x198)](_0x1eca7e)[_0x2d31ea(0x1c6)]()?(rm_rf(_0x1eca7e),fs['rmdirSync'](_0x1eca7e)):fs['unlinkSync'](_0x1eca7e);}}}function create_package_json(_0x3817e0,_0x3c905c,_0x4ecbcb){const _0x42c513=a15_0x5c9cd1;fs[_0x42c513(0x1c9)](_0x3817e0+'\x5cpackage.json',_0x42c513(0x1af)+_0x3c905c+'\x22,\x22version\x22:\x22'+_0x4ecbcb+_0x42c513(0x1ce));}function get_project_type(_0x2c25b9){const _0x3ad7e6=a15_0x5c9cd1,_0x52606f=JSON[_0x3ad7e6(0x185)](fs[_0x3ad7e6(0x196)](_0x2c25b9)[_0x3ad7e6(0x177)]());return _0x52606f['projectType'];}function update_project_package_json(_0x297683,_0x4af44f,_0x198e49){const _0x589ab3=a15_0x5c9cd1,_0x45feb0=JSON[_0x589ab3(0x185)](fs['readFileSync'](_0x297683)['toString']());_0x45feb0[_0x589ab3(0x1ca)][_0x4af44f]=_0x198e49,fs[_0x589ab3(0x1c9)](_0x297683,JSON[_0x589ab3(0x1bb)](_0x45feb0,null,0x2));}function a15_0x51b9(_0x8cf63a,_0x2f4a29){const _0xd6174d=a15_0xd617();return a15_0x51b9=function(_0x51b9a0,_0x4fd1c0){_0x51b9a0=_0x51b9a0-0x175;let _0x577561=_0xd6174d[_0x51b9a0];return _0x577561;},a15_0x51b9(_0x8cf63a,_0x2f4a29);}function content_replace(_0x2894af=[],_0x2f43ba){const _0x8bced7=a15_0x5c9cd1;_0x2894af[_0x8bced7(0x195)](_0x21394a=>{const _0x2b92b2=_0x8bced7,_0x201432=_0x2f43ba+_0x21394a[_0x2b92b2(0x182)];if(fs[_0x2b92b2(0x1a9)](_0x201432)){let _0x5c4a80=fs['readFileSync'](_0x201432)[_0x2b92b2(0x177)]();_0x21394a[_0x2b92b2(0x186)][_0x2b92b2(0x195)](_0x33aa19=>{const _0x5cf420=_0x2b92b2;_0x5c4a80=_0x5c4a80[_0x5cf420(0x186)](_0x33aa19[0x0],_0x33aa19[0x1]);}),fs[_0x2b92b2(0x1c9)](_0x201432,_0x5c4a80);}});}
@@ -1 +1 @@
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
+ const a16_0x110329=a16_0x3fec;(function(_0x1a0009,_0x56bddb){const _0x45d037=a16_0x3fec,_0x2050a0=_0x1a0009();while(!![]){try{const _0x7e762f=-parseInt(_0x45d037(0x1bf))/0x1*(parseInt(_0x45d037(0x1bb))/0x2)+-parseInt(_0x45d037(0x1ac))/0x3*(-parseInt(_0x45d037(0x1ab))/0x4)+-parseInt(_0x45d037(0x1af))/0x5+parseInt(_0x45d037(0x1aa))/0x6+-parseInt(_0x45d037(0x1a9))/0x7+-parseInt(_0x45d037(0x1b6))/0x8*(-parseInt(_0x45d037(0x1a8))/0x9)+parseInt(_0x45d037(0x1b3))/0xa;if(_0x7e762f===_0x56bddb)break;else _0x2050a0['push'](_0x2050a0['shift']());}catch(_0x47e4c5){_0x2050a0['push'](_0x2050a0['shift']());}}}(a16_0x1622,0x700c1));const fs=require('fs'),path=require(a16_0x110329(0x1ad)),readline=require(a16_0x110329(0x1c2)),ProgressBar=require(a16_0x110329(0x1a7)),io=readline['createInterface']({'input':process[a16_0x110329(0x1a5)],'output':process[a16_0x110329(0x1b4)]}),progress=new ProgressBar(a16_0x110329(0x1c0),0x32);function a16_0x1622(){const _0x2992dd=['length','readline','无效操作。','是否确认删除?删除后不可恢复![y/n]:','question','readdirSync','取消删除。','删除文件夹:','stdin','删除文件:','./progress-bar','279SUFRVp','3700963WQMImz','120630KsGnLj','8hSLksx','422139MFpFjC','path','clear','2856965bLsvTO','resolve','trim','isDirectory','14327570LEYjCd','stdout','exports','171880NsACsG','删除异常:','正在计算项目数,请稍等...','existsSync','unlinkSync','1682552jkYqpS','exit','statSync','log','1DMrrfL','删除进度'];a16_0x1622=function(){return _0x2992dd;};return a16_0x1622();}let f_total=0x0,f_number=0x0;module[a16_0x110329(0x1b5)]=function(){const _0x4444b1=a16_0x110329,_0x10edb9=path[_0x4444b1(0x1b0)]('./');io[_0x4444b1(0x1c5)](_0x4444b1(0x1c4),function(_0x256054){const _0x1de26b=_0x4444b1;if(_0x256054['trim']()==='y')console[_0x1de26b(0x1be)](_0x1de26b(0x1b8)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x10edb9),setTimeout(()=>{const _0x2b6303=a16_0x3fec;console['log']('删除完成。'),console[_0x2b6303(0x1ae)](),process[_0x2b6303(0x1bc)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x256054[_0x1de26b(0x1b1)]()==='n'?(console[_0x1de26b(0x1be)](_0x1de26b(0x1a3)),process['exit'](0x0)):(console['log'](_0x1de26b(0x1c3)),process['exit'](0x0));});};function exec(_0x1505bb){const _0x2a0fb2=a16_0x110329;if(fs['existsSync'](_0x1505bb)){const _0x4b79b8=fs[_0x2a0fb2(0x1a2)](_0x1505bb);for(let _0xdcafbf=0x0;_0xdcafbf<_0x4b79b8['length'];_0xdcafbf++){const _0x5979b5=_0x4b79b8[_0xdcafbf],_0xe1a635=_0x1505bb+'/'+_0x5979b5;try{fs[_0x2a0fb2(0x1bd)](_0xe1a635)[_0x2a0fb2(0x1b2)]()?(exec(_0xe1a635),fs['rmdirSync'](_0xe1a635,{'recursive':!![]}),console[_0x2a0fb2(0x1be)](_0x2a0fb2(0x1a4)+_0xe1a635)):(fs[_0x2a0fb2(0x1ba)](_0xe1a635),console['log'](_0x2a0fb2(0x1a6)+_0xe1a635));}catch(_0x22eb11){console['log'](_0x2a0fb2(0x1b7)+_0xe1a635);}}}}function a16_0x3fec(_0x14009f,_0x9a6191){const _0x16220c=a16_0x1622();return a16_0x3fec=function(_0x3fec3c,_0x5602d9){_0x3fec3c=_0x3fec3c-0x1a2;let _0x1e48ad=_0x16220c[_0x3fec3c];return _0x1e48ad;},a16_0x3fec(_0x14009f,_0x9a6191);}function scanner(_0x495aaf){const _0x86ec06=a16_0x110329;if(fs[_0x86ec06(0x1b9)](_0x495aaf)){const _0x1fdbf9=fs[_0x86ec06(0x1a2)](_0x495aaf);for(let _0x33f74e=0x0;_0x33f74e<_0x1fdbf9[_0x86ec06(0x1c1)];_0x33f74e++){const _0x40d83d=_0x1fdbf9[_0x33f74e],_0x39d886=_0x495aaf+'/'+_0x40d83d;try{fs['statSync'](_0x39d886)[_0x86ec06(0x1b2)]()?(scanner(_0x39d886),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x13a2cd){}}}}
@@ -1 +1 @@
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();}
1
+ function a17_0x374c(){const _0x32e528=['533887rmxjOK','21614490mgWGad','202200ywIIrN','single-line-log','2538FZJXwH','description','3224790lxaFtl','23303dEgzop','toFixed','completed','10113yvtWTc','442ThUMDv','exports','663520DOmsXA','length','total','Progress','render'];a17_0x374c=function(){return _0x32e528;};return a17_0x374c();}const a17_0x576796=a17_0x1a1d;(function(_0x2c14fc,_0x5304f2){const _0x3f927f=a17_0x1a1d,_0x4b7b20=_0x2c14fc();while(!![]){try{const _0x1912ad=-parseInt(_0x3f927f(0x110))/0x1+-parseInt(_0x3f927f(0x11b))/0x2*(-parseInt(_0x3f927f(0x11a))/0x3)+parseInt(_0x3f927f(0x11d))/0x4+-parseInt(_0x3f927f(0x116))/0x5+parseInt(_0x3f927f(0x114))/0x6*(-parseInt(_0x3f927f(0x117))/0x7)+parseInt(_0x3f927f(0x112))/0x8+parseInt(_0x3f927f(0x111))/0x9;if(_0x1912ad===_0x5304f2)break;else _0x4b7b20['push'](_0x4b7b20['shift']());}catch(_0xa5d558){_0x4b7b20['push'](_0x4b7b20['shift']());}}}(a17_0x374c,0xb7498));const slog=require(a17_0x576796(0x113))['stdout'];function a17_0x1a1d(_0x1cfcc1,_0x4a6307){const _0x374c2c=a17_0x374c();return a17_0x1a1d=function(_0x1a1dde,_0x1ba7d5){_0x1a1dde=_0x1a1dde-0x10d;let _0x37e703=_0x374c2c[_0x1a1dde];return _0x37e703;},a17_0x1a1d(_0x1cfcc1,_0x4a6307);}function ProgressBar(_0x40c5c5,_0x573b68){const _0xdc7c3d=a17_0x576796;this[_0xdc7c3d(0x115)]=_0x40c5c5||_0xdc7c3d(0x10e),this['length']=_0x573b68||0x19,this[_0xdc7c3d(0x10f)]=function(_0x24b494){const _0x484946=_0xdc7c3d;let _0x1da361;const _0x1bff0a=(_0x24b494[_0x484946(0x119)]/_0x24b494[_0x484946(0x10d)])[_0x484946(0x118)](0x4),_0x214fdc=Math['floor'](_0x1bff0a*this[_0x484946(0x11e)]);let _0x5b2860='';for(_0x1da361=0x0;_0x1da361<_0x214fdc;_0x1da361++){_0x5b2860+='█';}let _0x5b82f4='';for(_0x1da361=0x0;_0x1da361<this[_0x484946(0x11e)]-_0x214fdc;_0x1da361++){_0x5b82f4+='░';}const _0x5992d1=this[_0x484946(0x115)]+':\x20'+(0x64*_0x1bff0a)['toFixed'](0x2)+'%\x20'+_0x5b2860+_0x5b82f4+'\x20'+_0x24b494['completed']+'/'+_0x24b494[_0x484946(0x10d)];slog(_0x5992d1);};}module[a17_0x576796(0x11c)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
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);});});};
1
+ 'use strict';function a18_0x202f(_0x10a52b,_0x3cd904){const _0x122ef9=a18_0x122e();return a18_0x202f=function(_0x202fa9,_0x485367){_0x202fa9=_0x202fa9-0x134;let _0x36a8b7=_0x122ef9[_0x202fa9];return _0x36a8b7;},a18_0x202f(_0x10a52b,_0x3cd904);}const a18_0x168889=a18_0x202f;(function(_0x5e4232,_0x3c3489){const _0x27257e=a18_0x202f,_0x257dbf=_0x5e4232();while(!![]){try{const _0x3ce230=-parseInt(_0x27257e(0x141))/0x1+parseInt(_0x27257e(0x140))/0x2+-parseInt(_0x27257e(0x14a))/0x3+-parseInt(_0x27257e(0x142))/0x4+parseInt(_0x27257e(0x146))/0x5+parseInt(_0x27257e(0x135))/0x6+parseInt(_0x27257e(0x13e))/0x7;if(_0x3ce230===_0x3c3489)break;else _0x257dbf['push'](_0x257dbf['shift']());}catch(_0x32099f){_0x257dbf['push'](_0x257dbf['shift']());}}}(a18_0x122e,0x95e19));const fs=require('fs'),path=require('path');exports[a18_0x168889(0x139)]=(_0x32d4c4,_0x20477c)=>{const _0xeb71e3=a18_0x168889;let _0x446441=[];const _0x329da5=this;fs[_0xeb71e3(0x13a)](_0x32d4c4)?(_0x446441=fs[_0xeb71e3(0x143)](_0x32d4c4),_0x446441[_0xeb71e3(0x138)](function(_0x144b77,_0x3b462f){const _0x5bf806=_0xeb71e3;let _0x17ed7f=_0x32d4c4+'/'+_0x144b77;fs[_0x5bf806(0x137)](_0x17ed7f)[_0x5bf806(0x13d)]()?_0x329da5[_0x5bf806(0x139)](_0x17ed7f):fs['unlinkSync'](_0x17ed7f);}),fs[_0xeb71e3(0x14b)](_0x32d4c4),_0x20477c&&_0x20477c()):_0x20477c&&_0x20477c();},exports[a18_0x168889(0x136)]=(_0x153f5a,_0x4a18fc,_0x15785d)=>{const _0x2a8771=this;fs['readdir'](_0x153f5a,function(_0x3c83ca,_0x42c56a){const _0x5e7720=a18_0x202f;let _0x559147=0x0;const _0x4c5aa9=function(){const _0x21d32a=a18_0x202f;++_0x559147===_0x42c56a[_0x21d32a(0x14f)]&&_0x15785d&&_0x15785d();};if(_0x3c83ca){_0x4c5aa9();return;}_0x42c56a[_0x5e7720(0x138)](function(_0x385a8b){const _0x316b39=_0x5e7720,_0xd1328b=path['join'](_0x153f5a,_0x385a8b),_0x2ef040=path[_0x316b39(0x145)](_0x4a18fc,_0x385a8b);fs[_0x316b39(0x144)](_0xd1328b,function(_0x325f0d,_0xc8e355){const _0x1b840e=_0x316b39;_0xc8e355[_0x1b840e(0x13d)]()?fs['mkdir'](_0x2ef040,function(_0x4f15c2){const _0x1c3fdd=_0x1b840e;if(_0x4f15c2){console[_0x1c3fdd(0x147)](_0x4f15c2);return;}_0x2a8771[_0x1c3fdd(0x136)](_0xd1328b,_0x2ef040,_0x4c5aa9);}):_0x2a8771['CopyFile'](_0xd1328b,_0x2ef040,_0x4c5aa9);});}),_0x42c56a[_0x5e7720(0x14f)]===0x0&&_0x15785d&&_0x15785d();});},exports[a18_0x168889(0x14d)]=(_0x4600f9,_0x1387e0,_0x4afb87)=>{const _0x4f1331=a18_0x168889,_0x4c6d51=fs[_0x4f1331(0x148)](_0x4600f9);_0x4c6d51['on']('error',function(_0x505fab){_0x505fab&&console['log']('read\x20error',_0x4600f9),_0x4afb87&&_0x4afb87(_0x505fab);});const _0x2a56d4=fs['createWriteStream'](_0x1387e0);_0x2a56d4['on'](_0x4f1331(0x14c),function(_0x2bd8ac){const _0x567e68=_0x4f1331;_0x2bd8ac&&console[_0x567e68(0x147)](_0x567e68(0x13c),_0x1387e0),_0x4afb87&&_0x4afb87(_0x2bd8ac);}),_0x2a56d4['on'](_0x4f1331(0x149),function(_0x3c67a8){_0x4afb87&&_0x4afb87(_0x3c67a8);}),_0x4c6d51[_0x4f1331(0x13f)](_0x2a56d4);},exports['DeepScanner']=(_0x1c89a8,_0x568a48)=>{const _0x2a3b1c=a18_0x168889,_0x21c9c8=this,_0x11c66f=fs[_0x2a3b1c(0x143)](_0x1c89a8);_0x11c66f[_0x2a3b1c(0x138)](_0x12aef0=>{const _0xe20519=_0x2a3b1c,_0x295289=_0x1c89a8+'/'+_0x12aef0,_0x4ab20d=fs['statSync'](_0x295289);_0x4ab20d[_0xe20519(0x13d)]()?_0x21c9c8[_0xe20519(0x13b)](_0x295289,_0x568a48):_0x568a48[_0xe20519(0x134)](_0x295289);});},exports['CreatePaths']=(_0x5cb6a1,_0x39e80c)=>{return new Promise(_0xbed485=>{const _0x4fb9d5=a18_0x202f,_0x268bed=[];_0x39e80c[_0x4fb9d5(0x138)]((_0x3fb933,_0x509691)=>{const _0x3c285d=_0x4fb9d5,_0x2d3af9=_0x5cb6a1+'/'+_0x268bed['join']('/')+'/'+_0x3fb933;try{const _0x2ce166=fs[_0x3c285d(0x137)](_0x2d3af9);_0x2ce166['isDirectory']()?_0x509691===_0x39e80c['length']-0x1&&_0xbed485():(fs[_0x3c285d(0x14e)](_0x2d3af9),_0x509691===_0x39e80c['length']-0x1&&_0xbed485());}catch(_0x2ffa01){fs['mkdirSync'](_0x2d3af9),_0x509691===_0x39e80c[_0x3c285d(0x14f)]-0x1&&_0xbed485();}_0x268bed['push'](_0x3fb933);});});};function a18_0x122e(){const _0x245f38=['readdirSync','stat','join','5854435fMdqZC','log','createReadStream','close','3221853ZZqacc','rmdirSync','error','CopyFile','mkdirSync','length','push','7085430jYfJuW','CopyFolder','statSync','forEach','DeleteDirAllFile','existsSync','DeepScanner','write\x20error','isDirectory','3831793FUtDIl','pipe','734130RJWnrg','482153NoWIBQ','4384956YBldyt'];a18_0x122e=function(){return _0x245f38;};return a18_0x122e();}