jjb-cmd 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.4</p>
6
+ <div>修复问题</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.3</p>
6
10
  <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.4",
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_0x90affe=a0_0xb055;(function(_0xa26385,_0x4a139a){const _0x1c4695=a0_0xb055,_0x56ee9a=_0xa26385();while(!![]){try{const _0x39236c=parseInt(_0x1c4695(0x176))/0x1*(parseInt(_0x1c4695(0x171))/0x2)+-parseInt(_0x1c4695(0x179))/0x3*(parseInt(_0x1c4695(0x167))/0x4)+parseInt(_0x1c4695(0x16b))/0x5+parseInt(_0x1c4695(0x177))/0x6*(parseInt(_0x1c4695(0x172))/0x7)+-parseInt(_0x1c4695(0x16e))/0x8*(parseInt(_0x1c4695(0x15d))/0x9)+-parseInt(_0x1c4695(0x17f))/0xa*(parseInt(_0x1c4695(0x15a))/0xb)+parseInt(_0x1c4695(0x15f))/0xc;if(_0x39236c===_0x4a139a)break;else _0x56ee9a['push'](_0x56ee9a['shift']());}catch(_0x5cc3cd){_0x56ee9a['push'](_0x56ee9a['shift']());}}}(a0_0xfaeb,0x3de83));const path=require('path'),{f_file_copy}=require(a0_0x90affe(0x15c)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a0_0x90affe(0x15b)),fs=require('fs'),os=require('os'),utils=require(a0_0x90affe(0x17c)),request=require(a0_0x90affe(0x166)),compressing=require('compressing');function a0_0xb055(_0x4f5229,_0x1ce53e){const _0xfaeb92=a0_0xfaeb();return a0_0xb055=function(_0xb0552a,_0x1d8f78){_0xb0552a=_0xb0552a-0x15a;let _0x52deba=_0xfaeb92[_0xb0552a];return _0x52deba;},a0_0xb055(_0x4f5229,_0x1ce53e);}module['exports']=_0x4cf79d=>{const _0x311caf=a0_0x90affe,_0xd22be8=path[_0x311caf(0x180)]('./'),_0x2438ac=CLOUD_PROJECT[_0x4cf79d]||undefined;if(_0x2438ac){const _0x53b612=os[_0x311caf(0x178)](),_0x4e4c9d=_0x53b612+'/'+GIT_TEMP_DIR+'/'+_0x4cf79d+_0x311caf(0x173),_0x33472d=_0x53b612+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x311caf(0x16d)](_0x53b612+'/'+GIT_TEMP_DIR,()=>{const _0x1d3dbf=_0x311caf;fs[_0x1d3dbf(0x15e)](_0x53b612+'/'+GIT_TEMP_DIR);let _0x4b6fc3=fs[_0x1d3dbf(0x169)](_0x4e4c9d);request(GIT_HOST+_0x1d3dbf(0x17a)+_0x2438ac[_0x1d3dbf(0x16c)]+_0x1d3dbf(0x17d)+_0x2438ac[_0x1d3dbf(0x170)]+_0x1d3dbf(0x160))[_0x1d3dbf(0x168)](_0x4b6fc3)['on'](_0x1d3dbf(0x16f),()=>{const _0x308bf4=_0x1d3dbf;fs[_0x308bf4(0x15e)](_0x33472d),compressing[_0x308bf4(0x165)][_0x308bf4(0x161)](_0x4e4c9d,_0x33472d)[_0x308bf4(0x174)](()=>{setTimeout(()=>{const _0x2ec4cc=a0_0xb055;fs['readdirSync'](_0x33472d)[_0x2ec4cc(0x164)](_0x2416a1=>{const _0x4f4d3a=_0x2ec4cc;_0x2416a1['indexOf'](_0x4f4d3a(0x162))!==-0x1&&utils['CopyFolder'](_0x33472d+_0x2416a1,_0xd22be8,()=>{const _0xef8b6d=_0x4f4d3a;console['log'](_0xef8b6d(0x17e)),process[_0xef8b6d(0x175)](0x0);});});},0x7d0);});});});}else console[_0x311caf(0x163)](_0x311caf(0x16a)+_0x4cf79d+_0x311caf(0x17b));};function a0_0xfaeb(){const _0xc8ee70=['-master-','log','forEach','zip','request','268lWtYtg','pipe','createWriteStream','【Error】:初始化失败,','1853985dInEba','projectId','DeleteDirAllFile','353032VDsbEB','close','token','2rFOQJZ','45605sZmKsT','.zip','then','exit','352745IzjRcq','24zkfLfB','tmpdir','16833oNnkFb','/api/v4/projects/','不存在。','../../old/util','/repository/archive.zip?private_token=','初始化完成!','80RXYAwm','resolve','10054EmAPMF','../cmd.install/config','../cmd.install/tools','36mBZOTh','mkdirSync','764808SdYjbE','&ref=master','uncompress'];a0_0xfaeb=function(){return _0xc8ee70;};return a0_0xfaeb();}
@@ -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
+ function a1_0xee07(_0x1a35a2,_0xf18e8e){const _0x3cf6e9=a1_0x3cf6();return a1_0xee07=function(_0xee0728,_0x436e64){_0xee0728=_0xee0728-0x163;let _0x59c378=_0x3cf6e9[_0xee0728];return _0x59c378;},a1_0xee07(_0x1a35a2,_0xf18e8e);}const a1_0x506265=a1_0xee07;function a1_0x3cf6(){const _0x1929a2=['hLqARY89CN6fUD3yg4NL','CLOUD_PROJECT','56zYiqVs','TEMPLATE_FOLDER','tmpdir','GIT_HOST','66023bXZXpn','GIT_TEMP_JAVA','ywPtT3xCG6b_vAxp6sTj','http://192.168.1.242:10985','11xIuskC','GIT_TEMP_DIR','4EUFvwE','494072alFFYB','prod','e9njpBd1nS_LREN8GFpR','2003860VoowwH','FT3pKzxpRynFkmddJ9Bs','101250hchBJx','GIT_JAVA_ENV_JSON','jjb-assembly-java','1214979WZywlC','d4wQ7dzEjYPsgVbKnYei','70jHIpcp','838524YTGxQH','36DSspQF','35348222UXkwIz','12AWPFBg','snBxJ2i5kYarGGcsojhY','dev'];a1_0x3cf6=function(){return _0x1929a2;};return a1_0x3cf6();}(function(_0x5ae943,_0x54a8c9){const _0xdf0f82=a1_0xee07,_0x280b5f=_0x5ae943();while(!![]){try{const _0xb72b6d=parseInt(_0xdf0f82(0x16c))/0x1*(-parseInt(_0xdf0f82(0x163))/0x2)+-parseInt(_0xdf0f82(0x17b))/0x3*(parseInt(_0xdf0f82(0x172))/0x4)+parseInt(_0xdf0f82(0x17d))/0x5*(-parseInt(_0xdf0f82(0x178))/0x6)+-parseInt(_0xdf0f82(0x168))/0x7*(parseInt(_0xdf0f82(0x173))/0x8)+-parseInt(_0xdf0f82(0x17f))/0x9*(parseInt(_0xdf0f82(0x176))/0xa)+-parseInt(_0xdf0f82(0x170))/0xb*(-parseInt(_0xdf0f82(0x17e))/0xc)+parseInt(_0xdf0f82(0x180))/0xd;if(_0xb72b6d===_0x54a8c9)break;else _0x280b5f['push'](_0x280b5f['shift']());}catch(_0x3536f7){_0x280b5f['push'](_0x280b5f['shift']());}}}(a1_0x3cf6,0x6f526));const os=require('os');exports[a1_0x506265(0x16b)]=a1_0x506265(0x16f),exports[a1_0x506265(0x171)]='jjb-assembly-'+Date['now'](),exports[a1_0x506265(0x16d)]=a1_0x506265(0x17a),exports[a1_0x506265(0x179)]={'development':a1_0x506265(0x165),'production':a1_0x506265(0x174),'test':'test'},exports[a1_0x506265(0x167)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a1_0x506265(0x177),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x506265(0x166),'projectId':0x23b},'jjb-common-lib':{'token':a1_0x506265(0x175),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a1_0x506265(0x17c),'projectId':0x153},'react-component':{'token':a1_0x506265(0x164),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a1_0x506265(0x16e),'projectId':0x33c}},exports[a1_0x506265(0x169)]=os[a1_0x506265(0x16a)]()+'\x5c'+exports[a1_0x506265(0x171)];
@@ -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
+ const a2_0x5b6aea=a2_0x151e;(function(_0x52c6b2,_0x4e0ac4){const _0x3ebccb=a2_0x151e,_0x4d2fb2=_0x52c6b2();while(!![]){try{const _0x4389bf=parseInt(_0x3ebccb(0x19f))/0x1+parseInt(_0x3ebccb(0x198))/0x2*(parseInt(_0x3ebccb(0x19b))/0x3)+parseInt(_0x3ebccb(0x199))/0x4+-parseInt(_0x3ebccb(0x19d))/0x5*(-parseInt(_0x3ebccb(0x1a6))/0x6)+parseInt(_0x3ebccb(0x1b0))/0x7*(parseInt(_0x3ebccb(0x196))/0x8)+-parseInt(_0x3ebccb(0x1b6))/0x9+parseInt(_0x3ebccb(0x1ad))/0xa*(-parseInt(_0x3ebccb(0x191))/0xb);if(_0x4389bf===_0x4e0ac4)break;else _0x4d2fb2['push'](_0x4d2fb2['shift']());}catch(_0x4ae679){_0x4d2fb2['push'](_0x4d2fb2['shift']());}}}(a2_0x1670,0x462fb));const fs=require('fs'),path=require(a2_0x5b6aea(0x1c2)),request=require(a2_0x5b6aea(0x1be)),compressing=require(a2_0x5b6aea(0x1a5)),{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_0x5b6aea(0x1aa)),{TEMPLATE_FOLDER}=require('./config'),start_time=Date['now']();function a2_0x151e(_0x483fc5,_0x4ddc0d){const _0x167011=a2_0x1670();return a2_0x151e=function(_0x151e14,_0x10ddc0){_0x151e14=_0x151e14-0x18f;let _0xfa9275=_0x167011[_0x151e14];return _0xfa9275;},a2_0x151e(_0x483fc5,_0x4ddc0d);}function a2_0x1670(){const _0xfe31ad=['.gitignore','pure_name','unlinkSync','compressing','6gJSkql','find','\x5ctypes','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','./tools','rmdirSync','mkdirSync','30qWwWAD','readdirSync','existsSync','7SIEnkM','push','installTarget','forEach','_zip','.idea','2703303POglJK','uncompress','close','join','src\x5c','setting.json','installResources','package.json','request','log','1.0.0','map','path','now','【Error】:安装失败,node_modules目录不存在。','length','index.js','includes','name','filter','2044405MzKPIS','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','createWriteStream','replace','compress','940784VhdYwS','resolve','834710FEZeMi','2112440CFOhhh','node_modules','3JciOxl','exit','44210DVgpeD','repository','73510fkYfHM','exports','【Error】:安装失败,src目录不存在。'];a2_0x1670=function(){return _0xfe31ad;};return a2_0x1670();}module[a2_0x5b6aea(0x1a0)]=()=>{const _0x45cd9f=a2_0x5b6aea,_0x4931bb=path[_0x45cd9f(0x197)]('./'),_0x2343a6=[_0x4931bb,_0x45cd9f(0x1ba)][_0x45cd9f(0x1b9)]('\x5c'),_0x226670=[_0x4931bb,_0x45cd9f(0x19a)][_0x45cd9f(0x1b9)]('\x5c'),_0x3083cf=[_0x4931bb,_0x45cd9f(0x1bd)][_0x45cd9f(0x1b9)]('\x5c');if(f_scan_jjb_config_json(_0x4931bb)){const _0x319648=f_scan_jjb_config_json_rules(_0x4931bb);_0x319648[_0x45cd9f(0x1b2)]==='node_modules'?!fs['existsSync'](_0x226670)?(console[_0x45cd9f(0x1bf)](_0x45cd9f(0x1c4)),process[_0x45cd9f(0x19c)](0x0)):console[_0x45cd9f(0x1bf)](_0x45cd9f(0x1a9)):!fs[_0x45cd9f(0x1af)](_0x2343a6)&&(console[_0x45cd9f(0x1bf)](_0x45cd9f(0x1a1)),process[_0x45cd9f(0x19c)](0x0));fs[_0x45cd9f(0x1ac)](TEMPLATE_FOLDER),f_pull_git_repository(_0x319648[_0x45cd9f(0x1bc)])['map'](_0x599949=>{const _0x1820eb=_0x45cd9f,_0x519482=fs[_0x1820eb(0x193)](_0x599949[_0x1820eb(0x1c2)]);request(_0x599949[_0x1820eb(0x19e)])['pipe'](_0x519482)['on'](_0x1820eb(0x1b8),()=>{const _0xfb17ea=_0x1820eb;fs[_0xfb17ea(0x1ac)](_0x599949[_0xfb17ea(0x195)]),compressing['zip'][_0xfb17ea(0x1b7)](_0x599949['path'],_0x599949[_0xfb17ea(0x195)]);});});const _0x275431=setInterval(()=>{const _0x356e4f=_0x45cd9f,_0x151a62=fs['readdirSync'](TEMPLATE_FOLDER),_0x264f25=_0x151a62['filter'](_0x33e6c3=>_0x319648[_0x356e4f(0x1bc)][_0x356e4f(0x1c1)](_0x186ae7=>_0x186ae7[_0x356e4f(0x18f)]+_0x356e4f(0x1b4))[_0x356e4f(0x1c7)](_0x33e6c3));if(_0x264f25[_0x356e4f(0x1c5)]===_0x319648[_0x356e4f(0x1bc)][_0x356e4f(0x1c5)]){clearInterval(_0x275431);const _0x24a6e2=[];_0x264f25[_0x356e4f(0x1b3)](_0x22e9c1=>{const _0xf0d240=_0x356e4f,_0x20929f=[TEMPLATE_FOLDER,_0x22e9c1]['join']('\x5c');fs['readdirSync'](_0x20929f)[_0xf0d240(0x1b3)](_0x5e8625=>_0x24a6e2[_0xf0d240(0x1b1)]({'name':_0x22e9c1,'path':[_0x20929f,_0x5e8625]['join']('\x5c'),'pure_name':_0x22e9c1[_0xf0d240(0x194)](/_zip$/,''),'import_list':_0x319648[_0xf0d240(0x1bc)][_0xf0d240(0x1a7)](_0x323b90=>_0x323b90[_0xf0d240(0x18f)]+_0xf0d240(0x1b4)===_0x22e9c1)['importList']}));}),_0x24a6e2['forEach'](_0x4a55d0=>{const _0x2adce8=_0x356e4f,_0x475125=_0x4a55d0[_0x2adce8(0x1a3)],_0x30f081=_0x4a55d0['import_list'],_0x52c23f=[_0x4a55d0[_0x2adce8(0x1c2)],_0x2adce8(0x1b5)][_0x2adce8(0x1b9)]('//'),_0xfd006b=[_0x4a55d0[_0x2adce8(0x1c2)],_0x2adce8(0x1a2)][_0x2adce8(0x1b9)]('//');fs[_0x2adce8(0x1af)](_0x52c23f)&&(f_rm_rf(_0x52c23f),fs['rmdirSync'](_0x52c23f));fs[_0x2adce8(0x1af)](_0xfd006b)&&fs[_0x2adce8(0x1a4)](_0xfd006b);_0x30f081[_0x2adce8(0x1c5)]&&fs[_0x2adce8(0x1ae)](_0x4a55d0[_0x2adce8(0x1c2)])[_0x2adce8(0x190)](_0x122d7c=>!_0x30f081[_0x2adce8(0x1c7)](_0x122d7c)&&_0x122d7c!==_0x2adce8(0x1c6)&&_0x122d7c!==_0x2adce8(0x1bb))[_0x2adce8(0x1b3)](_0x10e0a2=>{const _0x456e5b=_0x2adce8,_0x25a118=_0x4a55d0['path']+'\x5c'+_0x10e0a2;f_rm_rf(_0x25a118),fs[_0x456e5b(0x1ab)](_0x25a118);});if(_0x319648['installTarget']===_0x2adce8(0x19a)){const _0x14ec3c=_0x475125;fs['existsSync'](_0x226670+'\x5c'+_0x14ec3c)?f_rm_rf(_0x226670+'\x5c'+_0x14ec3c):fs['mkdirSync'](_0x226670+'\x5c'+_0x14ec3c),_0x14ec3c!=='jjb-common-lib'?(f_file_copy(_0x4a55d0[_0x2adce8(0x1c2)],_0x226670+'\x5c'+_0x14ec3c),f_create_package_json(_0x226670+'\x5c'+_0x14ec3c,_0x14ec3c,_0x2adce8(0x1c0))):f_file_copy(_0x4a55d0[_0x2adce8(0x1c2)]+_0x2adce8(0x1a8),_0x226670+'\x5c'+_0x14ec3c),f_update_project_package_json(_0x3083cf,_0x14ec3c,_0x2adce8(0x1c0));}else _0x319648['installTarget']==='src'&&(fs[_0x2adce8(0x1af)](_0x2343a6+_0x475125)?f_rm_rf(_0x2343a6+_0x475125):fs[_0x2adce8(0x1ac)](_0x2343a6+_0x475125),f_file_copy(_0x4a55d0[_0x2adce8(0x1c2)],_0x2343a6+_0x475125));}),setTimeout(()=>{const _0x1a742c=_0x356e4f;f_rm_rf(TEMPLATE_FOLDER),fs[_0x1a742c(0x1ab)](TEMPLATE_FOLDER);const _0x47834d=Date[_0x1a742c(0x1c3)]();console['log']('【jjb-cmd】:install命令执行完成,用时'+(_0x47834d-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x45cd9f(0x1bf)](_0x45cd9f(0x192));};
@@ -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_0x78e955=a3_0xc5da;(function(_0x33cf8c,_0x6bb7b7){const _0x427260=a3_0xc5da,_0x43074a=_0x33cf8c();while(!![]){try{const _0x220ba6=-parseInt(_0x427260(0x1f4))/0x1*(-parseInt(_0x427260(0x1f9))/0x2)+-parseInt(_0x427260(0x207))/0x3+-parseInt(_0x427260(0x1e4))/0x4+-parseInt(_0x427260(0x208))/0x5*(parseInt(_0x427260(0x1f7))/0x6)+-parseInt(_0x427260(0x1f6))/0x7*(parseInt(_0x427260(0x1e2))/0x8)+-parseInt(_0x427260(0x1ef))/0x9+parseInt(_0x427260(0x218))/0xa;if(_0x220ba6===_0x6bb7b7)break;else _0x43074a['push'](_0x43074a['shift']());}catch(_0x58cd83){_0x43074a['push'](_0x43074a['shift']());}}}(a3_0x5537,0x56500));function a3_0x5537(){const _0x3fc040=['f_resolve_install_resources','spa','path','rmdirSync','5304267hfdmxh','f_file_copy','toString','f_content_replace','filter','5739TwVjrC','push','406oNXDrO','6tOBzQm','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','42mJVhaz','length','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','src','【Error】:[jjb.config.json.projectType]类型是一个string。','multi','log','{\x22name\x22:\x22','_zip','f_rm_rf','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_scan_jjb_config_json','parse','uniapp','151770IDlJMM','2894485JqPItH','.zip','installTarget','dependencies','forEach','name','jjb-common','./config','【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>。','existsSync','\x22,\x22main\x22:\x20\x22index.js\x22}','statSync','f_update_project_package_json','tmpdir','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','isDirectory','23600320WfZjZE','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','\x5cjjb.config.json','micro-spa','jjb-common-decorator','token','&ref=master','writeFileSync','stringify','exit','readFileSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','replace','isArray','jjb-common-lib','installResources','projectId','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','53032LLQAlx','map','2094732NJLMKy','string','readdirSync','f_create_package_json','projectType','includes','f_scan_jjb_config_json_rules'];a3_0x5537=function(){return _0x3fc040;};return a3_0x5537();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x78e955(0x20f));function a3_0xc5da(_0x58d2e4,_0x566c04){const _0x5537a8=a3_0x5537();return a3_0xc5da=function(_0xc5dad3,_0x13a4ec){_0xc5dad3=_0xc5dad3-0x1d6;let _0x481399=_0x5537a8[_0xc5dad3];return _0x481399;},a3_0xc5da(_0x58d2e4,_0x566c04);}exports[a3_0x78e955(0x202)]=function(_0x36ec30){const _0x5db479=a3_0x78e955;if(fs[_0x5db479(0x211)](_0x36ec30)){const _0x39ee76=fs[_0x5db479(0x1e6)](_0x36ec30);for(let _0x3e0f92=0x0;_0x3e0f92<_0x39ee76['length'];_0x3e0f92++){const _0x538c3a=_0x39ee76[_0x3e0f92],_0x3c6593=_0x36ec30+'/'+_0x538c3a;fs[_0x5db479(0x213)](_0x3c6593)['isDirectory']()?(exports['f_rm_rf'](_0x3c6593),fs[_0x5db479(0x1ee)](_0x3c6593)):fs['unlinkSync'](_0x3c6593);}}},exports['f_pull_git_repository']=function(_0x1a5fa2=[]){const _0x4b0cb3=a3_0x78e955;return _0x1a5fa2[_0x4b0cb3(0x1e3)](_0x1606f9=>{const _0x3cddd5=_0x4b0cb3,_0x18ab6d=CLOUD_PROJECT[_0x1606f9[_0x3cddd5(0x20d)]]||undefined,_0x3c761e=os[_0x3cddd5(0x215)]();return{'path':_0x3c761e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1606f9[_0x3cddd5(0x20d)]+_0x3cddd5(0x209),'compress':_0x3c761e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1606f9[_0x3cddd5(0x20d)]+_0x3cddd5(0x201),'repository':GIT_HOST+'/api/v4/projects/'+_0x18ab6d[_0x3cddd5(0x1e0)]+'/repository/archive.zip?private_token='+_0x18ab6d[_0x3cddd5(0x21d)]+_0x3cddd5(0x1d6)};});},exports[a3_0x78e955(0x204)]=function(_0x5b391c){const _0x6b77e0=a3_0x78e955;return fs[_0x6b77e0(0x211)](_0x5b391c+'\x5cjjb.config.json');},exports[a3_0x78e955(0x1ea)]=function(_0x767389){const _0x42033a=a3_0x78e955;let _0x2fe7bd={};try{_0x2fe7bd=JSON['parse'](fs[_0x42033a(0x1da)](_0x767389+_0x42033a(0x21a))['toString']());}catch(_0x264115){console[_0x42033a(0x1ff)](_0x42033a(0x1e1)),process[_0x42033a(0x1d9)](0x0);}!(_0x42033a(0x1e8)in _0x2fe7bd)&&(console[_0x42033a(0x1ff)](_0x42033a(0x1db)),process[_0x42033a(0x1d9)](0x0));!(_0x42033a(0x20a)in _0x2fe7bd)&&(console[_0x42033a(0x1ff)](_0x42033a(0x203)),process[_0x42033a(0x1d9)](0x0));!(_0x42033a(0x1df)in _0x2fe7bd)&&(console[_0x42033a(0x1ff)](_0x42033a(0x219)),process[_0x42033a(0x1d9)](0x0));typeof _0x2fe7bd['projectType']!==_0x42033a(0x1e5)&&(console[_0x42033a(0x1ff)](_0x42033a(0x1fd)),process[_0x42033a(0x1d9)](0x0));![_0x42033a(0x1fe),_0x42033a(0x1ec),_0x42033a(0x206),_0x42033a(0x21b)][_0x42033a(0x1e9)](_0x2fe7bd['projectType'])&&(console[_0x42033a(0x1ff)](_0x42033a(0x216)),process[_0x42033a(0x1d9)](0x0));typeof _0x2fe7bd['installTarget']!==_0x42033a(0x1e5)&&(console[_0x42033a(0x1ff)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x42033a(0x1d9)](0x0));!['node_modules',_0x42033a(0x1fc)][_0x42033a(0x1e9)](_0x2fe7bd['installTarget'])&&(console[_0x42033a(0x1ff)](_0x42033a(0x1fb)),process[_0x42033a(0x1d9)](0x0));!Array['isArray'](_0x2fe7bd[_0x42033a(0x1df)])&&(console['log'](_0x42033a(0x1f8)),process['exit'](0x0));_0x2fe7bd['installResources'][_0x42033a(0x1fa)]===0x0&&(console[_0x42033a(0x1ff)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x42033a(0x1d9)](0x0));const _0x5ad0e8=exports[_0x42033a(0x1eb)](_0x2fe7bd[_0x42033a(0x1df)]);return _0x5ad0e8[_0x42033a(0x1e3)](_0x341204=>_0x341204[_0x42033a(0x20d)])[_0x42033a(0x1f3)](_0x45c0f8=>![_0x42033a(0x20e),'jjb-dva-runtime',_0x42033a(0x1de),_0x42033a(0x21c),'react-admin-component','vue-unisass-component'][_0x42033a(0x1e9)](_0x45c0f8))[_0x42033a(0x1fa)]!==0x0&&(console['log'](_0x42033a(0x210)),process['exit'](0x0)),_0x2fe7bd['installResources']=_0x5ad0e8,_0x2fe7bd;},exports[a3_0x78e955(0x1e7)]=function(_0x4230c5,_0x5b4709,_0x5b1eef){const _0x2cd2d6=a3_0x78e955;fs[_0x2cd2d6(0x1d7)](_0x4230c5+'\x5cpackage.json',_0x2cd2d6(0x200)+_0x5b4709+'\x22,\x22version\x22:\x22'+_0x5b1eef+_0x2cd2d6(0x212));},exports[a3_0x78e955(0x1eb)]=function(_0x2424db=[]){const _0x22d5ca=a3_0x78e955,_0x3c3cc7=[];return Array[_0x22d5ca(0x1dd)](_0x2424db)&&_0x2424db[_0x22d5ca(0x20c)](_0x52f510=>{const _0x47f16c=_0x22d5ca;if(Array['isArray'](_0x52f510)){const [_0xd49174,_0x1292da=[]]=_0x52f510;_0x3c3cc7[_0x47f16c(0x1f5)]({'name':_0xd49174,'importList':_0x1292da});}else _0x3c3cc7[_0x47f16c(0x1f5)]({'name':_0x52f510,'importList':[]});}),_0x3c3cc7;},exports[a3_0x78e955(0x214)]=function(_0x3c204b,_0x3dd378,_0x265fb6){const _0xc2da3e=a3_0x78e955,_0x2ec227=JSON[_0xc2da3e(0x205)](fs[_0xc2da3e(0x1da)](_0x3c204b)[_0xc2da3e(0x1f1)]());_0x2ec227[_0xc2da3e(0x20b)][_0x3dd378]=_0x265fb6,fs[_0xc2da3e(0x1d7)](_0x3c204b,JSON[_0xc2da3e(0x1d8)](_0x2ec227,null,0x2));},exports[a3_0x78e955(0x1f0)]=function(_0x57c1c0,_0x12c3a9){const _0x15250b=a3_0x78e955;fs[_0x15250b(0x1e6)](_0x57c1c0)[_0x15250b(0x20c)](_0x2949f4=>{const _0x42b069=_0x15250b,_0x18e885=_0x57c1c0+'\x5c'+_0x2949f4,_0x32e0b5=_0x12c3a9+'\x5c'+_0x2949f4;fs[_0x42b069(0x213)](_0x18e885)[_0x42b069(0x217)]()?(fs['mkdirSync'](_0x32e0b5),exports[_0x42b069(0x1f0)](_0x18e885,_0x32e0b5)):fs[_0x42b069(0x1d7)](_0x32e0b5,fs[_0x42b069(0x1da)](_0x18e885)[_0x42b069(0x1f1)]());});},exports[a3_0x78e955(0x1f2)]=function(_0x1b9185=[],_0x49268b){_0x1b9185['forEach'](_0x2dd480=>{const _0x4ab6cb=a3_0xc5da,_0x21b619=_0x49268b+_0x2dd480[_0x4ab6cb(0x1ed)];if(fs[_0x4ab6cb(0x211)](_0x21b619)){let _0x28f659=fs['readFileSync'](_0x21b619)[_0x4ab6cb(0x1f1)]();_0x2dd480['replace']['forEach'](_0x2fad33=>{const _0x3fa2e5=_0x4ab6cb;_0x28f659=_0x28f659[_0x3fa2e5(0x1dc)](_0x2fad33[0x0],_0x2fad33[0x1]);}),fs[_0x4ab6cb(0x1d7)](_0x21b619,_0x28f659);}});};
@@ -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_0x1c60(_0x23cd1c,_0x99951e){const _0xaa3715=a4_0xaa37();return a4_0x1c60=function(_0x1c6045,_0x496218){_0x1c6045=_0x1c6045-0xc2;let _0x277d57=_0xaa3715[_0x1c6045];return _0x277d57;},a4_0x1c60(_0x23cd1c,_0x99951e);}const a4_0x2d8deb=a4_0x1c60;function a4_0xaa37(){const _0x1ca01a=['93AvmztK','22FFcwln','join','existsSync','5WqUgLd','49816657cxSfUl','12702501YItVzT','\x5cdist\x5cindex.js','2091712tHukdW','1169413rYvnZB','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','arch','path','catch','发布失败!根目录缺少‘package.json’文件,无法完成发布。','exports','message','then','stringify','83451RdQfqL','44268XxhQOk','axios','7390266YDRbfV','网络异常。','exit','readFileSync','data','hostname','resolve','10YlCSdF','log','toString'];a4_0xaa37=function(){return _0x1ca01a;};return a4_0xaa37();}(function(_0x23e165,_0x5848da){const _0x36b028=a4_0x1c60,_0x4938f4=_0x23e165();while(!![]){try{const _0x36b561=-parseInt(_0x36b028(0xd6))/0x1*(parseInt(_0x36b028(0xc4))/0x2)+-parseInt(_0x36b028(0xc3))/0x3*(parseInt(_0x36b028(0xd7))/0x4)+-parseInt(_0x36b028(0xc7))/0x5*(parseInt(_0x36b028(0xd9))/0x6)+-parseInt(_0x36b028(0xcc))/0x7+parseInt(_0x36b028(0xcb))/0x8+-parseInt(_0x36b028(0xc9))/0x9+parseInt(_0x36b028(0xe0))/0xa*(parseInt(_0x36b028(0xc8))/0xb);if(_0x36b561===_0x5848da)break;else _0x4938f4['push'](_0x4938f4['shift']());}catch(_0x58ab10){_0x4938f4['push'](_0x4938f4['shift']());}}}(a4_0xaa37,0xaf8ce));const path=require(a4_0x2d8deb(0xcf)),fs=require('fs'),os=require('os'),axios=require(a4_0x2d8deb(0xd8));module[a4_0x2d8deb(0xd2)]=_0x59b27f=>{const _0x46f0f0=a4_0x2d8deb,_0x50251d=path[_0x46f0f0(0xdf)]('./'),_0x1b6d16=_0x50251d+_0x46f0f0(0xca),_0x265ebd=_0x50251d+'\x5cpackage.json',_0x3bb70d=[os[_0x46f0f0(0xde)](),os['platform'](),os[_0x46f0f0(0xce)](),new Date()[_0x46f0f0(0xc2)](),JSON[_0x46f0f0(0xd5)](os['networkInterfaces'](),null,'\x09')][_0x46f0f0(0xc5)]('\x0a');if(fs[_0x46f0f0(0xc6)](_0x265ebd)){if(fs['existsSync'](_0x1b6d16)){const _0x35d930=JSON['parse'](fs[_0x46f0f0(0xdc)](_0x265ebd)[_0x46f0f0(0xc2)]()),{name:_0x3303ca,version:_0x52e303}=_0x35d930;axios['post']('http://120.26.210.58:8088/api/file/push',{'log_text':_0x3bb70d,'package_name':_0x3303ca,'package_version':_0x59b27f?_0x59b27f:_0x52e303,'package_content':fs[_0x46f0f0(0xdc)](_0x1b6d16)[_0x46f0f0(0xc2)]()})[_0x46f0f0(0xd4)](_0x49fdf1=>{const _0xf239d3=_0x46f0f0;console[_0xf239d3(0xe1)](_0x49fdf1[_0xf239d3(0xdd)][_0xf239d3(0xd3)]),process[_0xf239d3(0xdb)](0x0);})[_0x46f0f0(0xd0)](_0x2b3336=>{const _0x3f2b02=_0x46f0f0;console[_0x3f2b02(0xe1)](_0x2b3336),console[_0x3f2b02(0xe1)](_0x3f2b02(0xda)),process[_0x3f2b02(0xdb)](0x0);});}else console['log'](_0x46f0f0(0xcd)),process[_0x46f0f0(0xdb)](0x0);}else console[_0x46f0f0(0xe1)](_0x46f0f0(0xd1)),process['exit'](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\x20Done,yarn\x20install\x20project,please\x20wait...','Git\x20Push\x20Done!','【Error】:打包失败,没有dist目录!','exit','Git\x20Add\x20Done,git\x20commit,please\x20wait...','log','\x20--no-verify','parse','../../old/util','git\x20push\x20-f','resolve','/node_modules','yarn\x20install\x20Done!','【Error】:参数传递错误','existsSync','\x5cdist','gitName','10152EpYxKc','git\x20pull','Git\x20Pull\x20Done,yarn\x20build:','../cmd.install/config','10ZfXkFN','toString','readFileSync','14034VCvfnV','path','child_process','execSync','2115cbqSFF','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','Git\x20Commit\x20Done,git\x20push,please\x20wait...','exports','415673TRhMCB','25179VTKizF','length','250306xzPVNp','git\x20add\x20.','1113690ARmPor'];a5_0x1457=function(){return _0x3f82c5;};return a5_0x1457();}const fs=require('fs'),os=require('os'),path=require(a5_0x4ee469(0x158)),child_process=require(a5_0x4ee469(0x159)),{CopyFolder,DeleteDirAllFile}=require(a5_0x4ee469(0x147)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x4ee469(0x153));function a5_0x3a0d(_0x33d0db,_0x3eabdf){const _0x1457d0=a5_0x1457();return a5_0x3a0d=function(_0x3a0d40,_0x3f89ff){_0x3a0d40=_0x3a0d40-0x140;let _0xee7f66=_0x1457d0[_0x3a0d40];return _0xee7f66;},a5_0x3a0d(_0x33d0db,_0x3eabdf);}module[a5_0x4ee469(0x15e)]=arguments=>{const _0x29fb20=a5_0x4ee469;arguments[_0x29fb20(0x161)]<0x2&&(console[_0x29fb20(0x144)](_0x29fb20(0x14c)),process[_0x29fb20(0x142)](0x0));const _0x22a01b=arguments[0x1],_0x3c75cb=arguments[0x2]||'no\x20message',_0x284e46=path[_0x29fb20(0x149)]('./'),_0x2a9fbd=_0x284e46+'\x5cjjb.config.json',_0x3a41f8=_0x284e46+_0x29fb20(0x14e),_0x4acecd=os['tmpdir']();if(fs[_0x29fb20(0x14d)](_0x2a9fbd)){const _0x35f4b9=JSON[_0x29fb20(0x146)](fs[_0x29fb20(0x156)](_0x2a9fbd)[_0x29fb20(0x155)]());if(_0x35f4b9['git']){const _0x2c346d=_0x4acecd+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x2c346d)&&(fs['mkdirSync'](_0x2c346d),child_process['execSync']('git\x20clone\x20http://192.168.1.242:10985/jjb/dragon/v1/web/base-app.git',{'cwd':_0x2c346d})),_0x34beb0(_0x2c346d,_0x35f4b9);}}function _0x34beb0(_0x35d5a3,_0x4c16e7){const _0x4762fe=_0x29fb20;child_process[_0x4762fe(0x15a)](_0x4762fe(0x151));!fs[_0x4762fe(0x14d)](_0x284e46+_0x4762fe(0x14a))?(console[_0x4762fe(0x144)](_0x4762fe(0x169)),child_process['execSync'](_0x4762fe(0x167),{'cwd':_0x284e46}),console[_0x4762fe(0x144)](_0x4762fe(0x14b))):console['log'](_0x4762fe(0x152)+_0x22a01b+',please\x20wait...');child_process[_0x4762fe(0x15a)]('yarn\x20build:'+_0x22a01b,{'cwd':_0x284e46}),console[_0x4762fe(0x144)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4762fe(0x14d)](_0x3a41f8)){const _0x1174c3=_0x35d5a3+'/'+_0x4c16e7[_0x4762fe(0x14f)],_0x265260=_0x1174c3+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x22a01b];DeleteDirAllFile(_0x265260,()=>{fs['mkdirSync'](_0x265260),CopyFolder(_0x3a41f8,_0x265260,()=>{const _0x4cb5dc=a5_0x3a0d;console[_0x4cb5dc(0x144)](_0x4cb5dc(0x15c)),setTimeout(()=>{const _0x5ce73d=_0x4cb5dc;child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x163),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x143));try{child_process['execSync']('git\x20commit\x20-m\x20'+_0x3c75cb+_0x5ce73d(0x145),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x15d));}catch(_0x5051d8){console[_0x5ce73d(0x144)](_0x5ce73d(0x165));}child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x148),{'cwd':_0x1174c3}),console[_0x5ce73d(0x144)](_0x5ce73d(0x140));},0x3e8);});});}else console[_0x4762fe(0x144)](_0x4762fe(0x141));}};
1
+ const a5_0x4e1822=a5_0x1af2;(function(_0x442d0a,_0x1da10a){const _0x327187=a5_0x1af2,_0x3a6f28=_0x442d0a();while(!![]){try{const _0x5dada5=-parseInt(_0x327187(0x13b))/0x1*(-parseInt(_0x327187(0x12a))/0x2)+parseInt(_0x327187(0x130))/0x3+parseInt(_0x327187(0x139))/0x4+-parseInt(_0x327187(0x13c))/0x5+-parseInt(_0x327187(0x138))/0x6*(parseInt(_0x327187(0x135))/0x7)+parseInt(_0x327187(0x128))/0x8*(-parseInt(_0x327187(0x117))/0x9)+-parseInt(_0x327187(0x125))/0xa*(-parseInt(_0x327187(0x12f))/0xb);if(_0x5dada5===_0x1da10a)break;else _0x3a6f28['push'](_0x3a6f28['shift']());}catch(_0x404790){_0x3a6f28['push'](_0x3a6f28['shift']());}}}(a5_0x2cb7,0x2b8fd));const fs=require('fs'),os=require('os'),path=require(a5_0x4e1822(0x111)),child_process=require(a5_0x4e1822(0x12c)),{CopyFolder,DeleteDirAllFile}=require(a5_0x4e1822(0x11c)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x4e1822(0x132));module[a5_0x4e1822(0x122)]=arguments=>{const _0x281788=a5_0x4e1822;console[_0x281788(0x11f)](arguments);arguments[_0x281788(0x110)]<0x2&&(console[_0x281788(0x11f)]('【Error】:参数传递错误'),process[_0x281788(0x10f)](0x0));const _0xa39485=arguments[0x1],_0xad61ee=arguments[0x2]||_0x281788(0x119),_0x1b5c94=path[_0x281788(0x13a)]('./'),_0x3380e0=_0x1b5c94+_0x281788(0x116),_0x59f6e3=_0x1b5c94+'\x5cdist',_0x1bd1b5=os[_0x281788(0x12e)]();if(fs['existsSync'](_0x3380e0)){const _0xebc2d=JSON[_0x281788(0x113)](fs[_0x281788(0x123)](_0x3380e0)[_0x281788(0x112)]());if(_0xebc2d[_0x281788(0x134)]){const _0xae796d=_0x1bd1b5+'/'+GIT_TEMP_JAVA;!fs[_0x281788(0x127)](_0xae796d)&&(fs[_0x281788(0x114)](_0xae796d),child_process[_0x281788(0x131)]('git\x20clone\x20'+_0xebc2d[_0x281788(0x134)],{'cwd':_0xae796d})),_0x2aa028(_0xae796d,_0xebc2d);}else console[_0x281788(0x11f)](_0x281788(0x129));}function _0x2aa028(_0x526788,_0x37b77c){const _0x49740e=_0x281788;child_process[_0x49740e(0x131)](_0x49740e(0x115));!fs['existsSync'](_0x1b5c94+_0x49740e(0x121))?(console[_0x49740e(0x11f)](_0x49740e(0x126)),child_process[_0x49740e(0x131)](_0x49740e(0x11e),{'cwd':_0x1b5c94}),console[_0x49740e(0x11f)]('yarn\x20install\x20Done!')):console['log'](_0x49740e(0x120)+_0xa39485+_0x49740e(0x136));child_process[_0x49740e(0x131)](_0x49740e(0x11b)+_0xa39485,{'cwd':_0x1b5c94}),console[_0x49740e(0x11f)](_0x49740e(0x118));if(fs['existsSync'](_0x59f6e3)){const _0x4de7e0=_0x526788+'/'+_0x37b77c[_0x49740e(0x11d)],_0x4af3df=_0x4de7e0+_0x49740e(0x11a)+GIT_JAVA_ENV_JSON[_0xa39485];DeleteDirAllFile(_0x4af3df,()=>{const _0x59a0a7=_0x49740e;fs[_0x59a0a7(0x114)](_0x4af3df),CopyFolder(_0x59f6e3,_0x4af3df,()=>{console['log']('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x405d38=a5_0x1af2;child_process[_0x405d38(0x131)]('git\x20add\x20.',{'cwd':_0x4de7e0}),console['log'](_0x405d38(0x133));try{child_process[_0x405d38(0x131)]('git\x20commit\x20-m\x20'+_0xad61ee+_0x405d38(0x13d),{'cwd':_0x4de7e0}),console[_0x405d38(0x11f)](_0x405d38(0x12b));}catch(_0x3d2bf2){console[_0x405d38(0x11f)](_0x405d38(0x12d));}child_process[_0x405d38(0x131)](_0x405d38(0x137),{'cwd':_0x4de7e0}),console[_0x405d38(0x11f)](_0x405d38(0x124));},0x3e8);});});}else console[_0x49740e(0x11f)]('【Error】:打包失败,没有dist目录!');}};function a5_0x1af2(_0x195fa5,_0x3bec1){const _0x2cb712=a5_0x2cb7();return a5_0x1af2=function(_0x1af299,_0x2218ef){_0x1af299=_0x1af299-0x10f;let _0x477cc6=_0x2cb712[_0x1af299];return _0x477cc6;},a5_0x1af2(_0x195fa5,_0x3bec1);}function a5_0x2cb7(){const _0x553d43=['【warning】:no\x20commit,git\x20push,please\x20wait...','tmpdir','11mKCnTx','875409KsPZcN','execSync','../cmd.install/config','Git\x20Add\x20Done,git\x20commit,please\x20wait...','git','507115eVdMVE',',please\x20wait...','git\x20push\x20-f','18segzPU','229392tCGjnt','resolve','1VXIYmN','1389015XtdlYW','\x20--no-verify','exit','length','path','toString','parse','mkdirSync','git\x20pull','\x5cjjb.config.json','2695959xfMdJA','Project\x20build\x20Done,copy\x20project,please\x20wait...','no\x20message','/src/main/resources/templates/','yarn\x20build:','../../old/util','gitName','yarn','log','Git\x20Pull\x20Done,yarn\x20build:','/node_modules','exports','readFileSync','Git\x20Push\x20Done!','3339100WOAVAB','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','existsSync','8AbBMMj','【Error】:no\x20setting\x20git','580114qbaHLx','Git\x20Commit\x20Done,git\x20push,please\x20wait...','child_process'];a5_0x2cb7=function(){return _0x553d43;};return a5_0x2cb7();}
@@ -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
+ function a6_0x4c5d(){const _0x1a448e=['4077085kgpnyB','437803oWvkuB','message','http://120.26.210.58:8088/api/file/config','post','port','data','4lPfTsQ','网络异常。','components','186324aMouho','axios','2525352hOzdJv','log','3366423ranyDZ','20kuYclY','1306100oiOCsS','70OFndfM','server','status','638532JcsVxl','exit'];a6_0x4c5d=function(){return _0x1a448e;};return a6_0x4c5d();}const a6_0x13f865=a6_0x27a6;function a6_0x27a6(_0x94271c,_0x264091){const _0x4c5d24=a6_0x4c5d();return a6_0x27a6=function(_0x27a6b2,_0x363f8f){_0x27a6b2=_0x27a6b2-0x107;let _0x5747a6=_0x4c5d24[_0x27a6b2];return _0x5747a6;},a6_0x27a6(_0x94271c,_0x264091);}(function(_0x248e83,_0x241675){const _0x287acf=a6_0x27a6,_0x556361=_0x248e83();while(!![]){try{const _0x34dc7c=parseInt(_0x287acf(0x110))/0x1+parseInt(_0x287acf(0x109))/0x2+parseInt(_0x287acf(0x10d))/0x3*(parseInt(_0x287acf(0x116))/0x4)+-parseInt(_0x287acf(0x10f))/0x5+-parseInt(_0x287acf(0x119))/0x6*(parseInt(_0x287acf(0x10a))/0x7)+-parseInt(_0x287acf(0x11b))/0x8+-parseInt(_0x287acf(0x107))/0x9*(-parseInt(_0x287acf(0x108))/0xa);if(_0x34dc7c===_0x241675)break;else _0x556361['push'](_0x556361['shift']());}catch(_0xdcbe0b){_0x556361['push'](_0x556361['shift']());}}}(a6_0x4c5d,0x94f75));const axios=require(a6_0x13f865(0x11a));module['exports']=_0x13b92f=>{const _0x19e4f5=a6_0x13f865;axios[_0x19e4f5(0x113)](_0x19e4f5(0x112))['then'](_0x4872fe=>{const _0x8640d8=_0x19e4f5;if(_0x4872fe[_0x8640d8(0x115)][_0x8640d8(0x10c)]){const _0x21a6db=_0x4872fe['data'][_0x8640d8(0x115)];_0x13b92f===_0x8640d8(0x10b)&&(console[_0x8640d8(0x11c)](_0x21a6db['host']),console[_0x8640d8(0x11c)](_0x21a6db[_0x8640d8(0x114)])),_0x13b92f===_0x8640d8(0x118)&&console[_0x8640d8(0x11c)](_0x21a6db[_0x8640d8(0x118)]);}else console['log'](_0x4872fe['data'][_0x8640d8(0x111)]);process[_0x8640d8(0x10e)](0x0);})['catch'](()=>{const _0x24e35d=_0x19e4f5;console['log'](_0x24e35d(0x117)),process[_0x24e35d(0x10e)](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_0xc4bb2a=a7_0x129d;function a7_0x1dc8(){const _0x3dc9a0=['141144ruTlQh','clear','删除完成。','10BlxHmX','existsSync','7166439TQhsOi','length','39TWprOK','readdirSync','976734UaMEJs','rmdirSync','9101925iIBvqG','30462DvvcEM','正在计算项目数,请稍等...','删除文件夹:','8Bowxxz','question','log','取消删除。','resolve','stdin','删除文件:','trim','2634035vvOLgf','exit','无效操作。','stdout','unlinkSync','path','readline','删除异常:','1749XwUTWh','6zJKwNT','3048168HYjMpU','是否确认删除?删除后不可恢复![y/n]:'];a7_0x1dc8=function(){return _0x3dc9a0;};return a7_0x1dc8();}(function(_0x44dafe,_0x35ae67){const _0xd2fac8=a7_0x129d,_0x92132a=_0x44dafe();while(!![]){try{const _0x3ce4f3=parseInt(_0xd2fac8(0x200))/0x1+-parseInt(_0xd2fac8(0x203))/0x2*(-parseInt(_0xd2fac8(0x1fe))/0x3)+parseInt(_0xd2fac8(0x206))/0x4*(-parseInt(_0xd2fac8(0x1eb))/0x5)+parseInt(_0xd2fac8(0x1f4))/0x6*(parseInt(_0xd2fac8(0x1fc))/0x7)+parseInt(_0xd2fac8(0x1f5))/0x8+-parseInt(_0xd2fac8(0x202))/0x9*(-parseInt(_0xd2fac8(0x1fa))/0xa)+-parseInt(_0xd2fac8(0x1f3))/0xb*(parseInt(_0xd2fac8(0x1f7))/0xc);if(_0x3ce4f3===_0x35ae67)break;else _0x92132a['push'](_0x92132a['shift']());}catch(_0x2d7938){_0x92132a['push'](_0x92132a['shift']());}}}(a7_0x1dc8,0xa2dd0));const fs=require('fs'),path=require(a7_0xc4bb2a(0x1f0)),readline=require(a7_0xc4bb2a(0x1f1)),io=readline['createInterface']({'input':process[a7_0xc4bb2a(0x1e8)],'output':process[a7_0xc4bb2a(0x1ee)]});let f_total=0x0;function a7_0x129d(_0x12799d,_0x517fe2){const _0x1dc828=a7_0x1dc8();return a7_0x129d=function(_0x129d01,_0x450b8f){_0x129d01=_0x129d01-0x1e4;let _0x12c194=_0x1dc828[_0x129d01];return _0x12c194;},a7_0x129d(_0x12799d,_0x517fe2);}module['exports']=function(){const _0x5ae9c4=a7_0xc4bb2a,_0x1757db=path[_0x5ae9c4(0x1e7)]('./');io[_0x5ae9c4(0x1e4)](_0x5ae9c4(0x1f6),function(_0x3c8da2){const _0x3791a5=_0x5ae9c4;if(_0x3c8da2['trim']()==='y')console[_0x3791a5(0x1e5)](_0x3791a5(0x204)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x1757db),setTimeout(()=>{const _0x433f83=a7_0x129d;console[_0x433f83(0x1e5)](_0x433f83(0x1f9)),console[_0x433f83(0x1f8)](),process[_0x433f83(0x1ec)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3c8da2[_0x3791a5(0x1ea)]()==='n'?(console['log'](_0x3791a5(0x1e6)),process[_0x3791a5(0x1ec)](0x0)):(console[_0x3791a5(0x1e5)](_0x3791a5(0x1ed)),process[_0x3791a5(0x1ec)](0x0));});};function exec(_0xdb7f4){const _0x1798f9=a7_0xc4bb2a;if(fs[_0x1798f9(0x1fb)](_0xdb7f4)){const _0x5d0248=fs[_0x1798f9(0x1ff)](_0xdb7f4);for(let _0x4ff6e0=0x0;_0x4ff6e0<_0x5d0248[_0x1798f9(0x1fd)];_0x4ff6e0++){const _0x261fc8=_0x5d0248[_0x4ff6e0],_0x1d9d22=_0xdb7f4+'/'+_0x261fc8;try{fs['statSync'](_0x1d9d22)['isDirectory']()?(exec(_0x1d9d22),fs[_0x1798f9(0x201)](_0x1d9d22,{'recursive':!![]}),console['log'](_0x1798f9(0x205)+_0x1d9d22)):(fs[_0x1798f9(0x1ef)](_0x1d9d22),console[_0x1798f9(0x1e5)](_0x1798f9(0x1e9)+_0x1d9d22));}catch(_0x5cf030){console[_0x1798f9(0x1e5)](_0x1798f9(0x1f2)+_0x1d9d22);}}}}
@@ -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
+ function a8_0x2e79(_0x55339e,_0x51e56a){const _0x104eb8=a8_0x104e();return a8_0x2e79=function(_0x2e79ec,_0x28cd3e){_0x2e79ec=_0x2e79ec-0x1a9;let _0x233f3c=_0x104eb8[_0x2e79ec];return _0x233f3c;},a8_0x2e79(_0x55339e,_0x51e56a);}const a8_0x15b910=a8_0x2e79;function a8_0x104e(){const _0x7feafa=['2784536kancHH','1604hdjTSj','查询失败!根目录缺少‘package.json’文件,无法完成查询。','readFileSync','37670iINsDX','toString','8680868mqUEha','parse','网络异常。','30TcJAdj','4230mYhwdp','resolve','path','http://120.26.210.58:8088/api/file/version','axios','882020FbzApX','1626392gusuYi','5163FjgEug','log','existsSync','then','post','125708aWRMIQ','status','data','exit'];a8_0x104e=function(){return _0x7feafa;};return a8_0x104e();}(function(_0x11b740,_0x49a722){const _0x3f751d=a8_0x2e79,_0x9ba01f=_0x11b740();while(!![]){try{const _0x2f9772=parseInt(_0x3f751d(0x1bb))/0x1+-parseInt(_0x3f751d(0x1b5))/0x2+parseInt(_0x3f751d(0x1b6))/0x3*(parseInt(_0x3f751d(0x1c0))/0x4)+parseInt(_0x3f751d(0x1b4))/0x5*(parseInt(_0x3f751d(0x1ae))/0x6)+parseInt(_0x3f751d(0x1ab))/0x7+parseInt(_0x3f751d(0x1bf))/0x8+-parseInt(_0x3f751d(0x1af))/0x9*(parseInt(_0x3f751d(0x1a9))/0xa);if(_0x2f9772===_0x49a722)break;else _0x9ba01f['push'](_0x9ba01f['shift']());}catch(_0x2a78e9){_0x9ba01f['push'](_0x9ba01f['shift']());}}}(a8_0x104e,0xab792));const path=require(a8_0x15b910(0x1b1)),fs=require('fs'),axios=require(a8_0x15b910(0x1b3));module['exports']=()=>{const _0x38762d=a8_0x15b910,_0x4df78e=path[_0x38762d(0x1b0)]('./'),_0x429be4=_0x4df78e+'\x5cpackage.json';if(fs[_0x38762d(0x1b8)](_0x429be4)){const _0x6523e1=JSON[_0x38762d(0x1ac)](fs[_0x38762d(0x1c2)](_0x429be4)[_0x38762d(0x1aa)]()),{name:_0x1756b2}=_0x6523e1;axios[_0x38762d(0x1ba)](_0x38762d(0x1b2),{'package_name':_0x1756b2})[_0x38762d(0x1b9)](_0x104d85=>{const _0x1f6df6=_0x38762d;_0x104d85[_0x1f6df6(0x1bd)][_0x1f6df6(0x1bc)]?console[_0x1f6df6(0x1b7)](_0x104d85[_0x1f6df6(0x1bd)][_0x1f6df6(0x1bd)]):console[_0x1f6df6(0x1b7)](_0x104d85[_0x1f6df6(0x1bd)]['message']),process[_0x1f6df6(0x1be)](0x0);})['catch'](()=>{const _0x5b4fdf=_0x38762d;console[_0x5b4fdf(0x1b7)](_0x5b4fdf(0x1ad)),process['exit'](0x0);});}else console[_0x38762d(0x1b7)](_0x38762d(0x1c1)),process[_0x38762d(0x1be)](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_0x32bf(_0x10b210,_0x4a6f8f){const _0x3fe45f=a9_0x3fe4();return a9_0x32bf=function(_0x32bf74,_0x54ebd1){_0x32bf74=_0x32bf74-0x188;let _0x180705=_0x3fe45f[_0x32bf74];return _0x180705;},a9_0x32bf(_0x10b210,_0x4a6f8f);}function a9_0x3fe4(){const _0x237777=['初始化失败,文件已存在!','632NKyOCG','existsSync','\x5cpackage.json','path','\x5cwebstorm.config.js','8491zquBUD','18GlsjQK','3927hryzdW','391990dPWeuu','log','2717110uXVZhq','\x5cjjb.config.json','522220CRSlzL','初始化完成!','exit','27282XfuxLL','56HrMSWe','3462912NJdsml','\x5cjjb.script','42RTNiWR'];a9_0x3fe4=function(){return _0x237777;};return a9_0x3fe4();}const a9_0x9428e6=a9_0x32bf;(function(_0x8efd03,_0x25086c){const _0x5e2d08=a9_0x32bf,_0x152b7a=_0x8efd03();while(!![]){try{const _0x3abe8c=parseInt(_0x5e2d08(0x195))/0x1*(-parseInt(_0x5e2d08(0x189))/0x2)+parseInt(_0x5e2d08(0x196))/0x3*(-parseInt(_0x5e2d08(0x18f))/0x4)+parseInt(_0x5e2d08(0x197))/0x5*(parseInt(_0x5e2d08(0x18d))/0x6)+parseInt(_0x5e2d08(0x194))/0x7*(-parseInt(_0x5e2d08(0x18a))/0x8)+parseInt(_0x5e2d08(0x18b))/0x9+parseInt(_0x5e2d08(0x19b))/0xa+-parseInt(_0x5e2d08(0x199))/0xb;if(_0x3abe8c===_0x25086c)break;else _0x152b7a['push'](_0x152b7a['shift']());}catch(_0x19da03){_0x152b7a['push'](_0x152b7a['shift']());}}}(a9_0x3fe4,0x43d9b));const path=require(a9_0x9428e6(0x192)),readline=require('readline'),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');module['exports']=()=>{const _0x1b7be0=a9_0x9428e6,_0x58ff05=path['resolve']('./');!fs[_0x1b7be0(0x190)](_0x58ff05+_0x1b7be0(0x18c))&&!fs[_0x1b7be0(0x190)](_0x58ff05+'\x5cpublic')&&!fs[_0x1b7be0(0x190)](_0x58ff05+_0x1b7be0(0x19a))&&!fs['existsSync'](_0x58ff05+_0x1b7be0(0x191))&&!fs['existsSync'](_0x58ff05+_0x1b7be0(0x193))?(f_file_copy(__dirname+'\x5ccli.init',_0x58ff05),console['log'](_0x1b7be0(0x19c)),process[_0x1b7be0(0x188)](0x0)):(console[_0x1b7be0(0x198)](_0x1b7be0(0x18e)),process[_0x1b7be0(0x188)](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_0x3fc085=a10_0x5035;function a10_0x5035(_0xe55837,_0x141780){const _0x558caf=a10_0x558c();return a10_0x5035=function(_0x503539,_0x14a42f){_0x503539=_0x503539-0x122;let _0x23e6cf=_0x558caf[_0x503539];return _0x23e6cf;},a10_0x5035(_0xe55837,_0x141780);}(function(_0x8af292,_0x2e5217){const _0x22a41e=a10_0x5035,_0x4c5403=_0x8af292();while(!![]){try{const _0xdfdba9=-parseInt(_0x22a41e(0x144))/0x1+parseInt(_0x22a41e(0x148))/0x2*(parseInt(_0x22a41e(0x141))/0x3)+-parseInt(_0x22a41e(0x123))/0x4*(parseInt(_0x22a41e(0x122))/0x5)+-parseInt(_0x22a41e(0x157))/0x6+-parseInt(_0x22a41e(0x131))/0x7+parseInt(_0x22a41e(0x133))/0x8+-parseInt(_0x22a41e(0x152))/0x9*(-parseInt(_0x22a41e(0x137))/0xa);if(_0xdfdba9===_0x2e5217)break;else _0x4c5403['push'](_0x4c5403['shift']());}catch(_0x398026){_0x4c5403['push'](_0x4c5403['shift']());}}}(a10_0x558c,0x26be5));function a10_0x558c(){const _0x22604d=['2wLpMON','CLI_DVA_REGISTER_PATH','common/crypto','jjb-common/crypto','\x5cwebsite\x5cindex.js','\x5c..\x5ccli.dva.register.saas.txt','common/color','COMMON_CONTENT_NOR_REPLACE','CLOUD_PROJECT','e9njpBd1nS_LREN8GFpR','943992wDzsGR','COMMON_CONTENT_MICRO_REPLACE','\x5cEditor\x5cindex.js','\x5ctools\x5cindex.js','\x5c..\x5ccli.dva.router.spa.txt','774468Qallpk','716955gTKqXR','4KfYWGn','\x5cImageUploader\x5cindex.js','common/http','CLI_DVA_ROUTER_SAAS','\x5cRejectText\x5cindex.js','GIT_HOST','hLqARY89CN6fUD3yg4NL','jjb-react-admin-component','d4wQ7dzEjYPsgVbKnYei','jjb-common/http','return\x20process.env.app;','components','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','return\x20__planA();','540260qtRlbg','now','1729944bdmqUS','common/tools','GIT_TEMP_DIR','\x5cFileUploader\x5cindex.js','30OVgzTB','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_REGISTER_SPA','\x5c..\x5ccli.dva.register.spa.txt','gPSit8aJsLVmNzuQ5Cy4','jjb-common/color','\x5cImageCropper\x5cindex.js','\x5cRouterMenu\x5cindex.js','jjb-common/tools','\x5cdva\x5cautomatic\x5crouter.js','439041VtDWqh','common/website','CLI_DVA_ROUTER_SPA','168912PkXrcy','return\x20process.env;','jjb-common/website','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'];a10_0x558c=function(){return _0x22604d;};return a10_0x558c();}const os=require('os');exports[a10_0x3fc085(0x128)]='http://192.168.1.242:10985',exports[a10_0x3fc085(0x135)]='jjbAssembly_'+Date[a10_0x3fc085(0x132)](),exports[a10_0x3fc085(0x150)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a10_0x3fc085(0x129),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x3fc085(0x151),'projectId':0x23c},'jjb-common-decorator':{'token':a10_0x3fc085(0x13b),'projectId':0x23e},'vue-unisass-component':{'token':a10_0x3fc085(0x12b),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os['tmpdir']()+'\x5c'+exports[a10_0x3fc085(0x135)],exports[a10_0x3fc085(0x143)]=__dirname+a10_0x3fc085(0x156),exports[a10_0x3fc085(0x126)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a10_0x3fc085(0x139)]=__dirname+a10_0x3fc085(0x13a),exports['CLI_DVA_REGISTER_SAAS']=__dirname+a10_0x3fc085(0x14d),exports['CLI_DVA_ROUTER_PATH']=a10_0x3fc085(0x140),exports[a10_0x3fc085(0x149)]=a10_0x3fc085(0x138),exports[a10_0x3fc085(0x14f)]=[{'path':a10_0x3fc085(0x155),'replace':[[a10_0x3fc085(0x12e),a10_0x3fc085(0x12a)]]},{'path':a10_0x3fc085(0x14c),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a10_0x3fc085(0x147)],[a10_0x3fc085(0x12e),a10_0x3fc085(0x12a)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a10_0x3fc085(0x155),'replace':[[a10_0x3fc085(0x130),a10_0x3fc085(0x145)]]}],exports[a10_0x3fc085(0x153)]=[{'path':a10_0x3fc085(0x155),'replace':[[a10_0x3fc085(0x130),a10_0x3fc085(0x12d)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a10_0x3fc085(0x154),'replace':[[a10_0x3fc085(0x125),a10_0x3fc085(0x12c)],[a10_0x3fc085(0x14a),a10_0x3fc085(0x14b)],[a10_0x3fc085(0x134),a10_0x3fc085(0x13f)]]},{'path':a10_0x3fc085(0x127),'replace':[[a10_0x3fc085(0x14e),a10_0x3fc085(0x13c)]]},{'path':a10_0x3fc085(0x13e),'replace':[[a10_0x3fc085(0x134),a10_0x3fc085(0x13f)]]},{'path':a10_0x3fc085(0x136),'replace':[[a10_0x3fc085(0x125),a10_0x3fc085(0x12c)],[a10_0x3fc085(0x134),a10_0x3fc085(0x13f)]]},{'path':a10_0x3fc085(0x13d),'replace':[['common/http',a10_0x3fc085(0x12c)],[a10_0x3fc085(0x134),'jjb-common/tools']]},{'path':a10_0x3fc085(0x124),'replace':[[a10_0x3fc085(0x125),'jjb-common/http'],[a10_0x3fc085(0x134),a10_0x3fc085(0x13f)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a10_0x3fc085(0x14e),a10_0x3fc085(0x13c)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a10_0x3fc085(0x134),a10_0x3fc085(0x13f)]]},{'path':a10_0x3fc085(0x12f),'replace':[[a10_0x3fc085(0x142),a10_0x3fc085(0x146)],['common/tools',a10_0x3fc085(0x13f)]]}];
@@ -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_0x3c5994=a11_0x4e2a;(function(_0x56b97b,_0x2fe94b){const _0x1f3651=a11_0x4e2a,_0x402955=_0x56b97b();while(!![]){try{const _0x20bad3=parseInt(_0x1f3651(0x19b))/0x1+-parseInt(_0x1f3651(0x17c))/0x2+parseInt(_0x1f3651(0x1a5))/0x3+parseInt(_0x1f3651(0x19f))/0x4*(parseInt(_0x1f3651(0x1ab))/0x5)+-parseInt(_0x1f3651(0x1b8))/0x6*(-parseInt(_0x1f3651(0x189))/0x7)+parseInt(_0x1f3651(0x198))/0x8*(-parseInt(_0x1f3651(0x195))/0x9)+-parseInt(_0x1f3651(0x18e))/0xa;if(_0x20bad3===_0x2fe94b)break;else _0x402955['push'](_0x402955['shift']());}catch(_0x53d427){_0x402955['push'](_0x402955['shift']());}}}(a11_0x3508,0x6cae6));function a11_0x3508(){const _0x1624ad=['readdirSync','248684SdmQmf','join','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','_zip','15348wQYdns','includes','compressing','push','path','src','2196132bFnrlt','forEach','vue-unisass-component','\x5cdva\x5cautomatic','installResources','find','325IUjRgr','node_modules','.idea','micro-spa','exports','log','filter','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','multi','readFileSync','1.0.0','rmdirSync','resolve','1356WFkwnc','writeFileSync','map','unlinkSync','spa','【Error】:安装失败,node_modules目录不存在。','428512UrkJxT','compress','name','\x5cindex.js','package.json','projectType','mkdirSync','close','react-admin-component','import_list','installTarget','length','jjb-common','13762UHwLqV','exit','toString','src\x5c','RouterContainer','1816790DpFNGw','【jjb-cmd】:install命令执行完成,用时','index.js','importList','.gitignore','pipe','pure_name','2826vwOwQH','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','export\x20{\x20default\x20as\x20','21232wZeSaA','existsSync'];a11_0x3508=function(){return _0x1624ad;};return a11_0x3508();}function a11_0x4e2a(_0x302c81,_0x5ca050){const _0x3508fc=a11_0x3508();return a11_0x4e2a=function(_0x4e2ad3,_0x2083ab){_0x4e2ad3=_0x4e2ad3-0x17b;let _0x22ec10=_0x3508fc[_0x4e2ad3];return _0x22ec10;},a11_0x4e2a(_0x302c81,_0x5ca050);}const fs=require('fs'),path=require('path'),request=require('request'),compressing=require(a11_0x3c5994(0x1a1)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date['now']();module[a11_0x3c5994(0x1af)]=()=>{const _0x3c25b9=a11_0x3c5994,_0x5d9630=path[_0x3c25b9(0x1b7)]('./'),_0xed4935=[_0x5d9630,_0x3c25b9(0x18c)]['join']('\x5c'),_0x446fca=[_0x5d9630,'node_modules'][_0x3c25b9(0x19c)]('\x5c'),_0x466df9=[_0x5d9630,_0x3c25b9(0x180)]['join']('\x5c');if(f_scan_jjb_config_json(_0x5d9630)){const _0x2cad24=f_scan_jjb_config_json_rules(_0x5d9630);_0x2cad24[_0x3c25b9(0x186)]===_0x3c25b9(0x1ac)?!fs[_0x3c25b9(0x199)](_0x446fca)?(console[_0x3c25b9(0x1b0)](_0x3c25b9(0x17b)),process[_0x3c25b9(0x18a)](0x0)):console[_0x3c25b9(0x1b0)](_0x3c25b9(0x196)):!fs[_0x3c25b9(0x199)](_0xed4935)&&(console[_0x3c25b9(0x1b0)]('【Error】:安装失败,src目录不存在。'),process[_0x3c25b9(0x18a)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x2cad24[_0x3c25b9(0x1a9)])[_0x3c25b9(0x1ba)](_0x420de8=>{const _0x46218e=_0x3c25b9,_0xd507c2=fs['createWriteStream'](_0x420de8[_0x46218e(0x1a3)]);request(_0x420de8['repository'])[_0x46218e(0x193)](_0xd507c2)['on'](_0x46218e(0x183),()=>{const _0x29dda4=_0x46218e;fs[_0x29dda4(0x182)](_0x420de8[_0x29dda4(0x17d)]),compressing['zip']['uncompress'](_0x420de8[_0x29dda4(0x1a3)],_0x420de8[_0x29dda4(0x17d)]);});});const _0x3c420a=setInterval(()=>{const _0x208ad5=_0x3c25b9,_0x5dbe1b=fs[_0x208ad5(0x19a)](TEMPLATE_FOLDER),_0x105976=_0x5dbe1b[_0x208ad5(0x1b1)](_0x9a9f1f=>_0x2cad24[_0x208ad5(0x1a9)]['map'](_0x55d687=>_0x55d687['name']+_0x208ad5(0x19e))[_0x208ad5(0x1a0)](_0x9a9f1f));if(_0x105976[_0x208ad5(0x187)]===_0x2cad24[_0x208ad5(0x1a9)]['length']){clearInterval(_0x3c420a);const _0x304fa2=[];_0x105976[_0x208ad5(0x1a6)](_0x251111=>{const _0x3829fe=_0x208ad5,_0x5646e5=[TEMPLATE_FOLDER,_0x251111]['join']('\x5c');fs[_0x3829fe(0x19a)](_0x5646e5)[_0x3829fe(0x1a6)](_0x3246b1=>_0x304fa2['push']({'name':_0x251111,'path':[_0x5646e5,_0x3246b1][_0x3829fe(0x19c)]('\x5c'),'pure_name':_0x251111['replace'](/_zip$/,''),'import_list':_0x2cad24[_0x3829fe(0x1a9)][_0x3829fe(0x1aa)](_0x57ddac=>_0x57ddac[_0x3829fe(0x17e)]+_0x3829fe(0x19e)===_0x251111)[_0x3829fe(0x191)]}));}),_0x304fa2[_0x208ad5(0x1a6)](_0x44b5b4=>{const _0x55910e=_0x208ad5,_0x1717b5=_0x44b5b4[_0x55910e(0x194)],_0x2c5b45=_0x44b5b4[_0x55910e(0x185)],_0x34ee27=[_0x44b5b4[_0x55910e(0x1a3)],_0x55910e(0x1ad)][_0x55910e(0x19c)]('//'),_0x1d394d=[_0x44b5b4[_0x55910e(0x1a3)],_0x55910e(0x192)][_0x55910e(0x19c)]('//');fs['existsSync'](_0x34ee27)&&(f_rm_rf(_0x34ee27),fs['rmdirSync'](_0x34ee27));fs[_0x55910e(0x199)](_0x1d394d)&&fs[_0x55910e(0x1bb)](_0x1d394d);if(_0x2c5b45[_0x55910e(0x187)]){fs[_0x55910e(0x19a)](_0x44b5b4[_0x55910e(0x1a3)])['filter'](_0x2bb69b=>!_0x2c5b45[_0x55910e(0x1a0)](_0x2bb69b)&&_0x2bb69b!=='index.js'&&_0x2bb69b!=='setting.json')[_0x55910e(0x1a6)](_0x9abcee=>{const _0x3205b5=_0x55910e,_0x2a888b=_0x44b5b4[_0x3205b5(0x1a3)]+'\x5c'+_0x9abcee;f_rm_rf(_0x2a888b),fs[_0x3205b5(0x1b6)](_0x2a888b);});if(_0x1717b5===_0x55910e(0x184)){const _0x2fc788=[];fs['readdirSync'](_0x44b5b4[_0x55910e(0x1a3)])[_0x55910e(0x1b1)](_0x25974a=>_0x25974a!==_0x55910e(0x190))[_0x55910e(0x1a6)](_0x2f01e2=>{const _0x31acaf=_0x55910e;_0x2f01e2===_0x31acaf(0x18d)?_0x2fc788[_0x31acaf(0x1a2)](_0x31acaf(0x19d)):_0x2fc788['push'](_0x31acaf(0x197)+_0x2f01e2+'\x20}\x20from\x20\x27./'+_0x2f01e2+'\x27;');}),fs[_0x55910e(0x1b9)](_0x44b5b4['path']+_0x55910e(0x17f),_0x2fc788[_0x55910e(0x19c)]('\x0a'));}}if(_0x1717b5===_0x55910e(0x188)){const _0x1af4ab=[_0x44b5b4[_0x55910e(0x1a3)],_0x55910e(0x1a8)][_0x55910e(0x19c)]('\x5c');if([_0x55910e(0x1bc),_0x55910e(0x1ae)]['includes'](_0x2cad24[_0x55910e(0x181)]))fs[_0x55910e(0x199)](_0x1af4ab)&&(f_content_replace(_0x2cad24[_0x55910e(0x181)]===_0x55910e(0x1bc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x44b5b4[_0x55910e(0x1a3)]),fs[_0x55910e(0x1b9)](_0x44b5b4[_0x55910e(0x1a3)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x2cad24[_0x55910e(0x181)]===_0x55910e(0x1bc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x55910e(0x18b)]()),fs[_0x55910e(0x1b9)](_0x44b5b4[_0x55910e(0x1a3)]+CLI_DVA_REGISTER_PATH,fs[_0x55910e(0x1b4)](_0x2cad24[_0x55910e(0x181)]===_0x55910e(0x1bc)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x55910e(0x18b)]()));else _0x2cad24['projectType']===_0x55910e(0x1b3)&&(fs[_0x55910e(0x199)](_0x1af4ab)&&(f_rm_rf(_0x1af4ab),fs[_0x55910e(0x1b6)](_0x1af4ab)));}else{if(_0x1717b5===_0x55910e(0x184))_0x2cad24[_0x55910e(0x181)]===_0x55910e(0x1ae)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x44b5b4['path']);else{if(_0x1717b5===_0x55910e(0x1a7)){}}}if(_0x2cad24[_0x55910e(0x186)]===_0x55910e(0x1ac)){const _0x50ba7b=_0x1717b5;fs[_0x55910e(0x199)](_0x446fca+'\x5c'+_0x50ba7b)?f_rm_rf(_0x446fca+'\x5c'+_0x50ba7b):fs['mkdirSync'](_0x446fca+'\x5c'+_0x50ba7b),f_file_copy(_0x44b5b4['path'],_0x446fca+'\x5c'+_0x50ba7b),f_create_package_json(_0x446fca+'\x5c'+_0x50ba7b,_0x50ba7b,'1.0.0'),f_update_project_package_json(_0x466df9,_0x50ba7b,_0x55910e(0x1b5));}else{if(_0x2cad24[_0x55910e(0x186)]===_0x55910e(0x1a4)){const _0x1cda7d='react-admin-component';fs[_0x55910e(0x199)](_0xed4935+_0x1cda7d)?f_rm_rf(_0xed4935+_0x1cda7d):fs[_0x55910e(0x182)](_0xed4935+_0x1cda7d),f_file_copy(_0x44b5b4[_0x55910e(0x1a3)],_0xed4935+_0x1cda7d);}}}),setTimeout(()=>{const _0x1aeade=_0x208ad5;f_rm_rf(TEMPLATE_FOLDER),fs[_0x1aeade(0x1b6)](TEMPLATE_FOLDER);const _0x3630ce=Date['now']();console['log'](_0x1aeade(0x18f)+(_0x3630ce-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x3c25b9(0x1b0)](_0x3c25b9(0x1b2));};
@@ -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_0x558a(_0x587c96,_0x3fcbb0){const _0x356c47=a12_0x356c();return a12_0x558a=function(_0x558ae4,_0x15e005){_0x558ae4=_0x558ae4-0xd7;let _0x51b64a=_0x356c47[_0x558ae4];return _0x51b64a;},a12_0x558a(_0x587c96,_0x3fcbb0);}const a12_0x42bc33=a12_0x558a;(function(_0x4ede93,_0x460380){const _0x60011a=a12_0x558a,_0x2c6bcd=_0x4ede93();while(!![]){try{const _0x1a254e=-parseInt(_0x60011a(0x116))/0x1*(-parseInt(_0x60011a(0xfc))/0x2)+parseInt(_0x60011a(0xf9))/0x3+-parseInt(_0x60011a(0x10e))/0x4*(parseInt(_0x60011a(0x10d))/0x5)+-parseInt(_0x60011a(0x106))/0x6+parseInt(_0x60011a(0x101))/0x7*(parseInt(_0x60011a(0x117))/0x8)+parseInt(_0x60011a(0x111))/0x9+parseInt(_0x60011a(0xe6))/0xa;if(_0x1a254e===_0x460380)break;else _0x2c6bcd['push'](_0x2c6bcd['shift']());}catch(_0x4075a2){_0x2c6bcd['push'](_0x2c6bcd['shift']());}}}(a12_0x356c,0x9e497));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a12_0x42bc33(0xf6));exports[a12_0x42bc33(0xe4)]=function(_0x156bc5){const _0x595bd6=a12_0x42bc33;if(fs[_0x595bd6(0x112)](_0x156bc5)){const _0x1f09a0=fs[_0x595bd6(0xf3)](_0x156bc5);for(let _0x4897eb=0x0;_0x4897eb<_0x1f09a0[_0x595bd6(0xd7)];_0x4897eb++){const _0x346400=_0x1f09a0[_0x4897eb],_0x47bf26=_0x156bc5+'/'+_0x346400;fs['statSync'](_0x47bf26)[_0x595bd6(0x110)]()?(exports[_0x595bd6(0xe4)](_0x47bf26),fs['rmdirSync'](_0x47bf26)):fs[_0x595bd6(0xf7)](_0x47bf26);}}},exports[a12_0x42bc33(0x113)]=function(_0x40b9b1=[]){const _0x1db851=a12_0x42bc33;return _0x40b9b1[_0x1db851(0x109)](_0x4fc0e3=>{const _0x382b7c=_0x1db851,_0xacec83=CLOUD_PROJECT[_0x4fc0e3[_0x382b7c(0x11c)]]||undefined,_0x734063=os[_0x382b7c(0x100)]();return{'path':_0x734063+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4fc0e3['name']+_0x382b7c(0xf2),'compress':_0x734063+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4fc0e3[_0x382b7c(0x11c)]+'_zip','repository':GIT_HOST+_0x382b7c(0x11e)+_0xacec83[_0x382b7c(0xe9)]+_0x382b7c(0xdb)+_0xacec83['token']+_0x382b7c(0xde)};});},exports[a12_0x42bc33(0xf5)]=function(_0x2c285a){const _0x552b7a=a12_0x42bc33;return fs[_0x552b7a(0x112)](_0x2c285a+_0x552b7a(0xee));},exports[a12_0x42bc33(0xf0)]=function(_0x5e4376){const _0x569e23=a12_0x42bc33;let _0x39e8c0={};try{_0x39e8c0=JSON[_0x569e23(0xdd)](fs[_0x569e23(0x119)](_0x5e4376+'\x5cjjb.config.json')['toString']());}catch(_0x3fb545){console[_0x569e23(0xe1)](_0x569e23(0xdf)),process[_0x569e23(0x107)](0x0);}!(_0x569e23(0xd8)in _0x39e8c0)&&(console[_0x569e23(0xe1)](_0x569e23(0x102)),process[_0x569e23(0x107)](0x0));!(_0x569e23(0xe2)in _0x39e8c0)&&(console[_0x569e23(0xe1)](_0x569e23(0x115)),process[_0x569e23(0x107)](0x0));!('installResources'in _0x39e8c0)&&(console['log'](_0x569e23(0x10b)),process['exit'](0x0));typeof _0x39e8c0[_0x569e23(0xd8)]!==_0x569e23(0x105)&&(console[_0x569e23(0xe1)](_0x569e23(0xeb)),process[_0x569e23(0x107)](0x0));![_0x569e23(0xda),_0x569e23(0xea),_0x569e23(0xe5),_0x569e23(0xf4)]['includes'](_0x39e8c0[_0x569e23(0xd8)])&&(console[_0x569e23(0xe1)](_0x569e23(0xd9)),process[_0x569e23(0x107)](0x0));typeof _0x39e8c0['installTarget']!==_0x569e23(0x105)&&(console[_0x569e23(0xe1)](_0x569e23(0xdc)),process[_0x569e23(0x107)](0x0));!['node_modules',_0x569e23(0xec)][_0x569e23(0xfb)](_0x39e8c0['installTarget'])&&(console[_0x569e23(0xe1)](_0x569e23(0xfd)),process['exit'](0x0));!Array['isArray'](_0x39e8c0[_0x569e23(0x103)])&&(console[_0x569e23(0xe1)](_0x569e23(0xe7)),process[_0x569e23(0x107)](0x0));_0x39e8c0['installResources'][_0x569e23(0xd7)]===0x0&&(console[_0x569e23(0xe1)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x569e23(0x107)](0x0));const _0x2fa9e0=exports[_0x569e23(0xe0)](_0x39e8c0[_0x569e23(0x103)]);return _0x2fa9e0['map'](_0x4be5b1=>_0x4be5b1[_0x569e23(0x11c)])[_0x569e23(0x11b)](_0x53dd0f=>![_0x569e23(0x10c),_0x569e23(0xf8),'jjb-common-lib','jjb-common-decorator',_0x569e23(0xff),'vue-unisass-component'][_0x569e23(0xfb)](_0x53dd0f))[_0x569e23(0xd7)]!==0x0&&(console[_0x569e23(0xe1)]('【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[_0x569e23(0x107)](0x0)),_0x39e8c0[_0x569e23(0x103)]=_0x2fa9e0,_0x39e8c0;},exports['f_create_package_json']=function(_0xc3b185,_0x566a04,_0x1bef74){const _0x441349=a12_0x42bc33;fs[_0x441349(0x11a)](_0xc3b185+_0x441349(0x108),_0x441349(0x10a)+_0x566a04+_0x441349(0xe8)+_0x1bef74+_0x441349(0xed));},exports[a12_0x42bc33(0xe0)]=function(_0x83ea79=[]){const _0x1ad9b9=a12_0x42bc33,_0x178a77=[];return Array[_0x1ad9b9(0x114)](_0x83ea79)&&_0x83ea79[_0x1ad9b9(0xfa)](_0x296770=>{if(Array['isArray'](_0x296770)){const [_0x19a771,_0x4a1e87=[]]=_0x296770;_0x178a77['push']({'name':_0x19a771,'importList':_0x4a1e87});}else _0x178a77['push']({'name':_0x296770,'importList':[]});}),_0x178a77;},exports[a12_0x42bc33(0xef)]=function(_0x1f9508,_0x331ba4,_0x227072){const _0x239769=a12_0x42bc33,_0x1a375a=JSON['parse'](fs[_0x239769(0x119)](_0x1f9508)['toString']());_0x1a375a[_0x239769(0x104)][_0x331ba4]=_0x227072,fs[_0x239769(0x11a)](_0x1f9508,JSON[_0x239769(0xe3)](_0x1a375a,null,0x2));},exports[a12_0x42bc33(0x118)]=function(_0x44059b,_0x1f3fe9){const _0x14c264=a12_0x42bc33;fs['readdirSync'](_0x44059b)[_0x14c264(0xfa)](_0x3064f5=>{const _0x339512=_0x14c264,_0x15711e=_0x44059b+'\x5c'+_0x3064f5,_0x52f14d=_0x1f3fe9+'\x5c'+_0x3064f5;fs['statSync'](_0x15711e)['isDirectory']()?(fs[_0x339512(0x10f)](_0x52f14d),exports[_0x339512(0x118)](_0x15711e,_0x52f14d)):fs[_0x339512(0x11a)](_0x52f14d,fs[_0x339512(0x119)](_0x15711e)[_0x339512(0xf1)]());});},exports['f_content_replace']=function(_0x42f0dd=[],_0x42a70b){const _0x249303=a12_0x42bc33;_0x42f0dd[_0x249303(0xfa)](_0x1c2fde=>{const _0x2ca3f7=_0x249303,_0xf1e94b=_0x42a70b+_0x1c2fde[_0x2ca3f7(0xfe)];if(fs[_0x2ca3f7(0x112)](_0xf1e94b)){let _0x55eee5=fs[_0x2ca3f7(0x119)](_0xf1e94b)[_0x2ca3f7(0xf1)]();_0x1c2fde[_0x2ca3f7(0x11d)]['forEach'](_0x116d07=>{const _0x498e8a=_0x2ca3f7;_0x55eee5=_0x55eee5[_0x498e8a(0x11d)](_0x116d07[0x0],_0x116d07[0x1]);}),fs[_0x2ca3f7(0x11a)](_0xf1e94b,_0x55eee5);}});};function a12_0x356c(){const _0x26e0a4=['stringify','f_rm_rf','uniapp','853610DPKzOq','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x22,\x22version\x22:\x22','projectId','spa','【Error】:[jjb.config.json.projectType]类型是一个string。','src','\x22,\x22main\x22:\x20\x22index.js\x22}','\x5cjjb.config.json','f_update_project_package_json','f_scan_jjb_config_json_rules','toString','.zip','readdirSync','micro-spa','f_scan_jjb_config_json','./config','unlinkSync','jjb-dva-runtime','2079024fXfOCv','forEach','includes','2dLxoFQ','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','path','react-admin-component','tmpdir','79009bqWNUA','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','installResources','dependencies','string','6691818bBiWBA','exit','\x5cpackage.json','map','{\x22name\x22:\x22','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','jjb-common','5zTdGim','2888692qJCjJO','mkdirSync','isDirectory','4884021xybKKA','existsSync','f_pull_git_repository','isArray','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','916467YmLdvV','176RpqSNk','f_file_copy','readFileSync','writeFileSync','filter','name','replace','/api/v4/projects/','length','projectType','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','multi','/repository/archive.zip?private_token=','【Error】:[jjb.config.json.installTarget]类型是一个string。','parse','&ref=master','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','f_resolve_install_resources','log','installTarget'];a12_0x356c=function(){return _0x26e0a4;};return a12_0x356c();}
@@ -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_0x2ead64=a13_0x7c65;(function(_0x36bcd4,_0x5b9509){const _0x2674a6=a13_0x7c65,_0x3b3ad1=_0x36bcd4();while(!![]){try{const _0x1d89a9=-parseInt(_0x2674a6(0x1ac))/0x1*(parseInt(_0x2674a6(0x191))/0x2)+-parseInt(_0x2674a6(0x1a6))/0x3+-parseInt(_0x2674a6(0x1a2))/0x4+-parseInt(_0x2674a6(0x19d))/0x5*(-parseInt(_0x2674a6(0x187))/0x6)+parseInt(_0x2674a6(0x18d))/0x7*(parseInt(_0x2674a6(0x19e))/0x8)+-parseInt(_0x2674a6(0x197))/0x9+parseInt(_0x2674a6(0x1ab))/0xa;if(_0x1d89a9===_0x5b9509)break;else _0x3b3ad1['push'](_0x3b3ad1['shift']());}catch(_0xd1bd7e){_0x3b3ad1['push'](_0x3b3ad1['shift']());}}}(a13_0x9939,0xeff26));const fs=require('fs'),path=require(a13_0x2ead64(0x18a)),utils=require(a13_0x2ead64(0x1a0));function a13_0x9939(){const _0x454085=['720088KDNSZY','map','./util.js','file','1232028HSDlDx','/setting.json','CreatePaths','DeepScanner','2674566hbgxBg','push','{\x20path:\x20\x27','items','split','29792310PiytLV','1zpChKo','fileType','\x27,\x20component:\x20()\x20=>\x20import(\x27','forEach','4944lHwZol','routerConfig','length','path','application','concat','70HfQgZu','\x27)\x20}','toString','pathAdr','2266672kYLLGw','readFileSync','parse','slice','./vessel/src','region','14728518iXLiJJ','from','writeFileSync','join','./project','exports','6510vSyEfu'];a13_0x9939=function(){return _0x454085;};return a13_0x9939();}let projectPath='',vesselPath='',commandArr=[];function a13_0x7c65(_0x609f2b,_0x2310a5){const _0x9939ca=a13_0x9939();return a13_0x7c65=function(_0x7c653,_0x1834f9){_0x7c653=_0x7c653-0x186;let _0x4b39c2=_0x9939ca[_0x7c653];return _0x4b39c2;},a13_0x7c65(_0x609f2b,_0x2310a5);}const fromFileData={},applicationJson={};module[a13_0x2ead64(0x19c)]=(_0x3cc48f,_0xd37ebe)=>{const _0x45729e=a13_0x2ead64;commandArr=_0x3cc48f[_0x45729e(0x1aa)](':'),projectPath=path['resolve'](_0x45729e(0x19b)),vesselPath=path['resolve'](_0x45729e(0x195));let _0x570ad6=vesselPath;_0xd37ebe==='mp'&&(_0x570ad6=vesselPath+'/application',utils[_0x45729e(0x1a4)](vesselPath,[_0x45729e(0x18b)]));const _0xac6bcc=commandArr[0x1],_0x19c588=JSON[_0x45729e(0x193)](fs[_0x45729e(0x192)](projectPath+'/'+_0xac6bcc+_0x45729e(0x1a3))['toString']());TileItems(_0x19c588[_0x45729e(0x1a9)],()=>{const _0x111ce0=_0x45729e;fromFileData['router'][_0x111ce0(0x186)](_0x4a0c9c=>{const _0x5d3943=_0x111ce0,_0x6d256e=_0x4a0c9c[_0x5d3943(0x190)]['split'](_0x4a0c9c[_0x5d3943(0x196)]),_0x4577cc=_0x6d256e[0x1][_0x5d3943(0x1aa)]('/'),_0x443dd0=_0x4577cc[0x1];!applicationJson[_0x443dd0]&&(applicationJson[_0x443dd0]={'routerConfig':[],'routerPath':[]});applicationJson[_0x443dd0][_0x5d3943(0x188)][_0x5d3943(0x1a7)](_0x5d3943(0x1a8)+_0x4a0c9c[_0x5d3943(0x18a)]+_0x5d3943(0x1ae)+_0x4a0c9c[_0x5d3943(0x1a1)]+_0x5d3943(0x18e)),applicationJson[_0x443dd0]['routerPath'][_0x5d3943(0x1a7)](_0x4a0c9c[_0x5d3943(0x18a)]);let _0x456ad6=_0x4577cc[_0x5d3943(0x19a)]('/');const _0x3caccf=_0x456ad6['split']('/');utils[_0x5d3943(0x1a4)](_0x570ad6,_0x3caccf[_0x5d3943(0x194)](0x0,_0x3caccf[_0x5d3943(0x189)]-0x1))['then'](()=>{const _0x678a99=_0x5d3943,_0x585100=fs[_0x678a99(0x192)](_0x4a0c9c[_0x678a99(0x190)])[_0x678a99(0x18f)]();fs[_0x678a99(0x199)](vesselPath+'/'+_0x456ad6,_0x585100);});});});};function TileItems(_0xa0f78,_0x3e536f){const _0x378cb7=a13_0x2ead64;_0xa0f78[_0x378cb7(0x186)]((_0x3bc6f6,_0x3ae382)=>{const _0x9baef4=_0x378cb7,_0x6a73e4=_0x3bc6f6[_0x9baef4(0x196)];_0x3bc6f6[_0x9baef4(0x198)]['forEach']((_0x40885c,_0x219e4b)=>{const _0x55ecbf=_0x9baef4,_0x2c5dcf=[];utils[_0x55ecbf(0x1a5)](projectPath+'/'+_0x6a73e4+'/'+_0x40885c[_0x55ecbf(0x1a1)],_0x2c5dcf);const _0x4a40ed=_0x2c5dcf[_0x55ecbf(0x19f)](_0x570b90=>({'region':_0x6a73e4,'pathAdr':_0x570b90,..._0x40885c}));!fromFileData[_0x40885c[_0x55ecbf(0x1ad)]]?fromFileData[_0x40885c[_0x55ecbf(0x1ad)]]=_0x4a40ed:fromFileData[_0x40885c[_0x55ecbf(0x1ad)]]=fromFileData[_0x40885c[_0x55ecbf(0x1ad)]][_0x55ecbf(0x18c)](_0x4a40ed),_0x3ae382===_0xa0f78[_0x55ecbf(0x189)]-0x1&&_0x219e4b===_0x3bc6f6[_0x55ecbf(0x198)][_0x55ecbf(0x189)]-0x1&&_0x3e536f();});});}
@@ -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_0x1498b1=a14_0x5cf0;function a14_0x494c(){const _0x51cbed=['FT3pKzxpRynFkmddJ9Bs','15ZwzocX','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','&ref=master','519rylNwd','return\x20__planA();','13751710xUeTtz','7900476SyYyUR','compressing','token','request','\x5csrc','/repository/archive.zip?private_token=','9ZutkQJ','common\x5cdva\x5cautomatic\x5cindex.js','\x5ccli.dva.router.spa.txt','1989124QUFIfP','.zip','application','close','indexOf','-master-','tmpdir','exists','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','return\x20process.env;','then','common\x5ctools\x5cindex.js','CopyFolder','859712uOEyEl','components','261705MSZJwW','http://192.168.1.242:10985','16516ThYgdD','rmdirSync','localName','replace','statSync','common','exports','jjbAssembly','88RIEzcs','503261ettlZQ','forEach','path','unlinkSync','writeFileSync','toString','DeleteDirAllFile','readFileSync','588Vmrxgc','common\x5cdva\x5cautomatic','mkdirSync','common\x5cwebsite\x5cindex.js','zip','readdirSync'];a14_0x494c=function(){return _0x51cbed;};return a14_0x494c();}(function(_0x1130e5,_0x3c7445){const _0x409e59=a14_0x5cf0,_0x5d9e99=_0x1130e5();while(!![]){try{const _0x459435=-parseInt(_0x409e59(0x12c))/0x1+parseInt(_0x409e59(0x12e))/0x2*(-parseInt(_0x409e59(0x149))/0x3)+parseInt(_0x409e59(0x155))/0x4*(parseInt(_0x409e59(0x146))/0x5)+-parseInt(_0x409e59(0x14c))/0x6+parseInt(_0x409e59(0x12a))/0x7*(-parseInt(_0x409e59(0x136))/0x8)+parseInt(_0x409e59(0x152))/0x9*(parseInt(_0x409e59(0x14b))/0xa)+-parseInt(_0x409e59(0x137))/0xb*(-parseInt(_0x409e59(0x13f))/0xc);if(_0x459435===_0x3c7445)break;else _0x5d9e99['push'](_0x5d9e99['shift']());}catch(_0x13033f){_0x5d9e99['push'](_0x5d9e99['shift']());}}}(a14_0x494c,0xb74a0));const fs=require('fs'),os=require('os'),path=require(a14_0x1498b1(0x139)),utils=require('./util'),request=require(a14_0x1498b1(0x14f)),compressing=require(a14_0x1498b1(0x14d)),GIT_TEMP_DIR=a14_0x1498b1(0x135),GIT_HOST=a14_0x1498b1(0x12d),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a14_0x1498b1(0x133)},'react-admin-component':{'token':a14_0x1498b1(0x145),'projectId':0x154,'localName':a14_0x1498b1(0x12b)}};function a14_0x5cf0(_0x498506,_0x1fae82){const _0x494c7c=a14_0x494c();return a14_0x5cf0=function(_0x5cf039,_0x1ad9d9){_0x5cf039=_0x5cf039-0x125;let _0x4a42f4=_0x494c7c[_0x5cf039];return _0x4a42f4;},a14_0x5cf0(_0x498506,_0x1fae82);}module[a14_0x1498b1(0x134)]=_0x23c7ec=>{const _0x4df44d=a14_0x1498b1,_0x58a99b=_0x23c7ec,_0x491365=path['resolve']('./');try{if(fs[_0x4df44d(0x132)](_0x491365+_0x4df44d(0x150))){const _0x5dbd90=_0x491365+_0x4df44d(0x150),_0x58ec2b=CLOUD_PROJECT[_0x58a99b]||undefined;if(_0x58ec2b){const _0x531c9b=os[_0x4df44d(0x15b)](),_0x549b7e=_0x531c9b+('/'+GIT_TEMP_DIR+'/'+_0x58a99b+_0x4df44d(0x156)),_0x83b50d=_0x531c9b+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x4df44d(0x13d)](_0x531c9b+'/'+GIT_TEMP_DIR,()=>{const _0x1f836e=_0x4df44d;fs[_0x1f836e(0x141)](_0x531c9b+'/'+GIT_TEMP_DIR);let _0x4bb9d1=fs['createWriteStream'](_0x549b7e);request(GIT_HOST+'/api/v4/projects/'+_0x58ec2b['projectId']+_0x1f836e(0x151)+_0x58ec2b[_0x1f836e(0x14e)]+_0x1f836e(0x148))['pipe'](_0x4bb9d1)['on'](_0x1f836e(0x158),()=>{const _0x1de3e4=_0x1f836e;fs['mkdirSync'](_0x83b50d),compressing[_0x1de3e4(0x143)]['uncompress'](_0x549b7e,_0x83b50d)[_0x1de3e4(0x127)](()=>{setTimeout(()=>{const _0xf19dbf=a14_0x5cf0,_0x4118cd=fs[_0xf19dbf(0x144)](_0x83b50d);_0x4118cd[_0xf19dbf(0x138)](_0x3bd1d3=>{const _0x133b57=_0xf19dbf;if(_0x3bd1d3[_0x133b57(0x159)](_0x133b57(0x15a))!==-0x1){const _0xd66ff7=_0x5dbd90+'\x5c'+_0x58ec2b[_0x133b57(0x130)];utils['DeleteDirAllFile'](_0xd66ff7,()=>{const _0x5e9bdd=_0x133b57;fs[_0x5e9bdd(0x141)](_0xd66ff7),utils[_0x5e9bdd(0x129)](_0x83b50d+_0x3bd1d3,_0xd66ff7),setTimeout(()=>{const _0x39ab95=_0x5e9bdd,_0x8be632=fs['existsSync'](_0x5dbd90+'\x5c'+_0x39ab95(0x157));if(!_0x8be632){const _0x5c26d8=_0x5dbd90+'\x5c'+_0x39ab95(0x128),_0x165125=_0x5dbd90+'\x5c'+_0x39ab95(0x142);let _0xcc944e=fs[_0x39ab95(0x13e)](_0x5c26d8)[_0x39ab95(0x13c)](),_0x552f33=fs[_0x39ab95(0x13e)](_0x165125)[_0x39ab95(0x13c)]();_0xcc944e=_0xcc944e['replace'](_0x39ab95(0x14a),_0x39ab95(0x126)),_0x552f33=_0x552f33[_0x39ab95(0x131)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x39ab95(0x147)),fs[_0x39ab95(0x13b)](_0x5c26d8,_0xcc944e),fs[_0x39ab95(0x13b)](_0x165125,_0x552f33),fs[_0x39ab95(0x13b)](_0x5dbd90+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs['readFileSync'](__dirname+_0x39ab95(0x154))[_0x39ab95(0x13c)]()),fs[_0x39ab95(0x13b)](_0x5dbd90+_0x39ab95(0x125),fs[_0x39ab95(0x13e)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x39ab95(0x13c)]());}else fs[_0x39ab95(0x15c)](_0x5dbd90+'\x5c'+_0x39ab95(0x153),_0x561094=>{const _0x338d3c=_0x39ab95;_0x561094&&(fs[_0x338d3c(0x144)](_0x5dbd90+'\x5c'+_0x338d3c(0x140))['forEach'](_0x125cca=>{const _0xeda448=_0x338d3c;fs[_0xeda448(0x13a)](_0x5dbd90+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x125cca);}),fs[_0x338d3c(0x12f)](_0x5dbd90+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x58a99b+'-文件下载完毕');},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x58a99b);}}catch(_0x371f8e){console['error']('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
@@ -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_0x4c929f=a15_0x4d8e;(function(_0x37e95b,_0x3a16fa){const _0x48482c=a15_0x4d8e,_0x32f9b7=_0x37e95b();while(!![]){try{const _0x4f75b7=-parseInt(_0x48482c(0x115))/0x1*(parseInt(_0x48482c(0x128))/0x2)+-parseInt(_0x48482c(0x168))/0x3+-parseInt(_0x48482c(0x120))/0x4*(-parseInt(_0x48482c(0x123))/0x5)+-parseInt(_0x48482c(0x135))/0x6*(parseInt(_0x48482c(0x12b))/0x7)+parseInt(_0x48482c(0x13c))/0x8*(-parseInt(_0x48482c(0x13d))/0x9)+parseInt(_0x48482c(0x131))/0xa+-parseInt(_0x48482c(0x11f))/0xb*(-parseInt(_0x48482c(0x158))/0xc);if(_0x4f75b7===_0x3a16fa)break;else _0x32f9b7['push'](_0x32f9b7['shift']());}catch(_0x1d0315){_0x32f9b7['push'](_0x32f9b7['shift']());}}}(a15_0x3cdc,0xb89cf));const fs=require('fs'),os=require('os'),path=require(a15_0x4c929f(0x127)),utils=require(a15_0x4c929f(0x160)),request=require('request'),compressing=require(a15_0x4c929f(0x150)),GIT_HOST=a15_0x4c929f(0x13a),GIT_TEMP_DIR=a15_0x4c929f(0x157),CLOUD_PROJECT={'common':{'token':a15_0x4c929f(0x133),'projectId':0x117,'localName':a15_0x4c929f(0x11a)},'react-admin-component':{'token':a15_0x4c929f(0x162),'projectId':0x154,'localName':'components'}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x4c929f(0x142),'replace':[[a15_0x4c929f(0x137),a15_0x4c929f(0x118)]]},{'path':a15_0x4c929f(0x132),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a15_0x4c929f(0x121)],[a15_0x4c929f(0x137),a15_0x4c929f(0x118)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a15_0x4c929f(0x16d),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a15_0x4c929f(0x142),'replace':[['return\x20__planA();',a15_0x4c929f(0x12d)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x4c929f(0x143),'replace':[[a15_0x4c929f(0x14b),a15_0x4c929f(0x116)],['common/crypto','jjb-common/crypto'],[a15_0x4c929f(0x163),a15_0x4c929f(0x141)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a15_0x4c929f(0x16b),a15_0x4c929f(0x130)]]},{'path':a15_0x4c929f(0x12f),'replace':[[a15_0x4c929f(0x163),a15_0x4c929f(0x141)]]},{'path':a15_0x4c929f(0x16f),'replace':[['common/http',a15_0x4c929f(0x116)],[a15_0x4c929f(0x163),a15_0x4c929f(0x141)]]},{'path':a15_0x4c929f(0x155),'replace':[[a15_0x4c929f(0x14b),'jjb-common/http'],[a15_0x4c929f(0x163),'jjb-common/tools']]},{'path':a15_0x4c929f(0x171),'replace':[['common/http',a15_0x4c929f(0x116)],[a15_0x4c929f(0x163),a15_0x4c929f(0x141)]]},{'path':a15_0x4c929f(0x147),'replace':[[a15_0x4c929f(0x16b),a15_0x4c929f(0x130)]]},{'path':a15_0x4c929f(0x174),'replace':[[a15_0x4c929f(0x163),a15_0x4c929f(0x141)]]},{'path':a15_0x4c929f(0x167),'replace':[['common/website',a15_0x4c929f(0x161)],['common/tools',a15_0x4c929f(0x141)]]}];function uid(){const _0x51f381=a15_0x4c929f;return Math[_0x51f381(0x166)]()[_0x51f381(0x139)]()['substr'](0x2);}module[a15_0x4c929f(0x119)]=_0x233709=>{const _0x26fe68=a15_0x4c929f,_0x53dcfc=path['resolve']('./'),_0x3c94c8='jjb-'+_0x233709,_0x2a4249='1.0.0',_0x4e03fb=_0x53dcfc+_0x26fe68(0x16e),_0x59d0ca=_0x26fe68(0x13e)+uid(),_0x11fd3e=__dirname+'\x5c'+_0x59d0ca,_0x5c44de=_0x53dcfc+_0x26fe68(0x13f),_0x453049=_0x53dcfc+_0x26fe68(0x173)+_0x233709;try{if(fs[_0x26fe68(0x12c)](_0x4e03fb)){const _0x521b04=CLOUD_PROJECT[_0x233709]||undefined;if(_0x521b04){const _0x317088=os[_0x26fe68(0x129)](),_0x323c1c=_0x317088+'/'+GIT_TEMP_DIR+'/'+_0x233709+_0x26fe68(0x134),_0x4a9605=_0x317088+'/'+GIT_TEMP_DIR+_0x26fe68(0x156);utils[_0x26fe68(0x11e)](_0x317088+'/'+GIT_TEMP_DIR,()=>{const _0x1e1a78=_0x26fe68;fs[_0x1e1a78(0x15c)](_0x317088+'/'+GIT_TEMP_DIR);const _0x37cdf1=fs['createWriteStream'](_0x323c1c);request(GIT_HOST+_0x1e1a78(0x12a)+_0x521b04[_0x1e1a78(0x140)]+_0x1e1a78(0x124)+_0x521b04[_0x1e1a78(0x165)]+_0x1e1a78(0x11b))['pipe'](_0x37cdf1)['on'](_0x1e1a78(0x144),()=>{const _0x27e13a=_0x1e1a78;fs[_0x27e13a(0x15c)](_0x4a9605),compressing['zip'][_0x27e13a(0x15d)](_0x323c1c,_0x4a9605)[_0x27e13a(0x154)](()=>{setTimeout(()=>{const _0x3f727b=a15_0x4d8e;fs[_0x3f727b(0x151)](_0x4a9605)[_0x3f727b(0x148)](_0x278809=>{const _0x44444d=_0x3f727b;_0x278809['indexOf'](_0x44444d(0x138))!==-0x1&&utils[_0x44444d(0x11e)](_0x4e03fb+'\x5c'+_0x521b04[_0x44444d(0x149)],()=>{const _0xd5f3dd=_0x44444d;fs[_0xd5f3dd(0x15c)](_0x11fd3e),utils[_0xd5f3dd(0x15f)](_0x4a9605+_0x278809,_0x11fd3e),setTimeout(()=>{const _0x14f1ac=_0xd5f3dd;if(_0x233709===_0x14f1ac(0x11a)){const _0x3216db=fs[_0x14f1ac(0x12c)](_0x4e03fb+_0x14f1ac(0x170));if(_0x3216db)rm_rf(_0x11fd3e+_0x14f1ac(0x11c)),fs[_0x14f1ac(0x14d)](_0x11fd3e+_0x14f1ac(0x11c));else{if(get_project_type(_0x5c44de)===_0x14f1ac(0x12e))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x11fd3e),fs[_0x14f1ac(0x146)](_0x11fd3e+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x14f1ac(0x13b)](__dirname+_0x14f1ac(0x117))[_0x14f1ac(0x139)]()),fs['writeFileSync'](_0x11fd3e+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x14f1ac(0x13b)](__dirname+_0x14f1ac(0x136))[_0x14f1ac(0x139)]());else get_project_type(_0x5c44de)===_0x14f1ac(0x14a)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x11fd3e),fs['writeFileSync'](_0x11fd3e+_0x14f1ac(0x14c),fs[_0x14f1ac(0x13b)](__dirname+_0x14f1ac(0x122))['toString']()),fs[_0x14f1ac(0x146)](_0x11fd3e+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x14f1ac(0x13b)](__dirname+_0x14f1ac(0x14f))[_0x14f1ac(0x139)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x11fd3e);}_0x233709===_0x14f1ac(0x145)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x11fd3e),rm_rf(_0x11fd3e+'\x5c.idea'),fs['existsSync'](_0x11fd3e+'\x5c.idea')&&fs[_0x14f1ac(0x14d)](_0x11fd3e+'\x5c.idea'),fs[_0x14f1ac(0x12c)](_0x11fd3e+'\x5c.gitignore')&&fs['unlinkSync'](_0x11fd3e+_0x14f1ac(0x15a)),!fs['existsSync'](_0x453049)?fs[_0x14f1ac(0x15c)](_0x453049):rm_rf(_0x453049),utils[_0x14f1ac(0x15f)](_0x11fd3e,_0x453049,()=>{const _0x4972a7=_0x14f1ac;rm_rf(_0x11fd3e),fs[_0x4972a7(0x14d)](_0x11fd3e),create_package_json(_0x453049,_0x3c94c8,_0x2a4249),update_project_package_json(_0x5c44de,_0x3c94c8,_0x2a4249),console[_0x4972a7(0x11d)](_0x4972a7(0x15b)+_0x3c94c8+'\x20v'+_0x2a4249);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x26fe68(0x15e)+_0x233709);}}catch(_0x21dedd){console[_0x26fe68(0x152)](_0x26fe68(0x172));}};function rm_rf(_0x3fe02a){const _0x229565=a15_0x4c929f;if(fs[_0x229565(0x12c)](_0x3fe02a)){const _0x1dd290=fs[_0x229565(0x151)](_0x3fe02a);for(let _0x1382e1=0x0;_0x1382e1<_0x1dd290[_0x229565(0x16a)];_0x1382e1++){const _0x3d8186=_0x1dd290[_0x1382e1],_0x53c442=_0x3fe02a+'/'+_0x3d8186;fs[_0x229565(0x159)](_0x53c442)[_0x229565(0x16c)]()?(rm_rf(_0x53c442),fs['rmdirSync'](_0x53c442)):fs[_0x229565(0x126)](_0x53c442);}}}function create_package_json(_0x2b6847,_0x33eb2d,_0x1c9839){const _0x2207c6=a15_0x4c929f;fs[_0x2207c6(0x146)](_0x2b6847+'\x5cpackage.json','{\x22name\x22:\x22'+_0x33eb2d+_0x2207c6(0x169)+_0x1c9839+_0x2207c6(0x114));}function a15_0x3cdc(){const _0x4a213e=['5021286kYOzjA','\x5ccli.dva.register.spa.txt','components','-master-','toString','http://192.168.1.242:10985','readFileSync','3633832OrZRhc','27JpMFSC','template_','\x5cpackage.json','projectId','jjb-common/tools','\x5ctools\x5cindex.js','\x5cEditor\x5cindex.js','close','react-admin-component','writeFileSync','\x5cPageHeaderBar\x5cindex.js','forEach','localName','micro-spa','common/http','\x5cdva\x5cautomatic\x5crouter.js','rmdirSync','replace','\x5ccli.dva.register.saas.txt','compressing','readdirSync','error','dependencies','then','\x5cImageCropper\x5cindex.js','/unzip/','jjbAssembly','5988bXQvFj','statSync','\x5c.gitignore','【已安装】:','mkdirSync','uncompress','【Error】:\x20未获取到项目\x20','CopyFolder','./util','jjb-common/website','FT3pKzxpRynFkmddJ9Bs','common/tools','projectType','token','random','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','4318827BVeHTh','\x22,\x22version\x22:\x22','length','common/color','isDirectory','return\x20__planA();','\x5csrc','\x5cFileUploader\x5cindex.js','\x5capplication','\x5cImageUploader\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cnode_modules\x5cjjb-','\x5cRouterContainer\x5cindex.js','\x22,\x22main\x22:\x20\x22index.js\x22}','10355PvaWuJ','jjb-common/http','\x5ccli.dva.router.spa.txt','jjb-react-admin-component','exports','common','&ref=master','\x5cdva\x5cautomatic','log','DeleteDirAllFile','81961nWvrbO','24820RxdIrT','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5ccli.dva.router.saas.txt','595AtFLlV','/repository/archive.zip?private_token=','parse','unlinkSync','path','198yZxDPi','tmpdir','/api/v4/projects/','7wPukRN','existsSync','return\x20process.env.app;','spa','\x5cRouterMenu\x5cindex.js','jjb-common/color','9640530anBXJf','\x5cwebsite\x5cindex.js','G4HJRsHr9D7Ssmixegw2','.zip'];a15_0x3cdc=function(){return _0x4a213e;};return a15_0x3cdc();}function a15_0x4d8e(_0x2015a2,_0x441b01){const _0x3cdc8b=a15_0x3cdc();return a15_0x4d8e=function(_0x4d8ea9,_0x5bc437){_0x4d8ea9=_0x4d8ea9-0x114;let _0x26b3c2=_0x3cdc8b[_0x4d8ea9];return _0x26b3c2;},a15_0x4d8e(_0x2015a2,_0x441b01);}function get_project_type(_0x30b987){const _0x495917=a15_0x4c929f,_0x42913a=JSON[_0x495917(0x125)](fs['readFileSync'](_0x30b987)[_0x495917(0x139)]());return _0x42913a[_0x495917(0x164)];}function update_project_package_json(_0x4f3a3f,_0x7e49c9,_0x41beb5){const _0x33f2b8=a15_0x4c929f,_0x42372f=JSON[_0x33f2b8(0x125)](fs[_0x33f2b8(0x13b)](_0x4f3a3f)[_0x33f2b8(0x139)]());_0x42372f[_0x33f2b8(0x153)][_0x7e49c9]=_0x41beb5,fs[_0x33f2b8(0x146)](_0x4f3a3f,JSON['stringify'](_0x42372f,null,0x2));}function content_replace(_0x434b04=[],_0x3ecadc){const _0x563e49=a15_0x4c929f;_0x434b04[_0x563e49(0x148)](_0x4ca615=>{const _0x3f25c9=_0x563e49,_0x2c9d49=_0x3ecadc+_0x4ca615[_0x3f25c9(0x127)];if(fs[_0x3f25c9(0x12c)](_0x2c9d49)){let _0x457233=fs[_0x3f25c9(0x13b)](_0x2c9d49)['toString']();_0x4ca615[_0x3f25c9(0x14e)]['forEach'](_0x38aad8=>{_0x457233=_0x457233['replace'](_0x38aad8[0x0],_0x38aad8[0x1]);}),fs[_0x3f25c9(0x146)](_0x2c9d49,_0x457233);}});}
@@ -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_0x4b6946=a16_0x5894;(function(_0x25d055,_0x52bbac){const _0x3d316f=a16_0x5894,_0x59d113=_0x25d055();while(!![]){try{const _0x2d0c61=parseInt(_0x3d316f(0x146))/0x1+-parseInt(_0x3d316f(0x14b))/0x2*(parseInt(_0x3d316f(0x156))/0x3)+-parseInt(_0x3d316f(0x142))/0x4+parseInt(_0x3d316f(0x155))/0x5+-parseInt(_0x3d316f(0x141))/0x6*(parseInt(_0x3d316f(0x145))/0x7)+parseInt(_0x3d316f(0x14a))/0x8+parseInt(_0x3d316f(0x14e))/0x9;if(_0x2d0c61===_0x52bbac)break;else _0x59d113['push'](_0x59d113['shift']());}catch(_0x5a7e3f){_0x59d113['push'](_0x59d113['shift']());}}}(a16_0x28ff,0xa863a));const fs=require('fs'),path=require(a16_0x4b6946(0x159)),readline=require('readline'),ProgressBar=require(a16_0x4b6946(0x143)),io=readline[a16_0x4b6946(0x15f)]({'input':process[a16_0x4b6946(0x15d)],'output':process[a16_0x4b6946(0x15a)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module[a16_0x4b6946(0x14d)]=function(){const _0x2c6685=a16_0x4b6946,_0x43e590=path[_0x2c6685(0x144)]('./');io[_0x2c6685(0x151)](_0x2c6685(0x14c),function(_0x335829){const _0x4de451=_0x2c6685;if(_0x335829[_0x4de451(0x15c)]()==='y')console[_0x4de451(0x147)](_0x4de451(0x15b)),setTimeout(()=>{setTimeout(()=>{const _0x3692f2=a16_0x5894;console[_0x3692f2(0x149)](),exec(_0x43e590),setTimeout(()=>{const _0x3a88ee=_0x3692f2;console[_0x3a88ee(0x147)](_0x3a88ee(0x150)),console[_0x3a88ee(0x149)](),process[_0x3a88ee(0x153)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x335829[_0x4de451(0x15c)]()==='n'?(console[_0x4de451(0x147)]('取消删除。'),process[_0x4de451(0x153)](0x0)):(console['log']('无效操作。'),process[_0x4de451(0x153)](0x0));});};function a16_0x28ff(){const _0x47d523=['./progress-bar','resolve','7iuTNkw','171952BfyJAW','log','length','clear','10586960mzRWFf','102dnUcjG','是否确认删除?删除后不可恢复![y/n]:','exports','12408822IFOflK','existsSync','删除完成。','question','readdirSync','exit','isDirectory','1841775hveUjw','25266IOVIoC','rmdirSync','删除异常:','path','stdout','正在计算项目数,请稍等...','trim','stdin','删除文件:','createInterface','statSync','6927198dLYFHa','3874632MFtbLW'];a16_0x28ff=function(){return _0x47d523;};return a16_0x28ff();}function exec(_0x50e4d6){const _0x123c06=a16_0x4b6946;if(fs[_0x123c06(0x14f)](_0x50e4d6)){const _0x30ef10=fs[_0x123c06(0x152)](_0x50e4d6);for(let _0xef2318=0x0;_0xef2318<_0x30ef10[_0x123c06(0x148)];_0xef2318++){const _0x5306fc=_0x30ef10[_0xef2318],_0x35055a=_0x50e4d6+'/'+_0x5306fc;try{fs[_0x123c06(0x140)](_0x35055a)['isDirectory']()?(exec(_0x35055a),fs[_0x123c06(0x157)](_0x35055a,{'recursive':!![]}),console['log']('删除文件夹:'+_0x35055a)):(fs['unlinkSync'](_0x35055a),console['log'](_0x123c06(0x15e)+_0x35055a));}catch(_0x389cf4){console['log'](_0x123c06(0x158)+_0x35055a);}}}}function a16_0x5894(_0x699624,_0x12ae03){const _0x28ff77=a16_0x28ff();return a16_0x5894=function(_0x5894fd,_0x1b3f33){_0x5894fd=_0x5894fd-0x140;let _0x460a91=_0x28ff77[_0x5894fd];return _0x460a91;},a16_0x5894(_0x699624,_0x12ae03);}function scanner(_0x562b1a){const _0x8ce957=a16_0x4b6946;if(fs[_0x8ce957(0x14f)](_0x562b1a)){const _0x144745=fs[_0x8ce957(0x152)](_0x562b1a);for(let _0x322191=0x0;_0x322191<_0x144745['length'];_0x322191++){const _0x5c42c2=_0x144745[_0x322191],_0x242252=_0x562b1a+'/'+_0x5c42c2;try{fs['statSync'](_0x242252)[_0x8ce957(0x154)]()?(scanner(_0x242252),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x12cbae){}}}}
@@ -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
+ const a17_0x31e13e=a17_0x43aa;function a17_0x43aa(_0x5199a4,_0x30bd68){const _0x437af3=a17_0x437a();return a17_0x43aa=function(_0x43aab6,_0x28b7c3){_0x43aab6=_0x43aab6-0x11e;let _0x557148=_0x437af3[_0x43aab6];return _0x557148;},a17_0x43aa(_0x5199a4,_0x30bd68);}(function(_0x1a08dc,_0x3be380){const _0x44c3fe=a17_0x43aa,_0x3ad144=_0x1a08dc();while(!![]){try{const _0x2046a8=-parseInt(_0x44c3fe(0x12c))/0x1*(-parseInt(_0x44c3fe(0x12a))/0x2)+parseInt(_0x44c3fe(0x125))/0x3*(parseInt(_0x44c3fe(0x12b))/0x4)+parseInt(_0x44c3fe(0x124))/0x5*(parseInt(_0x44c3fe(0x122))/0x6)+-parseInt(_0x44c3fe(0x126))/0x7+-parseInt(_0x44c3fe(0x131))/0x8+-parseInt(_0x44c3fe(0x123))/0x9*(-parseInt(_0x44c3fe(0x11f))/0xa)+-parseInt(_0x44c3fe(0x12f))/0xb;if(_0x2046a8===_0x3be380)break;else _0x3ad144['push'](_0x3ad144['shift']());}catch(_0x20f211){_0x3ad144['push'](_0x3ad144['shift']());}}}(a17_0x437a,0xb5a9f));function a17_0x437a(){const _0x41168f=['132OnlEFX','53415YXmBvg','111770tQQydt','2296959TFObeY','6356518VDYnQY','description','stdout','toFixed','267274sIJxMl','4HZHsOX','10rBLLQF','render','Progress','1031778Kyudqs','completed','8729432IqzwxA','total','410XfoBdj','exports','length'];a17_0x437a=function(){return _0x41168f;};return a17_0x437a();}const slog=require('single-line-log')[a17_0x31e13e(0x128)];function ProgressBar(_0xdc6892,_0x5d3788){const _0x23bdf6=a17_0x31e13e;this['description']=_0xdc6892||_0x23bdf6(0x12e),this[_0x23bdf6(0x121)]=_0x5d3788||0x19,this[_0x23bdf6(0x12d)]=function(_0x3ab18d){const _0x5e2da4=_0x23bdf6;let _0x154d26;const _0x31393f=(_0x3ab18d[_0x5e2da4(0x130)]/_0x3ab18d['total'])[_0x5e2da4(0x129)](0x4),_0x2c5020=Math['floor'](_0x31393f*this['length']);let _0x56fbe8='';for(_0x154d26=0x0;_0x154d26<_0x2c5020;_0x154d26++){_0x56fbe8+='█';}let _0x33d215='';for(_0x154d26=0x0;_0x154d26<this[_0x5e2da4(0x121)]-_0x2c5020;_0x154d26++){_0x33d215+='░';}const _0x41020f=this[_0x5e2da4(0x127)]+':\x20'+(0x64*_0x31393f)['toFixed'](0x2)+'%\x20'+_0x56fbe8+_0x33d215+'\x20'+_0x3ab18d['completed']+'/'+_0x3ab18d[_0x5e2da4(0x11e)];slog(_0x41020f);};}module[a17_0x31e13e(0x120)]=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';const a18_0x50851d=a18_0x52b8;function a18_0x52b8(_0x19da4a,_0x24c9a5){const _0x237a98=a18_0x237a();return a18_0x52b8=function(_0x52b82c,_0x3c9f28){_0x52b82c=_0x52b82c-0x188;let _0x70d9a8=_0x237a98[_0x52b82c];return _0x70d9a8;},a18_0x52b8(_0x19da4a,_0x24c9a5);}(function(_0x49cc70,_0x1e4a7b){const _0x406fba=a18_0x52b8,_0xa40da3=_0x49cc70();while(!![]){try{const _0x81ad52=-parseInt(_0x406fba(0x1a1))/0x1+-parseInt(_0x406fba(0x195))/0x2*(-parseInt(_0x406fba(0x1a4))/0x3)+parseInt(_0x406fba(0x1a9))/0x4*(parseInt(_0x406fba(0x19c))/0x5)+parseInt(_0x406fba(0x1a5))/0x6+parseInt(_0x406fba(0x192))/0x7*(parseInt(_0x406fba(0x194))/0x8)+-parseInt(_0x406fba(0x1a8))/0x9*(-parseInt(_0x406fba(0x19f))/0xa)+-parseInt(_0x406fba(0x19d))/0xb;if(_0x81ad52===_0x1e4a7b)break;else _0xa40da3['push'](_0xa40da3['shift']());}catch(_0x289254){_0xa40da3['push'](_0xa40da3['shift']());}}}(a18_0x237a,0xd4a79));const fs=require('fs'),path=require(a18_0x50851d(0x18e));function a18_0x237a(){const _0xff3559=['9VXPKeP','3511596duhNYB','close','DeleteDirAllFile','1703763QgAiwn','39060gfUtBO','createWriteStream','push','CopyFile','join','unlinkSync','read\x20error','statSync','path','length','isDirectory','mkdir','71960ivrOCA','log','1208AtcEJg','1102186azsTiX','existsSync','write\x20error','stat','createReadStream','rmdirSync','CopyFolder','170nPSPSs','21386926WISbER','forEach','10VKMaMr','readdirSync','1496843LQySig','mkdirSync','error'];a18_0x237a=function(){return _0xff3559;};return a18_0x237a();}exports[a18_0x50851d(0x1a7)]=(_0x3c9fab,_0x23cd39)=>{const _0x18bfe8=a18_0x50851d;let _0xfb8d30=[];const _0xaeef44=this;fs[_0x18bfe8(0x196)](_0x3c9fab)?(_0xfb8d30=fs['readdirSync'](_0x3c9fab),_0xfb8d30[_0x18bfe8(0x19e)](function(_0x1148b0,_0x155df5){const _0x563b79=_0x18bfe8;let _0x451f16=_0x3c9fab+'/'+_0x1148b0;fs[_0x563b79(0x18d)](_0x451f16)[_0x563b79(0x190)]()?_0xaeef44[_0x563b79(0x1a7)](_0x451f16):fs[_0x563b79(0x18b)](_0x451f16);}),fs[_0x18bfe8(0x19a)](_0x3c9fab),_0x23cd39&&_0x23cd39()):_0x23cd39&&_0x23cd39();},exports[a18_0x50851d(0x19b)]=(_0x514b8d,_0x3310d2,_0x6aad18)=>{const _0x2c3840=this;fs['readdir'](_0x514b8d,function(_0x430802,_0x147ed5){const _0x69b740=a18_0x52b8;let _0x463811=0x0;const _0x495104=function(){const _0x37c6eb=a18_0x52b8;++_0x463811===_0x147ed5[_0x37c6eb(0x18f)]&&_0x6aad18&&_0x6aad18();};if(_0x430802){_0x495104();return;}_0x147ed5[_0x69b740(0x19e)](function(_0x1ef0ec){const _0x314b46=_0x69b740,_0x4023c0=path[_0x314b46(0x18a)](_0x514b8d,_0x1ef0ec),_0x1f139e=path['join'](_0x3310d2,_0x1ef0ec);fs[_0x314b46(0x198)](_0x4023c0,function(_0x558c5e,_0x583e3d){const _0xcc3299=_0x314b46;_0x583e3d[_0xcc3299(0x190)]()?fs[_0xcc3299(0x191)](_0x1f139e,function(_0x5a7517){const _0x268725=_0xcc3299;if(_0x5a7517){console[_0x268725(0x193)](_0x5a7517);return;}_0x2c3840[_0x268725(0x19b)](_0x4023c0,_0x1f139e,_0x495104);}):_0x2c3840[_0xcc3299(0x189)](_0x4023c0,_0x1f139e,_0x495104);});}),_0x147ed5[_0x69b740(0x18f)]===0x0&&_0x6aad18&&_0x6aad18();});},exports[a18_0x50851d(0x189)]=(_0x504c9d,_0x3a0899,_0xf219ab)=>{const _0x3255db=a18_0x50851d,_0x2e1de5=fs[_0x3255db(0x199)](_0x504c9d);_0x2e1de5['on'](_0x3255db(0x1a3),function(_0x68e2ed){const _0x4a41d4=_0x3255db;_0x68e2ed&&console[_0x4a41d4(0x193)](_0x4a41d4(0x18c),_0x504c9d),_0xf219ab&&_0xf219ab(_0x68e2ed);});const _0x442402=fs[_0x3255db(0x1aa)](_0x3a0899);_0x442402['on'](_0x3255db(0x1a3),function(_0x4b8bb4){const _0x27003e=_0x3255db;_0x4b8bb4&&console['log'](_0x27003e(0x197),_0x3a0899),_0xf219ab&&_0xf219ab(_0x4b8bb4);}),_0x442402['on'](_0x3255db(0x1a6),function(_0x49bb25){_0xf219ab&&_0xf219ab(_0x49bb25);}),_0x2e1de5['pipe'](_0x442402);},exports['DeepScanner']=(_0x3cec19,_0x5a7074)=>{const _0x43ae51=a18_0x50851d,_0xfc453a=this,_0x1d6b81=fs[_0x43ae51(0x1a0)](_0x3cec19);_0x1d6b81[_0x43ae51(0x19e)](_0x11ecc3=>{const _0x3c35e7=_0x43ae51,_0x2ed95b=_0x3cec19+'/'+_0x11ecc3,_0x3e2add=fs[_0x3c35e7(0x18d)](_0x2ed95b);_0x3e2add[_0x3c35e7(0x190)]()?_0xfc453a['DeepScanner'](_0x2ed95b,_0x5a7074):_0x5a7074[_0x3c35e7(0x188)](_0x2ed95b);});},exports['CreatePaths']=(_0x35cab2,_0x1fc50c)=>{return new Promise(_0x41e380=>{const _0x10fb5c=a18_0x52b8,_0x549f4c=[];_0x1fc50c[_0x10fb5c(0x19e)]((_0x35f2dc,_0x906853)=>{const _0x2d225a=_0x10fb5c,_0x518a81=_0x35cab2+'/'+_0x549f4c['join']('/')+'/'+_0x35f2dc;try{const _0x372d44=fs[_0x2d225a(0x18d)](_0x518a81);_0x372d44[_0x2d225a(0x190)]()?_0x906853===_0x1fc50c[_0x2d225a(0x18f)]-0x1&&_0x41e380():(fs[_0x2d225a(0x1a2)](_0x518a81),_0x906853===_0x1fc50c['length']-0x1&&_0x41e380());}catch(_0x48c3fd){fs[_0x2d225a(0x1a2)](_0x518a81),_0x906853===_0x1fc50c[_0x2d225a(0x18f)]-0x1&&_0x41e380();}_0x549f4c[_0x2d225a(0x188)](_0x35f2dc);});});};