jjb-cmd 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.6</p>
6
+ <div>增加push组件日志</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.5</p>
10
+ <div>指定java pull工作区域cwd</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.4</p>
6
14
  <div>修复问题</div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "jjb脚手架工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +1 @@
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
+ function a0_0x33c1(){const _0x50c304=['compressing','zip','uncompress','pipe','&ref=master','58579623wbNCty','../../old/util','path','12gPxiSg','token','33iFmCpM','forEach','/repository/archive.zip?private_token=','2098089BYEQmC','不存在。','mkdirSync','close','87786BdiMIS','log','tmpdir','../cmd.install/config','5923812liweHj','DeleteDirAllFile','exit','then','/unzip/','/api/v4/projects/','4541193uNuRSm','.zip','readdirSync','CopyFolder','12053752PfvpuY','indexOf','projectId','createWriteStream','resolve','703995VlMyzl'];a0_0x33c1=function(){return _0x50c304;};return a0_0x33c1();}function a0_0x1aa7(_0x5e966b,_0x3fb0a9){const _0x33c16d=a0_0x33c1();return a0_0x1aa7=function(_0x1aa71b,_0x2607b9){_0x1aa71b=_0x1aa71b-0x1ba;let _0x21717a=_0x33c16d[_0x1aa71b];return _0x21717a;},a0_0x1aa7(_0x5e966b,_0x3fb0a9);}const a0_0x83c7e7=a0_0x1aa7;(function(_0x14db20,_0x7f078e){const _0x12cbf6=a0_0x1aa7,_0x218668=_0x14db20();while(!![]){try{const _0x6285ca=parseInt(_0x12cbf6(0x1ba))/0x1*(-parseInt(_0x12cbf6(0x1c1))/0x2)+-parseInt(_0x12cbf6(0x1cb))/0x3+parseInt(_0x12cbf6(0x1dd))/0x4*(-parseInt(_0x12cbf6(0x1d4))/0x5)+-parseInt(_0x12cbf6(0x1c5))/0x6+parseInt(_0x12cbf6(0x1bd))/0x7+-parseInt(_0x12cbf6(0x1cf))/0x8+parseInt(_0x12cbf6(0x1da))/0x9;if(_0x6285ca===_0x7f078e)break;else _0x218668['push'](_0x218668['shift']());}catch(_0x577338){_0x218668['push'](_0x218668['shift']());}}}(a0_0x33c1,0xe30a4));const path=require(a0_0x83c7e7(0x1dc)),{f_file_copy}=require('../cmd.install/tools'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a0_0x83c7e7(0x1c4)),fs=require('fs'),os=require('os'),utils=require(a0_0x83c7e7(0x1db)),request=require('request'),compressing=require(a0_0x83c7e7(0x1d5));module['exports']=_0x57d1ee=>{const _0x411493=a0_0x83c7e7,_0x36bd8b=path[_0x411493(0x1d3)]('./'),_0x510733=CLOUD_PROJECT[_0x57d1ee]||undefined;if(_0x510733){const _0x4849dd=os[_0x411493(0x1c3)](),_0x1532a0=_0x4849dd+'/'+GIT_TEMP_DIR+'/'+_0x57d1ee+_0x411493(0x1cc),_0x48c9fc=_0x4849dd+'/'+GIT_TEMP_DIR+_0x411493(0x1c9);utils[_0x411493(0x1c6)](_0x4849dd+'/'+GIT_TEMP_DIR,()=>{const _0x334214=_0x411493;fs[_0x334214(0x1bf)](_0x4849dd+'/'+GIT_TEMP_DIR);let _0x6f601c=fs[_0x334214(0x1d2)](_0x1532a0);request(GIT_HOST+_0x334214(0x1ca)+_0x510733[_0x334214(0x1d1)]+_0x334214(0x1bc)+_0x510733[_0x334214(0x1de)]+_0x334214(0x1d9))[_0x334214(0x1d8)](_0x6f601c)['on'](_0x334214(0x1c0),()=>{const _0xaf03da=_0x334214;fs[_0xaf03da(0x1bf)](_0x48c9fc),compressing[_0xaf03da(0x1d6)][_0xaf03da(0x1d7)](_0x1532a0,_0x48c9fc)[_0xaf03da(0x1c8)](()=>{setTimeout(()=>{const _0x5dfea=a0_0x1aa7;fs[_0x5dfea(0x1cd)](_0x48c9fc)[_0x5dfea(0x1bb)](_0x553c2b=>{const _0x4e0d7a=_0x5dfea;_0x553c2b[_0x4e0d7a(0x1d0)]('-master-')!==-0x1&&utils[_0x4e0d7a(0x1ce)](_0x48c9fc+_0x553c2b,_0x36bd8b,()=>{const _0x2cfc53=_0x4e0d7a;console['log']('初始化完成!'),process[_0x2cfc53(0x1c7)](0x0);});});},0x7d0);});});});}else console[_0x411493(0x1c2)]('【Error】:初始化失败,'+_0x57d1ee+_0x411493(0x1be));};
@@ -1 +1 @@
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
+ function a1_0x14e5(){const _0xa879e1=['now','7V-YUxhmh51Mdhgx4rq4','CLOUD_PROJECT','3819234npwaNo','test','hLqARY89CN6fUD3yg4NL','TEMPLATE_FOLDER','5tLcJzb','GIT_HOST','prod','20193hoWaiA','1724616csXmPS','1104408qKJGMq','254nPgrxK','4559310pgCOEm','ywPtT3xCG6b_vAxp6sTj','GIT_TEMP_DIR','http://192.168.1.242:10985','FT3pKzxpRynFkmddJ9Bs','e9njpBd1nS_LREN8GFpR','snBxJ2i5kYarGGcsojhY','dev','jjb-assembly-java','5582104eqAnEM','gPSit8aJsLVmNzuQ5Cy4','661299jkBkre'];a1_0x14e5=function(){return _0xa879e1;};return a1_0x14e5();}const a1_0x559e7f=a1_0xe633;function a1_0xe633(_0x4728cb,_0x3b7329){const _0x14e5cc=a1_0x14e5();return a1_0xe633=function(_0xe6336d,_0x3dac03){_0xe6336d=_0xe6336d-0x71;let _0x15e0f5=_0x14e5cc[_0xe6336d];return _0x15e0f5;},a1_0xe633(_0x4728cb,_0x3b7329);}(function(_0x12f612,_0x5148ce){const _0x29e8d5=a1_0xe633,_0x128bc4=_0x12f612();while(!![]){try{const _0x53bffc=parseInt(_0x29e8d5(0x75))/0x1+-parseInt(_0x29e8d5(0x83))/0x2*(-parseInt(_0x29e8d5(0x80))/0x3)+-parseInt(_0x29e8d5(0x81))/0x4+-parseInt(_0x29e8d5(0x7d))/0x5*(parseInt(_0x29e8d5(0x79))/0x6)+parseInt(_0x29e8d5(0x84))/0x7+-parseInt(_0x29e8d5(0x73))/0x8+parseInt(_0x29e8d5(0x82))/0x9;if(_0x53bffc===_0x5148ce)break;else _0x128bc4['push'](_0x128bc4['shift']());}catch(_0x547755){_0x128bc4['push'](_0x128bc4['shift']());}}}(a1_0x14e5,0x801b2));const os=require('os');exports[a1_0x559e7f(0x7e)]=a1_0x559e7f(0x87),exports[a1_0x559e7f(0x86)]='jjb-assembly-'+Date[a1_0x559e7f(0x76)](),exports['GIT_TEMP_JAVA']=a1_0x559e7f(0x72),exports['GIT_JAVA_ENV_JSON']={'development':a1_0x559e7f(0x71),'production':a1_0x559e7f(0x7f),'test':a1_0x559e7f(0x7a)},exports[a1_0x559e7f(0x78)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a1_0x559e7f(0x88),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x559e7f(0x7b),'projectId':0x23b},'jjb-common-lib':{'token':a1_0x559e7f(0x89),'projectId':0x23c},'jjb-common-decorator':{'token':a1_0x559e7f(0x74),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a1_0x559e7f(0x8a),'projectId':0x33f},'micro-app-ts':{'token':a1_0x559e7f(0x77),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a1_0x559e7f(0x85),'projectId':0x33c}},exports[a1_0x559e7f(0x7c)]=os['tmpdir']()+'\x5c'+exports[a1_0x559e7f(0x86)];
@@ -1 +1 @@
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
+ const a2_0x2d1680=a2_0x1abd;function a2_0x1abd(_0x2ba560,_0x188e5d){const _0x21c58a=a2_0x21c5();return a2_0x1abd=function(_0x1abdc0,_0x1b1291){_0x1abdc0=_0x1abdc0-0x11c;let _0x4ff65b=_0x21c58a[_0x1abdc0];return _0x4ff65b;},a2_0x1abd(_0x2ba560,_0x188e5d);}(function(_0x152a30,_0xe0ae3e){const _0x3074c4=a2_0x1abd,_0x6de3a7=_0x152a30();while(!![]){try{const _0x17f175=parseInt(_0x3074c4(0x145))/0x1*(-parseInt(_0x3074c4(0x149))/0x2)+-parseInt(_0x3074c4(0x14d))/0x3+-parseInt(_0x3074c4(0x126))/0x4+parseInt(_0x3074c4(0x129))/0x5+-parseInt(_0x3074c4(0x121))/0x6+parseInt(_0x3074c4(0x138))/0x7*(-parseInt(_0x3074c4(0x12e))/0x8)+parseInt(_0x3074c4(0x130))/0x9*(parseInt(_0x3074c4(0x127))/0xa);if(_0x17f175===_0xe0ae3e)break;else _0x6de3a7['push'](_0x6de3a7['shift']());}catch(_0xa8d71c){_0x6de3a7['push'](_0x6de3a7['shift']());}}}(a2_0x21c5,0x68770));const fs=require('fs'),path=require('path'),request=require(a2_0x2d1680(0x147)),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_0x2d1680(0x123)),{TEMPLATE_FOLDER}=require('./config'),start_time=Date[a2_0x2d1680(0x14e)]();module[a2_0x2d1680(0x139)]=()=>{const _0x5a384e=a2_0x2d1680,_0x4547ca=path[_0x5a384e(0x125)]('./'),_0x44f4d6=[_0x4547ca,_0x5a384e(0x137)]['join']('\x5c'),_0x1c0ab0=[_0x4547ca,_0x5a384e(0x12c)][_0x5a384e(0x141)]('\x5c'),_0xa3b824=[_0x4547ca,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x4547ca)){const _0x5d7aee=f_scan_jjb_config_json_rules(_0x4547ca);_0x5d7aee[_0x5a384e(0x12f)]===_0x5a384e(0x12c)?!fs[_0x5a384e(0x142)](_0x1c0ab0)?(console['log'](_0x5a384e(0x13c)),process[_0x5a384e(0x12d)](0x0)):console[_0x5a384e(0x146)](_0x5a384e(0x14b)):!fs[_0x5a384e(0x142)](_0x44f4d6)&&(console['log']('【Error】:安装失败,src目录不存在。'),process[_0x5a384e(0x12d)](0x0));fs[_0x5a384e(0x124)](TEMPLATE_FOLDER),f_pull_git_repository(_0x5d7aee['installResources'])[_0x5a384e(0x135)](_0x2433ed=>{const _0x163827=_0x5a384e,_0x4a1d1a=fs[_0x163827(0x131)](_0x2433ed[_0x163827(0x128)]);request(_0x2433ed[_0x163827(0x136)])[_0x163827(0x143)](_0x4a1d1a)['on'](_0x163827(0x11c),()=>{const _0x333bfa=_0x163827;fs[_0x333bfa(0x124)](_0x2433ed[_0x333bfa(0x150)]),compressing[_0x333bfa(0x122)]['uncompress'](_0x2433ed[_0x333bfa(0x128)],_0x2433ed[_0x333bfa(0x150)]);});});const _0x55ef70=setInterval(()=>{const _0x492fdf=_0x5a384e,_0x31e096=fs[_0x492fdf(0x133)](TEMPLATE_FOLDER),_0x1b55e7=_0x31e096[_0x492fdf(0x120)](_0x1e9af9=>_0x5d7aee[_0x492fdf(0x14c)][_0x492fdf(0x135)](_0x414a6a=>_0x414a6a[_0x492fdf(0x11e)]+_0x492fdf(0x12a))['includes'](_0x1e9af9));if(_0x1b55e7[_0x492fdf(0x11d)]===_0x5d7aee['installResources'][_0x492fdf(0x11d)]){clearInterval(_0x55ef70);const _0xd6d91f=[];_0x1b55e7[_0x492fdf(0x14f)](_0x462489=>{const _0x46dbba=_0x492fdf,_0x8b7277=[TEMPLATE_FOLDER,_0x462489][_0x46dbba(0x141)]('\x5c');fs[_0x46dbba(0x133)](_0x8b7277)[_0x46dbba(0x14f)](_0x4291ba=>_0xd6d91f[_0x46dbba(0x134)]({'name':_0x462489,'path':[_0x8b7277,_0x4291ba][_0x46dbba(0x141)]('\x5c'),'pure_name':_0x462489[_0x46dbba(0x151)](/_zip$/,''),'import_list':_0x5d7aee['installResources'][_0x46dbba(0x140)](_0x1b0879=>_0x1b0879[_0x46dbba(0x11e)]+_0x46dbba(0x12a)===_0x462489)[_0x46dbba(0x13a)]}));}),_0xd6d91f[_0x492fdf(0x14f)](_0x1b9b33=>{const _0x15a561=_0x492fdf,_0x55b1ff=_0x1b9b33['pure_name'],_0x19a431=_0x1b9b33[_0x15a561(0x132)],_0x4f69d1=[_0x1b9b33['path'],'.idea'][_0x15a561(0x141)]('//'),_0x1adc05=[_0x1b9b33[_0x15a561(0x128)],_0x15a561(0x144)][_0x15a561(0x141)]('//');fs['existsSync'](_0x4f69d1)&&(f_rm_rf(_0x4f69d1),fs[_0x15a561(0x14a)](_0x4f69d1));fs[_0x15a561(0x142)](_0x1adc05)&&fs[_0x15a561(0x13e)](_0x1adc05);_0x19a431[_0x15a561(0x11d)]&&fs[_0x15a561(0x133)](_0x1b9b33[_0x15a561(0x128)])[_0x15a561(0x120)](_0x2e71b4=>!_0x19a431['includes'](_0x2e71b4)&&_0x2e71b4!==_0x15a561(0x148)&&_0x2e71b4!==_0x15a561(0x13d))[_0x15a561(0x14f)](_0x3bda8c=>{const _0xc378a9=_0x1b9b33['path']+'\x5c'+_0x3bda8c;f_rm_rf(_0xc378a9),fs['rmdirSync'](_0xc378a9);});if(_0x5d7aee[_0x15a561(0x12f)]===_0x15a561(0x12c)){const _0x2f6842=_0x55b1ff;fs[_0x15a561(0x142)](_0x1c0ab0+'\x5c'+_0x2f6842)?f_rm_rf(_0x1c0ab0+'\x5c'+_0x2f6842):fs[_0x15a561(0x124)](_0x1c0ab0+'\x5c'+_0x2f6842),_0x2f6842!=='jjb-common-lib'?(f_file_copy(_0x1b9b33[_0x15a561(0x128)],_0x1c0ab0+'\x5c'+_0x2f6842),f_create_package_json(_0x1c0ab0+'\x5c'+_0x2f6842,_0x2f6842,_0x15a561(0x12b))):f_file_copy(_0x1b9b33[_0x15a561(0x128)]+'\x5ctypes',_0x1c0ab0+'\x5c'+_0x2f6842),f_update_project_package_json(_0xa3b824,_0x2f6842,_0x15a561(0x12b));}else _0x5d7aee[_0x15a561(0x12f)]===_0x15a561(0x13f)&&(fs[_0x15a561(0x142)](_0x44f4d6+_0x55b1ff)?f_rm_rf(_0x44f4d6+_0x55b1ff):fs[_0x15a561(0x124)](_0x44f4d6+_0x55b1ff),f_file_copy(_0x1b9b33[_0x15a561(0x128)],_0x44f4d6+_0x55b1ff));}),setTimeout(()=>{const _0x2070c3=_0x492fdf;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2070c3(0x14a)](TEMPLATE_FOLDER);const _0x6c58d9=Date['now']();console[_0x2070c3(0x146)](_0x2070c3(0x11f)+(_0x6c58d9-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5a384e(0x146)](_0x5a384e(0x13b));};function a2_0x21c5(){const _0x307191=['push','map','repository','src\x5c','294xvUsAx','exports','importList','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','【Error】:安装失败,node_modules目录不存在。','setting.json','unlinkSync','src','find','join','existsSync','pipe','.gitignore','96158zHKyNX','log','request','index.js','6MhiuZY','rmdirSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','installResources','1548126SPQxSX','now','forEach','compress','replace','close','length','name','【jjb-cmd】:install命令执行完成,用时','filter','1613634RCnPHv','zip','./tools','mkdirSync','resolve','2736172bWTUpY','267940hOxvie','path','3244930eXEsgX','_zip','1.0.0','node_modules','exit','33984MWBbfl','installTarget','576oYikcU','createWriteStream','import_list','readdirSync'];a2_0x21c5=function(){return _0x307191;};return a2_0x21c5();}
@@ -1 +1 @@
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
+ const a3_0x6398b=a3_0x57bc;function a3_0x44e8(){const _0x221c32=['installResources','react-admin-component','jjb-dva-runtime','micro-spa','includes','log','/api/v4/projects/','map','vue-unisass-component','3533229THxFia','src','toString','6671zTYXSE','f_create_package_json','installTarget','forEach','.zip','writeFileSync','string','mkdirSync','jjb-common-lib','length','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','/repository/archive.zip?private_token=','existsSync','【Error】:[jjb.config.json.installResources]无资源。','name','token','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','parse','projectId','1544qrfioa','statSync','f_rm_rf','\x5cjjb.config.json','f_content_replace','f_scan_jjb_config_json','f_update_project_package_json','replace','readdirSync','f_resolve_install_resources','unlinkSync','140730HgrkqF','5nceHHU','\x22,\x22main\x22:\x20\x22index.js\x22}','jjb-common','spa','946429YLVqnI','f_pull_git_repository','\x5cpackage.json','multi','dependencies','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','tmpdir','316237QnrqvL','path','\x22,\x22version\x22:\x22','filter','20ArIDba','f_file_copy','projectType','isArray','readFileSync','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','stringify','20wATZFr','exit','【Error】:[jjb.config.json.installTarget]类型是一个string','811068wPTOIH','1310088xKfDJX'];a3_0x44e8=function(){return _0x221c32;};return a3_0x44e8();}(function(_0x38908a,_0x2d0164){const _0x43a82e=a3_0x57bc,_0x1a2f31=_0x38908a();while(!![]){try{const _0xfba736=parseInt(_0x43a82e(0x1aa))/0x1+parseInt(_0x43a82e(0x1b5))/0x2*(-parseInt(_0x43a82e(0x1e4))/0x3)+parseInt(_0x43a82e(0x1b9))/0x4+parseInt(_0x43a82e(0x1e5))/0x5*(parseInt(_0x43a82e(0x1b8))/0x6)+-parseInt(_0x43a82e(0x1c6))/0x7*(-parseInt(_0x43a82e(0x1d9))/0x8)+-parseInt(_0x43a82e(0x1c3))/0x9+parseInt(_0x43a82e(0x1ae))/0xa*(parseInt(_0x43a82e(0x1e9))/0xb);if(_0xfba736===_0x2d0164)break;else _0x1a2f31['push'](_0x1a2f31['shift']());}catch(_0x3fdf01){_0x1a2f31['push'](_0x1a2f31['shift']());}}}(a3_0x44e8,0x42b6f));function a3_0x57bc(_0xdf42ad,_0x1a81f8){const _0x44e83c=a3_0x44e8();return a3_0x57bc=function(_0x57bc5c,_0x16c766){_0x57bc5c=_0x57bc5c-0x1a4;let _0x5a8fb6=_0x44e83c[_0x57bc5c];return _0x5a8fb6;},a3_0x57bc(_0xdf42ad,_0x1a81f8);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a3_0x6398b(0x1db)]=function(_0x5cf429){const _0x3464fa=a3_0x6398b;if(fs[_0x3464fa(0x1d2)](_0x5cf429)){const _0x2a32e7=fs[_0x3464fa(0x1e1)](_0x5cf429);for(let _0x229085=0x0;_0x229085<_0x2a32e7['length'];_0x229085++){const _0x51ecf5=_0x2a32e7[_0x229085],_0x32684d=_0x5cf429+'/'+_0x51ecf5;fs[_0x3464fa(0x1da)](_0x32684d)['isDirectory']()?(exports['f_rm_rf'](_0x32684d),fs['rmdirSync'](_0x32684d)):fs[_0x3464fa(0x1e3)](_0x32684d);}}},exports[a3_0x6398b(0x1ea)]=function(_0x5d1b18=[]){const _0x15458e=a3_0x6398b;return _0x5d1b18[_0x15458e(0x1c1)](_0x2d37ff=>{const _0x357ef0=_0x15458e,_0x165085=CLOUD_PROJECT[_0x2d37ff[_0x357ef0(0x1d4)]]||undefined,_0x4cc32d=os[_0x357ef0(0x1a9)]();return{'path':_0x4cc32d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2d37ff[_0x357ef0(0x1d4)]+_0x357ef0(0x1ca),'compress':_0x4cc32d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2d37ff[_0x357ef0(0x1d4)]+'_zip','repository':GIT_HOST+_0x357ef0(0x1c0)+_0x165085[_0x357ef0(0x1d8)]+_0x357ef0(0x1d1)+_0x165085[_0x357ef0(0x1d5)]+'&ref=master'};});},exports[a3_0x6398b(0x1de)]=function(_0x55a7f6){const _0x35e1bd=a3_0x6398b;return fs[_0x35e1bd(0x1d2)](_0x55a7f6+_0x35e1bd(0x1dc));},exports['f_scan_jjb_config_json_rules']=function(_0x19b71c){const _0x5f5463=a3_0x6398b;let _0x2ff0be={};try{_0x2ff0be=JSON[_0x5f5463(0x1d7)](fs[_0x5f5463(0x1b2)](_0x19b71c+_0x5f5463(0x1dc))[_0x5f5463(0x1c5)]());}catch(_0x509fcd){console['log'](_0x5f5463(0x1d6)),process['exit'](0x0);}!(_0x5f5463(0x1b0)in _0x2ff0be)&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x5f5463(0x1b6)](0x0));!(_0x5f5463(0x1c8)in _0x2ff0be)&&(console['log'](_0x5f5463(0x1b3)),process[_0x5f5463(0x1b6)](0x0));!(_0x5f5463(0x1ba)in _0x2ff0be)&&(console['log'](_0x5f5463(0x1a8)),process[_0x5f5463(0x1b6)](0x0));typeof _0x2ff0be[_0x5f5463(0x1b0)]!==_0x5f5463(0x1cc)&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1a7)),process[_0x5f5463(0x1b6)](0x0));![_0x5f5463(0x1a5),_0x5f5463(0x1e8),'uniapp',_0x5f5463(0x1bd)][_0x5f5463(0x1be)](_0x2ff0be['projectType'])&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process['exit'](0x0));typeof _0x2ff0be['installTarget']!==_0x5f5463(0x1cc)&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1b7)),process[_0x5f5463(0x1b6)](0x0));!['node_modules',_0x5f5463(0x1c4)][_0x5f5463(0x1be)](_0x2ff0be[_0x5f5463(0x1c8)])&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1d0)),process[_0x5f5463(0x1b6)](0x0));!Array[_0x5f5463(0x1b1)](_0x2ff0be[_0x5f5463(0x1ba)])&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x2ff0be[_0x5f5463(0x1ba)][_0x5f5463(0x1cf)]===0x0&&(console['log'](_0x5f5463(0x1d3)),process[_0x5f5463(0x1b6)](0x0));const _0x3b0f45=exports[_0x5f5463(0x1e2)](_0x2ff0be[_0x5f5463(0x1ba)]);return _0x3b0f45[_0x5f5463(0x1c1)](_0x35aff7=>_0x35aff7[_0x5f5463(0x1d4)])[_0x5f5463(0x1ad)](_0x290098=>![_0x5f5463(0x1e7),_0x5f5463(0x1bc),_0x5f5463(0x1ce),'jjb-common-decorator',_0x5f5463(0x1bb),_0x5f5463(0x1c2)][_0x5f5463(0x1be)](_0x290098))[_0x5f5463(0x1cf)]!==0x0&&(console[_0x5f5463(0x1bf)]('【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[_0x5f5463(0x1b6)](0x0)),_0x2ff0be[_0x5f5463(0x1ba)]=_0x3b0f45,_0x2ff0be;},exports[a3_0x6398b(0x1c7)]=function(_0x3fcf01,_0x40df40,_0x165bc5){const _0x2652f0=a3_0x6398b;fs[_0x2652f0(0x1cb)](_0x3fcf01+_0x2652f0(0x1a4),'{\x22name\x22:\x22'+_0x40df40+_0x2652f0(0x1ac)+_0x165bc5+_0x2652f0(0x1e6));},exports['f_resolve_install_resources']=function(_0x1b5f61=[]){const _0x7c414b=a3_0x6398b,_0x360b62=[];return Array['isArray'](_0x1b5f61)&&_0x1b5f61[_0x7c414b(0x1c9)](_0x5c74c1=>{const _0x35ee7e=_0x7c414b;if(Array[_0x35ee7e(0x1b1)](_0x5c74c1)){const [_0x194bf6,_0x4f0a90=[]]=_0x5c74c1;_0x360b62['push']({'name':_0x194bf6,'importList':_0x4f0a90});}else _0x360b62['push']({'name':_0x5c74c1,'importList':[]});}),_0x360b62;},exports[a3_0x6398b(0x1df)]=function(_0x735ae8,_0x3d5c64,_0xa3586e){const _0x2aa7f5=a3_0x6398b,_0x135493=JSON[_0x2aa7f5(0x1d7)](fs['readFileSync'](_0x735ae8)['toString']());_0x135493[_0x2aa7f5(0x1a6)][_0x3d5c64]=_0xa3586e,fs[_0x2aa7f5(0x1cb)](_0x735ae8,JSON[_0x2aa7f5(0x1b4)](_0x135493,null,0x2));},exports[a3_0x6398b(0x1af)]=function(_0xdb7156,_0x507e1f){const _0x5e8219=a3_0x6398b;fs[_0x5e8219(0x1e1)](_0xdb7156)[_0x5e8219(0x1c9)](_0x452f72=>{const _0x63e69a=_0x5e8219,_0x31f089=_0xdb7156+'\x5c'+_0x452f72,_0x4d5aae=_0x507e1f+'\x5c'+_0x452f72;fs[_0x63e69a(0x1da)](_0x31f089)['isDirectory']()?(fs[_0x63e69a(0x1cd)](_0x4d5aae),exports['f_file_copy'](_0x31f089,_0x4d5aae)):fs[_0x63e69a(0x1cb)](_0x4d5aae,fs[_0x63e69a(0x1b2)](_0x31f089)[_0x63e69a(0x1c5)]());});},exports[a3_0x6398b(0x1dd)]=function(_0x5a14b1=[],_0x12bac5){const _0x56421f=a3_0x6398b;_0x5a14b1[_0x56421f(0x1c9)](_0xa62d6f=>{const _0x956bba=_0x56421f,_0x587f56=_0x12bac5+_0xa62d6f[_0x956bba(0x1ab)];if(fs['existsSync'](_0x587f56)){let _0x208583=fs[_0x956bba(0x1b2)](_0x587f56)[_0x956bba(0x1c5)]();_0xa62d6f[_0x956bba(0x1e0)]['forEach'](_0x3f9e57=>{const _0x43ff03=_0x956bba;_0x208583=_0x208583[_0x43ff03(0x1e0)](_0x3f9e57[0x0],_0x3f9e57[0x1]);}),fs[_0x956bba(0x1cb)](_0x587f56,_0x208583);}});};
@@ -1 +1 @@
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
+ const a4_0x591d57=a4_0x3f04;(function(_0x595215,_0x138847){const _0x548e7a=a4_0x3f04,_0x481210=_0x595215();while(!![]){try{const _0x48305b=-parseInt(_0x548e7a(0x176))/0x1*(-parseInt(_0x548e7a(0x178))/0x2)+parseInt(_0x548e7a(0x172))/0x3+parseInt(_0x548e7a(0x177))/0x4*(-parseInt(_0x548e7a(0x164))/0x5)+parseInt(_0x548e7a(0x162))/0x6+parseInt(_0x548e7a(0x163))/0x7+-parseInt(_0x548e7a(0x161))/0x8+parseInt(_0x548e7a(0x17d))/0x9*(-parseInt(_0x548e7a(0x17c))/0xa);if(_0x48305b===_0x138847)break;else _0x481210['push'](_0x481210['shift']());}catch(_0x280ab6){_0x481210['push'](_0x481210['shift']());}}}(a4_0x4c52,0xf0389));function a4_0x3f04(_0x2cf3db,_0x270770){const _0x4c52b8=a4_0x4c52();return a4_0x3f04=function(_0x3f04a6,_0x58c48a){_0x3f04a6=_0x3f04a6-0x15e;let _0x1f3487=_0x4c52b8[_0x3f04a6];return _0x1f3487;},a4_0x3f04(_0x2cf3db,_0x270770);}function a4_0x4c52(){const _0x3ee8d1=['10szjFdN','stringify','path','log','axios','exit','\x5cpackage.json','发布失败!根目录缺少‘package.json’文件,无法完成发布。','\x5cdist\x5cindex.js','exports','join','existsSync','网络异常。','readFileSync','4026537cYSymx','toString','http://120.26.210.58:8088/api/file/push','networkInterfaces','3734qzSzof','64348OhbOVu','308WlkpgV','resolve','catch','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','30lcPckw','5453037JPDlMp','hostname','platform','post','arch','4304592MTsmLA','3861930mimbAM','5677014sKsPuY'];a4_0x4c52=function(){return _0x3ee8d1;};return a4_0x4c52();}const path=require(a4_0x591d57(0x166)),fs=require('fs'),os=require('os'),axios=require(a4_0x591d57(0x168));module[a4_0x591d57(0x16d)]=_0x11689a=>{const _0x3a7da2=a4_0x591d57,_0x45e9c7=path[_0x3a7da2(0x179)]('./'),_0xb13a08=_0x45e9c7+_0x3a7da2(0x16c),_0x43cbd1=_0x45e9c7+_0x3a7da2(0x16a),_0x5d7272=[os[_0x3a7da2(0x17e)](),os[_0x3a7da2(0x15e)](),os[_0x3a7da2(0x160)](),new Date()[_0x3a7da2(0x173)](),JSON['stringify'](os[_0x3a7da2(0x175)](),null,'\x09')][_0x3a7da2(0x16e)]('\x0a');if(fs[_0x3a7da2(0x16f)](_0x43cbd1)){if(fs[_0x3a7da2(0x16f)](_0xb13a08)){const _0x31e0c6=JSON['parse'](fs[_0x3a7da2(0x171)](_0x43cbd1)['toString']()),{name:_0x4df7d1,version:_0x5aa74a}=_0x31e0c6;_0x5d7272['push'](JSON[_0x3a7da2(0x165)](_0x31e0c6)),axios[_0x3a7da2(0x15f)](_0x3a7da2(0x174),{'log_text':_0x5d7272,'package_name':_0x4df7d1,'package_version':_0x11689a?_0x11689a:_0x5aa74a,'package_content':fs['readFileSync'](_0xb13a08)[_0x3a7da2(0x173)]()})['then'](_0x33db55=>{const _0x29799a=_0x3a7da2;console[_0x29799a(0x167)](_0x33db55['data']['message']),process[_0x29799a(0x169)](0x0);})[_0x3a7da2(0x17a)](_0x466496=>{const _0x31ec45=_0x3a7da2;console[_0x31ec45(0x167)](_0x466496),console['log'](_0x31ec45(0x170)),process[_0x31ec45(0x169)](0x0);});}else console['log'](_0x3a7da2(0x17b)),process['exit'](0x0);}else console[_0x3a7da2(0x167)](_0x3a7da2(0x16b)),process[_0x3a7da2(0x169)](0x0);};
@@ -1 +1 @@
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
+ function a5_0xfea6(){const _0x2af49e=['execSync','\x5cjjb.config.json','1115178GPHOzS','10202238tLbbWQ','git\x20commit\x20-m\x20','existsSync','toString','path','readFileSync','git\x20add\x20.','git\x20clone\x20','【Error】:no\x20setting\x20git','no\x20message','Git\x20Pull\x20Done,yarn\x20build:','gitName','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','log','yarn','1302891HOmCZb','5BdhxIk','Git\x20Commit\x20Done,git\x20push,please\x20wait...','Git\x20Push\x20Done!','exit','mkdirSync','\x20--no-verify','yarn\x20build:','tmpdir','Git\x20Add\x20Done,git\x20commit,please\x20wait...','492269xUJHMS','1058494kzoFCe','git','1903308HHIATO','85288HGDvOZ','/node_modules','../cmd.install/config','child_process','112xAJsXq','【Error】:参数传递错误','git\x20pull','/src/main/resources/templates/','yarn\x20install\x20Done!','git\x20push\x20-f'];a5_0xfea6=function(){return _0x2af49e;};return a5_0xfea6();}function a5_0x22c1(_0x5e49b4,_0x1114d4){const _0xfea60b=a5_0xfea6();return a5_0x22c1=function(_0x22c164,_0x586116){_0x22c164=_0x22c164-0x7a;let _0x59bbc0=_0xfea60b[_0x22c164];return _0x59bbc0;},a5_0x22c1(_0x5e49b4,_0x1114d4);}const a5_0x3da0da=a5_0x22c1;(function(_0x1a2040,_0xb77aab){const _0x462574=a5_0x22c1,_0x197bfa=_0x1a2040();while(!![]){try{const _0xfb84a8=-parseInt(_0x462574(0x96))/0x1+parseInt(_0x462574(0x97))/0x2+-parseInt(_0x462574(0x8c))/0x3+-parseInt(_0x462574(0x99))/0x4+parseInt(_0x462574(0x8d))/0x5*(parseInt(_0x462574(0x7c))/0x6)+-parseInt(_0x462574(0x9e))/0x7*(parseInt(_0x462574(0x9a))/0x8)+parseInt(_0x462574(0x7d))/0x9;if(_0xfb84a8===_0xb77aab)break;else _0x197bfa['push'](_0x197bfa['shift']());}catch(_0x487290){_0x197bfa['push'](_0x197bfa['shift']());}}}(a5_0xfea6,0x4350b));const fs=require('fs'),os=require('os'),path=require(a5_0x3da0da(0x81)),child_process=require(a5_0x3da0da(0x9d)),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x3da0da(0x9c));module['exports']=arguments=>{const _0xb99c14=a5_0x3da0da;console[_0xb99c14(0x8a)](arguments);arguments['length']<0x2&&(console[_0xb99c14(0x8a)](_0xb99c14(0x9f)),process[_0xb99c14(0x90)](0x0));const _0x5e2b89=arguments[0x1],_0x1df420=arguments[0x2]||_0xb99c14(0x86),_0xcfa682=path['resolve']('./'),_0x447917=_0xcfa682+_0xb99c14(0x7b),_0x5dcacc=_0xcfa682+'\x5cdist',_0x1de460=os[_0xb99c14(0x94)]();if(fs[_0xb99c14(0x7f)](_0x447917)){const _0x3bd3a8=JSON['parse'](fs[_0xb99c14(0x82)](_0x447917)[_0xb99c14(0x80)]());if(_0x3bd3a8[_0xb99c14(0x98)]){const _0x36d39c=_0x1de460+'/'+GIT_TEMP_JAVA;!fs[_0xb99c14(0x7f)](_0x36d39c)&&(fs[_0xb99c14(0x91)](_0x36d39c),child_process[_0xb99c14(0x7a)](_0xb99c14(0x84)+_0x3bd3a8[_0xb99c14(0x98)],{'cwd':_0x36d39c})),_0x5369df(_0x36d39c,_0x3bd3a8);}else console[_0xb99c14(0x8a)](_0xb99c14(0x85));}function _0x5369df(_0x43371c,_0x3ea57f){const _0x4b6b9e=_0xb99c14,_0x3d315f=_0x43371c+'/'+_0x3ea57f[_0x4b6b9e(0x88)];!fs['existsSync'](_0x3d315f)&&(console[_0x4b6b9e(0x8a)]('【Error】:no\x20setting\x20gitName'),process[_0x4b6b9e(0x90)](0x0));child_process['execSync'](_0x4b6b9e(0xa0),{'cwd':_0x3d315f});!fs[_0x4b6b9e(0x7f)](_0xcfa682+_0x4b6b9e(0x9b))?(console[_0x4b6b9e(0x8a)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x4b6b9e(0x7a)](_0x4b6b9e(0x8b),{'cwd':_0xcfa682}),console[_0x4b6b9e(0x8a)](_0x4b6b9e(0xa2))):console[_0x4b6b9e(0x8a)](_0x4b6b9e(0x87)+_0x5e2b89+',please\x20wait...');child_process['execSync'](_0x4b6b9e(0x93)+_0x5e2b89,{'cwd':_0xcfa682}),console[_0x4b6b9e(0x8a)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4b6b9e(0x7f)](_0x5dcacc)){const _0x3cfe6c=_0x3d315f+_0x4b6b9e(0xa1)+GIT_JAVA_ENV_JSON[_0x5e2b89];DeleteDirAllFile(_0x3cfe6c,()=>{const _0x3420c6=_0x4b6b9e;fs[_0x3420c6(0x91)](_0x3cfe6c),CopyFolder(_0x5dcacc,_0x3cfe6c,()=>{const _0xca84cb=_0x3420c6;console[_0xca84cb(0x8a)](_0xca84cb(0x89)),setTimeout(()=>{const _0x1bec4f=_0xca84cb;child_process[_0x1bec4f(0x7a)](_0x1bec4f(0x83),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x95));try{child_process[_0x1bec4f(0x7a)](_0x1bec4f(0x7e)+_0x1df420+_0x1bec4f(0x92),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x8e));}catch(_0x179d15){console[_0x1bec4f(0x8a)]('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x1bec4f(0x7a)](_0x1bec4f(0xa3),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x8f));},0x3e8);});});}else console[_0x4b6b9e(0x8a)]('【Error】:打包失败,没有dist目录!');}};
@@ -1 +1 @@
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
+ function a6_0x4287(){const _0x48612a=['707817faJYIq','216SEzLji','91268UaZeeA','55AtgpCW','267970wFFpIe','exit','exports','status','14EwOiVd','16308qqfZfE','log','then','post','1050344hGtCCx','data','11870UGZsIc','components','http://120.26.210.58:8088/api/file/config','catch','243222peLizd','9PwWUmb','网络异常。'];a6_0x4287=function(){return _0x48612a;};return a6_0x4287();}const a6_0x1c41d2=a6_0x1036;(function(_0xab1708,_0x24d794){const _0x3f0f1=a6_0x1036,_0x1ddf15=_0xab1708();while(!![]){try{const _0x12ad2d=-parseInt(_0x3f0f1(0x185))/0x1+-parseInt(_0x3f0f1(0x17c))/0x2*(-parseInt(_0x3f0f1(0x184))/0x3)+-parseInt(_0x3f0f1(0x18c))/0x4*(parseInt(_0x3f0f1(0x186))/0x5)+-parseInt(_0x3f0f1(0x180))/0x6*(-parseInt(_0x3f0f1(0x18b))/0x7)+-parseInt(_0x3f0f1(0x17a))/0x8*(parseInt(_0x3f0f1(0x181))/0x9)+-parseInt(_0x3f0f1(0x187))/0xa+parseInt(_0x3f0f1(0x183))/0xb;if(_0x12ad2d===_0x24d794)break;else _0x1ddf15['push'](_0x1ddf15['shift']());}catch(_0x52d3de){_0x1ddf15['push'](_0x1ddf15['shift']());}}}(a6_0x4287,0x44008));const axios=require('axios');function a6_0x1036(_0x42b277,_0x3efaa7){const _0x428745=a6_0x4287();return a6_0x1036=function(_0x1036f1,_0x676f3a){_0x1036f1=_0x1036f1-0x17a;let _0x1f8369=_0x428745[_0x1036f1];return _0x1f8369;},a6_0x1036(_0x42b277,_0x3efaa7);}module[a6_0x1c41d2(0x189)]=_0x15e674=>{const _0xba3157=a6_0x1c41d2;axios[_0xba3157(0x18f)](_0xba3157(0x17e))[_0xba3157(0x18e)](_0x32f103=>{const _0x2157a0=_0xba3157;if(_0x32f103[_0x2157a0(0x17b)][_0x2157a0(0x18a)]){const _0x1b4531=_0x32f103['data'][_0x2157a0(0x17b)];_0x15e674==='server'&&(console[_0x2157a0(0x18d)](_0x1b4531['host']),console[_0x2157a0(0x18d)](_0x1b4531['port'])),_0x15e674===_0x2157a0(0x17d)&&console[_0x2157a0(0x18d)](_0x1b4531[_0x2157a0(0x17d)]);}else console[_0x2157a0(0x18d)](_0x32f103[_0x2157a0(0x17b)]['message']);process['exit'](0x0);})[_0xba3157(0x17f)](()=>{const _0x4cbc3f=_0xba3157;console[_0x4cbc3f(0x18d)](_0x4cbc3f(0x182)),process[_0x4cbc3f(0x188)](0x0);});};
@@ -1 +1 @@
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
+ const a7_0x475227=a7_0x3eab;(function(_0x5baac5,_0x58d986){const _0x4285e9=a7_0x3eab,_0x18c51e=_0x5baac5();while(!![]){try{const _0x1072e7=parseInt(_0x4285e9(0x1fc))/0x1*(parseInt(_0x4285e9(0x1fe))/0x2)+-parseInt(_0x4285e9(0x1f9))/0x3+parseInt(_0x4285e9(0x20b))/0x4+-parseInt(_0x4285e9(0x204))/0x5*(-parseInt(_0x4285e9(0x20f))/0x6)+-parseInt(_0x4285e9(0x207))/0x7+-parseInt(_0x4285e9(0x202))/0x8+parseInt(_0x4285e9(0x205))/0x9*(parseInt(_0x4285e9(0x1fd))/0xa);if(_0x1072e7===_0x58d986)break;else _0x18c51e['push'](_0x18c51e['shift']());}catch(_0x23403b){_0x18c51e['push'](_0x18c51e['shift']());}}}(a7_0x3b43,0x653f5));const fs=require('fs'),path=require(a7_0x475227(0x1ff)),readline=require('readline'),io=readline[a7_0x475227(0x203)]({'input':process[a7_0x475227(0x200)],'output':process[a7_0x475227(0x20a)]});let f_total=0x0;function a7_0x3eab(_0x1f81e1,_0x385fe2){const _0x3b439a=a7_0x3b43();return a7_0x3eab=function(_0x3eab96,_0x5e2cc7){_0x3eab96=_0x3eab96-0x1f3;let _0x248608=_0x3b439a[_0x3eab96];return _0x248608;},a7_0x3eab(_0x1f81e1,_0x385fe2);}module[a7_0x475227(0x1f6)]=function(){const _0x555239=a7_0x475227,_0x4a877a=path['resolve']('./');io['question'](_0x555239(0x20d),function(_0x30a8ca){const _0x561359=_0x555239;if(_0x30a8ca[_0x561359(0x201)]()==='y')console[_0x561359(0x1f3)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x1d5196=a7_0x3eab;console[_0x1d5196(0x1fb)](),exec(_0x4a877a),setTimeout(()=>{const _0x3b593b=_0x1d5196;console[_0x3b593b(0x1f3)](_0x3b593b(0x20e)),console[_0x3b593b(0x1fb)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x30a8ca[_0x561359(0x201)]()==='n'?(console[_0x561359(0x1f3)]('取消删除。'),process[_0x561359(0x1f8)](0x0)):(console['log']('无效操作。'),process[_0x561359(0x1f8)](0x0));});};function a7_0x3b43(){const _0x1fa427=['3274390GDgRtk','statSync','删除文件夹:','stdout','1584236GzKOQO','existsSync','是否确认删除?删除后不可恢复![y/n]:','删除完成。','6kENNjO','log','length','删除文件:','exports','readdirSync','exit','1771254iWLOOR','rmdirSync','clear','165352DUJMlh','770wSnHvZ','2DSvPfS','path','stdin','trim','6126832uyUmvn','createInterface','2946650jdvMAc','127170EOTDXD','删除异常:'];a7_0x3b43=function(){return _0x1fa427;};return a7_0x3b43();}function exec(_0x419a62){const _0x189957=a7_0x475227;if(fs[_0x189957(0x20c)](_0x419a62)){const _0x15bf54=fs[_0x189957(0x1f7)](_0x419a62);for(let _0x45023c=0x0;_0x45023c<_0x15bf54[_0x189957(0x1f4)];_0x45023c++){const _0x47508e=_0x15bf54[_0x45023c],_0x116214=_0x419a62+'/'+_0x47508e;try{fs[_0x189957(0x208)](_0x116214)['isDirectory']()?(exec(_0x116214),fs[_0x189957(0x1fa)](_0x116214,{'recursive':!![]}),console[_0x189957(0x1f3)](_0x189957(0x209)+_0x116214)):(fs['unlinkSync'](_0x116214),console[_0x189957(0x1f3)](_0x189957(0x1f5)+_0x116214));}catch(_0xc0358c){console['log'](_0x189957(0x206)+_0x116214);}}}}
@@ -1 +1 @@
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
+ const a8_0x506750=a8_0x3fd7;function a8_0x43de(){const _0x28a1e9=['131429shBxpT','readFileSync','status','488222thpgaU','138342tXXCEO','path','166608yLepxX','catch','existsSync','543456rKWBGQ','查询失败!根目录缺少‘package.json’文件,无法完成查询。','log','4XqcLBL','414670NMdSCg','网络异常。','exit','post','528BWuzeU','4060rvDGBr','\x5cpackage.json','message','data'];a8_0x43de=function(){return _0x28a1e9;};return a8_0x43de();}(function(_0x6dc0ee,_0x2642e0){const _0x14add5=a8_0x3fd7,_0x5e52ce=_0x6dc0ee();while(!![]){try{const _0x4ff662=parseInt(_0x14add5(0x1ab))/0x1+parseInt(_0x14add5(0x1a2))/0x2+-parseInt(_0x14add5(0x1af))/0x3*(parseInt(_0x14add5(0x1a1))/0x4)+parseInt(_0x14add5(0x1a7))/0x5*(-parseInt(_0x14add5(0x1a6))/0x6)+-parseInt(_0x14add5(0x1ae))/0x7+parseInt(_0x14add5(0x19b))/0x8+-parseInt(_0x14add5(0x19e))/0x9;if(_0x4ff662===_0x2642e0)break;else _0x5e52ce['push'](_0x5e52ce['shift']());}catch(_0x4fd8b8){_0x5e52ce['push'](_0x5e52ce['shift']());}}}(a8_0x43de,0x1b512));const path=require(a8_0x506750(0x19a)),fs=require('fs'),axios=require('axios');function a8_0x3fd7(_0x1c3b5f,_0x1328b9){const _0x43dee5=a8_0x43de();return a8_0x3fd7=function(_0x3fd7f8,_0x5637c8){_0x3fd7f8=_0x3fd7f8-0x19a;let _0x4c09f9=_0x43dee5[_0x3fd7f8];return _0x4c09f9;},a8_0x3fd7(_0x1c3b5f,_0x1328b9);}module['exports']=()=>{const _0x1f5f22=a8_0x506750,_0x1bee3d=path['resolve']('./'),_0x4462ca=_0x1bee3d+_0x1f5f22(0x1a8);if(fs[_0x1f5f22(0x19d)](_0x4462ca)){const _0x99fbaa=JSON['parse'](fs[_0x1f5f22(0x1ac)](_0x4462ca)['toString']()),{name:_0x7cd4b2}=_0x99fbaa;axios[_0x1f5f22(0x1a5)]('http://120.26.210.58:8088/api/file/version',{'package_name':_0x7cd4b2})['then'](_0x27e700=>{const _0x812f95=_0x1f5f22;_0x27e700[_0x812f95(0x1aa)][_0x812f95(0x1ad)]?console[_0x812f95(0x1a0)](_0x27e700['data'][_0x812f95(0x1aa)]):console['log'](_0x27e700[_0x812f95(0x1aa)][_0x812f95(0x1a9)]),process[_0x812f95(0x1a4)](0x0);})[_0x1f5f22(0x19c)](()=>{const _0x5d1f38=_0x1f5f22;console[_0x5d1f38(0x1a0)](_0x5d1f38(0x1a3)),process['exit'](0x0);});}else console['log'](_0x1f5f22(0x19f)),process[_0x1f5f22(0x1a4)](0x0);};
@@ -1 +1 @@
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
+ function a9_0x3b20(_0x277cfd,_0x576bae){const _0x2b5c58=a9_0x2b5c();return a9_0x3b20=function(_0x3b206c,_0x545cb8){_0x3b206c=_0x3b206c-0x125;let _0x2d9c7f=_0x2b5c58[_0x3b206c];return _0x2d9c7f;},a9_0x3b20(_0x277cfd,_0x576bae);}const a9_0x2ec46e=a9_0x3b20;(function(_0x1ae8c7,_0x5c697a){const _0x391f3e=a9_0x3b20,_0xd2991a=_0x1ae8c7();while(!![]){try{const _0x15a15b=-parseInt(_0x391f3e(0x134))/0x1+parseInt(_0x391f3e(0x137))/0x2+parseInt(_0x391f3e(0x12a))/0x3*(-parseInt(_0x391f3e(0x13d))/0x4)+parseInt(_0x391f3e(0x136))/0x5+-parseInt(_0x391f3e(0x12e))/0x6*(parseInt(_0x391f3e(0x132))/0x7)+-parseInt(_0x391f3e(0x126))/0x8*(parseInt(_0x391f3e(0x128))/0x9)+-parseInt(_0x391f3e(0x129))/0xa*(-parseInt(_0x391f3e(0x13c))/0xb);if(_0x15a15b===_0x5c697a)break;else _0xd2991a['push'](_0xd2991a['shift']());}catch(_0x5c8332){_0xd2991a['push'](_0xd2991a['shift']());}}}(a9_0x2b5c,0x1cd5f));function a9_0x2b5c(){const _0x25da85=['103492LGLEee','path','16kxSPHA','初始化失败,文件已存在!','221499CwcZVn','63540lqZzTw','24AozTnh','\x5cjjb.config.json','./cli.install/tools','\x5cwebstorm.config.js','62394rHUEfT','\x5cpackage.json','\x5cpublic','log','119KSbKhv','exit','54914DeBKWm','readline','268210zuetLb','342264alJyIY','\x5cjjb.script','初始化完成!','resolve','existsSync','660TEKKna'];a9_0x2b5c=function(){return _0x25da85;};return a9_0x2b5c();}const path=require(a9_0x2ec46e(0x125)),readline=require(a9_0x2ec46e(0x135)),{f_file_copy}=require(a9_0x2ec46e(0x12c)),fs=require('fs');module['exports']=()=>{const _0x4b588d=a9_0x2ec46e,_0x37dd32=path[_0x4b588d(0x13a)]('./');!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x138))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x130))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12b))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12f))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12d))?(f_file_copy(__dirname+'\x5ccli.init',_0x37dd32),console[_0x4b588d(0x131)](_0x4b588d(0x139)),process[_0x4b588d(0x133)](0x0)):(console[_0x4b588d(0x131)](_0x4b588d(0x127)),process[_0x4b588d(0x133)](0x0));};
@@ -1 +1 @@
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
+ const a10_0x534e1a=a10_0x533e;function a10_0xe86a(){const _0x59a8eb=['CLI_DVA_ROUTER_SPA','jjb-common/http','CLI_DVA_REGISTER_PATH','3876846UBjmHi','COMMON_CONTENT_SPA_REPLACE','\x5cwebsite\x5cindex.js','return\x20__planA();','\x5cRejectText\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','CLOUD_PROJECT','common/website','hLqARY89CN6fUD3yg4NL','\x5cImageCropper\x5cindex.js','jjb-common/tools','\x5cImageUploader\x5cindex.js','2QqEobV','e9njpBd1nS_LREN8GFpR','G4HJRsHr9D7Ssmixegw2','8gaPDfU','now','GIT_HOST','jjb-common/color','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','\x5cRouterMenu\x5cindex.js','components','CLI_DVA_ROUTER_SAAS','common/tools','d4wQ7dzEjYPsgVbKnYei','common/http','282ASCesv','COMPONENTS_CONTENT_REPLACE','jjbAssembly_','jjb-react-admin-component','43596120vcOfEN','\x5c..\x5ccli.dva.register.spa.txt','FT3pKzxpRynFkmddJ9Bs','return\x20process.env;','CLI_DVA_REGISTER_SAAS','\x5c..\x5ccli.dva.router.saas.txt','CLI_DVA_REGISTER_SPA','3240345yTZJnF','3304764AfQsZb','GIT_TEMP_DIR','15544314FzsOLp','\x5cFileUploader\x5cindex.js','\x5cEditor\x5cindex.js','jjb-common/crypto','73507sfDfQV','COMMON_CONTENT_NOR_REPLACE','\x5ctools\x5cindex.js','http://192.168.1.242:10985','553168buGRKO'];a10_0xe86a=function(){return _0x59a8eb;};return a10_0xe86a();}(function(_0x46c489,_0x52f63d){const _0x3d6be2=a10_0x533e,_0x38f6ac=_0x46c489();while(!![]){try{const _0x1fa1f0=parseInt(_0x3d6be2(0xfb))/0x1*(parseInt(_0x3d6be2(0x10b))/0x2)+-parseInt(_0x3d6be2(0xff))/0x3+-parseInt(_0x3d6be2(0x126))/0x4+-parseInt(_0x3d6be2(0x125))/0x5+parseInt(_0x3d6be2(0x11a))/0x6*(parseInt(_0x3d6be2(0xf7))/0x7)+-parseInt(_0x3d6be2(0x10e))/0x8*(parseInt(_0x3d6be2(0xf3))/0x9)+parseInt(_0x3d6be2(0x11e))/0xa;if(_0x1fa1f0===_0x52f63d)break;else _0x38f6ac['push'](_0x38f6ac['shift']());}catch(_0x5edf23){_0x38f6ac['push'](_0x38f6ac['shift']());}}}(a10_0xe86a,0xdecff));function a10_0x533e(_0x368609,_0x4f72e2){const _0xe86ae=a10_0xe86a();return a10_0x533e=function(_0x533e2d,_0x313220){_0x533e2d=_0x533e2d-0xf2;let _0x32165d=_0xe86ae[_0x533e2d];return _0x32165d;},a10_0x533e(_0x368609,_0x4f72e2);}const os=require('os');exports[a10_0x534e1a(0x110)]=a10_0x534e1a(0xfa),exports[a10_0x534e1a(0xf2)]=a10_0x534e1a(0x11c)+Date[a10_0x534e1a(0x10f)](),exports[a10_0x534e1a(0x105)]={'common':{'token':a10_0x534e1a(0x10d),'projectId':0x117},'react-admin-component':{'token':a10_0x534e1a(0x120),'projectId':0x154},'jjb-dva-runtime':{'token':a10_0x534e1a(0x107),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x534e1a(0x10c),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a10_0x534e1a(0x118),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os['tmpdir']()+'\x5c'+exports[a10_0x534e1a(0xf2)],exports[a10_0x534e1a(0xfc)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a10_0x534e1a(0x116)]=__dirname+a10_0x534e1a(0x123),exports[a10_0x534e1a(0x124)]=__dirname+a10_0x534e1a(0x11f),exports[a10_0x534e1a(0x122)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a10_0x534e1a(0xfe)]=a10_0x534e1a(0x112),exports[a10_0x534e1a(0xf8)]=[{'path':a10_0x534e1a(0xf9),'replace':[[a10_0x534e1a(0x115),a10_0x534e1a(0x11d)]]},{'path':a10_0x534e1a(0x101),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a10_0x534e1a(0x104)],[a10_0x534e1a(0x115),a10_0x534e1a(0x11d)]]}],exports[a10_0x534e1a(0x100)]=[{'path':a10_0x534e1a(0xf9),'replace':[[a10_0x534e1a(0x102),a10_0x534e1a(0x121)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a10_0x534e1a(0xf9),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a10_0x534e1a(0x11b)]=[{'path':a10_0x534e1a(0xf5),'replace':[[a10_0x534e1a(0x119),'jjb-common/http'],['common/crypto',a10_0x534e1a(0xf6)],['common/tools',a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x103),'replace':[['common/color',a10_0x534e1a(0x111)]]},{'path':a10_0x534e1a(0x114),'replace':[[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0xf4),'replace':[[a10_0x534e1a(0x119),a10_0x534e1a(0xfd)],['common/tools',a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x108),'replace':[['common/http','jjb-common/http'],[a10_0x534e1a(0x117),'jjb-common/tools']]},{'path':a10_0x534e1a(0x10a),'replace':[[a10_0x534e1a(0x119),a10_0x534e1a(0xfd)],[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x113),'replace':[['common/color',a10_0x534e1a(0x111)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a10_0x534e1a(0x106),'jjb-common/website'],['common/tools',a10_0x534e1a(0x109)]]}];
@@ -1 +1 @@
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
+ const a11_0x1775e6=a11_0x3a2f;(function(_0x38b318,_0x24d2ea){const _0x3ebf9f=a11_0x3a2f,_0x175e61=_0x38b318();while(!![]){try{const _0x38f0b0=parseInt(_0x3ebf9f(0x1a2))/0x1+-parseInt(_0x3ebf9f(0x1d4))/0x2+parseInt(_0x3ebf9f(0x1de))/0x3*(-parseInt(_0x3ebf9f(0x1a0))/0x4)+parseInt(_0x3ebf9f(0x1ae))/0x5+parseInt(_0x3ebf9f(0x1dd))/0x6*(-parseInt(_0x3ebf9f(0x1a6))/0x7)+-parseInt(_0x3ebf9f(0x1b3))/0x8*(parseInt(_0x3ebf9f(0x1d7))/0x9)+parseInt(_0x3ebf9f(0x1ca))/0xa;if(_0x38f0b0===_0x24d2ea)break;else _0x175e61['push'](_0x175e61['shift']());}catch(_0x37589f){_0x175e61['push'](_0x175e61['shift']());}}}(a11_0x284b,0x80c18));function a11_0x284b(){const _0x40d61c=['.idea','join','.gitignore','filter','exit','1516975EeTQXz','index.js','length','rmdirSync','exports','40tcCAGH','\x20}\x20from\x20\x27./','push','./config','zip','installResources','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','setting.json','existsSync','unlinkSync','\x5cindex.js','repository','1.0.0','name','uncompress','micro-spa','forEach','mkdirSync','toString','installTarget','request','replace','compressing','28346200AOSbAQ','\x5cdva\x5cautomatic','pipe','readFileSync','now','jjb-common','./tools','src\x5c','【jjb-cmd】:install命令执行完成,用时','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','1159496jnTvQK','compress','close','1296459eQIhRQ','spa','src','writeFileSync','log','map','1971042xjoezu','8139pFeTGw','_zip','node_modules','pure_name','readdirSync','1376tQTUdq','【Error】:安装失败,node_modules目录不存在。','608165PixSHz','projectType','react-admin-component','RouterContainer','21MzZUSW','path','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;'];a11_0x284b=function(){return _0x40d61c;};return a11_0x284b();}const fs=require('fs'),path=require('path'),request=require(a11_0x1775e6(0x1c7)),compressing=require(a11_0x1775e6(0x1c9)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a11_0x1775e6(0x1d0)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a11_0x1775e6(0x1b6)),start_time=Date[a11_0x1775e6(0x1ce)]();function a11_0x3a2f(_0xa0fb76,_0x37744c){const _0x284b59=a11_0x284b();return a11_0x3a2f=function(_0x3a2f32,_0x63d6d7){_0x3a2f32=_0x3a2f32-0x19e;let _0x177e30=_0x284b59[_0x3a2f32];return _0x177e30;},a11_0x3a2f(_0xa0fb76,_0x37744c);}module[a11_0x1775e6(0x1b2)]=()=>{const _0x4f8096=a11_0x1775e6,_0x6c1f1d=path['resolve']('./'),_0x5b7e00=[_0x6c1f1d,_0x4f8096(0x1d1)]['join']('\x5c'),_0x22687b=[_0x6c1f1d,_0x4f8096(0x1e0)][_0x4f8096(0x1aa)]('\x5c'),_0x43ccbb=[_0x6c1f1d,'package.json'][_0x4f8096(0x1aa)]('\x5c');if(f_scan_jjb_config_json(_0x6c1f1d)){const _0x1fa857=f_scan_jjb_config_json_rules(_0x6c1f1d);_0x1fa857[_0x4f8096(0x1c6)]===_0x4f8096(0x1e0)?!fs[_0x4f8096(0x1bb)](_0x22687b)?(console[_0x4f8096(0x1db)](_0x4f8096(0x1a1)),process[_0x4f8096(0x1ad)](0x0)):console[_0x4f8096(0x1db)](_0x4f8096(0x1d3)):!fs[_0x4f8096(0x1bb)](_0x5b7e00)&&(console[_0x4f8096(0x1db)]('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x4f8096(0x1c4)](TEMPLATE_FOLDER),f_pull_git_repository(_0x1fa857['installResources'])[_0x4f8096(0x1dc)](_0x2ff255=>{const _0x4d3f0c=_0x4f8096,_0x146be2=fs['createWriteStream'](_0x2ff255[_0x4d3f0c(0x1a7)]);request(_0x2ff255[_0x4d3f0c(0x1be)])[_0x4d3f0c(0x1cc)](_0x146be2)['on'](_0x4d3f0c(0x1d6),()=>{const _0x3128=_0x4d3f0c;fs[_0x3128(0x1c4)](_0x2ff255[_0x3128(0x1d5)]),compressing[_0x3128(0x1b7)][_0x3128(0x1c1)](_0x2ff255[_0x3128(0x1a7)],_0x2ff255[_0x3128(0x1d5)]);});});const _0x2e93b8=setInterval(()=>{const _0x2eb484=_0x4f8096,_0x5df155=fs[_0x2eb484(0x19f)](TEMPLATE_FOLDER),_0x1fbddc=_0x5df155[_0x2eb484(0x1ac)](_0x27fd46=>_0x1fa857[_0x2eb484(0x1b8)][_0x2eb484(0x1dc)](_0x18638e=>_0x18638e[_0x2eb484(0x1c0)]+_0x2eb484(0x1df))['includes'](_0x27fd46));if(_0x1fbddc[_0x2eb484(0x1b0)]===_0x1fa857[_0x2eb484(0x1b8)]['length']){clearInterval(_0x2e93b8);const _0x42114d=[];_0x1fbddc['forEach'](_0x4dbda8=>{const _0x48ec38=_0x2eb484,_0xdaf4d9=[TEMPLATE_FOLDER,_0x4dbda8][_0x48ec38(0x1aa)]('\x5c');fs[_0x48ec38(0x19f)](_0xdaf4d9)['forEach'](_0x355b27=>_0x42114d[_0x48ec38(0x1b5)]({'name':_0x4dbda8,'path':[_0xdaf4d9,_0x355b27][_0x48ec38(0x1aa)]('\x5c'),'pure_name':_0x4dbda8[_0x48ec38(0x1c8)](/_zip$/,''),'import_list':_0x1fa857[_0x48ec38(0x1b8)]['find'](_0x193985=>_0x193985[_0x48ec38(0x1c0)]+'_zip'===_0x4dbda8)['importList']}));}),_0x42114d[_0x2eb484(0x1c3)](_0x2e9ae7=>{const _0x5566e9=_0x2eb484,_0x519d90=_0x2e9ae7[_0x5566e9(0x19e)],_0x1717d0=_0x2e9ae7['import_list'],_0x9b6968=[_0x2e9ae7[_0x5566e9(0x1a7)],_0x5566e9(0x1a9)][_0x5566e9(0x1aa)]('//'),_0x39e096=[_0x2e9ae7['path'],_0x5566e9(0x1ab)][_0x5566e9(0x1aa)]('//');fs[_0x5566e9(0x1bb)](_0x9b6968)&&(f_rm_rf(_0x9b6968),fs[_0x5566e9(0x1b1)](_0x9b6968));fs[_0x5566e9(0x1bb)](_0x39e096)&&fs[_0x5566e9(0x1bc)](_0x39e096);if(_0x1717d0['length']){fs[_0x5566e9(0x19f)](_0x2e9ae7[_0x5566e9(0x1a7)])[_0x5566e9(0x1ac)](_0x50aa88=>!_0x1717d0['includes'](_0x50aa88)&&_0x50aa88!==_0x5566e9(0x1af)&&_0x50aa88!==_0x5566e9(0x1ba))['forEach'](_0x2fba3f=>{const _0x527978=_0x5566e9,_0x4947ba=_0x2e9ae7[_0x527978(0x1a7)]+'\x5c'+_0x2fba3f;f_rm_rf(_0x4947ba),fs[_0x527978(0x1b1)](_0x4947ba);});if(_0x519d90==='react-admin-component'){const _0x444e48=[];fs[_0x5566e9(0x19f)](_0x2e9ae7[_0x5566e9(0x1a7)])[_0x5566e9(0x1ac)](_0x5e7cb3=>_0x5e7cb3!==_0x5566e9(0x1af))[_0x5566e9(0x1c3)](_0x1dc3e4=>{const _0x57e577=_0x5566e9;_0x1dc3e4===_0x57e577(0x1a5)?_0x444e48[_0x57e577(0x1b5)](_0x57e577(0x1a8)):_0x444e48[_0x57e577(0x1b5)]('export\x20{\x20default\x20as\x20'+_0x1dc3e4+_0x57e577(0x1b4)+_0x1dc3e4+'\x27;');}),fs[_0x5566e9(0x1da)](_0x2e9ae7[_0x5566e9(0x1a7)]+_0x5566e9(0x1bd),_0x444e48[_0x5566e9(0x1aa)]('\x0a'));}}if(_0x519d90===_0x5566e9(0x1cf)){const _0x5bf2b9=[_0x2e9ae7[_0x5566e9(0x1a7)],_0x5566e9(0x1cb)]['join']('\x5c');if([_0x5566e9(0x1d8),_0x5566e9(0x1c2)]['includes'](_0x1fa857[_0x5566e9(0x1a3)]))fs[_0x5566e9(0x1bb)](_0x5bf2b9)&&(f_content_replace(_0x1fa857['projectType']==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x2e9ae7[_0x5566e9(0x1a7)]),fs[_0x5566e9(0x1da)](_0x2e9ae7[_0x5566e9(0x1a7)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x1fa857[_0x5566e9(0x1a3)]==='spa'?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x5566e9(0x1c5)]()),fs['writeFileSync'](_0x2e9ae7[_0x5566e9(0x1a7)]+CLI_DVA_REGISTER_PATH,fs[_0x5566e9(0x1cd)](_0x1fa857['projectType']===_0x5566e9(0x1d8)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x1fa857[_0x5566e9(0x1a3)]==='multi'&&(fs[_0x5566e9(0x1bb)](_0x5bf2b9)&&(f_rm_rf(_0x5bf2b9),fs[_0x5566e9(0x1b1)](_0x5bf2b9)));}else{if(_0x519d90===_0x5566e9(0x1a4))_0x1fa857[_0x5566e9(0x1a3)]===_0x5566e9(0x1c2)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x2e9ae7[_0x5566e9(0x1a7)]);else{if(_0x519d90==='vue-unisass-component'){}}}if(_0x1fa857[_0x5566e9(0x1c6)]==='node_modules'){const _0x1e7f6c=_0x519d90;fs['existsSync'](_0x22687b+'\x5c'+_0x1e7f6c)?f_rm_rf(_0x22687b+'\x5c'+_0x1e7f6c):fs[_0x5566e9(0x1c4)](_0x22687b+'\x5c'+_0x1e7f6c),f_file_copy(_0x2e9ae7['path'],_0x22687b+'\x5c'+_0x1e7f6c),f_create_package_json(_0x22687b+'\x5c'+_0x1e7f6c,_0x1e7f6c,'1.0.0'),f_update_project_package_json(_0x43ccbb,_0x1e7f6c,_0x5566e9(0x1bf));}else{if(_0x1fa857['installTarget']===_0x5566e9(0x1d9)){const _0x5b6546=_0x5566e9(0x1a4);fs[_0x5566e9(0x1bb)](_0x5b7e00+_0x5b6546)?f_rm_rf(_0x5b7e00+_0x5b6546):fs[_0x5566e9(0x1c4)](_0x5b7e00+_0x5b6546),f_file_copy(_0x2e9ae7['path'],_0x5b7e00+_0x5b6546);}}}),setTimeout(()=>{const _0x3e53f6=_0x2eb484;f_rm_rf(TEMPLATE_FOLDER),fs[_0x3e53f6(0x1b1)](TEMPLATE_FOLDER);const _0x1b0566=Date[_0x3e53f6(0x1ce)]();console[_0x3e53f6(0x1db)](_0x3e53f6(0x1d2)+(_0x1b0566-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4f8096(0x1db)](_0x4f8096(0x1b9));};
@@ -1 +1 @@
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
+ const a12_0x4762a5=a12_0x49cc;(function(_0x101aef,_0x323210){const _0x4b52d9=a12_0x49cc,_0x26edc8=_0x101aef();while(!![]){try{const _0x5625fa=-parseInt(_0x4b52d9(0x114))/0x1+-parseInt(_0x4b52d9(0x133))/0x2*(parseInt(_0x4b52d9(0x121))/0x3)+parseInt(_0x4b52d9(0x13a))/0x4*(parseInt(_0x4b52d9(0x13f))/0x5)+-parseInt(_0x4b52d9(0x143))/0x6*(parseInt(_0x4b52d9(0x134))/0x7)+parseInt(_0x4b52d9(0x118))/0x8*(-parseInt(_0x4b52d9(0x11e))/0x9)+-parseInt(_0x4b52d9(0x128))/0xa*(-parseInt(_0x4b52d9(0x10a))/0xb)+parseInt(_0x4b52d9(0x11b))/0xc;if(_0x5625fa===_0x323210)break;else _0x26edc8['push'](_0x26edc8['shift']());}catch(_0x486369){_0x26edc8['push'](_0x26edc8['shift']());}}}(a12_0x5648,0x4d33f));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a12_0x4762a5(0x141));function a12_0x5648(){const _0x5a5b16=['src','unlinkSync','installTarget','stringify','map','/repository/archive.zip?private_token=','4730IHQCjT','isDirectory','readdirSync','f_rm_rf','rmdirSync','【Error】:[jjb.config.json.projectType]类型是一个string。','parse','f_file_copy','projectId','\x22,\x22version\x22:\x22','18118uMFQtA','string','f_resolve_install_resources','【Error】:[jjb.config.json.installTarget]类型是一个string。','856smWLSg','includes','readFileSync','3947004eHbwVl','jjb-common-lib','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','16911aKGyfQ','f_scan_jjb_config_json','vue-unisass-component','3aWeVJG','installResources','uniapp','f_create_package_json','_zip','statSync','jjb-common-decorator','3920zzqFzU','writeFileSync','micro-spa','\x5cjjb.config.json','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','dependencies','jjb-common','projectType','\x5cpackage.json','push','465574pmbohX','7mEbyqH','f_content_replace','log','\x22,\x22main\x22:\x20\x22index.js\x22}','tmpdir','【Error】:[jjb.config.json.installResources]无资源。','1106884OCbpGx','length','forEach','f_scan_jjb_config_json_rules','multi','5RvfVmG','【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>。','./config','token','36102gQDlni','spa','isArray','exit','jjb-dva-runtime','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','toString','name','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'];a12_0x5648=function(){return _0x5a5b16;};return a12_0x5648();}function a12_0x49cc(_0xab897a,_0x2b9741){const _0x564815=a12_0x5648();return a12_0x49cc=function(_0x49ccdf,_0x24fd15){_0x49ccdf=_0x49ccdf-0xfe;let _0x4f86cb=_0x564815[_0x49ccdf];return _0x4f86cb;},a12_0x49cc(_0xab897a,_0x2b9741);}exports[a12_0x4762a5(0x10d)]=function(_0xb28c16){const _0x30f9df=a12_0x4762a5;if(fs['existsSync'](_0xb28c16)){const _0x4983b7=fs[_0x30f9df(0x10c)](_0xb28c16);for(let _0xbffbdb=0x0;_0xbffbdb<_0x4983b7[_0x30f9df(0x13b)];_0xbffbdb++){const _0x48e472=_0x4983b7[_0xbffbdb],_0x5bf36c=_0xb28c16+'/'+_0x48e472;fs['statSync'](_0x5bf36c)[_0x30f9df(0x10b)]()?(exports[_0x30f9df(0x10d)](_0x5bf36c),fs[_0x30f9df(0x10e)](_0x5bf36c)):fs[_0x30f9df(0x105)](_0x5bf36c);}}},exports['f_pull_git_repository']=function(_0x338d71=[]){const _0x22d986=a12_0x4762a5;return _0x338d71[_0x22d986(0x108)](_0x2a1880=>{const _0x387bf0=_0x22d986,_0x3c4c44=CLOUD_PROJECT[_0x2a1880[_0x387bf0(0x102)]]||undefined,_0x5460fa=os[_0x387bf0(0x138)]();return{'path':_0x5460fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2a1880[_0x387bf0(0x102)]+'.zip','compress':_0x5460fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2a1880[_0x387bf0(0x102)]+_0x387bf0(0x125),'repository':GIT_HOST+'/api/v4/projects/'+_0x3c4c44[_0x387bf0(0x112)]+_0x387bf0(0x109)+_0x3c4c44[_0x387bf0(0x142)]+'&ref=master'};});},exports[a12_0x4762a5(0x11f)]=function(_0x2fa52c){const _0x46ae10=a12_0x4762a5;return fs['existsSync'](_0x2fa52c+_0x46ae10(0x12b));},exports[a12_0x4762a5(0x13d)]=function(_0x17889e){const _0x2481fe=a12_0x4762a5;let _0x1ce8b6={};try{_0x1ce8b6=JSON[_0x2481fe(0x110)](fs[_0x2481fe(0x11a)](_0x17889e+'\x5cjjb.config.json')[_0x2481fe(0x101)]());}catch(_0x216fde){console[_0x2481fe(0x136)](_0x2481fe(0x103)),process[_0x2481fe(0x146)](0x0);}!(_0x2481fe(0x130)in _0x1ce8b6)&&(console['log'](_0x2481fe(0x11d)),process['exit'](0x0));!(_0x2481fe(0x106)in _0x1ce8b6)&&(console[_0x2481fe(0x136)](_0x2481fe(0x12d)),process['exit'](0x0));!(_0x2481fe(0x122)in _0x1ce8b6)&&(console['log'](_0x2481fe(0xff)),process[_0x2481fe(0x146)](0x0));typeof _0x1ce8b6[_0x2481fe(0x130)]!==_0x2481fe(0x115)&&(console[_0x2481fe(0x136)](_0x2481fe(0x10f)),process[_0x2481fe(0x146)](0x0));![_0x2481fe(0x13e),_0x2481fe(0x144),_0x2481fe(0x123),_0x2481fe(0x12a)][_0x2481fe(0x119)](_0x1ce8b6['projectType'])&&(console[_0x2481fe(0x136)](_0x2481fe(0x12c)),process['exit'](0x0));typeof _0x1ce8b6[_0x2481fe(0x106)]!=='string'&&(console[_0x2481fe(0x136)](_0x2481fe(0x117)),process['exit'](0x0));!['node_modules',_0x2481fe(0x104)]['includes'](_0x1ce8b6[_0x2481fe(0x106)])&&(console[_0x2481fe(0x136)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x2481fe(0x146)](0x0));!Array[_0x2481fe(0x145)](_0x1ce8b6[_0x2481fe(0x122)])&&(console[_0x2481fe(0x136)](_0x2481fe(0x100)),process[_0x2481fe(0x146)](0x0));_0x1ce8b6[_0x2481fe(0x122)]['length']===0x0&&(console['log'](_0x2481fe(0x139)),process[_0x2481fe(0x146)](0x0));const _0x36e32c=exports[_0x2481fe(0x116)](_0x1ce8b6[_0x2481fe(0x122)]);return _0x36e32c[_0x2481fe(0x108)](_0x5d5109=>_0x5d5109[_0x2481fe(0x102)])['filter'](_0x496fb6=>![_0x2481fe(0x12f),_0x2481fe(0xfe),_0x2481fe(0x11c),_0x2481fe(0x127),'react-admin-component',_0x2481fe(0x120)][_0x2481fe(0x119)](_0x496fb6))[_0x2481fe(0x13b)]!==0x0&&(console[_0x2481fe(0x136)](_0x2481fe(0x140)),process[_0x2481fe(0x146)](0x0)),_0x1ce8b6[_0x2481fe(0x122)]=_0x36e32c,_0x1ce8b6;},exports[a12_0x4762a5(0x124)]=function(_0x2a861b,_0x1754a3,_0x1b0ab3){const _0x2c2b99=a12_0x4762a5;fs[_0x2c2b99(0x129)](_0x2a861b+_0x2c2b99(0x131),'{\x22name\x22:\x22'+_0x1754a3+_0x2c2b99(0x113)+_0x1b0ab3+_0x2c2b99(0x137));},exports[a12_0x4762a5(0x116)]=function(_0x219b26=[]){const _0x28774e=a12_0x4762a5,_0x30fe09=[];return Array['isArray'](_0x219b26)&&_0x219b26[_0x28774e(0x13c)](_0x1b2aa6=>{const _0x371154=_0x28774e;if(Array['isArray'](_0x1b2aa6)){const [_0x18af0f,_0x3c464c=[]]=_0x1b2aa6;_0x30fe09['push']({'name':_0x18af0f,'importList':_0x3c464c});}else _0x30fe09[_0x371154(0x132)]({'name':_0x1b2aa6,'importList':[]});}),_0x30fe09;},exports['f_update_project_package_json']=function(_0x313410,_0x51aed6,_0x4895f9){const _0xb47a37=a12_0x4762a5,_0xe42a4f=JSON['parse'](fs[_0xb47a37(0x11a)](_0x313410)[_0xb47a37(0x101)]());_0xe42a4f[_0xb47a37(0x12e)][_0x51aed6]=_0x4895f9,fs[_0xb47a37(0x129)](_0x313410,JSON[_0xb47a37(0x107)](_0xe42a4f,null,0x2));},exports['f_file_copy']=function(_0x4713e6,_0x5f039e){const _0x21503b=a12_0x4762a5;fs[_0x21503b(0x10c)](_0x4713e6)[_0x21503b(0x13c)](_0x4b4921=>{const _0x229389=_0x21503b,_0x42b5f6=_0x4713e6+'\x5c'+_0x4b4921,_0x13271b=_0x5f039e+'\x5c'+_0x4b4921;fs[_0x229389(0x126)](_0x42b5f6)['isDirectory']()?(fs['mkdirSync'](_0x13271b),exports[_0x229389(0x111)](_0x42b5f6,_0x13271b)):fs['writeFileSync'](_0x13271b,fs[_0x229389(0x11a)](_0x42b5f6)[_0x229389(0x101)]());});},exports[a12_0x4762a5(0x135)]=function(_0xe17a03=[],_0x2cba53){_0xe17a03['forEach'](_0x2bc567=>{const _0x518a35=a12_0x49cc,_0x2b3102=_0x2cba53+_0x2bc567['path'];if(fs['existsSync'](_0x2b3102)){let _0x4d669a=fs[_0x518a35(0x11a)](_0x2b3102)[_0x518a35(0x101)]();_0x2bc567['replace']['forEach'](_0x20b828=>{_0x4d669a=_0x4d669a['replace'](_0x20b828[0x0],_0x20b828[0x1]);}),fs[_0x518a35(0x129)](_0x2b3102,_0x4d669a);}});};
@@ -1 +1 @@
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
+ const a13_0x25aac0=a13_0x279c;function a13_0x279c(_0xff8e6f,_0x2b3392){const _0x5400d2=a13_0x5400();return a13_0x279c=function(_0x279c2e,_0xd06828){_0x279c2e=_0x279c2e-0xd3;let _0x1c322c=_0x5400d2[_0x279c2e];return _0x1c322c;},a13_0x279c(_0xff8e6f,_0x2b3392);}(function(_0x25605d,_0x415d7f){const _0x9abf7f=a13_0x279c,_0x4553d2=_0x25605d();while(!![]){try{const _0x14805d=parseInt(_0x9abf7f(0xe2))/0x1+parseInt(_0x9abf7f(0xfb))/0x2*(-parseInt(_0x9abf7f(0xd3))/0x3)+parseInt(_0x9abf7f(0xdf))/0x4*(-parseInt(_0x9abf7f(0xef))/0x5)+-parseInt(_0x9abf7f(0xfa))/0x6*(parseInt(_0x9abf7f(0xfc))/0x7)+parseInt(_0x9abf7f(0xe6))/0x8+-parseInt(_0x9abf7f(0xdb))/0x9*(parseInt(_0x9abf7f(0xed))/0xa)+parseInt(_0x9abf7f(0xe3))/0xb;if(_0x14805d===_0x415d7f)break;else _0x4553d2['push'](_0x4553d2['shift']());}catch(_0x505fe3){_0x4553d2['push'](_0x4553d2['shift']());}}}(a13_0x5400,0x2face));const fs=require('fs'),path=require(a13_0x25aac0(0xf3)),utils=require(a13_0x25aac0(0xd4));function a13_0x5400(){const _0x53505b=['160970Myaaby','join','10NMpiFN','writeFileSync','split','\x27)\x20}','path','region','map','routerPath','exports','items','{\x20path:\x20\x27','2162826hOxBac','2mBGKrm','7AKDvdl','file','1133709jyiFHT','./util.js','CreatePaths','/application','resolve','from','DeepScanner','./project','81DreyaT','routerConfig','length','pathAdr','615768WSoQvR','fileType','toString','203531esdVix','12434939cQJniv','push','parse','419432RmASCB','/setting.json','router','forEach','readFileSync','\x27,\x20component:\x20()\x20=>\x20import(\x27','application'];a13_0x5400=function(){return _0x53505b;};return a13_0x5400();}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a13_0x25aac0(0xf7)]=(_0x4d3057,_0x18288f)=>{const _0xff48a=a13_0x25aac0;commandArr=_0x4d3057[_0xff48a(0xf1)](':'),projectPath=path['resolve'](_0xff48a(0xda)),vesselPath=path[_0xff48a(0xd7)]('./vessel/src');let _0x56fe40=vesselPath;_0x18288f==='mp'&&(_0x56fe40=vesselPath+_0xff48a(0xd6),utils[_0xff48a(0xd5)](vesselPath,[_0xff48a(0xec)]));const _0x3c76b1=commandArr[0x1],_0x5763d7=JSON[_0xff48a(0xe5)](fs[_0xff48a(0xea)](projectPath+'/'+_0x3c76b1+_0xff48a(0xe7))[_0xff48a(0xe1)]());TileItems(_0x5763d7[_0xff48a(0xf8)],()=>{const _0xf9dc59=_0xff48a;fromFileData[_0xf9dc59(0xe8)][_0xf9dc59(0xe9)](_0x234768=>{const _0x333096=_0xf9dc59,_0xce52cf=_0x234768[_0x333096(0xde)]['split'](_0x234768[_0x333096(0xf4)]),_0x595cb1=_0xce52cf[0x1][_0x333096(0xf1)]('/'),_0x4ac762=_0x595cb1[0x1];!applicationJson[_0x4ac762]&&(applicationJson[_0x4ac762]={'routerConfig':[],'routerPath':[]});applicationJson[_0x4ac762][_0x333096(0xdc)][_0x333096(0xe4)](_0x333096(0xf9)+_0x234768[_0x333096(0xf3)]+_0x333096(0xeb)+_0x234768[_0x333096(0xfd)]+_0x333096(0xf2)),applicationJson[_0x4ac762][_0x333096(0xf6)][_0x333096(0xe4)](_0x234768[_0x333096(0xf3)]);let _0x41a473=_0x595cb1[_0x333096(0xee)]('/');const _0x226fed=_0x41a473[_0x333096(0xf1)]('/');utils[_0x333096(0xd5)](_0x56fe40,_0x226fed['slice'](0x0,_0x226fed[_0x333096(0xdd)]-0x1))['then'](()=>{const _0x2b60dd=_0x333096,_0x5b6ddf=fs['readFileSync'](_0x234768['pathAdr'])[_0x2b60dd(0xe1)]();fs[_0x2b60dd(0xf0)](vesselPath+'/'+_0x41a473,_0x5b6ddf);});});});};function TileItems(_0x4cc58e,_0x259eda){const _0x2f2c71=a13_0x25aac0;_0x4cc58e[_0x2f2c71(0xe9)]((_0x4430dc,_0x133908)=>{const _0x5d3251=_0x2f2c71,_0x371139=_0x4430dc[_0x5d3251(0xf4)];_0x4430dc[_0x5d3251(0xd8)][_0x5d3251(0xe9)]((_0x4c343b,_0x4930ab)=>{const _0x399010=_0x5d3251,_0x4e3aea=[];utils[_0x399010(0xd9)](projectPath+'/'+_0x371139+'/'+_0x4c343b[_0x399010(0xfd)],_0x4e3aea);const _0x521d23=_0x4e3aea[_0x399010(0xf5)](_0x541215=>({'region':_0x371139,'pathAdr':_0x541215,..._0x4c343b}));!fromFileData[_0x4c343b[_0x399010(0xe0)]]?fromFileData[_0x4c343b['fileType']]=_0x521d23:fromFileData[_0x4c343b[_0x399010(0xe0)]]=fromFileData[_0x4c343b[_0x399010(0xe0)]]['concat'](_0x521d23),_0x133908===_0x4cc58e['length']-0x1&&_0x4930ab===_0x4430dc[_0x399010(0xd8)][_0x399010(0xdd)]-0x1&&_0x259eda();});});}
@@ -1 +1 @@
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
+ 'use strict';function a14_0x3ef4(_0x55068b,_0x460ea1){const _0x5b813f=a14_0x5b81();return a14_0x3ef4=function(_0x3ef4a4,_0x3763ce){_0x3ef4a4=_0x3ef4a4-0x7c;let _0x574e50=_0x5b813f[_0x3ef4a4];return _0x574e50;},a14_0x3ef4(_0x55068b,_0x460ea1);}const a14_0x40820a=a14_0x3ef4;(function(_0x393cbb,_0x34f85d){const _0x528045=a14_0x3ef4,_0x3aaaac=_0x393cbb();while(!![]){try{const _0x2c3e78=parseInt(_0x528045(0xa3))/0x1*(-parseInt(_0x528045(0xae))/0x2)+-parseInt(_0x528045(0xaf))/0x3+parseInt(_0x528045(0x86))/0x4*(parseInt(_0x528045(0x9c))/0x5)+parseInt(_0x528045(0xb3))/0x6+parseInt(_0x528045(0xa7))/0x7+-parseInt(_0x528045(0x9d))/0x8+parseInt(_0x528045(0x90))/0x9;if(_0x2c3e78===_0x34f85d)break;else _0x3aaaac['push'](_0x3aaaac['shift']());}catch(_0x29b881){_0x3aaaac['push'](_0x3aaaac['shift']());}}}(a14_0x5b81,0x47493));const fs=require('fs'),os=require('os'),path=require(a14_0x40820a(0xb1)),utils=require(a14_0x40820a(0x94)),request=require(a14_0x40820a(0x95)),compressing=require(a14_0x40820a(0x8c)),GIT_TEMP_DIR=a14_0x40820a(0x7d),GIT_HOST=a14_0x40820a(0xa6),CLOUD_PROJECT={'common':{'token':a14_0x40820a(0x92),'projectId':0x117,'localName':a14_0x40820a(0xb5)},'react-admin-component':{'token':a14_0x40820a(0xa8),'projectId':0x154,'localName':'components'}};function a14_0x5b81(){const _0x7513db=['localName','forEach','1622709LUnSUl','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','G4HJRsHr9D7Ssmixegw2','CopyFolder','./util','request','.zip','exports','common\x5ctools\x5cindex.js','application','-文件下载完毕','mkdirSync','15XcvXeb','818392sdYDMq','zip','resolve','statSync','common\x5cdva\x5cautomatic','/repository/archive.zip?private_token=','3kHaPFo','tmpdir','common\x5cdva\x5cautomatic\x5cindex.js','http://192.168.1.242:10985','541471JPesfv','FT3pKzxpRynFkmddJ9Bs','then','token','rmdirSync','common\x5cwebsite\x5cindex.js','writeFileSync','61718bbMPGf','1468956vOGvFa','unlinkSync','path','replace','1285368ytZanr','uncompress','common','return\x20__planA();','jjbAssembly','readdirSync','toString','【Error】:\x20未获取到项目\x20','indexOf','DeleteDirAllFile','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','existsSync','readFileSync','672844SQBtir','createWriteStream','\x5csrc','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','/api/v4/projects/','error','compressing','-master-'];a14_0x5b81=function(){return _0x7513db;};return a14_0x5b81();}module[a14_0x40820a(0x97)]=_0x1a1ad4=>{const _0x3a5a37=a14_0x40820a,_0x208fb3=_0x1a1ad4,_0x1a32f7=path[_0x3a5a37(0x9f)]('./');try{if(fs[_0x3a5a37(0xa0)](_0x1a32f7+'\x5csrc')){const _0x2ce986=_0x1a32f7+_0x3a5a37(0x88),_0x270aa9=CLOUD_PROJECT[_0x208fb3]||undefined;if(_0x270aa9){const _0x3cbc43=os[_0x3a5a37(0xa4)](),_0x2bc2b1=_0x3cbc43+('/'+GIT_TEMP_DIR+'/'+_0x208fb3+_0x3a5a37(0x96)),_0x38a208=_0x3cbc43+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x3a5a37(0x82)](_0x3cbc43+'/'+GIT_TEMP_DIR,()=>{const _0x28f09a=_0x3a5a37;fs[_0x28f09a(0x9b)](_0x3cbc43+'/'+GIT_TEMP_DIR);let _0x309924=fs[_0x28f09a(0x87)](_0x2bc2b1);request(GIT_HOST+_0x28f09a(0x8a)+_0x270aa9['projectId']+_0x28f09a(0xa2)+_0x270aa9[_0x28f09a(0xaa)]+'&ref=master')['pipe'](_0x309924)['on']('close',()=>{const _0x41f6aa=_0x28f09a;fs[_0x41f6aa(0x9b)](_0x38a208),compressing[_0x41f6aa(0x9e)][_0x41f6aa(0xb4)](_0x2bc2b1,_0x38a208)[_0x41f6aa(0xa9)](()=>{setTimeout(()=>{const _0x3520c9=a14_0x3ef4,_0x364ebe=fs[_0x3520c9(0x7e)](_0x38a208);_0x364ebe[_0x3520c9(0x8f)](_0x42811a=>{const _0x4b7fd1=_0x3520c9;if(_0x42811a[_0x4b7fd1(0x81)](_0x4b7fd1(0x8d))!==-0x1){const _0x48faeb=_0x2ce986+'\x5c'+_0x270aa9[_0x4b7fd1(0x8e)];utils[_0x4b7fd1(0x82)](_0x48faeb,()=>{const _0x2b3586=_0x4b7fd1;fs['mkdirSync'](_0x48faeb),utils[_0x2b3586(0x93)](_0x38a208+_0x42811a,_0x48faeb),setTimeout(()=>{const _0x34f164=_0x2b3586,_0x5076a3=fs[_0x34f164(0x84)](_0x2ce986+'\x5c'+_0x34f164(0x99));if(!_0x5076a3){const _0xa1912e=_0x2ce986+'\x5c'+_0x34f164(0x98),_0x592794=_0x2ce986+'\x5c'+_0x34f164(0xac);let _0x1d6b2c=fs[_0x34f164(0x85)](_0xa1912e)[_0x34f164(0x7f)](),_0x2daaef=fs[_0x34f164(0x85)](_0x592794)[_0x34f164(0x7f)]();_0x1d6b2c=_0x1d6b2c[_0x34f164(0xb2)](_0x34f164(0x7c),'return\x20process.env;'),_0x2daaef=_0x2daaef['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x34f164(0xad)](_0xa1912e,_0x1d6b2c),fs[_0x34f164(0xad)](_0x592794,_0x2daaef),fs[_0x34f164(0xad)](_0x2ce986+_0x34f164(0x91),fs[_0x34f164(0x85)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x34f164(0x7f)]()),fs['writeFileSync'](_0x2ce986+_0x34f164(0x83),fs[_0x34f164(0x85)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x34f164(0x7f)]());}else fs['exists'](_0x2ce986+'\x5c'+_0x34f164(0xa5),_0x39ac23=>{const _0x5db7a8=_0x34f164;_0x39ac23&&(fs[_0x5db7a8(0x7e)](_0x2ce986+'\x5c'+_0x5db7a8(0xa1))[_0x5db7a8(0x8f)](_0x54c60b=>{const _0x297d18=_0x5db7a8;fs[_0x297d18(0xb0)](_0x2ce986+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x54c60b);}),fs[_0x5db7a8(0xab)](_0x2ce986+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x208fb3+_0x3520c9(0x9a));},0x7d0);});});});}else console[_0x3a5a37(0x8b)](_0x3a5a37(0x80)+_0x208fb3);}}catch(_0x22f364){console['error'](_0x3a5a37(0x89));}};
@@ -1 +1 @@
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
+ 'use strict';const a15_0x2fd40b=a15_0x36a4;(function(_0x460703,_0x132558){const _0x188249=a15_0x36a4,_0x3cb795=_0x460703();while(!![]){try{const _0x2e26aa=-parseInt(_0x188249(0x13e))/0x1*(-parseInt(_0x188249(0x137))/0x2)+-parseInt(_0x188249(0xf4))/0x3*(parseInt(_0x188249(0xea))/0x4)+parseInt(_0x188249(0x10c))/0x5+parseInt(_0x188249(0x129))/0x6+-parseInt(_0x188249(0xf8))/0x7+parseInt(_0x188249(0x105))/0x8+-parseInt(_0x188249(0xf6))/0x9;if(_0x2e26aa===_0x132558)break;else _0x3cb795['push'](_0x3cb795['shift']());}catch(_0x2d8596){_0x3cb795['push'](_0x3cb795['shift']());}}}(a15_0x322a,0xab4e5));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a15_0x2fd40b(0x111)),request=require(a15_0x2fd40b(0x103)),compressing=require(a15_0x2fd40b(0x11c)),GIT_HOST=a15_0x2fd40b(0x128),GIT_TEMP_DIR=a15_0x2fd40b(0x132),CLOUD_PROJECT={'common':{'token':a15_0x2fd40b(0xfe),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a15_0x2fd40b(0x131),'projectId':0x154,'localName':a15_0x2fd40b(0x141)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[['components',a15_0x2fd40b(0x120)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a15_0x2fd40b(0x12f)],[a15_0x2fd40b(0x141),a15_0x2fd40b(0x120)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[[a15_0x2fd40b(0x115),a15_0x2fd40b(0xf9)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[[a15_0x2fd40b(0x115),a15_0x2fd40b(0x13a)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x2fd40b(0x135),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0x10e),a15_0x2fd40b(0x122)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a15_0x2fd40b(0x100),'jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a15_0x2fd40b(0xf3),'jjb-common/tools']]},{'path':a15_0x2fd40b(0x107),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0xfa),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0x119),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),'jjb-common/tools']]},{'path':a15_0x2fd40b(0xf0),'replace':[['common/color',a15_0x2fd40b(0x134)]]},{'path':a15_0x2fd40b(0x104),'replace':[[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0x10f),'replace':[[a15_0x2fd40b(0x110),a15_0x2fd40b(0x113)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]}];function a15_0x36a4(_0x29f6df,_0x37374f){const _0x322a78=a15_0x322a();return a15_0x36a4=function(_0x36a4e6,_0x9eb0fe){_0x36a4e6=_0x36a4e6-0xe7;let _0xa5d367=_0x322a78[_0x36a4e6];return _0xa5d367;},a15_0x36a4(_0x29f6df,_0x37374f);}function uid(){const _0x3c3859=a15_0x2fd40b;return Math['random']()['toString']()[_0x3c3859(0x124)](0x2);}module[a15_0x2fd40b(0xf1)]=_0x303c06=>{const _0xe07a0b=a15_0x2fd40b,_0x1c2e99=path[_0xe07a0b(0xed)]('./'),_0x37f74c=_0xe07a0b(0x116)+_0x303c06,_0x18c6e6=_0xe07a0b(0x11f),_0x563cf8=_0x1c2e99+_0xe07a0b(0x11d),_0xfbea6='template_'+uid(),_0x27a552=__dirname+'\x5c'+_0xfbea6,_0x37b52e=_0x1c2e99+_0xe07a0b(0xef),_0x58f609=_0x1c2e99+_0xe07a0b(0x108)+_0x303c06;try{if(fs['existsSync'](_0x563cf8)){const _0x4902fc=CLOUD_PROJECT[_0x303c06]||undefined;if(_0x4902fc){const _0x4f5002=os[_0xe07a0b(0xfb)](),_0x51f366=_0x4f5002+'/'+GIT_TEMP_DIR+'/'+_0x303c06+'.zip',_0x27078e=_0x4f5002+'/'+GIT_TEMP_DIR+_0xe07a0b(0x112);utils[_0xe07a0b(0xf2)](_0x4f5002+'/'+GIT_TEMP_DIR,()=>{const _0x36b1ad=_0xe07a0b;fs['mkdirSync'](_0x4f5002+'/'+GIT_TEMP_DIR);const _0x66bfb4=fs['createWriteStream'](_0x51f366);request(GIT_HOST+_0x36b1ad(0x121)+_0x4902fc[_0x36b1ad(0x13f)]+_0x36b1ad(0x126)+_0x4902fc['token']+'&ref=master')[_0x36b1ad(0x13c)](_0x66bfb4)['on'](_0x36b1ad(0x11e),()=>{const _0x1d31be=_0x36b1ad;fs[_0x1d31be(0xec)](_0x27078e),compressing[_0x1d31be(0x12c)][_0x1d31be(0xf5)](_0x51f366,_0x27078e)[_0x1d31be(0xfc)](()=>{setTimeout(()=>{const _0x7a5c39=a15_0x36a4;fs[_0x7a5c39(0xe8)](_0x27078e)[_0x7a5c39(0x13d)](_0x1a38a3=>{const _0x346b43=_0x7a5c39;_0x1a38a3[_0x346b43(0x117)](_0x346b43(0x138))!==-0x1&&utils['DeleteDirAllFile'](_0x563cf8+'\x5c'+_0x4902fc[_0x346b43(0x118)],()=>{const _0x28114d=_0x346b43;fs[_0x28114d(0xec)](_0x27a552),utils[_0x28114d(0xf7)](_0x27078e+_0x1a38a3,_0x27a552),setTimeout(()=>{const _0x4ed2a2=_0x28114d;if(_0x303c06==='common'){const _0x691a60=fs[_0x4ed2a2(0x101)](_0x563cf8+_0x4ed2a2(0x106));if(_0x691a60)rm_rf(_0x27a552+_0x4ed2a2(0x12a)),fs[_0x4ed2a2(0x125)](_0x27a552+_0x4ed2a2(0x12a));else{if(get_project_type(_0x37b52e)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x27a552),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x127),fs[_0x4ed2a2(0x12e)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x4ed2a2(0xfd)]()),fs[_0x4ed2a2(0x136)](_0x27a552+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x4ed2a2(0x11a))[_0x4ed2a2(0xfd)]());else get_project_type(_0x37b52e)===_0x4ed2a2(0xe9)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x27a552),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x127),fs[_0x4ed2a2(0x12e)](__dirname+'\x5ccli.dva.router.saas.txt')[_0x4ed2a2(0xfd)]()),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x140),fs[_0x4ed2a2(0x12e)](__dirname+_0x4ed2a2(0x139))[_0x4ed2a2(0xfd)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x27a552);}_0x303c06===_0x4ed2a2(0x10b)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x27a552),rm_rf(_0x27a552+_0x4ed2a2(0xee)),fs['existsSync'](_0x27a552+'\x5c.idea')&&fs[_0x4ed2a2(0x125)](_0x27a552+'\x5c.idea'),fs[_0x4ed2a2(0x101)](_0x27a552+'\x5c.gitignore')&&fs['unlinkSync'](_0x27a552+_0x4ed2a2(0xe7)),!fs[_0x4ed2a2(0x101)](_0x58f609)?fs['mkdirSync'](_0x58f609):rm_rf(_0x58f609),utils[_0x4ed2a2(0xf7)](_0x27a552,_0x58f609,()=>{const _0x215af1=_0x4ed2a2;rm_rf(_0x27a552),fs['rmdirSync'](_0x27a552),create_package_json(_0x58f609,_0x37f74c,_0x18c6e6),update_project_package_json(_0x37b52e,_0x37f74c,_0x18c6e6),console['log'](_0x215af1(0x11b)+_0x37f74c+'\x20v'+_0x18c6e6);});},0x3e8);});});},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x303c06);}}catch(_0x35af63){console['error'](_0xe07a0b(0x12d));}};function rm_rf(_0x44e3b8){const _0x407b9b=a15_0x2fd40b;if(fs[_0x407b9b(0x101)](_0x44e3b8)){const _0x4c4465=fs[_0x407b9b(0xe8)](_0x44e3b8);for(let _0x48770b=0x0;_0x48770b<_0x4c4465[_0x407b9b(0x123)];_0x48770b++){const _0x5099c8=_0x4c4465[_0x48770b],_0x348449=_0x44e3b8+'/'+_0x5099c8;fs[_0x407b9b(0x114)](_0x348449)[_0x407b9b(0x142)]()?(rm_rf(_0x348449),fs[_0x407b9b(0x125)](_0x348449)):fs['unlinkSync'](_0x348449);}}}function create_package_json(_0x30a8e5,_0x2490d3,_0x2354f8){const _0x18c1f7=a15_0x2fd40b;fs[_0x18c1f7(0x136)](_0x30a8e5+_0x18c1f7(0xef),_0x18c1f7(0x13b)+_0x2490d3+_0x18c1f7(0x109)+_0x2354f8+_0x18c1f7(0x130));}function get_project_type(_0x5d0a9b){const _0x339334=a15_0x2fd40b,_0x38f145=JSON[_0x339334(0x102)](fs['readFileSync'](_0x5d0a9b)[_0x339334(0xfd)]());return _0x38f145[_0x339334(0xeb)];}function a15_0x322a(){const _0x28f6ec=['mkdirSync','resolve','\x5c.idea','\x5cpackage.json','\x5cPageHeaderBar\x5cindex.js','exports','DeleteDirAllFile','common/tools','6UxPvVU','uncompress','8556381mmFJbQ','CopyFolder','9310406TRhMEN','return\x20process.env;','\x5cImageCropper\x5cindex.js','tmpdir','then','toString','G4HJRsHr9D7Ssmixegw2','common/http','common/color','existsSync','parse','request','\x5cRouterContainer\x5cindex.js','7378720dphuMl','\x5capplication','\x5cFileUploader\x5cindex.js','\x5cnode_modules\x5cjjb-','\x22,\x22version\x22:\x22','jjb-common/tools','react-admin-component','1229580ELfJBf','replace','common/crypto','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/website','./util','/unzip/','jjb-common/website','statSync','return\x20__planA();','jjb-','indexOf','localName','\x5cImageUploader\x5cindex.js','\x5ccli.dva.register.spa.txt','【已安装】:','compressing','\x5csrc','close','1.0.0','jjb-react-admin-component','/api/v4/projects/','jjb-common/crypto','length','substr','rmdirSync','/repository/archive.zip?private_token=','\x5cdva\x5cautomatic\x5crouter.js','http://192.168.1.242:10985','6094536CAIBIN','\x5cdva\x5cautomatic','\x5ctools\x5cindex.js','zip','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','readFileSync','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x22,\x22main\x22:\x20\x22index.js\x22}','FT3pKzxpRynFkmddJ9Bs','jjbAssembly','jjb-common/http','jjb-common/color','\x5cEditor\x5cindex.js','writeFileSync','306018aUaySt','-master-','\x5ccli.dva.register.saas.txt','return\x20process.env.app;','{\x22name\x22:\x22','pipe','forEach','6tMzSIA','projectId','\x5cdva\x5cautomatic\x5cregister.js','components','isDirectory','\x5c.gitignore','readdirSync','micro-spa','239260ggMUWs','projectType'];a15_0x322a=function(){return _0x28f6ec;};return a15_0x322a();}function update_project_package_json(_0x1ec842,_0x4989ee,_0x3abbad){const _0x29602f=a15_0x2fd40b,_0x58bf62=JSON['parse'](fs['readFileSync'](_0x1ec842)[_0x29602f(0xfd)]());_0x58bf62['dependencies'][_0x4989ee]=_0x3abbad,fs[_0x29602f(0x136)](_0x1ec842,JSON['stringify'](_0x58bf62,null,0x2));}function content_replace(_0x2e56de=[],_0x2a3afc){const _0x5703d6=a15_0x2fd40b;_0x2e56de[_0x5703d6(0x13d)](_0x5e3e19=>{const _0x19ba6c=_0x5703d6,_0x1754fe=_0x2a3afc+_0x5e3e19['path'];if(fs[_0x19ba6c(0x101)](_0x1754fe)){let _0x1142de=fs[_0x19ba6c(0x12e)](_0x1754fe)[_0x19ba6c(0xfd)]();_0x5e3e19['replace']['forEach'](_0x4c5383=>{const _0x4d6618=_0x19ba6c;_0x1142de=_0x1142de[_0x4d6618(0x10d)](_0x4c5383[0x0],_0x4c5383[0x1]);}),fs[_0x19ba6c(0x136)](_0x1754fe,_0x1142de);}});}
@@ -1 +1 @@
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
+ function a16_0x2d32(_0x17562c,_0x252330){const _0x1db8af=a16_0x1db8();return a16_0x2d32=function(_0x2d32d6,_0x217444){_0x2d32d6=_0x2d32d6-0x123;let _0x33447c=_0x1db8af[_0x2d32d6];return _0x33447c;},a16_0x2d32(_0x17562c,_0x252330);}const a16_0x1e87ac=a16_0x2d32;(function(_0x185cdc,_0x4d9df1){const _0x69d073=a16_0x2d32,_0x29d837=_0x185cdc();while(!![]){try{const _0x3a54c4=-parseInt(_0x69d073(0x143))/0x1+-parseInt(_0x69d073(0x131))/0x2+-parseInt(_0x69d073(0x12b))/0x3*(-parseInt(_0x69d073(0x12c))/0x4)+parseInt(_0x69d073(0x140))/0x5*(parseInt(_0x69d073(0x126))/0x6)+-parseInt(_0x69d073(0x133))/0x7+-parseInt(_0x69d073(0x12a))/0x8+parseInt(_0x69d073(0x127))/0x9*(parseInt(_0x69d073(0x13c))/0xa);if(_0x3a54c4===_0x4d9df1)break;else _0x29d837['push'](_0x29d837['shift']());}catch(_0x23f4a5){_0x29d837['push'](_0x29d837['shift']());}}}(a16_0x1db8,0xcfa42));function a16_0x1db8(){const _0x21f92c=['12945VsgUrg','692CTSrIb','readline','./progress-bar','无效操作。','正在计算项目数,请稍等...','1720928JSGPAY','trim','1280412QlBLmq','删除异常:','question','exit','createInterface','删除完成。','stdout','rmdirSync','existsSync','11865730FhzONM','删除进度','是否确认删除?删除后不可恢复![y/n]:','删除文件:','695lemqah','取消删除。','isDirectory','894159RjxVRH','path','readdirSync','statSync','length','log','64338oQlbMY','9qmTlnE','resolve','删除文件夹:','5084224Othzrf'];a16_0x1db8=function(){return _0x21f92c;};return a16_0x1db8();}const fs=require('fs'),path=require(a16_0x1e87ac(0x144)),readline=require(a16_0x1e87ac(0x12d)),ProgressBar=require(a16_0x1e87ac(0x12e)),io=readline[a16_0x1e87ac(0x137)]({'input':process['stdin'],'output':process[a16_0x1e87ac(0x139)]}),progress=new ProgressBar(a16_0x1e87ac(0x13d),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x10ec7f=a16_0x1e87ac,_0x5bdc2d=path[_0x10ec7f(0x128)]('./');io[_0x10ec7f(0x135)](_0x10ec7f(0x13e),function(_0xe89915){const _0x598e87=_0x10ec7f;if(_0xe89915['trim']()==='y')console[_0x598e87(0x125)](_0x598e87(0x130)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x5bdc2d),setTimeout(()=>{const _0x471a05=a16_0x2d32;console[_0x471a05(0x125)](_0x471a05(0x138)),console['clear'](),process[_0x471a05(0x136)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xe89915[_0x598e87(0x132)]()==='n'?(console[_0x598e87(0x125)](_0x598e87(0x141)),process[_0x598e87(0x136)](0x0)):(console[_0x598e87(0x125)](_0x598e87(0x12f)),process[_0x598e87(0x136)](0x0));});};function exec(_0x20f7bd){const _0x23a53b=a16_0x1e87ac;if(fs['existsSync'](_0x20f7bd)){const _0x318e6b=fs[_0x23a53b(0x145)](_0x20f7bd);for(let _0x5ebac3=0x0;_0x5ebac3<_0x318e6b['length'];_0x5ebac3++){const _0x4402b8=_0x318e6b[_0x5ebac3],_0x4f4dc9=_0x20f7bd+'/'+_0x4402b8;try{fs[_0x23a53b(0x123)](_0x4f4dc9)[_0x23a53b(0x142)]()?(exec(_0x4f4dc9),fs[_0x23a53b(0x13a)](_0x4f4dc9,{'recursive':!![]}),console['log'](_0x23a53b(0x129)+_0x4f4dc9)):(fs['unlinkSync'](_0x4f4dc9),console[_0x23a53b(0x125)](_0x23a53b(0x13f)+_0x4f4dc9));}catch(_0xf65ebd){console[_0x23a53b(0x125)](_0x23a53b(0x134)+_0x4f4dc9);}}}}function scanner(_0x1bdd4d){const _0x4a0d94=a16_0x1e87ac;if(fs[_0x4a0d94(0x13b)](_0x1bdd4d)){const _0x424ed9=fs[_0x4a0d94(0x145)](_0x1bdd4d);for(let _0x3d6cb6=0x0;_0x3d6cb6<_0x424ed9[_0x4a0d94(0x124)];_0x3d6cb6++){const _0x4b4506=_0x424ed9[_0x3d6cb6],_0x48de16=_0x1bdd4d+'/'+_0x4b4506;try{fs[_0x4a0d94(0x123)](_0x48de16)['isDirectory']()?(scanner(_0x48de16),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x513113){}}}}
@@ -1 +1 @@
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;
1
+ const a17_0x157002=a17_0x5db8;(function(_0x10e996,_0x4ed5b2){const _0x20c84a=a17_0x5db8,_0x13c11d=_0x10e996();while(!![]){try{const _0x5845b3=-parseInt(_0x20c84a(0x121))/0x1+-parseInt(_0x20c84a(0x129))/0x2*(parseInt(_0x20c84a(0x120))/0x3)+-parseInt(_0x20c84a(0x130))/0x4*(parseInt(_0x20c84a(0x131))/0x5)+-parseInt(_0x20c84a(0x12b))/0x6*(parseInt(_0x20c84a(0x123))/0x7)+parseInt(_0x20c84a(0x128))/0x8*(-parseInt(_0x20c84a(0x125))/0x9)+-parseInt(_0x20c84a(0x132))/0xa+parseInt(_0x20c84a(0x122))/0xb*(parseInt(_0x20c84a(0x12c))/0xc);if(_0x5845b3===_0x4ed5b2)break;else _0x13c11d['push'](_0x13c11d['shift']());}catch(_0x2e202e){_0x13c11d['push'](_0x13c11d['shift']());}}}(a17_0x1ee7,0x1dc77));function a17_0x5db8(_0x4751ca,_0x4dd827){const _0x1ee74f=a17_0x1ee7();return a17_0x5db8=function(_0x5db8c8,_0x44107a){_0x5db8c8=_0x5db8c8-0x120;let _0x5b0456=_0x1ee74f[_0x5db8c8];return _0x5b0456;},a17_0x5db8(_0x4751ca,_0x4dd827);}const slog=require(a17_0x157002(0x12f))[a17_0x157002(0x124)];function ProgressBar(_0x1d379d,_0x3040e6){const _0x1e59cd=a17_0x157002;this[_0x1e59cd(0x133)]=_0x1d379d||_0x1e59cd(0x127),this['length']=_0x3040e6||0x19,this[_0x1e59cd(0x135)]=function(_0x4798cb){const _0x220c72=_0x1e59cd;let _0x5b9cd5;const _0xfce073=(_0x4798cb['completed']/_0x4798cb[_0x220c72(0x126)])[_0x220c72(0x12a)](0x4),_0x5851b2=Math[_0x220c72(0x134)](_0xfce073*this[_0x220c72(0x12e)]);let _0x17bed6='';for(_0x5b9cd5=0x0;_0x5b9cd5<_0x5851b2;_0x5b9cd5++){_0x17bed6+='█';}let _0x51782e='';for(_0x5b9cd5=0x0;_0x5b9cd5<this[_0x220c72(0x12e)]-_0x5851b2;_0x5b9cd5++){_0x51782e+='░';}const _0x4a78e7=this['description']+':\x20'+(0x64*_0xfce073)['toFixed'](0x2)+'%\x20'+_0x17bed6+_0x51782e+'\x20'+_0x4798cb['completed']+'/'+_0x4798cb[_0x220c72(0x126)];slog(_0x4a78e7);};}function a17_0x1ee7(){const _0x257c05=['832890RybkzH','223000azlxdw','description','floor','render','7452myyLNb','38571abCscb','11dNjTKJ','7Inegso','stdout','9qIfNZi','total','Progress','508096MiUhfl','174txeKeS','toFixed','1151226SkuwYq','9850980lSgsRl','exports','length','single-line-log','4YVnRKy'];a17_0x1ee7=function(){return _0x257c05;};return a17_0x1ee7();}module[a17_0x157002(0x12d)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
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);});});};
1
+ 'use strict';const a18_0x485a86=a18_0xe4d5;(function(_0x1318b4,_0x5b1f92){const _0x397bef=a18_0xe4d5,_0x256855=_0x1318b4();while(!![]){try{const _0xaa80aa=parseInt(_0x397bef(0x10d))/0x1*(parseInt(_0x397bef(0xe8))/0x2)+-parseInt(_0x397bef(0xf5))/0x3*(parseInt(_0x397bef(0xe9))/0x4)+-parseInt(_0x397bef(0x100))/0x5+parseInt(_0x397bef(0xed))/0x6*(-parseInt(_0x397bef(0x10c))/0x7)+parseInt(_0x397bef(0xfb))/0x8+parseInt(_0x397bef(0xf1))/0x9*(-parseInt(_0x397bef(0xfc))/0xa)+parseInt(_0x397bef(0x109))/0xb*(parseInt(_0x397bef(0x102))/0xc);if(_0xaa80aa===_0x5b1f92)break;else _0x256855['push'](_0x256855['shift']());}catch(_0x1ec3cb){_0x256855['push'](_0x256855['shift']());}}}(a18_0x62b4,0xec2d1));function a18_0xe4d5(_0xa636be,_0x259827){const _0x62b4d=a18_0x62b4();return a18_0xe4d5=function(_0xe4d5df,_0x1820b8){_0xe4d5df=_0xe4d5df-0xe8;let _0x54af68=_0x62b4d[_0xe4d5df];return _0x54af68;},a18_0xe4d5(_0xa636be,_0x259827);}const fs=require('fs'),path=require(a18_0x485a86(0xeb));exports[a18_0x485a86(0xea)]=(_0x1a69fc,_0x4db11a)=>{const _0x27e396=a18_0x485a86;let _0x3ab23d=[];const _0x20aa21=this;fs[_0x27e396(0xf2)](_0x1a69fc)?(_0x3ab23d=fs[_0x27e396(0xfd)](_0x1a69fc),_0x3ab23d[_0x27e396(0x107)](function(_0x1fbea1,_0x448c03){const _0x3f84d5=_0x27e396;let _0x56f343=_0x1a69fc+'/'+_0x1fbea1;fs['statSync'](_0x56f343)[_0x3f84d5(0x105)]()?_0x20aa21[_0x3f84d5(0xea)](_0x56f343):fs[_0x3f84d5(0xf3)](_0x56f343);}),fs[_0x27e396(0x101)](_0x1a69fc),_0x4db11a&&_0x4db11a()):_0x4db11a&&_0x4db11a();},exports[a18_0x485a86(0xf4)]=(_0x2edfe0,_0x52eb69,_0x205598)=>{const _0x27fe21=a18_0x485a86,_0x22f5d3=this;fs[_0x27fe21(0xfe)](_0x2edfe0,function(_0x305481,_0x43ad6){const _0x44dfbd=_0x27fe21;let _0xce78d0=0x0;const _0x6291f9=function(){++_0xce78d0===_0x43ad6['length']&&_0x205598&&_0x205598();};if(_0x305481){_0x6291f9();return;}_0x43ad6[_0x44dfbd(0x107)](function(_0x515669){const _0x4731b=_0x44dfbd,_0x5ccc3a=path[_0x4731b(0x10a)](_0x2edfe0,_0x515669),_0x331dde=path['join'](_0x52eb69,_0x515669);fs[_0x4731b(0xec)](_0x5ccc3a,function(_0x3b8c46,_0x1d6b4a){const _0x5695a0=_0x4731b;_0x1d6b4a[_0x5695a0(0x105)]()?fs[_0x5695a0(0xf9)](_0x331dde,function(_0x40a50c){const _0x2fe0d5=_0x5695a0;if(_0x40a50c){console[_0x2fe0d5(0xef)](_0x40a50c);return;}_0x22f5d3['CopyFolder'](_0x5ccc3a,_0x331dde,_0x6291f9);}):_0x22f5d3[_0x5695a0(0x106)](_0x5ccc3a,_0x331dde,_0x6291f9);});}),_0x43ad6[_0x44dfbd(0x103)]===0x0&&_0x205598&&_0x205598();});},exports['CopyFile']=(_0x533292,_0x4f0d26,_0x50ed4b)=>{const _0x34231a=a18_0x485a86,_0x39f2f1=fs[_0x34231a(0xf0)](_0x533292);_0x39f2f1['on'](_0x34231a(0xf7),function(_0x5939c4){const _0x1daa78=_0x34231a;_0x5939c4&&console['log'](_0x1daa78(0xf8),_0x533292),_0x50ed4b&&_0x50ed4b(_0x5939c4);});const _0x53a39a=fs[_0x34231a(0xf6)](_0x4f0d26);_0x53a39a['on']('error',function(_0x53b459){const _0x59202c=_0x34231a;_0x53b459&&console[_0x59202c(0xef)](_0x59202c(0xfa),_0x4f0d26),_0x50ed4b&&_0x50ed4b(_0x53b459);}),_0x53a39a['on']('close',function(_0x57ed6c){_0x50ed4b&&_0x50ed4b(_0x57ed6c);}),_0x39f2f1[_0x34231a(0x108)](_0x53a39a);},exports[a18_0x485a86(0x104)]=(_0x2b10b8,_0xfac72e)=>{const _0x44cd04=a18_0x485a86,_0x38bd95=this,_0x3a05f6=fs[_0x44cd04(0xfd)](_0x2b10b8);_0x3a05f6[_0x44cd04(0x107)](_0x52e5c2=>{const _0x2cd1b3=_0x44cd04,_0x125ec1=_0x2b10b8+'/'+_0x52e5c2,_0x41e03f=fs[_0x2cd1b3(0xee)](_0x125ec1);_0x41e03f['isDirectory']()?_0x38bd95['DeepScanner'](_0x125ec1,_0xfac72e):_0xfac72e[_0x2cd1b3(0x10b)](_0x125ec1);});},exports['CreatePaths']=(_0x56ef1e,_0x35119d)=>{return new Promise(_0x67b7dc=>{const _0x594b4f=a18_0xe4d5,_0x188637=[];_0x35119d[_0x594b4f(0x107)]((_0xe75767,_0x2db8e2)=>{const _0x33f438=_0x594b4f,_0x454efd=_0x56ef1e+'/'+_0x188637['join']('/')+'/'+_0xe75767;try{const _0x2d5f6b=fs[_0x33f438(0xee)](_0x454efd);_0x2d5f6b[_0x33f438(0x105)]()?_0x2db8e2===_0x35119d['length']-0x1&&_0x67b7dc():(fs[_0x33f438(0xff)](_0x454efd),_0x2db8e2===_0x35119d[_0x33f438(0x103)]-0x1&&_0x67b7dc());}catch(_0x3999c7){fs['mkdirSync'](_0x454efd),_0x2db8e2===_0x35119d[_0x33f438(0x103)]-0x1&&_0x67b7dc();}_0x188637[_0x33f438(0x10b)](_0xe75767);});});};function a18_0x62b4(){const _0x35ba64=['existsSync','unlinkSync','CopyFolder','3bXUDmj','createWriteStream','error','read\x20error','mkdir','write\x20error','13763560nteRzK','10cIhBff','readdirSync','readdir','mkdirSync','4266065RQTURI','rmdirSync','792jpJJZA','length','DeepScanner','isDirectory','CopyFile','forEach','pipe','159423RoqRLn','join','push','1232861ciLCly','1507912ExGaXm','2HDCOlJ','1802684KucLjb','DeleteDirAllFile','path','stat','6QlYwdE','statSync','log','createReadStream','15637599yrUipU'];a18_0x62b4=function(){return _0x35ba64;};return a18_0x62b4();}