jjb-cmd 2.1.23 → 2.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.24</p>
6
+ <div>1、支持compoent.config.json共享文件</div>
7
+ <div>2、提交组件支持ReactNode转换</div>
8
+ </li>
4
9
  <li>
5
10
  <p>2.1.23</p>
6
11
  <div>publish增加缩略图限制</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.23",
4
+ "version": "2.1.24",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -18,6 +18,8 @@
18
18
  "commander": "^1.3.2",
19
19
  "compressing": "^1.5.1",
20
20
  "request": "2.88.2",
21
- "single-line-log": "1.1.2"
21
+ "single-line-log": "1.1.2",
22
+ "@babel/core": "^7.19.3",
23
+ "@babel/preset-react": "^7.18.6"
22
24
  }
23
25
  }
@@ -1 +1 @@
1
- const a0_0x24bd55=a0_0x2037;function a0_0x2037(_0x43afa3,_0x55f06c){const _0x484e3d=a0_0x484e();return a0_0x2037=function(_0x2037ba,_0x1e1b8e){_0x2037ba=_0x2037ba-0x1cd;let _0x21c8b9=_0x484e3d[_0x2037ba];return _0x21c8b9;},a0_0x2037(_0x43afa3,_0x55f06c);}(function(_0x2ae53d,_0x5f5720){const _0x12bb46=a0_0x2037,_0x535a94=_0x2ae53d();while(!![]){try{const _0x4aed55=-parseInt(_0x12bb46(0x1d4))/0x1*(-parseInt(_0x12bb46(0x1e1))/0x2)+-parseInt(_0x12bb46(0x1d2))/0x3*(-parseInt(_0x12bb46(0x1d5))/0x4)+-parseInt(_0x12bb46(0x1d1))/0x5*(-parseInt(_0x12bb46(0x1cf))/0x6)+parseInt(_0x12bb46(0x1de))/0x7+-parseInt(_0x12bb46(0x1d9))/0x8+-parseInt(_0x12bb46(0x1ce))/0x9+-parseInt(_0x12bb46(0x1df))/0xa;if(_0x4aed55===_0x5f5720)break;else _0x535a94['push'](_0x535a94['shift']());}catch(_0xe7214d){_0x535a94['push'](_0x535a94['shift']());}}}(a0_0x484e,0x935e5));const axios=require(a0_0x24bd55(0x1e2)),fs=require('fs'),path=require(a0_0x24bd55(0x1d0)),{API_HOST}=require(a0_0x24bd55(0x1d6));function a0_0x484e(){const _0x164246=['16cxPyps','../cmd.install/config','Auth\x20Fail!','../../../.auth','2442896jueVYA','/api/auth','join','writeFileSync','unlinkSync','1170498JeYhOz','20863140bVAuSO','exports','2UcSufi','axios','data','then','catch','380223YJLBiX','6EJAWYG','path','5254245ApXmPJ','689181UPreIq','log','900573iaxaZh'];a0_0x484e=function(){return _0x164246;};return a0_0x484e();}module[a0_0x24bd55(0x1e0)]=_0x14e0de=>{const _0x1ee7e0=a0_0x24bd55;console[_0x1ee7e0(0x1d3)](_0x14e0de);const [_0x65d703,_0xe13d8a]=_0x14e0de;axios['post'](API_HOST+_0x1ee7e0(0x1da),{'username':_0x65d703,'password':_0xe13d8a})[_0x1ee7e0(0x1e4)](_0x14a250=>{const _0x171202=_0x1ee7e0,_0x52c48e=path[_0x171202(0x1db)](__dirname,_0x171202(0x1d8));_0x14a250[_0x171202(0x1e3)]['status']?(console[_0x171202(0x1d3)]('Auth\x20Success!'),fs[_0x171202(0x1dc)](_0x52c48e,_0x65d703+'/'+_0xe13d8a)):(console[_0x171202(0x1d3)](_0x171202(0x1d7)),fs['existsSync'](_0x52c48e)&&fs[_0x171202(0x1dd)](_0x52c48e));})[_0x1ee7e0(0x1cd)](_0x238b0a=>{const _0x3a6eb0=_0x1ee7e0;console[_0x3a6eb0(0x1d3)]('Auth\x20NetWork\x20Fail!');});};
1
+ function a0_0x1036(){const _0x4ec9b5=['path','/api/auth','../../../.auth','78412XelKpE','28VmoDiD','post','6882018dvwwnf','Auth\x20NetWork\x20Fail!','6KAhxOq','978vzqfux','Auth\x20Fail!','5474760ZcEeZA','status','Auth\x20Success!','27290oLGePo','then','join','../cmd.install/config','log','7148061WKtNjM','writeFileSync','20BPJrXE','catch','exports','1604895xNXgOP','9009FhCuGg','existsSync'];a0_0x1036=function(){return _0x4ec9b5;};return a0_0x1036();}const a0_0xb784a9=a0_0x1db1;(function(_0xa333b,_0x3f96fc){const _0x28b30a=a0_0x1db1,_0x16a2a7=_0xa333b();while(!![]){try{const _0x3316f9=-parseInt(_0x28b30a(0x122))/0x1*(parseInt(_0x28b30a(0x111))/0x2)+parseInt(_0x28b30a(0x126))/0x3*(parseInt(_0x28b30a(0x121))/0x4)+parseInt(_0x28b30a(0x11b))/0x5+parseInt(_0x28b30a(0x127))/0x6*(parseInt(_0x28b30a(0x11c))/0x7)+parseInt(_0x28b30a(0x10e))/0x8+parseInt(_0x28b30a(0x116))/0x9+parseInt(_0x28b30a(0x118))/0xa*(-parseInt(_0x28b30a(0x124))/0xb);if(_0x3316f9===_0x3f96fc)break;else _0x16a2a7['push'](_0x16a2a7['shift']());}catch(_0x4a767e){_0x16a2a7['push'](_0x16a2a7['shift']());}}}(a0_0x1036,0x655e4));function a0_0x1db1(_0x53059d,_0x530667){const _0x103642=a0_0x1036();return a0_0x1db1=function(_0x1db1d3,_0x40aaae){_0x1db1d3=_0x1db1d3-0x10e;let _0x3740a=_0x103642[_0x1db1d3];return _0x3740a;},a0_0x1db1(_0x53059d,_0x530667);}const axios=require('axios'),fs=require('fs'),path=require(a0_0xb784a9(0x11e)),{API_HOST}=require(a0_0xb784a9(0x114));module[a0_0xb784a9(0x11a)]=_0x2fc8e7=>{const _0x4337f3=a0_0xb784a9;console[_0x4337f3(0x115)](_0x2fc8e7);const [_0x1c7aef,_0x3e15ad]=_0x2fc8e7;axios[_0x4337f3(0x123)](API_HOST+_0x4337f3(0x11f),{'username':_0x1c7aef,'password':_0x3e15ad})[_0x4337f3(0x112)](_0x48b6b8=>{const _0x4f5777=_0x4337f3,_0x515097=path[_0x4f5777(0x113)](__dirname,_0x4f5777(0x120));_0x48b6b8['data'][_0x4f5777(0x10f)]?(console[_0x4f5777(0x115)](_0x4f5777(0x110)),fs[_0x4f5777(0x117)](_0x515097,_0x1c7aef+'/'+_0x3e15ad)):(console[_0x4f5777(0x115)](_0x4f5777(0x128)),fs[_0x4f5777(0x11d)](_0x515097)&&fs['unlinkSync'](_0x515097));})[_0x4337f3(0x119)](_0xa524a4=>{const _0x72de4=_0x4337f3;console[_0x72de4(0x115)](_0x72de4(0x125));});};
@@ -1 +1 @@
1
- const a1_0xcbab92=a1_0x11ad;(function(_0x283e57,_0x569c3d){const _0xef4bd5=a1_0x11ad,_0x1418a0=_0x283e57();while(!![]){try{const _0x30db92=-parseInt(_0xef4bd5(0x95))/0x1*(parseInt(_0xef4bd5(0xa0))/0x2)+parseInt(_0xef4bd5(0xa8))/0x3+-parseInt(_0xef4bd5(0x8f))/0x4+-parseInt(_0xef4bd5(0xb4))/0x5*(-parseInt(_0xef4bd5(0x94))/0x6)+parseInt(_0xef4bd5(0x93))/0x7+-parseInt(_0xef4bd5(0xac))/0x8+parseInt(_0xef4bd5(0xb0))/0x9;if(_0x30db92===_0x569c3d)break;else _0x1418a0['push'](_0x1418a0['shift']());}catch(_0x265784){_0x1418a0['push'](_0x1418a0['shift']());}}}(a1_0x1893,0xcbb27));function a1_0x1893(){const _0x1afc61=['/repository/archive.zip?private_token=','初始化完成?请选择安装方式![yarn/npm]:','77782JqrWoc','question','exports','../../old/util','stdin','resolve','DeleteDirAllFile','yarn','4875840PcUOSp','createWriteStream','child_process','CopyFolder','10737736kWKSrr','readline','forEach','trim','12946329wThEHp','【Error】:初始化失败,','-master-','不存在。','5GYTvTR','then','includes','uncompress','安装完成,祝您愉快编码!','projectId','/api/v4/projects/','pipe','npm','1247540ozZsXV','stdout','jjb-cmd\x20install.app\x20','close','488313ffJLaE','1263162LvXYIi','22jKAxrr','mkdirSync','indexOf','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','log','zip','compressing','tmpdir','安装中,请耐心等待...'];a1_0x1893=function(){return _0x1afc61;};return a1_0x1893();}function a1_0x11ad(_0x168dec,_0x30ce44){const _0x189351=a1_0x1893();return a1_0x11ad=function(_0x11ad4f,_0x4f85e6){_0x11ad4f=_0x11ad4f-0x8b;let _0x4f05e8=_0x189351[_0x11ad4f];return _0x4f05e8;},a1_0x11ad(_0x168dec,_0x30ce44);}const fs=require('fs'),os=require('os'),path=require('path'),request=require('request'),utils=require(a1_0xcbab92(0xa3)),compressing=require(a1_0xcbab92(0x9b)),readline=require(a1_0xcbab92(0xad)),io=readline['createInterface']({'input':process[a1_0xcbab92(0xa4)],'output':process[a1_0xcbab92(0x90)]}),child_process=require(a1_0xcbab92(0xaa)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0xcbab92(0xa2)]=_0x3d1e76=>{const _0x569f2b=a1_0xcbab92,_0x2c9cda=path[_0x569f2b(0xa5)]('./'),_0x214733=CLOUD_PROJECT[_0x3d1e76]||undefined;if(_0x214733){const _0x1012fa=os[_0x569f2b(0x9c)](),_0x54be8b=_0x1012fa+'/'+GIT_TEMP_DIR+'/'+_0x3d1e76+'.zip',_0x588765=_0x1012fa+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x569f2b(0xa6)](_0x1012fa+'/'+GIT_TEMP_DIR,()=>{const _0x47e51a=_0x569f2b;fs[_0x47e51a(0x96)](_0x1012fa+'/'+GIT_TEMP_DIR);let _0x479540=fs[_0x47e51a(0xa9)](_0x54be8b);request(GIT_HOST+_0x47e51a(0x8c)+_0x214733[_0x47e51a(0x8b)]+_0x47e51a(0x9e)+_0x214733['token']+'&ref=master')[_0x47e51a(0x8d)](_0x479540)['on'](_0x47e51a(0x92),()=>{const _0x2efb08=_0x47e51a;fs['mkdirSync'](_0x588765),compressing[_0x2efb08(0x9a)][_0x2efb08(0xb7)](_0x54be8b,_0x588765)[_0x2efb08(0xb5)](()=>{setTimeout(()=>{const _0x3d2495=a1_0x11ad;fs['readdirSync'](_0x588765)[_0x3d2495(0xae)](_0x275dd4=>{const _0x93ee4b=_0x3d2495;_0x275dd4[_0x93ee4b(0x97)](_0x93ee4b(0xb2))!==-0x1&&utils[_0x93ee4b(0xab)](_0x588765+_0x275dd4,_0x2c9cda,()=>{const _0x5b5958=_0x93ee4b;io[_0x5b5958(0xa1)](_0x5b5958(0x9f),function(_0x35befc){const _0x50ea25=_0x5b5958;[_0x50ea25(0xa7),_0x50ea25(0x8e)][_0x50ea25(0xb6)](_0x35befc[_0x50ea25(0xaf)]())?(console[_0x50ea25(0x99)](_0x50ea25(0x9d)),child_process['execSync'](_0x50ea25(0x91)+_0x35befc[_0x50ea25(0xaf)](),{'cwd':_0x2c9cda}),console[_0x50ea25(0x99)](_0x50ea25(0xb8)),process['exit'](0x0)):(console[_0x50ea25(0x99)](_0x50ea25(0x98)),process['exit'](0x0));});});});},0x7d0);});});});}else console[_0x569f2b(0x99)](_0x569f2b(0xb1)+_0x3d1e76+_0x569f2b(0xb3));};
1
+ const a1_0x5372e7=a1_0x560c;(function(_0x5dbc67,_0xe3eeae){const _0x4f7b5b=a1_0x560c,_0x493f4e=_0x5dbc67();while(!![]){try{const _0x1422f8=parseInt(_0x4f7b5b(0x170))/0x1*(parseInt(_0x4f7b5b(0x161))/0x2)+-parseInt(_0x4f7b5b(0x17b))/0x3+-parseInt(_0x4f7b5b(0x175))/0x4*(-parseInt(_0x4f7b5b(0x159))/0x5)+-parseInt(_0x4f7b5b(0x16c))/0x6*(parseInt(_0x4f7b5b(0x150))/0x7)+-parseInt(_0x4f7b5b(0x163))/0x8+-parseInt(_0x4f7b5b(0x16d))/0x9+-parseInt(_0x4f7b5b(0x156))/0xa*(-parseInt(_0x4f7b5b(0x165))/0xb);if(_0x1422f8===_0xe3eeae)break;else _0x493f4e['push'](_0x493f4e['shift']());}catch(_0x4745e4){_0x493f4e['push'](_0x493f4e['shift']());}}}(a1_0x49bf,0x2c918));function a1_0x560c(_0x121adf,_0x5142b0){const _0x49bfaa=a1_0x49bf();return a1_0x560c=function(_0x560c02,_0x1fb19e){_0x560c02=_0x560c02-0x150;let _0x8e02f5=_0x49bfaa[_0x560c02];return _0x8e02f5;},a1_0x560c(_0x121adf,_0x5142b0);}function a1_0x49bf(){const _0x12932e=['初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','1230040VfsCUq','projectId','2963180IbbUsM','../cmd.install/config','execSync','/unzip/','zip','stdout','/api/v4/projects/','1704006unBGEC','994851aZulxO','log','不存在。','2KQkecS','exports','DeleteDirAllFile','request','then','268700UHNqWo','close','CopyFolder','uncompress','&ref=master','-master-','844950EnjFjk','pipe','7UnWrWD','createInterface','question','trim','stdin','forEach','30xvRJuj','token','安装中,请耐心等待...','15SaqwRQ','/repository/archive.zip?private_token=','path','../../old/util','resolve','.zip','exit','npm','2832GRBCtm'];a1_0x49bf=function(){return _0x12932e;};return a1_0x49bf();}const fs=require('fs'),os=require('os'),path=require(a1_0x5372e7(0x15b)),request=require(a1_0x5372e7(0x173)),utils=require(a1_0x5372e7(0x15c)),compressing=require('compressing'),readline=require('readline'),io=readline[a1_0x5372e7(0x151)]({'input':process[a1_0x5372e7(0x154)],'output':process[a1_0x5372e7(0x16a)]}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x5372e7(0x166));module[a1_0x5372e7(0x171)]=_0x1a66bf=>{const _0x3cf192=a1_0x5372e7,_0x58d29b=path[_0x3cf192(0x15d)]('./'),_0x3ff0ff=CLOUD_PROJECT[_0x1a66bf]||undefined;if(_0x3ff0ff){const _0x5da012=os['tmpdir'](),_0x11d96b=_0x5da012+'/'+GIT_TEMP_DIR+'/'+_0x1a66bf+_0x3cf192(0x15e),_0x59be50=_0x5da012+'/'+GIT_TEMP_DIR+_0x3cf192(0x168);utils[_0x3cf192(0x172)](_0x5da012+'/'+GIT_TEMP_DIR,()=>{const _0x3c2f97=_0x3cf192;fs['mkdirSync'](_0x5da012+'/'+GIT_TEMP_DIR);let _0x312934=fs['createWriteStream'](_0x11d96b);request(GIT_HOST+_0x3c2f97(0x16b)+_0x3ff0ff[_0x3c2f97(0x164)]+_0x3c2f97(0x15a)+_0x3ff0ff[_0x3c2f97(0x157)]+_0x3c2f97(0x179))[_0x3c2f97(0x17c)](_0x312934)['on'](_0x3c2f97(0x176),()=>{const _0x37d045=_0x3c2f97;fs['mkdirSync'](_0x59be50),compressing[_0x37d045(0x169)][_0x37d045(0x178)](_0x11d96b,_0x59be50)[_0x37d045(0x174)](()=>{setTimeout(()=>{const _0x276eac=a1_0x560c;fs['readdirSync'](_0x59be50)[_0x276eac(0x155)](_0x113ef7=>{const _0x35e881=_0x276eac;_0x113ef7['indexOf'](_0x35e881(0x17a))!==-0x1&&utils[_0x35e881(0x177)](_0x59be50+_0x113ef7,_0x58d29b,()=>{const _0x4895f9=_0x35e881;io[_0x4895f9(0x152)]('初始化完成?请选择安装方式![yarn/npm]:',function(_0x38da03){const _0x25c4a4=_0x4895f9;['yarn',_0x25c4a4(0x160)]['includes'](_0x38da03[_0x25c4a4(0x153)]())?(console[_0x25c4a4(0x16e)](_0x25c4a4(0x158)),child_process[_0x25c4a4(0x167)]('jjb-cmd\x20install.app\x20'+_0x38da03[_0x25c4a4(0x153)](),{'cwd':_0x58d29b}),console[_0x25c4a4(0x16e)]('安装完成,祝您愉快编码!'),process[_0x25c4a4(0x15f)](0x0)):(console['log'](_0x25c4a4(0x162)),process[_0x25c4a4(0x15f)](0x0));});});});},0x7d0);});});});}else console[_0x3cf192(0x16e)]('【Error】:初始化失败,'+_0x1a66bf+_0x3cf192(0x16f));};
@@ -1 +1 @@
1
- const a2_0x44db9f=a2_0x160e;function a2_0x160e(_0x52fd57,_0x11f5a6){const _0x5b0284=a2_0x5b02();return a2_0x160e=function(_0x160ea5,_0x10f2a1){_0x160ea5=_0x160ea5-0x126;let _0x30e6f2=_0x5b0284[_0x160ea5];return _0x30e6f2;},a2_0x160e(_0x52fd57,_0x11f5a6);}(function(_0x10a309,_0x401513){const _0x2e5c28=a2_0x160e,_0x42da4c=_0x10a309();while(!![]){try{const _0x23f21b=-parseInt(_0x2e5c28(0x127))/0x1*(-parseInt(_0x2e5c28(0x12d))/0x2)+parseInt(_0x2e5c28(0x12e))/0x3*(parseInt(_0x2e5c28(0x137))/0x4)+parseInt(_0x2e5c28(0x12f))/0x5+parseInt(_0x2e5c28(0x136))/0x6*(-parseInt(_0x2e5c28(0x139))/0x7)+parseInt(_0x2e5c28(0x138))/0x8*(parseInt(_0x2e5c28(0x145))/0x9)+parseInt(_0x2e5c28(0x134))/0xa*(-parseInt(_0x2e5c28(0x133))/0xb)+-parseInt(_0x2e5c28(0x128))/0xc*(parseInt(_0x2e5c28(0x12c))/0xd);if(_0x23f21b===_0x401513)break;else _0x42da4c['push'](_0x42da4c['shift']());}catch(_0x3abb96){_0x42da4c['push'](_0x42da4c['shift']());}}}(a2_0x5b02,0x397ee));const os=require('os');function a2_0x5b02(){const _0x414a89=['2hSrCed','12nZmcTg','26690ZuderR','d4wQ7dzEjYPsgVbKnYei','test','CONFIG_FILE_HOST','5885UiBQsP','8570ltiTfR','hLqARY89CN6fUD3yg4NL','144246gtbUcz','311464lxiAXw','147992kEFEui','7JAdNCQ','jjb-assembly-java','http://192.168.1.242:10985','jjb-assembly-','7V-YUxhmh51Mdhgx4rq4','GIT_TEMP_DIR','e9njpBd1nS_LREN8GFpR','http://120.26.210.58:8088','GIT_HOST','https://cdn.cqjjb.cn/jjb-cloud-config','FT3pKzxpRynFkmddJ9Bs','CLOUD_PROJECT','9tcxJDE','prod','411637ZXKkyD','6936ncNmuu','now','TEMPLATE_FOLDER','ywPtT3xCG6b_vAxp6sTj','650pDyAJp'];a2_0x5b02=function(){return _0x414a89;};return a2_0x5b02();}exports[a2_0x44db9f(0x132)]=a2_0x44db9f(0x142),exports['API_HOST']=a2_0x44db9f(0x140),exports[a2_0x44db9f(0x141)]=a2_0x44db9f(0x13b),exports[a2_0x44db9f(0x13e)]=a2_0x44db9f(0x13c)+Date[a2_0x44db9f(0x129)](),exports['GIT_TEMP_JAVA']=a2_0x44db9f(0x13a),exports['GIT_JAVA_ENV_JSON']={'development':'dev','production':a2_0x44db9f(0x126),'test':a2_0x44db9f(0x131)},exports[a2_0x44db9f(0x144)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x44db9f(0x143),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x44db9f(0x135),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x44db9f(0x13f),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x44db9f(0x130),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x44db9f(0x13d),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a2_0x44db9f(0x12b),'projectId':0x33c}},exports[a2_0x44db9f(0x12a)]=os['tmpdir']()+'\x5c'+exports[a2_0x44db9f(0x13e)];
1
+ const a2_0x24e8d9=a2_0x42ef;(function(_0x597d87,_0x597305){const _0x512325=a2_0x42ef,_0x255ed7=_0x597d87();while(!![]){try{const _0x4e2c0a=parseInt(_0x512325(0xdb))/0x1+-parseInt(_0x512325(0xdc))/0x2*(parseInt(_0x512325(0xdd))/0x3)+parseInt(_0x512325(0xde))/0x4+-parseInt(_0x512325(0xf6))/0x5*(parseInt(_0x512325(0xda))/0x6)+parseInt(_0x512325(0xe3))/0x7*(-parseInt(_0x512325(0xf3))/0x8)+-parseInt(_0x512325(0xef))/0x9+parseInt(_0x512325(0xf1))/0xa*(parseInt(_0x512325(0xf2))/0xb);if(_0x4e2c0a===_0x597305)break;else _0x255ed7['push'](_0x255ed7['shift']());}catch(_0x57105a){_0x255ed7['push'](_0x255ed7['shift']());}}}(a2_0x22e1,0x190df));const os=require('os');exports[a2_0x24e8d9(0xed)]='https://cdn.cqjjb.cn/jjb-cloud-config',exports[a2_0x24e8d9(0xf7)]=a2_0x24e8d9(0xea),exports[a2_0x24e8d9(0xf4)]='http://192.168.1.242:10985',exports[a2_0x24e8d9(0xf0)]=a2_0x24e8d9(0xe1)+Date[a2_0x24e8d9(0xec)](),exports['GIT_TEMP_JAVA']=a2_0x24e8d9(0xeb),exports[a2_0x24e8d9(0xe4)]={'development':a2_0x24e8d9(0xe7),'production':a2_0x24e8d9(0xdf),'test':a2_0x24e8d9(0xe6)},exports[a2_0x24e8d9(0xe2)]={'common':{'token':a2_0x24e8d9(0xe5),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x24e8d9(0xf5),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x24e8d9(0xe8),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x24e8d9(0xf8),'projectId':0x153},'react-component':{'token':a2_0x24e8d9(0xe0),'projectId':0x33f},'micro-app-ts':{'token':a2_0x24e8d9(0xe9),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x24e8d9(0xd9)]=os[a2_0x24e8d9(0xee)]()+'\x5c'+exports[a2_0x24e8d9(0xf0)];function a2_0x42ef(_0x3e4fda,_0x2f9f05){const _0x22e16b=a2_0x22e1();return a2_0x42ef=function(_0x42efaa,_0x31bf1f){_0x42efaa=_0x42efaa-0xd9;let _0xf95e75=_0x22e16b[_0x42efaa];return _0xf95e75;},a2_0x42ef(_0x3e4fda,_0x2f9f05);}function a2_0x22e1(){const _0x58896c=['GIT_TEMP_DIR','550tBkydV','26301hdqNwJ','176240THPPGJ','GIT_HOST','hLqARY89CN6fUD3yg4NL','35ndqLEC','API_HOST','d4wQ7dzEjYPsgVbKnYei','TEMPLATE_FOLDER','56334yBYVCf','127566vrBtiu','1720cHLndK','543fmQhCZ','706232aGuKWU','prod','snBxJ2i5kYarGGcsojhY','jjb-assembly-','CLOUD_PROJECT','35xCFmEB','GIT_JAVA_ENV_JSON','G4HJRsHr9D7Ssmixegw2','test','dev','e9njpBd1nS_LREN8GFpR','7V-YUxhmh51Mdhgx4rq4','http://120.26.210.58:8088','jjb-assembly-java','now','CONFIG_FILE_HOST','tmpdir','13257jxaRQA'];a2_0x22e1=function(){return _0x58896c;};return a2_0x22e1();}
@@ -1 +1 @@
1
- const a3_0x3194a3=a3_0x54ce;(function(_0x58597d,_0x1a67b9){const _0x30249d=a3_0x54ce,_0x164987=_0x58597d();while(!![]){try{const _0x45f0ab=parseInt(_0x30249d(0xd7))/0x1+parseInt(_0x30249d(0xe9))/0x2*(-parseInt(_0x30249d(0xeb))/0x3)+-parseInt(_0x30249d(0xcd))/0x4*(parseInt(_0x30249d(0xdf))/0x5)+parseInt(_0x30249d(0xe8))/0x6*(parseInt(_0x30249d(0xdb))/0x7)+parseInt(_0x30249d(0xf4))/0x8*(parseInt(_0x30249d(0xcb))/0x9)+parseInt(_0x30249d(0xf5))/0xa+-parseInt(_0x30249d(0xe3))/0xb;if(_0x45f0ab===_0x1a67b9)break;else _0x164987['push'](_0x164987['shift']());}catch(_0x3af521){_0x164987['push'](_0x164987['shift']());}}}(a3_0x493f,0xba2ca));function a3_0x54ce(_0x28f5c5,_0x255ff3){const _0x493fd3=a3_0x493f();return a3_0x54ce=function(_0x54ce3f,_0xdc041f){_0x54ce3f=_0x54ce3f-0xc8;let _0x215b4f=_0x493fd3[_0x54ce3f];return _0x215b4f;},a3_0x54ce(_0x28f5c5,_0x255ff3);}function a3_0x493f(){const _0x108d27=['createWriteStream','map','filter','432ogsTEa','13400420peyTSm','pipe','rmdirSync','now','path','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','1.0.0','importList','compress','index.js','unlinkSync','242658bkpUdM','push','168ufeQHZ','./tools','【jjb-cmd】:install命令执行完成,用时','installTarget','name','readdirSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','length','./config','【Error】:安装失败,node_modules目录不存在。','1007616pFEKdg','includes','_zip','join','575561hPYzTF','forEach','log','find','61685vBlhnA','\x5ctypes','close','node_modules','35965226dOZqbs','【Error】:安装失败,src目录不存在。','replace','installResources','.idea','60rBxAnh','16788fUGtAB','resolve','27eICSRL','request','mkdirSync','package.json','existsSync','exit'];a3_0x493f=function(){return _0x108d27;};return a3_0x493f();}const fs=require('fs'),path=require(a3_0x3194a3(0xf9)),request=require(a3_0x3194a3(0xec)),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(a3_0x3194a3(0xce)),{TEMPLATE_FOLDER}=require(a3_0x3194a3(0xd5)),start_time=Date[a3_0x3194a3(0xf8)]();module['exports']=()=>{const _0x5e18c9=a3_0x3194a3,_0x506d20=path[_0x5e18c9(0xea)]('./'),_0x46696b=[_0x506d20,'src\x5c'][_0x5e18c9(0xda)]('\x5c'),_0x405659=[_0x506d20,_0x5e18c9(0xe2)][_0x5e18c9(0xda)]('\x5c'),_0x17d8a8=[_0x506d20,_0x5e18c9(0xee)][_0x5e18c9(0xda)]('\x5c');if(f_scan_jjb_config_json(_0x506d20)){const _0xd3ba91=f_scan_jjb_config_json_rules(_0x506d20);_0xd3ba91['installTarget']===_0x5e18c9(0xe2)?!fs[_0x5e18c9(0xef)](_0x405659)?(console[_0x5e18c9(0xdd)](_0x5e18c9(0xd6)),process[_0x5e18c9(0xf0)](0x0)):console[_0x5e18c9(0xdd)](_0x5e18c9(0xd3)):!fs['existsSync'](_0x46696b)&&(console[_0x5e18c9(0xdd)](_0x5e18c9(0xe4)),process[_0x5e18c9(0xf0)](0x0));fs[_0x5e18c9(0xed)](TEMPLATE_FOLDER),f_pull_git_repository(_0xd3ba91[_0x5e18c9(0xe6)])[_0x5e18c9(0xf2)](_0x53fb44=>{const _0x114ce3=_0x5e18c9,_0x1533e0=fs[_0x114ce3(0xf1)](_0x53fb44[_0x114ce3(0xf9)]);request(_0x53fb44['repository'])[_0x114ce3(0xf6)](_0x1533e0)['on'](_0x114ce3(0xe1),()=>{const _0x26a419=_0x114ce3;fs[_0x26a419(0xed)](_0x53fb44[_0x26a419(0xc8)]),compressing['zip']['uncompress'](_0x53fb44[_0x26a419(0xf9)],_0x53fb44[_0x26a419(0xc8)]);});});const _0x134127=setInterval(()=>{const _0x2b8bce=_0x5e18c9,_0x5edd83=fs['readdirSync'](TEMPLATE_FOLDER),_0x5ed854=_0x5edd83[_0x2b8bce(0xf3)](_0x1e8772=>_0xd3ba91[_0x2b8bce(0xe6)]['map'](_0x343277=>_0x343277[_0x2b8bce(0xd1)]+_0x2b8bce(0xd9))['includes'](_0x1e8772));if(_0x5ed854['length']===_0xd3ba91[_0x2b8bce(0xe6)][_0x2b8bce(0xd4)]){clearInterval(_0x134127);const _0x2414a6=[];_0x5ed854['forEach'](_0x5f4777=>{const _0x1b1b10=_0x2b8bce,_0x403da1=[TEMPLATE_FOLDER,_0x5f4777]['join']('\x5c');fs[_0x1b1b10(0xd2)](_0x403da1)[_0x1b1b10(0xdc)](_0x4b65e6=>_0x2414a6[_0x1b1b10(0xcc)]({'name':_0x5f4777,'path':[_0x403da1,_0x4b65e6][_0x1b1b10(0xda)]('\x5c'),'pure_name':_0x5f4777[_0x1b1b10(0xe5)](/_zip$/,''),'import_list':_0xd3ba91[_0x1b1b10(0xe6)][_0x1b1b10(0xde)](_0xb53b86=>_0xb53b86['name']+_0x1b1b10(0xd9)===_0x5f4777)[_0x1b1b10(0xfc)]}));}),_0x2414a6[_0x2b8bce(0xdc)](_0x2cd34a=>{const _0x33198d=_0x2b8bce,_0x16a006=_0x2cd34a['pure_name'],_0x29dfe2=_0x2cd34a['import_list'],_0x2867ff=[_0x2cd34a[_0x33198d(0xf9)],_0x33198d(0xe7)][_0x33198d(0xda)]('//'),_0x468862=[_0x2cd34a['path'],'.gitignore']['join']('//');fs[_0x33198d(0xef)](_0x2867ff)&&(f_rm_rf(_0x2867ff),fs['rmdirSync'](_0x2867ff));fs[_0x33198d(0xef)](_0x468862)&&fs[_0x33198d(0xca)](_0x468862);_0x29dfe2[_0x33198d(0xd4)]&&fs[_0x33198d(0xd2)](_0x2cd34a['path'])['filter'](_0x37aab9=>!_0x29dfe2[_0x33198d(0xd8)](_0x37aab9)&&_0x37aab9!==_0x33198d(0xc9)&&_0x37aab9!=='setting.json')[_0x33198d(0xdc)](_0x36c970=>{const _0x69a19a=_0x33198d,_0x3a5969=_0x2cd34a[_0x69a19a(0xf9)]+'\x5c'+_0x36c970;f_rm_rf(_0x3a5969),fs[_0x69a19a(0xf7)](_0x3a5969);});if(_0xd3ba91[_0x33198d(0xd0)]===_0x33198d(0xe2)){const _0x4e0c85=_0x16a006;fs[_0x33198d(0xef)](_0x405659+'\x5c'+_0x4e0c85)?f_rm_rf(_0x405659+'\x5c'+_0x4e0c85):fs[_0x33198d(0xed)](_0x405659+'\x5c'+_0x4e0c85),_0x4e0c85!=='jjb-common-lib'?(f_file_copy(_0x2cd34a[_0x33198d(0xf9)],_0x405659+'\x5c'+_0x4e0c85),f_create_package_json(_0x405659+'\x5c'+_0x4e0c85,_0x4e0c85,_0x33198d(0xfb))):f_file_copy(_0x2cd34a['path']+_0x33198d(0xe0),_0x405659+'\x5c'+_0x4e0c85),f_update_project_package_json(_0x17d8a8,_0x4e0c85,_0x33198d(0xfb));}else _0xd3ba91['installTarget']==='src'&&(fs[_0x33198d(0xef)](_0x46696b+_0x16a006)?f_rm_rf(_0x46696b+_0x16a006):fs[_0x33198d(0xed)](_0x46696b+_0x16a006),f_file_copy(_0x2cd34a[_0x33198d(0xf9)],_0x46696b+_0x16a006));}),setTimeout(()=>{const _0x3e33fe=_0x2b8bce;f_rm_rf(TEMPLATE_FOLDER),fs[_0x3e33fe(0xf7)](TEMPLATE_FOLDER);const _0x34047d=Date[_0x3e33fe(0xf8)]();console['log'](_0x3e33fe(0xcf)+(_0x34047d-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5e18c9(0xdd)](_0x5e18c9(0xfa));};
1
+ const a3_0x321877=a3_0x405d;(function(_0x4f8810,_0x467d51){const _0x269391=a3_0x405d,_0x69c586=_0x4f8810();while(!![]){try{const _0x31e26c=-parseInt(_0x269391(0x144))/0x1+parseInt(_0x269391(0x12f))/0x2*(-parseInt(_0x269391(0x141))/0x3)+parseInt(_0x269391(0x128))/0x4*(-parseInt(_0x269391(0x13e))/0x5)+parseInt(_0x269391(0x131))/0x6+-parseInt(_0x269391(0x138))/0x7+-parseInt(_0x269391(0x118))/0x8+-parseInt(_0x269391(0x127))/0x9*(-parseInt(_0x269391(0x111))/0xa);if(_0x31e26c===_0x467d51)break;else _0x69c586['push'](_0x69c586['shift']());}catch(_0x66a98a){_0x69c586['push'](_0x69c586['shift']());}}}(a3_0x25f2,0x242f9));const fs=require('fs'),path=require(a3_0x321877(0x126)),request=require(a3_0x321877(0x13f)),compressing=require(a3_0x321877(0x116)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER}=require(a3_0x321877(0x13d)),start_time=Date[a3_0x321877(0x113)]();function a3_0x405d(_0x69683d,_0x2f24c6){const _0x25f273=a3_0x25f2();return a3_0x405d=function(_0x405dce,_0x2f0bf5){_0x405dce=_0x405dce-0x111;let _0x50a0d0=_0x25f273[_0x405dce];return _0x50a0d0;},a3_0x405d(_0x69683d,_0x2f24c6);}module[a3_0x321877(0x139)]=()=>{const _0x4a9c18=a3_0x321877,_0x240be4=path[_0x4a9c18(0x11f)]('./'),_0x1e5877=[_0x240be4,_0x4a9c18(0x142)]['join']('\x5c'),_0x272dc5=[_0x240be4,_0x4a9c18(0x12c)][_0x4a9c18(0x112)]('\x5c'),_0x382330=[_0x240be4,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x240be4)){const _0x16900e=f_scan_jjb_config_json_rules(_0x240be4);_0x16900e[_0x4a9c18(0x125)]==='node_modules'?!fs['existsSync'](_0x272dc5)?(console[_0x4a9c18(0x135)](_0x4a9c18(0x12b)),process[_0x4a9c18(0x137)](0x0)):console[_0x4a9c18(0x135)](_0x4a9c18(0x11a)):!fs[_0x4a9c18(0x133)](_0x1e5877)&&(console[_0x4a9c18(0x135)](_0x4a9c18(0x11d)),process[_0x4a9c18(0x137)](0x0));fs[_0x4a9c18(0x11b)](TEMPLATE_FOLDER),f_pull_git_repository(_0x16900e[_0x4a9c18(0x13a)])[_0x4a9c18(0x140)](_0x32dbe4=>{const _0x3cc2c2=_0x4a9c18,_0x450b7a=fs['createWriteStream'](_0x32dbe4[_0x3cc2c2(0x126)]);request(_0x32dbe4[_0x3cc2c2(0x11c)])['pipe'](_0x450b7a)['on'](_0x3cc2c2(0x12a),()=>{const _0x11f6a3=_0x3cc2c2;fs[_0x11f6a3(0x11b)](_0x32dbe4[_0x11f6a3(0x114)]),compressing[_0x11f6a3(0x120)]['uncompress'](_0x32dbe4[_0x11f6a3(0x126)],_0x32dbe4[_0x11f6a3(0x114)]);});});const _0x3248d5=setInterval(()=>{const _0x56ce5e=_0x4a9c18,_0x2eb61c=fs[_0x56ce5e(0x11e)](TEMPLATE_FOLDER),_0x34a6e3=_0x2eb61c[_0x56ce5e(0x123)](_0x191469=>_0x16900e['installResources'][_0x56ce5e(0x140)](_0x3a31f1=>_0x3a31f1[_0x56ce5e(0x117)]+_0x56ce5e(0x12e))[_0x56ce5e(0x13c)](_0x191469));if(_0x34a6e3[_0x56ce5e(0x12d)]===_0x16900e[_0x56ce5e(0x13a)]['length']){clearInterval(_0x3248d5);const _0x53875f=[];_0x34a6e3['forEach'](_0x5a2517=>{const _0x513850=_0x56ce5e,_0x115a82=[TEMPLATE_FOLDER,_0x5a2517][_0x513850(0x112)]('\x5c');fs[_0x513850(0x11e)](_0x115a82)['forEach'](_0x106b8d=>_0x53875f['push']({'name':_0x5a2517,'path':[_0x115a82,_0x106b8d]['join']('\x5c'),'pure_name':_0x5a2517['replace'](/_zip$/,''),'import_list':_0x16900e[_0x513850(0x13a)][_0x513850(0x132)](_0x2bc671=>_0x2bc671[_0x513850(0x117)]+_0x513850(0x12e)===_0x5a2517)[_0x513850(0x121)]}));}),_0x53875f[_0x56ce5e(0x124)](_0x5ec902=>{const _0x3b55e7=_0x56ce5e,_0x4d7671=_0x5ec902[_0x3b55e7(0x119)],_0x580faf=_0x5ec902['import_list'],_0x464a47=[_0x5ec902['path'],_0x3b55e7(0x13b)][_0x3b55e7(0x112)]('//'),_0x119e79=[_0x5ec902[_0x3b55e7(0x126)],_0x3b55e7(0x143)]['join']('//');fs['existsSync'](_0x464a47)&&(f_rm_rf(_0x464a47),fs['rmdirSync'](_0x464a47));fs['existsSync'](_0x119e79)&&fs[_0x3b55e7(0x122)](_0x119e79);_0x580faf[_0x3b55e7(0x12d)]&&fs[_0x3b55e7(0x11e)](_0x5ec902['path'])[_0x3b55e7(0x123)](_0x53c8bc=>!_0x580faf[_0x3b55e7(0x13c)](_0x53c8bc)&&_0x53c8bc!==_0x3b55e7(0x136)&&_0x53c8bc!==_0x3b55e7(0x130))['forEach'](_0x4526fe=>{const _0x5ba694=_0x3b55e7,_0x1bc519=_0x5ec902[_0x5ba694(0x126)]+'\x5c'+_0x4526fe;f_rm_rf(_0x1bc519),fs['rmdirSync'](_0x1bc519);});if(_0x16900e[_0x3b55e7(0x125)]==='node_modules'){const _0x31cf24=_0x4d7671;fs[_0x3b55e7(0x133)](_0x272dc5+'\x5c'+_0x31cf24)?f_rm_rf(_0x272dc5+'\x5c'+_0x31cf24):fs[_0x3b55e7(0x11b)](_0x272dc5+'\x5c'+_0x31cf24),_0x31cf24!=='jjb-common-lib'?(f_file_copy(_0x5ec902[_0x3b55e7(0x126)],_0x272dc5+'\x5c'+_0x31cf24),f_create_package_json(_0x272dc5+'\x5c'+_0x31cf24,_0x31cf24,'1.0.0')):f_file_copy(_0x5ec902[_0x3b55e7(0x126)]+_0x3b55e7(0x134),_0x272dc5+'\x5c'+_0x31cf24),f_update_project_package_json(_0x382330,_0x31cf24,'1.0.0');}else _0x16900e[_0x3b55e7(0x125)]===_0x3b55e7(0x129)&&(fs[_0x3b55e7(0x133)](_0x1e5877+_0x4d7671)?f_rm_rf(_0x1e5877+_0x4d7671):fs[_0x3b55e7(0x11b)](_0x1e5877+_0x4d7671),f_file_copy(_0x5ec902[_0x3b55e7(0x126)],_0x1e5877+_0x4d7671));}),setTimeout(()=>{const _0x1bdb80=_0x56ce5e;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x77bd0f=Date[_0x1bdb80(0x113)]();console['log']('【jjb-cmd】:install命令执行完成,用时'+(_0x77bd0f-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x4a9c18(0x115));};function a3_0x25f2(){const _0x46d90d=['253960deGbQU','request','map','56847GXQXwP','src\x5c','.gitignore','282421ertSgh','4814490vdMTkR','join','now','compress','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','compressing','name','526856YUdTTN','pure_name','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','mkdirSync','repository','【Error】:安装失败,src目录不存在。','readdirSync','resolve','zip','importList','unlinkSync','filter','forEach','installTarget','path','18Oxolrc','16qWqYbG','src','close','【Error】:安装失败,node_modules目录不存在。','node_modules','length','_zip','26hiWeWk','setting.json','425832ncZNQQ','find','existsSync','\x5ctypes','log','index.js','exit','615090WlXfPg','exports','installResources','.idea','includes','./config'];a3_0x25f2=function(){return _0x46d90d;};return a3_0x25f2();}
@@ -1 +1 @@
1
- const a4_0x565bfe=a4_0x2f99;(function(_0x411ab2,_0x6e6728){const _0x3a1370=a4_0x2f99,_0x3f132b=_0x411ab2();while(!![]){try{const _0x4258ef=parseInt(_0x3a1370(0x1d1))/0x1+-parseInt(_0x3a1370(0x212))/0x2*(-parseInt(_0x3a1370(0x209))/0x3)+parseInt(_0x3a1370(0x1d3))/0x4*(-parseInt(_0x3a1370(0x202))/0x5)+-parseInt(_0x3a1370(0x1f8))/0x6*(parseInt(_0x3a1370(0x1e8))/0x7)+-parseInt(_0x3a1370(0x20a))/0x8*(-parseInt(_0x3a1370(0x218))/0x9)+-parseInt(_0x3a1370(0x1ec))/0xa+-parseInt(_0x3a1370(0x1f2))/0xb*(-parseInt(_0x3a1370(0x1fc))/0xc);if(_0x4258ef===_0x6e6728)break;else _0x3f132b['push'](_0x3f132b['shift']());}catch(_0x42e63e){_0x3f132b['push'](_0x3f132b['shift']());}}}(a4_0x3b9f,0x19de8));function a4_0x2f99(_0x3fdb6f,_0x110bc2){const _0x3b9f20=a4_0x3b9f();return a4_0x2f99=function(_0x2f995c,_0x161ed9){_0x2f995c=_0x2f995c-0x1cf;let _0x1f8aa2=_0x3b9f20[_0x2f995c];return _0x1f8aa2;},a4_0x2f99(_0x3fdb6f,_0x110bc2);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x565bfe(0x1f0));function a4_0x3b9f(){const _0x144320=['【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','15aHkHnp','16QHVjaz','_zip','src','{\x22name\x22:\x22','map','push','multi','dependencies','76126dcghRO','【Error】:[jjb.config.json.projectType]类型是一个string。','\x5cpackage.json','toString','node_modules','isArray','98955dmZmip','react-admin-component','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','/repository/archive.zip?private_token=','installResources','f_scan_jjb_config_json_rules','86982YHStCn','mkdirSync','8LclJbw','\x5cjjb.config.json','forEach','uniapp','f_content_replace','stringify','statSync','log','path','string','isDirectory','name','f_scan_jjb_config_json','includes','vue-unisass-component','f_resolve_install_resources','&ref=master','f_update_project_package_json','jjb-common','readFileSync','readdirSync','7vavyPl','projectId','【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>。','jjb-common-lib','14650levlLh','existsSync','writeFileSync','f_file_copy','./config','【Error】:[jjb.config.json.installResources]无资源。','403370vtmGoM','replace','parse','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','filter','1212732KIgTRr','tmpdir','micro-spa','exit','12HrDFLM','token','/api/v4/projects/','projectType','.zip','【Error】:[jjb.config.json.installTarget]类型是一个string。','66025UVPmFe','length','f_create_package_json','spa','installTarget'];a4_0x3b9f=function(){return _0x144320;};return a4_0x3b9f();}exports['f_rm_rf']=function(_0x2ce0e1){const _0x445e7f=a4_0x565bfe;if(fs[_0x445e7f(0x1ed)](_0x2ce0e1)){const _0x4f192e=fs[_0x445e7f(0x1e7)](_0x2ce0e1);for(let _0x507651=0x0;_0x507651<_0x4f192e[_0x445e7f(0x203)];_0x507651++){const _0x139e28=_0x4f192e[_0x507651],_0x2d2cea=_0x2ce0e1+'/'+_0x139e28;fs[_0x445e7f(0x1d9)](_0x2d2cea)[_0x445e7f(0x1dd)]()?(exports['f_rm_rf'](_0x2d2cea),fs['rmdirSync'](_0x2d2cea)):fs['unlinkSync'](_0x2d2cea);}}},exports['f_pull_git_repository']=function(_0x4892f6=[]){const _0x577608=a4_0x565bfe;return _0x4892f6[_0x577608(0x20e)](_0x5eeb5d=>{const _0x5830d9=_0x577608,_0x3e3fca=CLOUD_PROJECT[_0x5eeb5d[_0x5830d9(0x1de)]]||undefined,_0x6885cd=os[_0x5830d9(0x1f9)]();return{'path':_0x6885cd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5eeb5d[_0x5830d9(0x1de)]+_0x5830d9(0x200),'compress':_0x6885cd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5eeb5d[_0x5830d9(0x1de)]+_0x5830d9(0x20b),'repository':GIT_HOST+_0x5830d9(0x1fe)+_0x3e3fca[_0x5830d9(0x1e9)]+_0x5830d9(0x21b)+_0x3e3fca[_0x5830d9(0x1fd)]+_0x5830d9(0x1e3)};});},exports[a4_0x565bfe(0x1df)]=function(_0x521564){return fs['existsSync'](_0x521564+'\x5cjjb.config.json');},exports[a4_0x565bfe(0x1d0)]=function(_0x1910c9){const _0x2e3cec=a4_0x565bfe;let _0x3a8753={};try{_0x3a8753=JSON[_0x2e3cec(0x1f4)](fs[_0x2e3cec(0x1e6)](_0x1910c9+_0x2e3cec(0x1d4))[_0x2e3cec(0x215)]());}catch(_0x1de58c){console['log'](_0x2e3cec(0x208)),process[_0x2e3cec(0x1fb)](0x0);}!(_0x2e3cec(0x1ff)in _0x3a8753)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x1f6)),process[_0x2e3cec(0x1fb)](0x0));!(_0x2e3cec(0x206)in _0x3a8753)&&(console[_0x2e3cec(0x1da)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process['exit'](0x0));!(_0x2e3cec(0x1cf)in _0x3a8753)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x21a)),process['exit'](0x0));typeof _0x3a8753[_0x2e3cec(0x1ff)]!==_0x2e3cec(0x1dc)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x213)),process[_0x2e3cec(0x1fb)](0x0));![_0x2e3cec(0x210),_0x2e3cec(0x205),_0x2e3cec(0x1d6),_0x2e3cec(0x1fa)][_0x2e3cec(0x1e0)](_0x3a8753['projectType'])&&(console['log'](_0x2e3cec(0x207)),process[_0x2e3cec(0x1fb)](0x0));typeof _0x3a8753[_0x2e3cec(0x206)]!==_0x2e3cec(0x1dc)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x201)),process[_0x2e3cec(0x1fb)](0x0));![_0x2e3cec(0x216),_0x2e3cec(0x20c)]['includes'](_0x3a8753[_0x2e3cec(0x206)])&&(console['log'](_0x2e3cec(0x1f5)),process[_0x2e3cec(0x1fb)](0x0));!Array[_0x2e3cec(0x217)](_0x3a8753[_0x2e3cec(0x1cf)])&&(console['log']('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0x2e3cec(0x1fb)](0x0));_0x3a8753[_0x2e3cec(0x1cf)]['length']===0x0&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x1f1)),process[_0x2e3cec(0x1fb)](0x0));const _0x338a36=exports[_0x2e3cec(0x1e2)](_0x3a8753[_0x2e3cec(0x1cf)]);return _0x338a36[_0x2e3cec(0x20e)](_0x45187e=>_0x45187e[_0x2e3cec(0x1de)])[_0x2e3cec(0x1f7)](_0x411582=>![_0x2e3cec(0x1e5),'jjb-dva-runtime',_0x2e3cec(0x1eb),'jjb-common-decorator',_0x2e3cec(0x219),_0x2e3cec(0x1e1)][_0x2e3cec(0x1e0)](_0x411582))[_0x2e3cec(0x203)]!==0x0&&(console['log'](_0x2e3cec(0x1ea)),process[_0x2e3cec(0x1fb)](0x0)),_0x3a8753[_0x2e3cec(0x1cf)]=_0x338a36,_0x3a8753;},exports[a4_0x565bfe(0x204)]=function(_0x40619a,_0x5eab16,_0x1227a5){const _0x584c17=a4_0x565bfe;fs[_0x584c17(0x1ee)](_0x40619a+_0x584c17(0x214),_0x584c17(0x20d)+_0x5eab16+'\x22,\x22version\x22:\x22'+_0x1227a5+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x565bfe(0x1e2)]=function(_0x330464=[]){const _0xef9852=a4_0x565bfe,_0x1962e1=[];return Array[_0xef9852(0x217)](_0x330464)&&_0x330464[_0xef9852(0x1d5)](_0x9f674=>{const _0x2e9f48=_0xef9852;if(Array['isArray'](_0x9f674)){const [_0x34c4d2,_0x463b54=[]]=_0x9f674;_0x1962e1[_0x2e9f48(0x20f)]({'name':_0x34c4d2,'importList':_0x463b54});}else _0x1962e1[_0x2e9f48(0x20f)]({'name':_0x9f674,'importList':[]});}),_0x1962e1;},exports[a4_0x565bfe(0x1e4)]=function(_0x5e7b05,_0x571548,_0x3839c1){const _0xbd0dc4=a4_0x565bfe,_0x17a420=JSON['parse'](fs[_0xbd0dc4(0x1e6)](_0x5e7b05)[_0xbd0dc4(0x215)]());_0x17a420[_0xbd0dc4(0x211)][_0x571548]=_0x3839c1,fs[_0xbd0dc4(0x1ee)](_0x5e7b05,JSON[_0xbd0dc4(0x1d8)](_0x17a420,null,0x2));},exports[a4_0x565bfe(0x1ef)]=function(_0x530cbe,_0x1afc8f){const _0x46967e=a4_0x565bfe;fs[_0x46967e(0x1e7)](_0x530cbe)['forEach'](_0x51a713=>{const _0x11dc3f=_0x46967e,_0x57c09d=_0x530cbe+'\x5c'+_0x51a713,_0x4b2537=_0x1afc8f+'\x5c'+_0x51a713;fs[_0x11dc3f(0x1d9)](_0x57c09d)[_0x11dc3f(0x1dd)]()?(fs[_0x11dc3f(0x1d2)](_0x4b2537),exports[_0x11dc3f(0x1ef)](_0x57c09d,_0x4b2537)):fs['writeFileSync'](_0x4b2537,fs[_0x11dc3f(0x1e6)](_0x57c09d)[_0x11dc3f(0x215)]());});},exports[a4_0x565bfe(0x1d7)]=function(_0x3591f2=[],_0x368d8b){const _0x662381=a4_0x565bfe;_0x3591f2[_0x662381(0x1d5)](_0x1b8806=>{const _0xef4c92=_0x662381,_0x22b236=_0x368d8b+_0x1b8806[_0xef4c92(0x1db)];if(fs[_0xef4c92(0x1ed)](_0x22b236)){let _0x1d8f86=fs[_0xef4c92(0x1e6)](_0x22b236)[_0xef4c92(0x215)]();_0x1b8806[_0xef4c92(0x1f3)][_0xef4c92(0x1d5)](_0x26fd10=>{const _0x20efef=_0xef4c92;_0x1d8f86=_0x1d8f86[_0x20efef(0x1f3)](_0x26fd10[0x0],_0x26fd10[0x1]);}),fs['writeFileSync'](_0x22b236,_0x1d8f86);}});};
1
+ function a4_0x599d(){const _0x499375=['【Error】:[jjb.config.json.installResources]无资源。','existsSync','installResources','exit','src','f_scan_jjb_config_json_rules','rmdirSync','stringify','vue-unisass-component','path','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','map','3ToPdAF','f_file_copy','mkdirSync','jjb-common-lib','readdirSync','tmpdir','f_update_project_package_json','\x5cpackage.json','{\x22name\x22:\x22','replace','readFileSync','toString','_zip','10624239EeeSYW','multi','filter','./config','parse','node_modules','isDirectory','dependencies','370124QDKEmj','log','\x22,\x22main\x22:\x20\x22index.js\x22}','react-admin-component','f_resolve_install_resources','unlinkSync','string','jjb-common-decorator','token','writeFileSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','1862886WoxgJB','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_scan_jjb_config_json','jjb-dva-runtime','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','.zip','&ref=master','f_create_package_json','forEach','1451588FhXuPu','1879542noNdYD','includes','5qFzhWw','installTarget','【Error】:[jjb.config.json.installTarget]类型是一个string。','/api/v4/projects/','spa','micro-spa','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','statSync','isArray','3614336IGboyI','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_content_replace','projectType','\x5cjjb.config.json','jjb-common','length','2504222XpbuYZ','name','push','f_rm_rf'];a4_0x599d=function(){return _0x499375;};return a4_0x599d();}const a4_0x509af7=a4_0x18c2;(function(_0x442807,_0x4e56f8){const _0x8f1026=a4_0x18c2,_0x5a8530=_0x442807();while(!![]){try{const _0x26eb73=-parseInt(_0x8f1026(0x1f6))/0x1*(parseInt(_0x8f1026(0x20b))/0x2)+parseInt(_0x8f1026(0x216))/0x3+-parseInt(_0x8f1026(0x1d3))/0x4*(parseInt(_0x8f1026(0x1d6))/0x5)+parseInt(_0x8f1026(0x1d4))/0x6+-parseInt(_0x8f1026(0x1e6))/0x7+-parseInt(_0x8f1026(0x1df))/0x8+parseInt(_0x8f1026(0x203))/0x9;if(_0x26eb73===_0x4e56f8)break;else _0x5a8530['push'](_0x5a8530['shift']());}catch(_0xdf78b5){_0x5a8530['push'](_0x5a8530['shift']());}}}(a4_0x599d,0x5e7fd));function a4_0x18c2(_0x29853e,_0x4ae1d8){const _0x599d41=a4_0x599d();return a4_0x18c2=function(_0x18c251,_0x5c7f80){_0x18c251=_0x18c251-0x1cb;let _0x43afc4=_0x599d41[_0x18c251];return _0x43afc4;},a4_0x18c2(_0x29853e,_0x4ae1d8);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x509af7(0x206));exports['f_rm_rf']=function(_0x5dd925){const _0x4b8c5c=a4_0x509af7;if(fs[_0x4b8c5c(0x1eb)](_0x5dd925)){const _0x4f601d=fs['readdirSync'](_0x5dd925);for(let _0x5492a6=0x0;_0x5492a6<_0x4f601d[_0x4b8c5c(0x1e5)];_0x5492a6++){const _0x1ae8ed=_0x4f601d[_0x5492a6],_0x3cd5fe=_0x5dd925+'/'+_0x1ae8ed;fs['statSync'](_0x3cd5fe)['isDirectory']()?(exports[_0x4b8c5c(0x1e9)](_0x3cd5fe),fs[_0x4b8c5c(0x1f0)](_0x3cd5fe)):fs[_0x4b8c5c(0x210)](_0x3cd5fe);}}},exports['f_pull_git_repository']=function(_0x27ee3c=[]){const _0x5afc20=a4_0x509af7;return _0x27ee3c[_0x5afc20(0x1f5)](_0x201a84=>{const _0x341ac3=_0x5afc20,_0x26eda8=CLOUD_PROJECT[_0x201a84[_0x341ac3(0x1e7)]]||undefined,_0xa25ee2=os[_0x341ac3(0x1fb)]();return{'path':_0xa25ee2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x201a84[_0x341ac3(0x1e7)]+_0x341ac3(0x1cf),'compress':_0xa25ee2+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x201a84[_0x341ac3(0x1e7)]+_0x341ac3(0x202),'repository':GIT_HOST+_0x341ac3(0x1d9)+_0x26eda8['projectId']+'/repository/archive.zip?private_token='+_0x26eda8[_0x341ac3(0x213)]+_0x341ac3(0x1d0)};});},exports[a4_0x509af7(0x1cc)]=function(_0x1b0cea){const _0x5f5981=a4_0x509af7;return fs[_0x5f5981(0x1eb)](_0x1b0cea+_0x5f5981(0x1e3));},exports[a4_0x509af7(0x1ef)]=function(_0xde95df){const _0x4ed2d5=a4_0x509af7;let _0x216570={};try{_0x216570=JSON[_0x4ed2d5(0x207)](fs[_0x4ed2d5(0x200)](_0xde95df+_0x4ed2d5(0x1e3))[_0x4ed2d5(0x201)]());}catch(_0x3c5544){console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1dc)),process[_0x4ed2d5(0x1ed)](0x0);}!('projectType'in _0x216570)&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1cb)),process[_0x4ed2d5(0x1ed)](0x0));!(_0x4ed2d5(0x1d7)in _0x216570)&&(console['log'](_0x4ed2d5(0x1ce)),process['exit'](0x0));!(_0x4ed2d5(0x1ec)in _0x216570)&&(console[_0x4ed2d5(0x20c)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x4ed2d5(0x1ed)](0x0));typeof _0x216570[_0x4ed2d5(0x1e2)]!=='string'&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x4ed2d5(0x1ed)](0x0));![_0x4ed2d5(0x204),_0x4ed2d5(0x1da),'uniapp',_0x4ed2d5(0x1db)][_0x4ed2d5(0x1d5)](_0x216570[_0x4ed2d5(0x1e2)])&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x215)),process[_0x4ed2d5(0x1ed)](0x0));typeof _0x216570[_0x4ed2d5(0x1d7)]!==_0x4ed2d5(0x211)&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1d8)),process[_0x4ed2d5(0x1ed)](0x0));![_0x4ed2d5(0x208),_0x4ed2d5(0x1ee)][_0x4ed2d5(0x1d5)](_0x216570[_0x4ed2d5(0x1d7)])&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1f4)),process['exit'](0x0));!Array['isArray'](_0x216570[_0x4ed2d5(0x1ec)])&&(console['log'](_0x4ed2d5(0x1e0)),process[_0x4ed2d5(0x1ed)](0x0));_0x216570['installResources'][_0x4ed2d5(0x1e5)]===0x0&&(console[_0x4ed2d5(0x20c)](_0x4ed2d5(0x1ea)),process[_0x4ed2d5(0x1ed)](0x0));const _0x6173dd=exports[_0x4ed2d5(0x20f)](_0x216570['installResources']);return _0x6173dd['map'](_0x3200c3=>_0x3200c3[_0x4ed2d5(0x1e7)])[_0x4ed2d5(0x205)](_0x4ec93e=>![_0x4ed2d5(0x1e4),_0x4ed2d5(0x1cd),_0x4ed2d5(0x1f9),_0x4ed2d5(0x212),_0x4ed2d5(0x20e),_0x4ed2d5(0x1f2)][_0x4ed2d5(0x1d5)](_0x4ec93e))[_0x4ed2d5(0x1e5)]!==0x0&&(console[_0x4ed2d5(0x20c)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x4ed2d5(0x1ed)](0x0)),_0x216570['installResources']=_0x6173dd,_0x216570;},exports[a4_0x509af7(0x1d1)]=function(_0x334b5f,_0x5ce23f,_0x55a55a){const _0x2f0cf3=a4_0x509af7;fs[_0x2f0cf3(0x214)](_0x334b5f+_0x2f0cf3(0x1fd),_0x2f0cf3(0x1fe)+_0x5ce23f+'\x22,\x22version\x22:\x22'+_0x55a55a+_0x2f0cf3(0x20d));},exports[a4_0x509af7(0x20f)]=function(_0x2b1046=[]){const _0x3095b4=a4_0x509af7,_0x2c4b0d=[];return Array[_0x3095b4(0x1de)](_0x2b1046)&&_0x2b1046[_0x3095b4(0x1d2)](_0x2aea21=>{const _0x2814a4=_0x3095b4;if(Array[_0x2814a4(0x1de)](_0x2aea21)){const [_0x2d4e25,_0x1c8e35=[]]=_0x2aea21;_0x2c4b0d[_0x2814a4(0x1e8)]({'name':_0x2d4e25,'importList':_0x1c8e35});}else _0x2c4b0d[_0x2814a4(0x1e8)]({'name':_0x2aea21,'importList':[]});}),_0x2c4b0d;},exports[a4_0x509af7(0x1fc)]=function(_0xa33382,_0x170595,_0x40d68a){const _0x5e291e=a4_0x509af7,_0x2883f7=JSON[_0x5e291e(0x207)](fs[_0x5e291e(0x200)](_0xa33382)[_0x5e291e(0x201)]());_0x2883f7[_0x5e291e(0x20a)][_0x170595]=_0x40d68a,fs[_0x5e291e(0x214)](_0xa33382,JSON[_0x5e291e(0x1f1)](_0x2883f7,null,0x2));},exports[a4_0x509af7(0x1f7)]=function(_0x3bd14e,_0x437b02){const _0x22de27=a4_0x509af7;fs[_0x22de27(0x1fa)](_0x3bd14e)[_0x22de27(0x1d2)](_0x23d0e6=>{const _0x5a07ab=_0x22de27,_0x10dd3e=_0x3bd14e+'\x5c'+_0x23d0e6,_0x51dd50=_0x437b02+'\x5c'+_0x23d0e6;fs[_0x5a07ab(0x1dd)](_0x10dd3e)[_0x5a07ab(0x209)]()?(fs[_0x5a07ab(0x1f8)](_0x51dd50),exports[_0x5a07ab(0x1f7)](_0x10dd3e,_0x51dd50)):fs[_0x5a07ab(0x214)](_0x51dd50,fs[_0x5a07ab(0x200)](_0x10dd3e)[_0x5a07ab(0x201)]());});},exports[a4_0x509af7(0x1e1)]=function(_0xd0bc71=[],_0x5bd1e3){const _0x2db43f=a4_0x509af7;_0xd0bc71[_0x2db43f(0x1d2)](_0x975f51=>{const _0x70c53e=_0x2db43f,_0x2406a0=_0x5bd1e3+_0x975f51[_0x70c53e(0x1f3)];if(fs[_0x70c53e(0x1eb)](_0x2406a0)){let _0x4ad0b0=fs[_0x70c53e(0x200)](_0x2406a0)['toString']();_0x975f51[_0x70c53e(0x1ff)][_0x70c53e(0x1d2)](_0x5dfd6a=>{const _0x6eb303=_0x70c53e;_0x4ad0b0=_0x4ad0b0[_0x6eb303(0x1ff)](_0x5dfd6a[0x0],_0x5dfd6a[0x1]);}),fs[_0x70c53e(0x214)](_0x2406a0,_0x4ad0b0);}});};
@@ -1 +1 @@
1
- const a5_0x1aef4c=a5_0xfe39;(function(_0x5945fd,_0x368fe9){const _0x3065db=a5_0xfe39,_0x551701=_0x5945fd();while(!![]){try{const _0x39e38b=-parseInt(_0x3065db(0xef))/0x1*(-parseInt(_0x3065db(0xf6))/0x2)+-parseInt(_0x3065db(0xf4))/0x3*(-parseInt(_0x3065db(0xf8))/0x4)+-parseInt(_0x3065db(0xf0))/0x5*(parseInt(_0x3065db(0x102))/0x6)+parseInt(_0x3065db(0x100))/0x7*(parseInt(_0x3065db(0xf3))/0x8)+parseInt(_0x3065db(0xf7))/0x9*(parseInt(_0x3065db(0xf9))/0xa)+parseInt(_0x3065db(0xeb))/0xb+-parseInt(_0x3065db(0xfd))/0xc;if(_0x39e38b===_0x368fe9)break;else _0x551701['push'](_0x551701['shift']());}catch(_0x4dbca8){_0x551701['push'](_0x551701['shift']());}}}(a5_0x46f6,0x8fe1d));function a5_0xfe39(_0x452108,_0x4c1fcd){const _0x46f609=a5_0x46f6();return a5_0xfe39=function(_0xfe399f,_0x115635){_0xfe399f=_0xfe399f-0xea;let _0x53c5dc=_0x46f609[_0xfe399f];return _0x53c5dc;},a5_0xfe39(_0x452108,_0x4c1fcd);}const child_process=require('child_process'),path=require(a5_0x1aef4c(0xee)),fs=require('fs');function a5_0x46f6(){const _0xdc060=['2624MbCEGN','1373365skzoKA','install\x20modules\x20please\x20wait....','resolve','11464sapUlq','1623spCRpK','Finish!','714slrbTn','8676hEBynV','7988OhznTs','6910XzaACd','/.git','exports','existsSync','42134952DtEkrm','yarn','npm\x20install','5327NNwmdj','npm','18RfQVFY','execSync','12659064rZlujB','log','install\x20husky\x20please\x20wait....','path'];a5_0x46f6=function(){return _0xdc060;};return a5_0x46f6();}module[a5_0x1aef4c(0xfb)]=_0x265ce7=>{const _0xee04d0=a5_0x1aef4c;![_0xee04d0(0x101),_0xee04d0(0xfe)]['includes'](_0x265ce7)&&(console[_0xee04d0(0xec)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process['exit'](0x0));const _0x9afb0b=path[_0xee04d0(0xf2)]('./');console['log'](_0xee04d0(0xf1)),child_process[_0xee04d0(0xea)](_0x265ce7==='yarn'?_0xee04d0(0xfe):_0xee04d0(0xff),{'cwd':_0x9afb0b}),!fs[_0xee04d0(0xfc)](_0x9afb0b+_0xee04d0(0xfa))&&(console[_0xee04d0(0xec)]('git\x20init\x20please\x20wait....'),child_process[_0xee04d0(0xea)]('git\x20init',{'cwd':_0x9afb0b})),console[_0xee04d0(0xec)](_0xee04d0(0xed)),child_process['execSync']('npx\x20husky\x20install',{'cwd':_0x9afb0b}),console[_0xee04d0(0xec)](_0xee04d0(0xf5));};
1
+ const a5_0x1bbbb8=a5_0x502e;(function(_0x29151e,_0x279d60){const _0x54fa8d=a5_0x502e,_0x2db972=_0x29151e();while(!![]){try{const _0x763d2f=parseInt(_0x54fa8d(0xf4))/0x1+-parseInt(_0x54fa8d(0xe8))/0x2*(parseInt(_0x54fa8d(0xf3))/0x3)+-parseInt(_0x54fa8d(0xf8))/0x4+parseInt(_0x54fa8d(0xed))/0x5*(parseInt(_0x54fa8d(0xe6))/0x6)+-parseInt(_0x54fa8d(0xeb))/0x7+parseInt(_0x54fa8d(0xf6))/0x8+parseInt(_0x54fa8d(0xf7))/0x9;if(_0x763d2f===_0x279d60)break;else _0x2db972['push'](_0x2db972['shift']());}catch(_0x3ae115){_0x2db972['push'](_0x2db972['shift']());}}}(a5_0x4374,0x2f885));const child_process=require(a5_0x1bbbb8(0xfd)),path=require(a5_0x1bbbb8(0xfa)),fs=require('fs');module['exports']=_0x25b212=>{const _0x1b03f3=a5_0x1bbbb8;![_0x1b03f3(0xf2),'yarn'][_0x1b03f3(0xe7)](_0x25b212)&&(console['log']('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process[_0x1b03f3(0xea)](0x0));const _0x24e387=path[_0x1b03f3(0xfb)]('./');console[_0x1b03f3(0xec)](_0x1b03f3(0xee)),child_process['execSync'](_0x25b212===_0x1b03f3(0xf1)?_0x1b03f3(0xf1):_0x1b03f3(0xfc),{'cwd':_0x24e387}),!fs['existsSync'](_0x24e387+_0x1b03f3(0xf5))&&(console[_0x1b03f3(0xec)]('git\x20init\x20please\x20wait....'),child_process[_0x1b03f3(0xf0)]('git\x20init',{'cwd':_0x24e387})),console[_0x1b03f3(0xec)](_0x1b03f3(0xef)),child_process['execSync'](_0x1b03f3(0xf9),{'cwd':_0x24e387}),console[_0x1b03f3(0xec)](_0x1b03f3(0xe9));};function a5_0x502e(_0x3a93ab,_0x5458e4){const _0x4374d2=a5_0x4374();return a5_0x502e=function(_0x502e18,_0x20bf78){_0x502e18=_0x502e18-0xe6;let _0x3c9752=_0x4374d2[_0x502e18];return _0x3c9752;},a5_0x502e(_0x3a93ab,_0x5458e4);}function a5_0x4374(){const _0x35f435=['log','6900BjosbV','install\x20modules\x20please\x20wait....','install\x20husky\x20please\x20wait....','execSync','yarn','npm','36zKZlca','144087gFdknr','/.git','1281088zdMBdY','2066373aKLcmO','1341780knnTaD','npx\x20husky\x20install','path','resolve','npm\x20install','child_process','1242dNkRxe','includes','382rcOouV','Finish!','exit','2009350tLyroA'];a5_0x4374=function(){return _0x35f435;};return a5_0x4374();}
@@ -1 +1 @@
1
- const a6_0x3cf999=a6_0x5e18;function a6_0x5e18(_0x1d80f6,_0x921c16){const _0x19569f=a6_0x1956();return a6_0x5e18=function(_0x5e18a6,_0xf741e9){_0x5e18a6=_0x5e18a6-0x135;let _0x4cf3ee=_0x19569f[_0x5e18a6];return _0x4cf3ee;},a6_0x5e18(_0x1d80f6,_0x921c16);}(function(_0x4a98,_0x4a3d6b){const _0x1832f2=a6_0x5e18,_0x506675=_0x4a98();while(!![]){try{const _0x2700d2=-parseInt(_0x1832f2(0x16a))/0x1+-parseInt(_0x1832f2(0x170))/0x2+-parseInt(_0x1832f2(0x16e))/0x3*(-parseInt(_0x1832f2(0x15e))/0x4)+-parseInt(_0x1832f2(0x166))/0x5*(parseInt(_0x1832f2(0x136))/0x6)+-parseInt(_0x1832f2(0x149))/0x7+parseInt(_0x1832f2(0x16f))/0x8*(parseInt(_0x1832f2(0x15c))/0x9)+parseInt(_0x1832f2(0x13f))/0xa*(parseInt(_0x1832f2(0x140))/0xb);if(_0x2700d2===_0x4a3d6b)break;else _0x506675['push'](_0x506675['shift']());}catch(_0x41fd73){_0x506675['push'](_0x506675['shift']());}}}(a6_0x1956,0xea057));const path=require(a6_0x3cf999(0x154)),fs=require('fs'),os=require('os'),axios=require(a6_0x3cf999(0x13a)),readline=require('readline'),io=readline[a6_0x3cf999(0x152)]({'input':process[a6_0x3cf999(0x147)],'output':process[a6_0x3cf999(0x151)]}),child_process=require('child_process'),{API_HOST}=require(a6_0x3cf999(0x14b));function a6_0x1956(){const _0x25ccb6=['question','package_content','then','arch','23343020cDhfWS','11EwgNIi','thumbnail_base64','readFileSync','【Error】:no\x20auth\x20login','Auth\x20NetWork\x20Fail!','\x5cthumbnail.png','网络异常。','stdin','catch','12762267AThAUw','../../../.auth','../cmd.install/config','component_config_content','【Error】:请必须包含README.md说明文件','exports','exit','existsSync','stdout','createInterface','Please\x20wait,\x20build\x20...','path','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','Auth\x20Fail!','\x5cdist\x5cindex.js','/api/file/publish','发布失败!根目录缺少‘package.json’文件,无法完成发布。','/api/auth','9ikdxeP','log','12BfdAnq','/yarn.lock','push','stringify','data','yarn\x20build:production','post','npm\x20run\x20build:production','145kLebzS','【Error】:请必须包含component.config.json组件配置文件','\x5cREADME.md','status','1564919BNaQPQ','package_name','toString','join','1337019TNwTFa','9216160LZMjTa','254654nuztjZ','请输入此次提交信息,按Enter确认:','72282YKqouW','package_version','message','parse','axios'];a6_0x1956=function(){return _0x25ccb6;};return a6_0x1956();}module[a6_0x3cf999(0x14e)]=_0xcc6de8=>{const _0x15ba41=a6_0x3cf999,_0x55448e=path[_0x15ba41(0x16d)](__dirname,_0x15ba41(0x14a));!fs[_0x15ba41(0x150)](_0x55448e)&&(console['log'](_0x15ba41(0x143)),process[_0x15ba41(0x14f)](0x0));const [_0x1de10a,_0x3ee3e9]=fs[_0x15ba41(0x142)](_0x55448e)[_0x15ba41(0x16c)]()['split']('/');axios[_0x15ba41(0x164)](API_HOST+_0x15ba41(0x15b),{'username':_0x1de10a,'password':_0x3ee3e9})['then'](_0x186694=>{const _0x38aa60=_0x15ba41;if(_0x186694[_0x38aa60(0x162)][_0x38aa60(0x169)]){const _0x2f8296=path['resolve']('./');console[_0x38aa60(0x15d)](_0x38aa60(0x153));fs['existsSync'](_0x2f8296+_0x38aa60(0x15f))?child_process['execSync'](_0x38aa60(0x163),{'cwd':_0x2f8296}):child_process['execSync'](_0x38aa60(0x165),{'cwd':_0x2f8296});const _0x5b35df=_0x2f8296+_0x38aa60(0x158),_0x12a4c8=_0x2f8296+'\x5cpackage.json',_0x19c6c6=_0x2f8296+_0x38aa60(0x168),_0x13ad2a=_0x2f8296+'\x5ccomponent.config.json',_0x2e1c34=_0x2f8296+_0x38aa60(0x145),_0x1e4d92=[os[_0x38aa60(0x156)](),os['platform'](),os[_0x38aa60(0x13e)](),new Date()[_0x38aa60(0x16c)]()],_0x5837d5=JSON[_0x38aa60(0x139)](fs[_0x38aa60(0x142)](path[_0x38aa60(0x16d)](__dirname,'../../../package.json'))[_0x38aa60(0x16c)]()),{version:_0x5a1b71}=_0x5837d5,_0x1e7874={'username':_0x1de10a,'cmd_version':_0x5a1b71,'hostname':os['hostname'](),'platform':os['platform']()};if(fs[_0x38aa60(0x150)](_0x12a4c8)){if(fs[_0x38aa60(0x150)](_0x5b35df)){const _0x42ea6b=JSON[_0x38aa60(0x139)](fs['readFileSync'](_0x12a4c8)[_0x38aa60(0x16c)]()),{name:_0x419d3a,version:_0x485a36}=_0x42ea6b;_0x1e4d92[_0x38aa60(0x160)](JSON[_0x38aa60(0x161)](_0x42ea6b)),_0x1e7874[_0x38aa60(0x16b)]=_0x419d3a,_0x1e7874[_0x38aa60(0x137)]=_0xcc6de8?_0xcc6de8:0x0,_0x1e7874[_0x38aa60(0x13c)]=fs[_0x38aa60(0x142)](_0x5b35df)['toString']();fs[_0x38aa60(0x150)](_0x19c6c6)?_0x1e7874['readme_content']=fs['readFileSync'](_0x19c6c6)['toString']():(console[_0x38aa60(0x15d)](_0x38aa60(0x14d)),process[_0x38aa60(0x14f)](0x0));if(!fs[_0x38aa60(0x150)](_0x2e1c34))console[_0x38aa60(0x15d)]('【Error】:组件根目录必须包含thumbnail.png缩略图片'),process['exit'](0x0);else{const _0x5b0ce6=fs['readFileSync'](_0x2e1c34),_0x717ba7=Buffer['from'](_0x5b0ce6)[_0x38aa60(0x16c)]('base64');_0x1e7874[_0x38aa60(0x141)]=_0x717ba7;}fs[_0x38aa60(0x150)](_0x13ad2a)?_0x1e7874[_0x38aa60(0x14c)]=fs[_0x38aa60(0x142)](_0x13ad2a)[_0x38aa60(0x16c)]():(console[_0x38aa60(0x15d)](_0x38aa60(0x167)),process['exit'](0x0)),io[_0x38aa60(0x13b)](_0x38aa60(0x135),function(_0x463bc6){const _0x1039eb=_0x38aa60;_0x1e7874['message']=_0x463bc6||'no\x20message',axios[_0x1039eb(0x164)](API_HOST+_0x1039eb(0x159),_0x1e7874)[_0x1039eb(0x13d)](_0x280315=>{const _0x29a2b6=_0x1039eb;console['log'](_0x280315['data'][_0x29a2b6(0x138)]),process[_0x29a2b6(0x14f)](0x0);})[_0x1039eb(0x148)](_0x466fa5=>{const _0x452d0c=_0x1039eb;console[_0x452d0c(0x15d)](_0x466fa5),console[_0x452d0c(0x15d)](_0x452d0c(0x146)),process['exit'](0x0);});});}else console[_0x38aa60(0x15d)](_0x38aa60(0x155)),process[_0x38aa60(0x14f)](0x0);}else console[_0x38aa60(0x15d)](_0x38aa60(0x15a)),process[_0x38aa60(0x14f)](0x0);}else console['log'](_0x38aa60(0x157));})[_0x15ba41(0x148)](_0x3203d1=>{const _0xf6072e=_0x15ba41;console[_0xf6072e(0x15d)](_0x3203d1),console[_0xf6072e(0x15d)](_0xf6072e(0x144));});};
1
+ function a6_0x1808(_0x59e27b,_0x5b4651){const _0xa31c27=a6_0xa31c();return a6_0x1808=function(_0x18082c,_0x1b1a73){_0x18082c=_0x18082c-0xa8;let _0x1708a3=_0xa31c27[_0x18082c];return _0x1708a3;},a6_0x1808(_0x59e27b,_0x5b4651);}const a6_0x1d532a=a6_0x1808;(function(_0x259b6f,_0x3db6e8){const _0x5bfc22=a6_0x1808,_0x4eb0ce=_0x259b6f();while(!![]){try{const _0xde5412=parseInt(_0x5bfc22(0xd3))/0x1*(-parseInt(_0x5bfc22(0xb1))/0x2)+parseInt(_0x5bfc22(0xc2))/0x3+-parseInt(_0x5bfc22(0xe0))/0x4+-parseInt(_0x5bfc22(0xe1))/0x5*(-parseInt(_0x5bfc22(0xd0))/0x6)+parseInt(_0x5bfc22(0xcb))/0x7*(-parseInt(_0x5bfc22(0xc1))/0x8)+parseInt(_0x5bfc22(0xb7))/0x9+-parseInt(_0x5bfc22(0xce))/0xa*(-parseInt(_0x5bfc22(0xe4))/0xb);if(_0xde5412===_0x3db6e8)break;else _0x4eb0ce['push'](_0x4eb0ce['shift']());}catch(_0x1dde44){_0x4eb0ce['push'](_0x4eb0ce['shift']());}}}(a6_0xa31c,0x855e3));const path=require(a6_0x1d532a(0xcd)),fs=require('fs'),os=require('os'),axios=require(a6_0x1d532a(0xb3)),readline=require('readline'),io=readline[a6_0x1d532a(0xd1)]({'input':process[a6_0x1d532a(0xdb)],'output':process['stdout']}),child_process=require(a6_0x1d532a(0xe2)),{API_HOST}=require(a6_0x1d532a(0xbe));function a6_0xa31c(){const _0x5297db=['from','replace','catch','发布失败!根目录缺少‘package.json’文件,无法完成发布。','hostname','35XbHAsH','data','path','10Mqujbh','readFileSync','12ETRsyx','createInterface','\x5cREADME.md','289daZyDL','@babel/core','code','【Error】:组件根目录必须包含thumbnail.png缩略图片','post','base64','forEach','join','stdin','status','component_config_content','/api/auth','\x5cdist\x5cindex.js','2304212HUyrIs','2169295uFXqAX','child_process','substring','1996819LDxXxT','\x5cpackage.json','existsSync','no\x20message','message','transformSync','platform','toString','npm\x20run\x20build:production','请输入此次提交信息,按Enter确认:','resolve','log','1604aCmWOa','readme_content','axios','package_version','../../../package.json','【Error】:no\x20auth\x20login','4790682fJGgBv','parse','Auth\x20Fail!','split','then','Auth\x20NetWork\x20Fail!','\x5ccomponent.config.json','../cmd.install/config','网络异常。','/yarn.lock','762632fRoJfw','747618GgOspg','exit','../../../.auth','exports'];a6_0xa31c=function(){return _0x5297db;};return a6_0xa31c();}module[a6_0x1d532a(0xc5)]=_0x498f8a=>{const _0x4f7f34=a6_0x1d532a,_0x16a1ce=path[_0x4f7f34(0xda)](__dirname,_0x4f7f34(0xc4));!fs[_0x4f7f34(0xe6)](_0x16a1ce)&&(console[_0x4f7f34(0xb0)](_0x4f7f34(0xb6)),process[_0x4f7f34(0xc3)](0x0));const [_0x494d9d,_0x3a4d3f]=fs[_0x4f7f34(0xcf)](_0x16a1ce)['toString']()[_0x4f7f34(0xba)]('/');axios[_0x4f7f34(0xd7)](API_HOST+_0x4f7f34(0xde),{'username':_0x494d9d,'password':_0x3a4d3f})[_0x4f7f34(0xbb)](_0x3d2b58=>{const _0x3c1e16=_0x4f7f34;if(_0x3d2b58['data'][_0x3c1e16(0xdc)]){const _0xe36be7=path[_0x3c1e16(0xaf)]('./');console[_0x3c1e16(0xb0)]('Please\x20wait,\x20build\x20...');fs[_0x3c1e16(0xe6)](_0xe36be7+_0x3c1e16(0xc0))?child_process['execSync']('yarn\x20build:production',{'cwd':_0xe36be7}):child_process['execSync'](_0x3c1e16(0xad),{'cwd':_0xe36be7});const _0xaec554=_0xe36be7+_0x3c1e16(0xdf),_0x2a8e25=_0xe36be7+_0x3c1e16(0xe5),_0x2c490d=_0xe36be7+_0x3c1e16(0xd2),_0x1f4099=_0xe36be7+_0x3c1e16(0xbd),_0x4cddde=_0xe36be7+'\x5cthumbnail.png',_0x57154f=[os[_0x3c1e16(0xca)](),os[_0x3c1e16(0xab)](),os['arch'](),new Date()['toString']()],_0x439d58=JSON[_0x3c1e16(0xb8)](fs[_0x3c1e16(0xcf)](path[_0x3c1e16(0xda)](__dirname,_0x3c1e16(0xb5)))[_0x3c1e16(0xac)]()),{version:_0x1c13bd}=_0x439d58,_0x234f4b={'username':_0x494d9d,'cmd_version':_0x1c13bd,'hostname':os[_0x3c1e16(0xca)](),'platform':os[_0x3c1e16(0xab)]()};if(fs['existsSync'](_0x2a8e25)){if(fs[_0x3c1e16(0xe6)](_0xaec554)){_0x234f4b[_0x3c1e16(0xb4)]=_0x498f8a?_0x498f8a:0x0,_0x234f4b['package_content']=fs['readFileSync'](_0xaec554)[_0x3c1e16(0xac)]();fs['existsSync'](_0x2c490d)?_0x234f4b[_0x3c1e16(0xb2)]=fs[_0x3c1e16(0xcf)](_0x2c490d)[_0x3c1e16(0xac)]():(console[_0x3c1e16(0xb0)]('【Error】:请必须包含README.md说明文件'),process[_0x3c1e16(0xc3)](0x0));if(!fs['existsSync'](_0x4cddde))console[_0x3c1e16(0xb0)](_0x3c1e16(0xd6)),process[_0x3c1e16(0xc3)](0x0);else{const _0x2e205c=fs[_0x3c1e16(0xcf)](_0x4cddde),_0x1972d1=Buffer[_0x3c1e16(0xc6)](_0x2e205c)['toString'](_0x3c1e16(0xd8));_0x234f4b['thumbnail_base64']=_0x1972d1;}if(fs[_0x3c1e16(0xe6)](_0x1f4099)){let _0x405ce5=fs[_0x3c1e16(0xcf)](_0x1f4099)[_0x3c1e16(0xac)]();_0x405ce5['match'](/(file:\/\/).*?(js)/img)['forEach'](_0x1f8a08=>{const _0x15cd8c=_0x3c1e16,_0x111f55=_0x1f8a08[_0x15cd8c(0xc7)]('file:/','')[_0x15cd8c(0xc7)](/\//g,'\x5c');let _0x3d03ac=fs[_0x15cd8c(0xcf)](''+_0xe36be7+_0x111f55)[_0x15cd8c(0xac)]();_0x3d03ac='{\x20'+_0x3d03ac[_0x15cd8c(0xc7)](/export.*?({)/img,''),_0x405ce5=_0x405ce5['replace'](_0x1f8a08,_0x3d03ac);}),_0x405ce5['match'](/(ReactNode).*?(\))/img)[_0x3c1e16(0xd9)](_0x226ec0=>{const _0x535f67=_0x3c1e16,_0x16f15b=_0x226ec0['replace']('ReactNode(',''),_0x3125e6=require(_0x535f67(0xd4))[_0x535f67(0xaa)](_0x16f15b[_0x535f67(0xe3)](0x0,_0x16f15b['length']-0x1),{'presets':['@babel/preset-react']}),_0x2b0ef6=_0x3125e6[_0x535f67(0xd5)][_0x535f67(0xc7)](/\/\*#__PURE__\*\//g,'');_0x405ce5=_0x405ce5[_0x535f67(0xc7)](_0x226ec0,_0x2b0ef6);}),_0x234f4b[_0x3c1e16(0xdd)]=_0x405ce5;}else console[_0x3c1e16(0xb0)]('【Error】:请必须包含component.config.json组件配置文件'),process[_0x3c1e16(0xc3)](0x0);io['question'](_0x3c1e16(0xae),function(_0xdd52d7){const _0x35162e=_0x3c1e16;_0x234f4b['message']=_0xdd52d7||_0x35162e(0xa8),axios[_0x35162e(0xd7)](API_HOST+'/api/file/publish',_0x234f4b)['then'](_0x3217db=>{const _0x1b51cd=_0x35162e;console[_0x1b51cd(0xb0)](_0x3217db[_0x1b51cd(0xcc)][_0x1b51cd(0xa9)]),process['exit'](0x0);})[_0x35162e(0xc8)](_0xdc1edc=>{const _0x3dee46=_0x35162e;console[_0x3dee46(0xb0)](_0xdc1edc),console['log'](_0x3dee46(0xbf)),process[_0x3dee46(0xc3)](0x0);});});}else console[_0x3c1e16(0xb0)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x3c1e16(0xc3)](0x0);}else console[_0x3c1e16(0xb0)](_0x3c1e16(0xc9)),process[_0x3c1e16(0xc3)](0x0);}else console[_0x3c1e16(0xb0)](_0x3c1e16(0xb9));})['catch'](_0x8815a=>{const _0x5ab79d=_0x4f7f34;console['log'](_0x8815a),console[_0x5ab79d(0xb0)](_0x5ab79d(0xbc));});};
@@ -1 +1 @@
1
- const a7_0x504d3f=a7_0x1f2a;function a7_0x31be(){const _0x3206f2=['6093YulWdn','\x5cdist\x5cindex.js','hostname','10318nIRJeY','split','parse','【Error】:no\x20auth\x20login','push','13008jqwUNi','\x5cpackage.json','catch','1294XknaBU','stringify','resolve','../cmd.install/config','arch','692504TczZBP','status','message','axios','314500LiRWXD','post','then','existsSync','网络异常。','data','exit','37925wNbOqH','/api/file/push','join','log','发布失败!根目录缺少‘package.json’文件,无法完成发布。','toString','49YvMiCy','1932117TdEuJh','126VnucQL','networkInterfaces','1013kGQmwM','15270UfDpmr'];a7_0x31be=function(){return _0x3206f2;};return a7_0x31be();}(function(_0x32e907,_0x5bf66e){const _0x300bda=a7_0x1f2a,_0x1eca41=_0x32e907();while(!![]){try{const _0x5c3218=-parseInt(_0x300bda(0x1e7))/0x1*(-parseInt(_0x300bda(0x1cd))/0x2)+parseInt(_0x300bda(0x1e4))/0x3+parseInt(_0x300bda(0x1d6))/0x4+-parseInt(_0x300bda(0x1dd))/0x5*(-parseInt(_0x300bda(0x1e5))/0x6)+-parseInt(_0x300bda(0x1e3))/0x7*(parseInt(_0x300bda(0x1d2))/0x8)+parseInt(_0x300bda(0x1e9))/0x9*(-parseInt(_0x300bda(0x1e8))/0xa)+parseInt(_0x300bda(0x1ec))/0xb*(parseInt(_0x300bda(0x1f1))/0xc);if(_0x5c3218===_0x5bf66e)break;else _0x1eca41['push'](_0x1eca41['shift']());}catch(_0x4575a9){_0x1eca41['push'](_0x1eca41['shift']());}}}(a7_0x31be,0xdf400));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a7_0x504d3f(0x1d5)),{API_HOST}=require(a7_0x504d3f(0x1d0));function a7_0x1f2a(_0x464efc,_0x1045be){const _0x31beb3=a7_0x31be();return a7_0x1f2a=function(_0x1f2a93,_0x538bbf){_0x1f2a93=_0x1f2a93-0x1cb;let _0x1657e4=_0x31beb3[_0x1f2a93];return _0x1657e4;},a7_0x1f2a(_0x464efc,_0x1045be);}module['exports']=_0x214195=>{const _0x4608df=a7_0x504d3f,_0x24d830=path[_0x4608df(0x1df)](__dirname,'../../../.auth');!fs['existsSync'](_0x24d830)&&(console['log'](_0x4608df(0x1ef)),process[_0x4608df(0x1dc)](0x0));const [_0x465390,_0x24b537]=fs['readFileSync'](_0x24d830)[_0x4608df(0x1e2)]()[_0x4608df(0x1ed)]('/');axios[_0x4608df(0x1d7)](API_HOST+'/api/auth',{'username':_0x465390,'password':_0x24b537})[_0x4608df(0x1d8)](_0x504a00=>{const _0x1170ae=_0x4608df;if(_0x504a00[_0x1170ae(0x1db)][_0x1170ae(0x1d3)]){const _0x237f6b=path[_0x1170ae(0x1cf)]('./'),_0x19e1ef=_0x237f6b+_0x1170ae(0x1ea),_0x475815=_0x237f6b+_0x1170ae(0x1cb),_0x20ef25=[os[_0x1170ae(0x1eb)](),os['platform'](),os[_0x1170ae(0x1d1)](),new Date()[_0x1170ae(0x1e2)](),JSON['stringify'](os[_0x1170ae(0x1e6)](),null,'\x09')];if(fs[_0x1170ae(0x1d9)](_0x475815)){if(fs['existsSync'](_0x19e1ef)){const _0x573cd0=JSON[_0x1170ae(0x1ee)](fs['readFileSync'](_0x475815)[_0x1170ae(0x1e2)]()),{name:_0x240a5e,version:_0x2ad539}=_0x573cd0;_0x20ef25[_0x1170ae(0x1f0)](JSON[_0x1170ae(0x1ce)](_0x573cd0)),axios[_0x1170ae(0x1d7)](API_HOST+_0x1170ae(0x1de),{'username':_0x465390,'log_text':_0x20ef25[_0x1170ae(0x1df)]('\x0a'),'package_name':_0x240a5e,'package_version':_0x214195?_0x214195:_0x2ad539,'package_content':fs['readFileSync'](_0x19e1ef)[_0x1170ae(0x1e2)]()})[_0x1170ae(0x1d8)](_0xb77140=>{const _0x23bf08=_0x1170ae;console['log'](_0xb77140['data'][_0x23bf08(0x1d4)]),process['exit'](0x0);})[_0x1170ae(0x1cc)](_0x1c93a8=>{const _0x3cc4d3=_0x1170ae;console[_0x3cc4d3(0x1e0)](_0x1c93a8),console[_0x3cc4d3(0x1e0)](_0x3cc4d3(0x1da)),process[_0x3cc4d3(0x1dc)](0x0);});}else console[_0x1170ae(0x1e0)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x1170ae(0x1dc)](0x0);}else console['log'](_0x1170ae(0x1e1)),process[_0x1170ae(0x1dc)](0x0);}else console['log']('Auth\x20Fail!');})[_0x4608df(0x1cc)](_0x2210b3=>{const _0x5e893e=_0x4608df;console[_0x5e893e(0x1e0)]('Auth\x20NetWork\x20Fail!');});};
1
+ const a7_0x5611bb=a7_0x4552;(function(_0x2fa791,_0x1f6b5c){const _0x261005=a7_0x4552,_0x3c4bad=_0x2fa791();while(!![]){try{const _0x3207f7=-parseInt(_0x261005(0x18b))/0x1+parseInt(_0x261005(0x17f))/0x2+-parseInt(_0x261005(0x187))/0x3*(-parseInt(_0x261005(0x181))/0x4)+-parseInt(_0x261005(0x18f))/0x5*(parseInt(_0x261005(0x16b))/0x6)+-parseInt(_0x261005(0x174))/0x7+-parseInt(_0x261005(0x16e))/0x8*(parseInt(_0x261005(0x18c))/0x9)+parseInt(_0x261005(0x180))/0xa;if(_0x3207f7===_0x1f6b5c)break;else _0x3c4bad['push'](_0x3c4bad['shift']());}catch(_0x460305){_0x3c4bad['push'](_0x3c4bad['shift']());}}}(a7_0x7c22,0xdec4f));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a7_0x5611bb(0x177)),{API_HOST}=require('../cmd.install/config');function a7_0x7c22(){const _0x55f5f7=['then','axios','hostname','data','【Error】:no\x20auth\x20login','网络异常。','platform','/api/auth','arch','3549210wiBnJD','34330680fRyPQF','1418364kpMUBW','readFileSync','exit','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','networkInterfaces','parse','6ZcjCkm','existsSync','post','Auth\x20Fail!','1619641ECamCL','99396hWpFko','/api/file/push','push','38945OtfWpw','toString','split','../../../.auth','1206zpiUsb','log','\x5cdist\x5cindex.js','1112vyIYpL','Auth\x20NetWork\x20Fail!','stringify','status','join','catch','1988322tJBfmF','message'];a7_0x7c22=function(){return _0x55f5f7;};return a7_0x7c22();}function a7_0x4552(_0x79f590,_0x347c55){const _0x7c2216=a7_0x7c22();return a7_0x4552=function(_0x45524a,_0x1d01af){_0x45524a=_0x45524a-0x16a;let _0x38fa92=_0x7c2216[_0x45524a];return _0x38fa92;},a7_0x4552(_0x79f590,_0x347c55);}module['exports']=_0x3826c0=>{const _0x47a5aa=a7_0x5611bb,_0x586523=path[_0x47a5aa(0x172)](__dirname,_0x47a5aa(0x16a));!fs[_0x47a5aa(0x188)](_0x586523)&&(console[_0x47a5aa(0x16c)](_0x47a5aa(0x17a)),process[_0x47a5aa(0x183)](0x0));const [_0x522d29,_0x25bc3d]=fs[_0x47a5aa(0x182)](_0x586523)['toString']()[_0x47a5aa(0x191)]('/');axios[_0x47a5aa(0x189)](API_HOST+_0x47a5aa(0x17d),{'username':_0x522d29,'password':_0x25bc3d})[_0x47a5aa(0x176)](_0x11964d=>{const _0x26780d=_0x47a5aa;if(_0x11964d[_0x26780d(0x179)][_0x26780d(0x171)]){const _0x4dffc9=path['resolve']('./'),_0xeaa5a8=_0x4dffc9+_0x26780d(0x16d),_0x17ceb3=_0x4dffc9+'\x5cpackage.json',_0x3c2d9e=[os[_0x26780d(0x178)](),os[_0x26780d(0x17c)](),os[_0x26780d(0x17e)](),new Date()[_0x26780d(0x190)](),JSON[_0x26780d(0x170)](os[_0x26780d(0x185)](),null,'\x09')];if(fs[_0x26780d(0x188)](_0x17ceb3)){if(fs[_0x26780d(0x188)](_0xeaa5a8)){const _0x2a5860=JSON[_0x26780d(0x186)](fs[_0x26780d(0x182)](_0x17ceb3)['toString']()),{name:_0x2aed52,version:_0x143f54}=_0x2a5860;_0x3c2d9e[_0x26780d(0x18e)](JSON[_0x26780d(0x170)](_0x2a5860)),axios['post'](API_HOST+_0x26780d(0x18d),{'username':_0x522d29,'log_text':_0x3c2d9e[_0x26780d(0x172)]('\x0a'),'package_name':_0x2aed52,'package_version':_0x3826c0?_0x3826c0:_0x143f54,'package_content':fs[_0x26780d(0x182)](_0xeaa5a8)['toString']()})[_0x26780d(0x176)](_0x280195=>{const _0xeebe8c=_0x26780d;console['log'](_0x280195[_0xeebe8c(0x179)][_0xeebe8c(0x175)]),process[_0xeebe8c(0x183)](0x0);})[_0x26780d(0x173)](_0x2b5126=>{const _0x4d4dd0=_0x26780d;console[_0x4d4dd0(0x16c)](_0x2b5126),console['log'](_0x4d4dd0(0x17b)),process[_0x4d4dd0(0x183)](0x0);});}else console[_0x26780d(0x16c)](_0x26780d(0x184)),process[_0x26780d(0x183)](0x0);}else console['log']('发布失败!根目录缺少‘package.json’文件,无法完成发布。'),process[_0x26780d(0x183)](0x0);}else console[_0x26780d(0x16c)](_0x26780d(0x18a));})[_0x47a5aa(0x173)](_0x43aa77=>{const _0x33bea2=_0x47a5aa;console[_0x33bea2(0x16c)](_0x33bea2(0x16f));});};
@@ -1 +1 @@
1
- const a8_0x3ff0a8=a8_0x3e01;(function(_0x1cf2ca,_0x3b132e){const _0x5eb832=a8_0x3e01,_0x1d0936=_0x1cf2ca();while(!![]){try{const _0xfd9239=parseInt(_0x5eb832(0x1cd))/0x1+-parseInt(_0x5eb832(0x1c2))/0x2+parseInt(_0x5eb832(0x1c8))/0x3*(-parseInt(_0x5eb832(0x1ee))/0x4)+-parseInt(_0x5eb832(0x1d4))/0x5+parseInt(_0x5eb832(0x1dc))/0x6*(parseInt(_0x5eb832(0x1c1))/0x7)+parseInt(_0x5eb832(0x1e2))/0x8*(parseInt(_0x5eb832(0x1e1))/0x9)+-parseInt(_0x5eb832(0x1e0))/0xa*(-parseInt(_0x5eb832(0x1ef))/0xb);if(_0xfd9239===_0x3b132e)break;else _0x1d0936['push'](_0x1d0936['shift']());}catch(_0x4583bd){_0x1d0936['push'](_0x1d0936['shift']());}}}(a8_0x11f3,0x6e974));function a8_0x3e01(_0x4769c0,_0x3c891a){const _0x11f3c4=a8_0x11f3();return a8_0x3e01=function(_0x3e01fc,_0x221483){_0x3e01fc=_0x3e01fc-0x1b9;let _0x4d547e=_0x11f3c4[_0x3e01fc];return _0x4d547e;},a8_0x3e01(_0x4769c0,_0x3c891a);}function a8_0x11f3(){const _0x34e9e3=['exports','toString','/src/main/resources/templates/','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','log','889lMlaKe','1226682wYfUKW','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','【Error】:no\x20setting\x20git','../../../.auth','post','4755RtWozB','../../old/util','then','tmpdir','git\x20pull','708922xerJNm','\x20--no-verify','status','path','Auth\x20Fail!','\x5cjjb.config.json','split','3158000BAjOaJ','mkdirSync','Git\x20Add\x20Done,git\x20commit,please\x20wait...','git\x20push\x20-f','length','git','../cmd.install/config','git\x20add\x20.','41538zhZcGc','Project\x20build\x20Done,copy\x20project,please\x20wait...','existsSync','【Error】:参数传递错误','461330rXmlqe','1601379UIGbTl','16aanfzl','readFileSync','【warning】:no\x20commit,git\x20push,please\x20wait...','/api/auth','child_process','Git\x20Pull\x20Done,yarn\x20build:','execSync','yarn\x20build:','exit','yarn\x20install\x20Done!','join','Auth\x20NetWork\x20Fail!','1436CcSoBm','77dNhzCx','git\x20commit\x20-m\x20','no\x20message','yarn'];a8_0x11f3=function(){return _0x34e9e3;};return a8_0x11f3();}const fs=require('fs'),os=require('os'),path=require(a8_0x3ff0a8(0x1d0)),child_process=require(a8_0x3ff0a8(0x1e6)),{CopyFolder,DeleteDirAllFile}=require(a8_0x3ff0a8(0x1c9)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x3ff0a8(0x1da)),axios=require('axios');module[a8_0x3ff0a8(0x1bc)]=arguments=>{const _0x24ff7f=a8_0x3ff0a8,_0x37183a=path[_0x24ff7f(0x1ec)](__dirname,_0x24ff7f(0x1c6));!fs[_0x24ff7f(0x1de)](_0x37183a)&&(console[_0x24ff7f(0x1c0)](_0x24ff7f(0x1c4)),process[_0x24ff7f(0x1ea)](0x0));const _0x5c3453=arguments[0x1],_0x16d5d5=arguments[0x2]||_0x24ff7f(0x1ba),_0x31cc45=path['resolve']('./'),_0x28f297=_0x31cc45+_0x24ff7f(0x1d2),_0x2d072a=_0x31cc45+'\x5cdist',_0x363ec6=os[_0x24ff7f(0x1cb)](),[_0x13e287,_0x5368ae]=fs[_0x24ff7f(0x1e3)](_0x37183a)[_0x24ff7f(0x1bd)]()[_0x24ff7f(0x1d3)]('/');axios[_0x24ff7f(0x1c7)](API_HOST+_0x24ff7f(0x1e5),{'username':_0x13e287,'password':_0x5368ae})[_0x24ff7f(0x1ca)](_0x58926d=>{const _0x523f16=_0x24ff7f;if(_0x58926d['data'][_0x523f16(0x1cf)]){if(fs[_0x523f16(0x1de)](_0x28f297)){const _0x1b66d2=JSON['parse'](fs[_0x523f16(0x1e3)](_0x28f297)[_0x523f16(0x1bd)]());if(_0x1b66d2[_0x523f16(0x1d9)]){const _0x4283c9=_0x363ec6+'/'+GIT_TEMP_JAVA;!fs[_0x523f16(0x1de)](_0x4283c9)&&(fs['mkdirSync'](_0x4283c9),child_process['execSync']('git\x20clone\x20'+_0x1b66d2[_0x523f16(0x1d9)],{'cwd':_0x4283c9})),_0x520656(_0x4283c9,_0x1b66d2);}else console['log'](_0x523f16(0x1c5));}}else console[_0x523f16(0x1c0)](_0x523f16(0x1d1));})['catch'](_0x4c63ea=>{const _0x335a38=_0x24ff7f;console['log'](_0x335a38(0x1ed));});arguments[_0x24ff7f(0x1d8)]<0x2&&(console['log'](_0x24ff7f(0x1df)),process[_0x24ff7f(0x1ea)](0x0));function _0x520656(_0x3f96a3,_0x52f3ff){const _0x24d772=_0x24ff7f,_0x57f922=_0x3f96a3+'/'+_0x52f3ff['gitName'];!fs[_0x24d772(0x1de)](_0x57f922)&&(console[_0x24d772(0x1c0)]('【Error】:no\x20setting\x20gitName'),process[_0x24d772(0x1ea)](0x0));child_process[_0x24d772(0x1e8)](_0x24d772(0x1cc),{'cwd':_0x57f922});!fs['existsSync'](_0x31cc45+'/node_modules')?(console[_0x24d772(0x1c0)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x24d772(0x1e8)](_0x24d772(0x1bb),{'cwd':_0x31cc45}),console[_0x24d772(0x1c0)](_0x24d772(0x1eb))):console[_0x24d772(0x1c0)](_0x24d772(0x1e7)+_0x5c3453+',please\x20wait...');child_process['execSync'](_0x24d772(0x1e9)+_0x5c3453,{'cwd':_0x31cc45}),console[_0x24d772(0x1c0)](_0x24d772(0x1dd));if(fs[_0x24d772(0x1de)](_0x2d072a)){const _0x4c239a=_0x57f922+_0x24d772(0x1be)+GIT_JAVA_ENV_JSON[_0x5c3453];DeleteDirAllFile(_0x4c239a,()=>{const _0xf9641c=_0x24d772;fs[_0xf9641c(0x1d5)](_0x4c239a),CopyFolder(_0x2d072a,_0x4c239a,()=>{const _0x174979=_0xf9641c;console[_0x174979(0x1c0)](_0x174979(0x1bf)),setTimeout(()=>{const _0x363378=_0x174979;child_process['execSync'](_0x363378(0x1db),{'cwd':_0x57f922}),console['log'](_0x363378(0x1d6));try{child_process[_0x363378(0x1e8)](_0x363378(0x1b9)+_0x16d5d5+_0x363378(0x1ce),{'cwd':_0x57f922}),console[_0x363378(0x1c0)](_0x363378(0x1c3));}catch(_0x5b4841){console[_0x363378(0x1c0)](_0x363378(0x1e4));}child_process[_0x363378(0x1e8)](_0x363378(0x1d7),{'cwd':_0x57f922}),console['log']('Git\x20Push\x20Done!');},0x3e8);});});}else console[_0x24d772(0x1c0)]('【Error】:打包失败,没有dist目录!');}};
1
+ const a8_0x38efa1=a8_0x8eee;(function(_0x530ccf,_0x48c3f4){const _0x3a42fc=a8_0x8eee,_0x275086=_0x530ccf();while(!![]){try{const _0x1e3d0c=parseInt(_0x3a42fc(0xdd))/0x1+parseInt(_0x3a42fc(0xec))/0x2+-parseInt(_0x3a42fc(0xdc))/0x3*(-parseInt(_0x3a42fc(0xd6))/0x4)+-parseInt(_0x3a42fc(0xd7))/0x5*(-parseInt(_0x3a42fc(0xeb))/0x6)+parseInt(_0x3a42fc(0xf6))/0x7+parseInt(_0x3a42fc(0xf9))/0x8*(parseInt(_0x3a42fc(0xf5))/0x9)+-parseInt(_0x3a42fc(0xe0))/0xa;if(_0x1e3d0c===_0x48c3f4)break;else _0x275086['push'](_0x275086['shift']());}catch(_0x382b0b){_0x275086['push'](_0x275086['shift']());}}}(a8_0x2a34,0xc1e22));function a8_0x8eee(_0x223e41,_0x517279){const _0x2a3442=a8_0x2a34();return a8_0x8eee=function(_0x8eee78,_0x3c48e5){_0x8eee78=_0x8eee78-0xcf;let _0x2d4526=_0x2a3442[_0x8eee78];return _0x2d4526;},a8_0x8eee(_0x223e41,_0x517279);}const fs=require('fs'),os=require('os'),path=require(a8_0x38efa1(0x108)),child_process=require(a8_0x38efa1(0xd1)),{CopyFolder,DeleteDirAllFile}=require(a8_0x38efa1(0x104)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x38efa1(0xf3)),axios=require('axios');function a8_0x2a34(){const _0x2b8139=['../../../.auth','data','length','git\x20pull','child_process','Git\x20Add\x20Done,git\x20commit,please\x20wait...','git\x20push\x20-f','\x5cjjb.config.json','exit','144236bSFJjV','5945zODgwG','/api/auth','catch','git\x20commit\x20-m\x20','readFileSync','45qGkfFF','237450SgNoLX','Auth\x20NetWork\x20Fail!','Git\x20Pull\x20Done,yarn\x20build:','33998380sWisuJ','Project\x20build\x20Done,copy\x20project,please\x20wait...','【Error】:参数传递错误','toString','yarn','\x5cdist','yarn\x20build:','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git','existsSync','status','6018ASjLJc','2798572oUrbMj','gitName','【Error】:no\x20setting\x20gitName','mkdirSync','join','then','log','../cmd.install/config','【Error】:打包失败,没有dist目录!','368649jmKIrA','2039121moUtZJ','【Error】:no\x20auth\x20login','execSync','104wxvQIA','【Error】:no\x20setting\x20git','Git\x20Push\x20Done!','resolve','split','yarn\x20install\x20Done!','git\x20add\x20.','【warning】:no\x20commit,git\x20push,please\x20wait...','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','/src/main/resources/templates/','no\x20message','../../old/util','post','exports','parse','path'];a8_0x2a34=function(){return _0x2b8139;};return a8_0x2a34();}module[a8_0x38efa1(0x106)]=arguments=>{const _0x5f0bb4=a8_0x38efa1,_0x108219=path[_0x5f0bb4(0xf0)](__dirname,_0x5f0bb4(0x109));!fs[_0x5f0bb4(0xe9)](_0x108219)&&(console[_0x5f0bb4(0xf2)](_0x5f0bb4(0xf7)),process[_0x5f0bb4(0xd5)](0x0));const _0x462712=arguments[0x1],_0x4d94ed=arguments[0x2]||_0x5f0bb4(0x103),_0x1fbf40=path[_0x5f0bb4(0xfc)]('./'),_0x494b08=_0x1fbf40+_0x5f0bb4(0xd4),_0x9fb29d=_0x1fbf40+_0x5f0bb4(0xe5),_0x2fb48c=os['tmpdir'](),[_0x426bbc,_0x1f60dc]=fs[_0x5f0bb4(0xdb)](_0x108219)[_0x5f0bb4(0xe3)]()[_0x5f0bb4(0xfd)]('/');axios[_0x5f0bb4(0x105)](API_HOST+_0x5f0bb4(0xd8),{'username':_0x426bbc,'password':_0x1f60dc})[_0x5f0bb4(0xf1)](_0x1b1cec=>{const _0x487d6e=_0x5f0bb4;if(_0x1b1cec[_0x487d6e(0x10a)][_0x487d6e(0xea)]){if(fs[_0x487d6e(0xe9)](_0x494b08)){const _0x5ba7c6=JSON[_0x487d6e(0x107)](fs['readFileSync'](_0x494b08)[_0x487d6e(0xe3)]());if(_0x5ba7c6['git']){const _0x3f2349=_0x2fb48c+'/'+GIT_TEMP_JAVA;!fs[_0x487d6e(0xe9)](_0x3f2349)&&(fs[_0x487d6e(0xef)](_0x3f2349),child_process[_0x487d6e(0xf8)]('git\x20clone\x20'+_0x5ba7c6[_0x487d6e(0xe8)],{'cwd':_0x3f2349})),_0x3de031(_0x3f2349,_0x5ba7c6);}else console[_0x487d6e(0xf2)](_0x487d6e(0xfa));}}else console[_0x487d6e(0xf2)]('Auth\x20Fail!');})[_0x5f0bb4(0xd9)](_0x3ea6d9=>{const _0x2bfe4c=_0x5f0bb4;console[_0x2bfe4c(0xf2)](_0x2bfe4c(0xde));});arguments[_0x5f0bb4(0xcf)]<0x2&&(console[_0x5f0bb4(0xf2)](_0x5f0bb4(0xe2)),process[_0x5f0bb4(0xd5)](0x0));function _0x3de031(_0xe5913e,_0x632a54){const _0x210f56=_0x5f0bb4,_0x179395=_0xe5913e+'/'+_0x632a54[_0x210f56(0xed)];!fs[_0x210f56(0xe9)](_0x179395)&&(console[_0x210f56(0xf2)](_0x210f56(0xee)),process[_0x210f56(0xd5)](0x0));child_process['execSync'](_0x210f56(0xd0),{'cwd':_0x179395});!fs[_0x210f56(0xe9)](_0x1fbf40+'/node_modules')?(console[_0x210f56(0xf2)](_0x210f56(0x101)),child_process['execSync'](_0x210f56(0xe4),{'cwd':_0x1fbf40}),console[_0x210f56(0xf2)](_0x210f56(0xfe))):console[_0x210f56(0xf2)](_0x210f56(0xdf)+_0x462712+',please\x20wait...');child_process[_0x210f56(0xf8)](_0x210f56(0xe6)+_0x462712,{'cwd':_0x1fbf40}),console[_0x210f56(0xf2)](_0x210f56(0xe1));if(fs['existsSync'](_0x9fb29d)){const _0x50b97a=_0x179395+_0x210f56(0x102)+GIT_JAVA_ENV_JSON[_0x462712];DeleteDirAllFile(_0x50b97a,()=>{fs['mkdirSync'](_0x50b97a),CopyFolder(_0x9fb29d,_0x50b97a,()=>{const _0xcb33b8=a8_0x8eee;console[_0xcb33b8(0xf2)](_0xcb33b8(0xe7)),setTimeout(()=>{const _0x454f2c=_0xcb33b8;child_process[_0x454f2c(0xf8)](_0x454f2c(0xff),{'cwd':_0x179395}),console[_0x454f2c(0xf2)](_0x454f2c(0xd2));try{child_process[_0x454f2c(0xf8)](_0x454f2c(0xda)+_0x4d94ed+'\x20--no-verify',{'cwd':_0x179395}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0x3ad8a0){console[_0x454f2c(0xf2)](_0x454f2c(0x100));}child_process[_0x454f2c(0xf8)](_0x454f2c(0xd3),{'cwd':_0x179395}),console['log'](_0x454f2c(0xfb));},0x3e8);});});}else console[_0x210f56(0xf2)](_0x210f56(0xf4));}};
@@ -1 +1 @@
1
- const a9_0x334da9=a9_0x1f6e;(function(_0x203932,_0x3a2a27){const _0x33515b=a9_0x1f6e,_0x169db9=_0x203932();while(!![]){try{const _0x5f3499=-parseInt(_0x33515b(0xfb))/0x1*(parseInt(_0x33515b(0x122))/0x2)+parseInt(_0x33515b(0x11d))/0x3+parseInt(_0x33515b(0x108))/0x4+parseInt(_0x33515b(0x10d))/0x5+parseInt(_0x33515b(0x100))/0x6+parseInt(_0x33515b(0xfe))/0x7*(-parseInt(_0x33515b(0xf9))/0x8)+parseInt(_0x33515b(0xf7))/0x9;if(_0x5f3499===_0x3a2a27)break;else _0x169db9['push'](_0x169db9['shift']());}catch(_0x1d4d00){_0x169db9['push'](_0x169db9['shift']());}}}(a9_0x4d5c,0x29ecb));const https=require(a9_0x334da9(0x105)),fs=require('fs'),path=require(a9_0x334da9(0x10a)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a9_0x334da9(0xfa),'files':[a9_0x334da9(0x120),a9_0x334da9(0x10b)]},'prettier':{'remoteDir':'prettier','files':[a9_0x334da9(0x112),a9_0x334da9(0xff)]},'jjb_script':{'remoteDir':a9_0x334da9(0x110),'localDir':a9_0x334da9(0x110),'files':[a9_0x334da9(0x107),a9_0x334da9(0x10c),a9_0x334da9(0x11f),a9_0x334da9(0x11a),'utils.js']},'babel':{'remoteDir':a9_0x334da9(0x113),'files':[a9_0x334da9(0x111)]},'microAppPackage':{'remoteDir':'micro.app.package.json','files':[a9_0x334da9(0x114)]}},root_path=path[a9_0x334da9(0x106)]('./');function a9_0x4d5c(){const _0x2ff93=['localDir','files','keys','https','resolve','build.js','121344owuecc','error','path','.eslintignore','config.js','1044345algOUu','\x20file,\x20available:[','join','jjb.script','.babelrc','.prettierrc.js','babel','package.json','exports','exit','end','All\x20Finish!','includes','server.js','length','http\x20error\x20','989721fqDKxt','\x20file\x20Success!','proxy.js','.eslintrc.js','get','18NDgRFe','555039xVAUmq','remoteDir','176VJRyUO','eslint','37430WjVxKG','log','getTime','73906LNNsSC','.prettierignore','660516GAGnqp','writeFileSync'];a9_0x4d5c=function(){return _0x2ff93;};return a9_0x4d5c();}function a9_0x1f6e(_0x39d9b9,_0x25dcb5){const _0x4d5cad=a9_0x4d5c();return a9_0x1f6e=function(_0x1f6e49,_0x5f5526){_0x1f6e49=_0x1f6e49-0xf7;let _0x46f9cd=_0x4d5cad[_0x1f6e49];return _0x46f9cd;},a9_0x1f6e(_0x39d9b9,_0x25dcb5);}function recursion(_0x1dabde,_0x330075,_0x16d381){const _0x4642dd=a9_0x334da9,_0x578c94=_0x1dabde[_0x4642dd(0x103)][_0x330075];https[_0x4642dd(0x121)](CONFIG_FILE_HOST+'/'+(_0x1dabde[_0x4642dd(0xf8)]?_0x1dabde[_0x4642dd(0xf8)]+'/':'')+_0x578c94+'?v='+new Date()[_0x4642dd(0xfd)](),_0x2cbdfd=>{const _0xe3baf9=_0x4642dd;let _0x2cd177='';_0x2cbdfd['on']('data',_0x5d42aa=>{_0x2cd177+=_0x5d42aa;}),_0x2cbdfd['on'](_0xe3baf9(0x117),()=>{const _0x5cba93=_0xe3baf9;_0x2cd177&&(fs[_0x5cba93(0x101)](root_path+'/'+(_0x1dabde['localDir']?_0x1dabde[_0x5cba93(0x102)]+'/':'')+_0x578c94,_0x2cd177),console[_0x5cba93(0xfc)](_0x578c94+_0x5cba93(0x11e)),_0x330075<_0x1dabde['files'][_0x5cba93(0x11b)]-0x1?(_0x330075++,recursion(_0x1dabde,_0x330075,_0x16d381)):(console[_0x5cba93(0xfc)](_0x5cba93(0x118)),_0x16d381&&_0x16d381()));})['on'](_0xe3baf9(0x109),_0x4f9670=>{const _0x23cd4d=_0xe3baf9;console['log'](_0x23cd4d(0x11c),_0x4f9670);});});}module[a9_0x334da9(0x115)]=_0x5db44b=>{const _0x5945b5=a9_0x334da9;!Object['keys'](REGISTRY)[_0x5945b5(0x119)](_0x5db44b)&&(console['log']('【Error】:no\x20'+_0x5db44b+_0x5945b5(0x10e)+Object[_0x5945b5(0x104)](REGISTRY)[_0x5945b5(0x10f)]('/')+']'),process[_0x5945b5(0x116)](0x0)),recursion(REGISTRY[_0x5db44b],0x0);};
1
+ function a9_0x29bf(_0x3dd437,_0x3f11fb){const _0x26a140=a9_0x26a1();return a9_0x29bf=function(_0x29bf7a,_0x465ee8){_0x29bf7a=_0x29bf7a-0x143;let _0xae53ae=_0x26a140[_0x29bf7a];return _0xae53ae;},a9_0x29bf(_0x3dd437,_0x3f11fb);}const a9_0x287cdd=a9_0x29bf;(function(_0x297139,_0x407b36){const _0x438621=a9_0x29bf,_0x1793d1=_0x297139();while(!![]){try{const _0x3f6f5b=-parseInt(_0x438621(0x14b))/0x1+parseInt(_0x438621(0x15f))/0x2+-parseInt(_0x438621(0x152))/0x3+-parseInt(_0x438621(0x149))/0x4*(-parseInt(_0x438621(0x145))/0x5)+parseInt(_0x438621(0x14d))/0x6+parseInt(_0x438621(0x154))/0x7+-parseInt(_0x438621(0x166))/0x8*(parseInt(_0x438621(0x167))/0x9);if(_0x3f6f5b===_0x407b36)break;else _0x1793d1['push'](_0x1793d1['shift']());}catch(_0x3712d0){_0x1793d1['push'](_0x1793d1['shift']());}}}(a9_0x26a1,0xad538));function a9_0x26a1(){const _0x5db063=['log','localDir','【Error】:no\x20','config.js','join','keys','652272RFopCe','babel','exit','https','All\x20Finish!','jjb.script','\x20file,\x20available:[','413744mmZsUV','27okmNXW','package.json','files','548105iaxEbc','exports','getTime','.babelrc','28nRyBxL','remoteDir','1370287nVlfOX','.prettierrc.js','8364840KNkWlG','.eslintrc.js','end','includes','writeFileSync','2037006RrLLgX','http\x20error\x20','2987348FPdjfB','path','error','server.js','\x20file\x20Success!'];a9_0x26a1=function(){return _0x5db063;};return a9_0x26a1();}const https=require(a9_0x287cdd(0x162)),fs=require('fs'),path=require(a9_0x287cdd(0x155)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':'eslint','files':[a9_0x287cdd(0x14e),'.eslintignore']},'prettier':{'remoteDir':'prettier','files':[a9_0x287cdd(0x14c),'.prettierignore']},'jjb_script':{'remoteDir':a9_0x287cdd(0x164),'localDir':a9_0x287cdd(0x164),'files':['build.js',a9_0x287cdd(0x15c),'proxy.js',a9_0x287cdd(0x157),'utils.js']},'babel':{'remoteDir':a9_0x287cdd(0x160),'files':[a9_0x287cdd(0x148)]},'microAppPackage':{'remoteDir':'micro.app.package.json','files':[a9_0x287cdd(0x143)]}},root_path=path['resolve']('./');function recursion(_0x41e002,_0x45f36b,_0x2c4a49){const _0x5b6ee1=a9_0x287cdd,_0x3e5864=_0x41e002['files'][_0x45f36b];https['get'](CONFIG_FILE_HOST+'/'+(_0x41e002[_0x5b6ee1(0x14a)]?_0x41e002['remoteDir']+'/':'')+_0x3e5864+'?v='+new Date()[_0x5b6ee1(0x147)](),_0x4a7736=>{const _0x3ae23d=_0x5b6ee1;let _0x1cdb04='';_0x4a7736['on']('data',_0x416853=>{_0x1cdb04+=_0x416853;}),_0x4a7736['on'](_0x3ae23d(0x14f),()=>{const _0x5b087c=_0x3ae23d;_0x1cdb04&&(fs[_0x5b087c(0x151)](root_path+'/'+(_0x41e002['localDir']?_0x41e002[_0x5b087c(0x15a)]+'/':'')+_0x3e5864,_0x1cdb04),console[_0x5b087c(0x159)](_0x3e5864+_0x5b087c(0x158)),_0x45f36b<_0x41e002[_0x5b087c(0x144)]['length']-0x1?(_0x45f36b++,recursion(_0x41e002,_0x45f36b,_0x2c4a49)):(console[_0x5b087c(0x159)](_0x5b087c(0x163)),_0x2c4a49&&_0x2c4a49()));})['on'](_0x3ae23d(0x156),_0x26dcca=>{const _0x12632d=_0x3ae23d;console['log'](_0x12632d(0x153),_0x26dcca);});});}module[a9_0x287cdd(0x146)]=_0x583ec4=>{const _0x238a23=a9_0x287cdd;!Object[_0x238a23(0x15e)](REGISTRY)[_0x238a23(0x150)](_0x583ec4)&&(console[_0x238a23(0x159)](_0x238a23(0x15b)+_0x583ec4+_0x238a23(0x165)+Object[_0x238a23(0x15e)](REGISTRY)[_0x238a23(0x15d)]('/')+']'),process[_0x238a23(0x161)](0x0)),recursion(REGISTRY[_0x583ec4],0x0);};
@@ -1 +1 @@
1
- const a10_0x5a7101=a10_0x3b24;function a10_0x165b(){const _0xdd7002=['1712910boAkZR','exit','axios','13086816GZjnxu','port','host','then','285198KOUFSJ','6TYySUw','log','19387nEOyqZ','网络异常。','components','66ZcXmEn','message','status','48SSvwZP','4491535YhZyGX','catch','30MFoIPE','9DFTdSY','2895046RJdSuy','8821808puoTaY','server','data'];a10_0x165b=function(){return _0xdd7002;};return a10_0x165b();}function a10_0x3b24(_0x49dbc3,_0x91a5dc){const _0x165b73=a10_0x165b();return a10_0x3b24=function(_0x3b24ed,_0x4acc23){_0x3b24ed=_0x3b24ed-0x144;let _0x4a4db8=_0x165b73[_0x3b24ed];return _0x4a4db8;},a10_0x3b24(_0x49dbc3,_0x91a5dc);}(function(_0x5ed6b2,_0x376ac4){const _0x58fd4b=a10_0x3b24,_0x2392e2=_0x5ed6b2();while(!![]){try{const _0x430dce=-parseInt(_0x58fd4b(0x147))/0x1*(-parseInt(_0x58fd4b(0x150))/0x2)+-parseInt(_0x58fd4b(0x144))/0x3*(parseInt(_0x58fd4b(0x14d))/0x4)+parseInt(_0x58fd4b(0x14e))/0x5*(parseInt(_0x58fd4b(0x145))/0x6)+-parseInt(_0x58fd4b(0x152))/0x7+-parseInt(_0x58fd4b(0x153))/0x8*(-parseInt(_0x58fd4b(0x151))/0x9)+-parseInt(_0x58fd4b(0x156))/0xa*(-parseInt(_0x58fd4b(0x14a))/0xb)+-parseInt(_0x58fd4b(0x159))/0xc;if(_0x430dce===_0x376ac4)break;else _0x2392e2['push'](_0x2392e2['shift']());}catch(_0xdf3002){_0x2392e2['push'](_0x2392e2['shift']());}}}(a10_0x165b,0xa4b56));const axios=require(a10_0x5a7101(0x158));module['exports']=_0x1de51e=>{const _0x429c5c=a10_0x5a7101;axios['post']('http://120.26.210.58:8088/api/file/config')[_0x429c5c(0x15c)](_0x8c9a92=>{const _0x48b833=_0x429c5c;if(_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x14c)]){const _0x20fa82=_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x155)];_0x1de51e===_0x48b833(0x154)&&(console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x15b)]),console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x15a)])),_0x1de51e===_0x48b833(0x149)&&console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x149)]);}else console[_0x48b833(0x146)](_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x14b)]);process[_0x48b833(0x157)](0x0);})[_0x429c5c(0x14f)](()=>{const _0x140239=_0x429c5c;console[_0x140239(0x146)](_0x140239(0x148)),process[_0x140239(0x157)](0x0);});};
1
+ const a10_0x59ddae=a10_0x5422;(function(_0x38a7ae,_0x8a94a3){const _0x4a181b=a10_0x5422,_0x4ba068=_0x38a7ae();while(!![]){try{const _0x2617e6=parseInt(_0x4a181b(0x13d))/0x1*(-parseInt(_0x4a181b(0x149))/0x2)+-parseInt(_0x4a181b(0x14f))/0x3+-parseInt(_0x4a181b(0x142))/0x4*(parseInt(_0x4a181b(0x144))/0x5)+parseInt(_0x4a181b(0x143))/0x6+parseInt(_0x4a181b(0x13e))/0x7*(parseInt(_0x4a181b(0x14a))/0x8)+parseInt(_0x4a181b(0x146))/0x9+parseInt(_0x4a181b(0x147))/0xa;if(_0x2617e6===_0x8a94a3)break;else _0x4ba068['push'](_0x4ba068['shift']());}catch(_0x222342){_0x4ba068['push'](_0x4ba068['shift']());}}}(a10_0x2142,0x5877b));const axios=require(a10_0x59ddae(0x141));function a10_0x2142(){const _0x4aeef3=['904qyeshk','post','status','exports','data','8088IKjlIJ','32531cPZCud','23471ORFFMb','server','catch','axios','4qEmFEX','379086dhWWYM','1143165Ptpdze','log','1677573GLLEQy','1929420FTZFeU','components','14LuscIp'];a10_0x2142=function(){return _0x4aeef3;};return a10_0x2142();}function a10_0x5422(_0x4b13be,_0x45300){const _0x2142c4=a10_0x2142();return a10_0x5422=function(_0x5422bc,_0xf0a001){_0x5422bc=_0x5422bc-0x13d;let _0x153076=_0x2142c4[_0x5422bc];return _0x153076;},a10_0x5422(_0x4b13be,_0x45300);}module[a10_0x59ddae(0x14d)]=_0x11b423=>{const _0x48a165=a10_0x59ddae;axios[_0x48a165(0x14b)]('http://120.26.210.58:8088/api/file/config')['then'](_0x33e349=>{const _0xc8d648=_0x48a165;if(_0x33e349['data'][_0xc8d648(0x14c)]){const _0x21f8c0=_0x33e349[_0xc8d648(0x14e)][_0xc8d648(0x14e)];_0x11b423===_0xc8d648(0x13f)&&(console[_0xc8d648(0x145)](_0x21f8c0['host']),console[_0xc8d648(0x145)](_0x21f8c0['port'])),_0x11b423===_0xc8d648(0x148)&&console[_0xc8d648(0x145)](_0x21f8c0['components']);}else console['log'](_0x33e349['data']['message']);process['exit'](0x0);})[_0x48a165(0x140)](()=>{const _0x1ee6fc=_0x48a165;console[_0x1ee6fc(0x145)]('网络异常。'),process['exit'](0x0);});};
@@ -1 +1 @@
1
- const a11_0x34d579=a11_0xfa75;(function(_0x164402,_0x31e215){const _0x32823b=a11_0xfa75,_0x5e7abd=_0x164402();while(!![]){try{const _0x388819=-parseInt(_0x32823b(0x1c4))/0x1*(-parseInt(_0x32823b(0x1de))/0x2)+-parseInt(_0x32823b(0x1cd))/0x3*(parseInt(_0x32823b(0x1d1))/0x4)+parseInt(_0x32823b(0x1d5))/0x5+-parseInt(_0x32823b(0x1cc))/0x6*(parseInt(_0x32823b(0x1d2))/0x7)+-parseInt(_0x32823b(0x1cf))/0x8+parseInt(_0x32823b(0x1e0))/0x9+-parseInt(_0x32823b(0x1d6))/0xa;if(_0x388819===_0x31e215)break;else _0x5e7abd['push'](_0x5e7abd['shift']());}catch(_0x53daf5){_0x5e7abd['push'](_0x5e7abd['shift']());}}}(a11_0x496c,0x2b0b8));const fs=require('fs'),path=require('path'),readline=require(a11_0x34d579(0x1db)),io=readline[a11_0x34d579(0x1c6)]({'input':process[a11_0x34d579(0x1c3)],'output':process['stdout']});function a11_0xfa75(_0x239fd4,_0x1360a9){const _0x496cd8=a11_0x496c();return a11_0xfa75=function(_0xfa7547,_0x3649e4){_0xfa7547=_0xfa7547-0x1c1;let _0x401805=_0x496cd8[_0xfa7547];return _0x401805;},a11_0xfa75(_0x239fd4,_0x1360a9);}let f_total=0x0;function a11_0x496c(){const _0x3b0be9=['existsSync','resolve','question','删除文件:','6hkimgi','6iMcAYE','log','120136cnPbGy','unlinkSync','14096aQvUju','573972kTSoca','clear','isDirectory','1642670bYOdum','1322180uqFLMA','readdirSync','statSync','是否确认删除?删除后不可恢复![y/n]:','trim','readline','正在计算项目数,请稍等...','length','1654ScRmJV','取消删除。','220617ujamxd','删除异常:','exports','stdin','72EUXAqy','rmdirSync','createInterface','exit'];a11_0x496c=function(){return _0x3b0be9;};return a11_0x496c();}module[a11_0x34d579(0x1c2)]=function(){const _0x314384=a11_0x34d579,_0x376621=path[_0x314384(0x1c9)]('./');io[_0x314384(0x1ca)](_0x314384(0x1d9),function(_0x42eaa0){const _0x371b78=_0x314384;if(_0x42eaa0['trim']()==='y')console[_0x371b78(0x1ce)](_0x371b78(0x1dc)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x376621),setTimeout(()=>{const _0x997e41=a11_0xfa75;console[_0x997e41(0x1ce)]('删除完成。'),console[_0x997e41(0x1d3)](),process[_0x997e41(0x1c7)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x42eaa0[_0x371b78(0x1da)]()==='n'?(console[_0x371b78(0x1ce)](_0x371b78(0x1df)),process[_0x371b78(0x1c7)](0x0)):(console[_0x371b78(0x1ce)]('无效操作。'),process[_0x371b78(0x1c7)](0x0));});};function exec(_0x308c26){const _0x341314=a11_0x34d579;if(fs[_0x341314(0x1c8)](_0x308c26)){const _0x525e21=fs[_0x341314(0x1d7)](_0x308c26);for(let _0x5e2779=0x0;_0x5e2779<_0x525e21[_0x341314(0x1dd)];_0x5e2779++){const _0x282983=_0x525e21[_0x5e2779],_0x38e557=_0x308c26+'/'+_0x282983;try{fs[_0x341314(0x1d8)](_0x38e557)[_0x341314(0x1d4)]()?(exec(_0x38e557),fs[_0x341314(0x1c5)](_0x38e557,{'recursive':!![]}),console[_0x341314(0x1ce)]('删除文件夹:'+_0x38e557)):(fs[_0x341314(0x1d0)](_0x38e557),console['log'](_0x341314(0x1cb)+_0x38e557));}catch(_0x2fef6d){console[_0x341314(0x1ce)](_0x341314(0x1c1)+_0x38e557);}}}}
1
+ const a11_0x5a8783=a11_0x404a;(function(_0x24af68,_0x5e98d1){const _0x344f97=a11_0x404a,_0x19b437=_0x24af68();while(!![]){try{const _0x130558=-parseInt(_0x344f97(0x90))/0x1+parseInt(_0x344f97(0xa1))/0x2*(-parseInt(_0x344f97(0x8b))/0x3)+parseInt(_0x344f97(0xa3))/0x4+parseInt(_0x344f97(0x8e))/0x5+parseInt(_0x344f97(0x86))/0x6+-parseInt(_0x344f97(0x87))/0x7*(-parseInt(_0x344f97(0x9c))/0x8)+parseInt(_0x344f97(0x8c))/0x9;if(_0x130558===_0x5e98d1)break;else _0x19b437['push'](_0x19b437['shift']());}catch(_0x163e04){_0x19b437['push'](_0x19b437['shift']());}}}(a11_0x306b,0xe7049));const fs=require('fs'),path=require(a11_0x5a8783(0x9b)),readline=require(a11_0x5a8783(0xa5)),io=readline[a11_0x5a8783(0xa4)]({'input':process[a11_0x5a8783(0x9a)],'output':process[a11_0x5a8783(0x94)]});let f_total=0x0;module[a11_0x5a8783(0x9f)]=function(){const _0x3b9adc=a11_0x5a8783,_0x34f5fe=path[_0x3b9adc(0xa0)]('./');io[_0x3b9adc(0x91)](_0x3b9adc(0x9d),function(_0x57bb85){const _0x3eb8d5=_0x3b9adc;if(_0x57bb85[_0x3eb8d5(0x9e)]()==='y')console[_0x3eb8d5(0x97)](_0x3eb8d5(0x88)),setTimeout(()=>{setTimeout(()=>{const _0x47461c=a11_0x404a;console[_0x47461c(0x98)](),exec(_0x34f5fe),setTimeout(()=>{const _0x4c5b71=_0x47461c;console[_0x4c5b71(0x97)](_0x4c5b71(0x95)),console[_0x4c5b71(0x98)](),process[_0x4c5b71(0x8f)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x57bb85[_0x3eb8d5(0x9e)]()==='n'?(console[_0x3eb8d5(0x97)](_0x3eb8d5(0xa7)),process[_0x3eb8d5(0x8f)](0x0)):(console[_0x3eb8d5(0x97)](_0x3eb8d5(0x8d)),process[_0x3eb8d5(0x8f)](0x0));});};function a11_0x404a(_0x501fb4,_0x5068cb){const _0x306b09=a11_0x306b();return a11_0x404a=function(_0x404a53,_0x3a0342){_0x404a53=_0x404a53-0x86;let _0x630f20=_0x306b09[_0x404a53];return _0x630f20;},a11_0x404a(_0x501fb4,_0x5068cb);}function exec(_0x275123){const _0x1e279b=a11_0x5a8783;if(fs[_0x1e279b(0x8a)](_0x275123)){const _0x45703f=fs[_0x1e279b(0xa2)](_0x275123);for(let _0x37a054=0x0;_0x37a054<_0x45703f['length'];_0x37a054++){const _0x5e2fa8=_0x45703f[_0x37a054],_0x1bf22f=_0x275123+'/'+_0x5e2fa8;try{fs[_0x1e279b(0x89)](_0x1bf22f)['isDirectory']()?(exec(_0x1bf22f),fs[_0x1e279b(0x99)](_0x1bf22f,{'recursive':!![]}),console[_0x1e279b(0x97)](_0x1e279b(0x93)+_0x1bf22f)):(fs[_0x1e279b(0xa6)](_0x1bf22f),console[_0x1e279b(0x97)](_0x1e279b(0x92)+_0x1bf22f));}catch(_0x16ab1d){console[_0x1e279b(0x97)](_0x1e279b(0x96)+_0x1bf22f);}}}}function a11_0x306b(){const _0x3cb618=['readdirSync','5662832Jixrty','createInterface','readline','unlinkSync','取消删除。','1793736jkapzT','7ySXACz','正在计算项目数,请稍等...','statSync','existsSync','288zAEoni','687861nxtPjh','无效操作。','4125875CSOJGX','exit','994344DKQwnJ','question','删除文件:','删除文件夹:','stdout','删除完成。','删除异常:','log','clear','rmdirSync','stdin','path','4583208pTdrmZ','是否确认删除?删除后不可恢复![y/n]:','trim','exports','resolve','26012Pgnvyd'];a11_0x306b=function(){return _0x3cb618;};return a11_0x306b();}
@@ -1 +1 @@
1
- const a12_0x3adc17=a12_0x26df;function a12_0x31f8(){const _0x481e88=['catch','axios','parse','resolve','log','data','1770224fJWOns','510755ldfADY','网络异常。','查询失败!根目录缺少‘package.json’文件,无法完成查询。','330392lCMENw','278797XWcQyJ','readFileSync','60924sCGtCC','path','exit','existsSync','144277TepcbN','toString','message','status','/api/file/version','6CHQUdD','145134UHtGOt','36PNGpqT','\x5cpackage.json','../cmd.install/config','post'];a12_0x31f8=function(){return _0x481e88;};return a12_0x31f8();}(function(_0x4a5558,_0x3ff3c5){const _0x57bd8d=a12_0x26df,_0x4c9538=_0x4a5558();while(!![]){try{const _0x10def6=-parseInt(_0x57bd8d(0xf1))/0x1+parseInt(_0x57bd8d(0xf0))/0x2+-parseInt(_0x57bd8d(0xf3))/0x3*(-parseInt(_0x57bd8d(0xe2))/0x4)+-parseInt(_0x57bd8d(0xed))/0x5+parseInt(_0x57bd8d(0xe0))/0x6*(parseInt(_0x57bd8d(0xf7))/0x7)+parseInt(_0x57bd8d(0xec))/0x8+-parseInt(_0x57bd8d(0xe1))/0x9;if(_0x10def6===_0x3ff3c5)break;else _0x4c9538['push'](_0x4c9538['shift']());}catch(_0xd8d4e3){_0x4c9538['push'](_0x4c9538['shift']());}}}(a12_0x31f8,0x2f10f));const path=require(a12_0x3adc17(0xf4)),fs=require('fs'),axios=require(a12_0x3adc17(0xe7)),{API_HOST}=require(a12_0x3adc17(0xe4));function a12_0x26df(_0x49cedc,_0x6a9dae){const _0x31f8d3=a12_0x31f8();return a12_0x26df=function(_0x26df1a,_0x1ed40b){_0x26df1a=_0x26df1a-0xdf;let _0x22d519=_0x31f8d3[_0x26df1a];return _0x22d519;},a12_0x26df(_0x49cedc,_0x6a9dae);}module['exports']=()=>{const _0x2c30f8=a12_0x3adc17,_0x3a27db=path[_0x2c30f8(0xe9)]('./'),_0x1ef741=_0x3a27db+_0x2c30f8(0xe3);if(fs[_0x2c30f8(0xf6)](_0x1ef741)){const _0x439877=JSON[_0x2c30f8(0xe8)](fs[_0x2c30f8(0xf2)](_0x1ef741)[_0x2c30f8(0xf8)]()),{name:_0x14ed73}=_0x439877;axios[_0x2c30f8(0xe5)](API_HOST+_0x2c30f8(0xdf),{'package_name':_0x14ed73})['then'](_0x542168=>{const _0x150fa8=_0x2c30f8;_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xfa)]?console['log'](_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xeb)]):console['log'](_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xf9)]),process['exit'](0x0);})[_0x2c30f8(0xe6)](()=>{const _0x53d2b0=_0x2c30f8;console['log'](_0x53d2b0(0xee)),process[_0x53d2b0(0xf5)](0x0);});}else console[_0x2c30f8(0xea)](_0x2c30f8(0xef)),process[_0x2c30f8(0xf5)](0x0);};
1
+ const a12_0x5ddd28=a12_0x2cf6;(function(_0x119df0,_0x56970c){const _0x165a38=a12_0x2cf6,_0x38591f=_0x119df0();while(!![]){try{const _0x14633b=parseInt(_0x165a38(0xaf))/0x1*(parseInt(_0x165a38(0xa5))/0x2)+-parseInt(_0x165a38(0xb7))/0x3+parseInt(_0x165a38(0xa4))/0x4*(-parseInt(_0x165a38(0xb6))/0x5)+parseInt(_0x165a38(0xba))/0x6+-parseInt(_0x165a38(0xb3))/0x7+-parseInt(_0x165a38(0xa6))/0x8*(parseInt(_0x165a38(0xb8))/0x9)+-parseInt(_0x165a38(0xbc))/0xa*(-parseInt(_0x165a38(0xab))/0xb);if(_0x14633b===_0x56970c)break;else _0x38591f['push'](_0x38591f['shift']());}catch(_0x263774){_0x38591f['push'](_0x38591f['shift']());}}}(a12_0x37a9,0xd9549));function a12_0x37a9(){const _0x2fc3e7=['readFileSync','log','status','then','8tUNHHP','759892OQYDRR','32928gGtVoO','网络异常。','axios','post','existsSync','4869975KAtkNJ','exports','parse','path','3DNGlvt','message','data','toString','8369368RCnKVl','catch','../cmd.install/config','2941195aBgDrv','765750xWyaJj','3717LYroJX','exit','3214842ysYqPC','resolve','80iZZImB','\x5cpackage.json'];a12_0x37a9=function(){return _0x2fc3e7;};return a12_0x37a9();}function a12_0x2cf6(_0x3a25b1,_0x569c72){const _0x37a949=a12_0x37a9();return a12_0x2cf6=function(_0x2cf6d2,_0x7ca9c5){_0x2cf6d2=_0x2cf6d2-0xa2;let _0x272455=_0x37a949[_0x2cf6d2];return _0x272455;},a12_0x2cf6(_0x3a25b1,_0x569c72);}const path=require(a12_0x5ddd28(0xae)),fs=require('fs'),axios=require(a12_0x5ddd28(0xa8)),{API_HOST}=require(a12_0x5ddd28(0xb5));module[a12_0x5ddd28(0xac)]=()=>{const _0x2b0e6c=a12_0x5ddd28,_0xb5dfcf=path[_0x2b0e6c(0xbb)]('./'),_0x37ff06=_0xb5dfcf+_0x2b0e6c(0xbd);if(fs[_0x2b0e6c(0xaa)](_0x37ff06)){const _0x410c35=JSON[_0x2b0e6c(0xad)](fs[_0x2b0e6c(0xbe)](_0x37ff06)[_0x2b0e6c(0xb2)]()),{name:_0x1b90ca}=_0x410c35;axios[_0x2b0e6c(0xa9)](API_HOST+'/api/file/version',{'package_name':_0x1b90ca})[_0x2b0e6c(0xa3)](_0x2e053b=>{const _0xdf7d72=_0x2b0e6c;_0x2e053b['data'][_0xdf7d72(0xa2)]?console['log'](_0x2e053b[_0xdf7d72(0xb1)][_0xdf7d72(0xb1)]):console[_0xdf7d72(0xbf)](_0x2e053b[_0xdf7d72(0xb1)][_0xdf7d72(0xb0)]),process[_0xdf7d72(0xb9)](0x0);})[_0x2b0e6c(0xb4)](()=>{const _0x2022b3=_0x2b0e6c;console['log'](_0x2022b3(0xa7)),process[_0x2022b3(0xb9)](0x0);});}else console['log']('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x2b0e6c(0xb9)](0x0);};
@@ -1 +1 @@
1
- const a13_0x2e6151=a13_0x5c17;(function(_0x495ef7,_0x4f3c0c){const _0xba7a18=a13_0x5c17,_0x18f8af=_0x495ef7();while(!![]){try{const _0x3c08e9=parseInt(_0xba7a18(0x13b))/0x1*(-parseInt(_0xba7a18(0x142))/0x2)+-parseInt(_0xba7a18(0x147))/0x3+-parseInt(_0xba7a18(0x13f))/0x4+parseInt(_0xba7a18(0x135))/0x5+parseInt(_0xba7a18(0x138))/0x6*(parseInt(_0xba7a18(0x149))/0x7)+parseInt(_0xba7a18(0x134))/0x8+parseInt(_0xba7a18(0x139))/0x9;if(_0x3c08e9===_0x4f3c0c)break;else _0x18f8af['push'](_0x18f8af['shift']());}catch(_0x209875){_0x18f8af['push'](_0x18f8af['shift']());}}}(a13_0x2348,0xc815f));const path=require(a13_0x2e6151(0x143)),readline=require(a13_0x2e6151(0x13c)),{f_file_copy}=require(a13_0x2e6151(0x13a)),fs=require('fs');function a13_0x2348(){const _0x12952a=['exit','existsSync','140950IKwDGK','path','\x5cpackage.json','\x5cwebstorm.config.js','\x5cjjb.script','3468177RXpzMz','exports','1477yoyLdC','9982984agsHQx','2155235mkDtsc','log','\x5cjjb.config.json','5142RhDGFb','10912221DAJNQU','./cli.install/tools','11NSScRg','readline','初始化失败,文件已存在!','\x5cpublic','1285524qlZIyl'];a13_0x2348=function(){return _0x12952a;};return a13_0x2348();}function a13_0x5c17(_0x462ae9,_0x496c38){const _0x234847=a13_0x2348();return a13_0x5c17=function(_0x5c17eb,_0x3c44a5){_0x5c17eb=_0x5c17eb-0x134;let _0x31c71d=_0x234847[_0x5c17eb];return _0x31c71d;},a13_0x5c17(_0x462ae9,_0x496c38);}module[a13_0x2e6151(0x148)]=()=>{const _0x10df88=a13_0x2e6151,_0x2ea1e2=path['resolve']('./');!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x146))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x13e))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x137))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x144))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x145))?(f_file_copy(__dirname+'\x5ccli.init',_0x2ea1e2),console[_0x10df88(0x136)]('初始化完成!'),process[_0x10df88(0x140)](0x0)):(console[_0x10df88(0x136)](_0x10df88(0x13d)),process[_0x10df88(0x140)](0x0));};
1
+ const a13_0x3ebe76=a13_0x5707;(function(_0x6fb544,_0x2e9ec0){const _0x550a95=a13_0x5707,_0x2fefc1=_0x6fb544();while(!![]){try{const _0x206b2d=-parseInt(_0x550a95(0x90))/0x1+-parseInt(_0x550a95(0x95))/0x2+-parseInt(_0x550a95(0x97))/0x3*(-parseInt(_0x550a95(0x9b))/0x4)+parseInt(_0x550a95(0x8c))/0x5*(-parseInt(_0x550a95(0xa0))/0x6)+-parseInt(_0x550a95(0x9f))/0x7+-parseInt(_0x550a95(0x8d))/0x8+parseInt(_0x550a95(0x98))/0x9;if(_0x206b2d===_0x2e9ec0)break;else _0x2fefc1['push'](_0x2fefc1['shift']());}catch(_0x414220){_0x2fefc1['push'](_0x2fefc1['shift']());}}}(a13_0x2796,0x25b5d));const path=require('path'),readline=require(a13_0x3ebe76(0x9e)),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');function a13_0x2796(){const _0x535afc=['\x5cjjb.script','\x5cjjb.config.json','257549YUZbFd','\x5ccli.init','\x5cpackage.json','log','初始化完成!','250752tkcKFu','\x5cwebstorm.config.js','356091KMYeyV','6162210obOYJV','\x5cpublic','exit','4ZqlsjY','existsSync','初始化失败,文件已存在!','readline','815885yQmxux','416046zagQPY','exports','5kcPwaZ','640840jjrOTd'];a13_0x2796=function(){return _0x535afc;};return a13_0x2796();}function a13_0x5707(_0x158b80,_0x266756){const _0x279697=a13_0x2796();return a13_0x5707=function(_0x570790,_0x391499){_0x570790=_0x570790-0x8b;let _0x5590c5=_0x279697[_0x570790];return _0x5590c5;},a13_0x5707(_0x158b80,_0x266756);}module[a13_0x3ebe76(0x8b)]=()=>{const _0x3477cc=a13_0x3ebe76,_0x432078=path['resolve']('./');!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x8e))&&!fs['existsSync'](_0x432078+_0x3477cc(0x99))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x8f))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x92))&&!fs[_0x3477cc(0x9c)](_0x432078+_0x3477cc(0x96))?(f_file_copy(__dirname+_0x3477cc(0x91),_0x432078),console[_0x3477cc(0x93)](_0x3477cc(0x94)),process[_0x3477cc(0x9a)](0x0)):(console[_0x3477cc(0x93)](_0x3477cc(0x9d)),process['exit'](0x0));};
@@ -1 +1 @@
1
- function a14_0xdbfa(_0x170a1b,_0x51bbe7){const _0x264351=a14_0x2643();return a14_0xdbfa=function(_0xdbfa9e,_0x4d7ff1){_0xdbfa9e=_0xdbfa9e-0x66;let _0x4681de=_0x264351[_0xdbfa9e];return _0x4681de;},a14_0xdbfa(_0x170a1b,_0x51bbe7);}const a14_0x2d9de9=a14_0xdbfa;(function(_0x45053d,_0x36e6e9){const _0x1ba2b9=a14_0xdbfa,_0x299c9a=_0x45053d();while(!![]){try{const _0x159c97=parseInt(_0x1ba2b9(0x98))/0x1+parseInt(_0x1ba2b9(0x7e))/0x2*(parseInt(_0x1ba2b9(0x8b))/0x3)+-parseInt(_0x1ba2b9(0x73))/0x4*(-parseInt(_0x1ba2b9(0x8e))/0x5)+parseInt(_0x1ba2b9(0x84))/0x6+parseInt(_0x1ba2b9(0x71))/0x7+parseInt(_0x1ba2b9(0x6f))/0x8+-parseInt(_0x1ba2b9(0x68))/0x9*(parseInt(_0x1ba2b9(0x7f))/0xa);if(_0x159c97===_0x36e6e9)break;else _0x299c9a['push'](_0x299c9a['shift']());}catch(_0x104b66){_0x299c9a['push'](_0x299c9a['shift']());}}}(a14_0x2643,0xb87db));const os=require('os');exports[a14_0x2d9de9(0x67)]='http://192.168.1.242:10985',exports[a14_0x2d9de9(0x93)]=a14_0x2d9de9(0x8f)+Date[a14_0x2d9de9(0x8a)](),exports[a14_0x2d9de9(0x7b)]={'common':{'token':a14_0x2d9de9(0x7d),'projectId':0x117},'react-admin-component':{'token':a14_0x2d9de9(0x89),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x2d9de9(0x83),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x2d9de9(0x7c),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x2d9de9(0x77),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x2d9de9(0x76),'projectId':0x153}},exports[a14_0x2d9de9(0x78)]=os[a14_0x2d9de9(0x75)]()+'\x5c'+exports[a14_0x2d9de9(0x93)],exports['CLI_DVA_ROUTER_SPA']=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports['CLI_DVA_ROUTER_SAAS']=__dirname+a14_0x2d9de9(0x69),exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports['CLI_DVA_REGISTER_SAAS']=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a14_0x2d9de9(0x6d)]=a14_0x2d9de9(0x80),exports[a14_0x2d9de9(0x82)]=a14_0x2d9de9(0x81),exports[a14_0x2d9de9(0x85)]=[{'path':a14_0x2d9de9(0x70),'replace':[[a14_0x2d9de9(0x96),'jjb-react-admin-component']]},{'path':a14_0x2d9de9(0x90),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x2d9de9(0x7a)],[a14_0x2d9de9(0x96),a14_0x2d9de9(0x91)]]}],exports[a14_0x2d9de9(0x6b)]=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();','return\x20process.env;']]}],exports[a14_0x2d9de9(0x6a)]=[{'path':a14_0x2d9de9(0x70),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a14_0x2d9de9(0x79)]=[{'path':'\x5cEditor\x5cindex.js','replace':[['common/http','jjb-common/http'],[a14_0x2d9de9(0x87),a14_0x2d9de9(0x92)],[a14_0x2d9de9(0x97),a14_0x2d9de9(0x72)]]},{'path':a14_0x2d9de9(0x74),'replace':[[a14_0x2d9de9(0x95),'jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools','jjb-common/tools']]},{'path':a14_0x2d9de9(0x94),'replace':[['common/http',a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),a14_0x2d9de9(0x72)]]},{'path':a14_0x2d9de9(0x6e),'replace':[[a14_0x2d9de9(0x6c),a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),'jjb-common/tools']]},{'path':a14_0x2d9de9(0x8d),'replace':[[a14_0x2d9de9(0x6c),a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),'jjb-common/tools']]},{'path':a14_0x2d9de9(0x88),'replace':[[a14_0x2d9de9(0x95),'jjb-common/color']]},{'path':a14_0x2d9de9(0x66),'replace':[['common/tools',a14_0x2d9de9(0x72)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a14_0x2d9de9(0x99),a14_0x2d9de9(0x8c)],[a14_0x2d9de9(0x97),'jjb-common/tools']]}];function a14_0x2643(){const _0x59b9bc=['COMPONENTS_CONTENT_REPLACE','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','CLOUD_PROJECT','e9njpBd1nS_LREN8GFpR','G4HJRsHr9D7Ssmixegw2','170VUPMLS','38478490dIIlBd','\x5cdva\x5cautomatic\x5crouter.js','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_REGISTER_PATH','hLqARY89CN6fUD3yg4NL','92076SZcZRd','COMMON_CONTENT_NOR_REPLACE','jjb-common/http','common/crypto','\x5cPageHeaderBar\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','now','9243lIrqJq','jjb-common/website','\x5cImageUploader\x5cindex.js','14845kRaTut','jjbAssembly_','\x5cwebsite\x5cindex.js','jjb-react-admin-component','jjb-common/crypto','GIT_TEMP_DIR','\x5cFileUploader\x5cindex.js','common/color','components','common/tools','1440180RfNJcg','common/website','\x5cRouterContainer\x5cindex.js','GIT_HOST','9FIQybk','\x5c..\x5ccli.dva.router.saas.txt','COMMON_CONTENT_MICRO_REPLACE','COMMON_CONTENT_SPA_REPLACE','common/http','CLI_DVA_ROUTER_PATH','\x5cImageCropper\x5cindex.js','457952uPymxb','\x5ctools\x5cindex.js','10117205HAZwFW','jjb-common/tools','1864qbUVDH','\x5cRejectText\x5cindex.js','tmpdir','d4wQ7dzEjYPsgVbKnYei','gPSit8aJsLVmNzuQ5Cy4','TEMPLATE_FOLDER'];a14_0x2643=function(){return _0x59b9bc;};return a14_0x2643();}
1
+ function a14_0x3033(_0x22da33,_0x34be01){const _0x884993=a14_0x8849();return a14_0x3033=function(_0x303345,_0x1f06f3){_0x303345=_0x303345-0x10b;let _0x17f64e=_0x884993[_0x303345];return _0x17f64e;},a14_0x3033(_0x22da33,_0x34be01);}const a14_0x259a21=a14_0x3033;(function(_0x5a0136,_0xa5b7a){const _0x4f1e11=a14_0x3033,_0x405eb5=_0x5a0136();while(!![]){try{const _0x57851e=-parseInt(_0x4f1e11(0x143))/0x1*(-parseInt(_0x4f1e11(0x11a))/0x2)+parseInt(_0x4f1e11(0x124))/0x3*(parseInt(_0x4f1e11(0x11b))/0x4)+parseInt(_0x4f1e11(0x122))/0x5+parseInt(_0x4f1e11(0x135))/0x6*(parseInt(_0x4f1e11(0x111))/0x7)+parseInt(_0x4f1e11(0x110))/0x8+-parseInt(_0x4f1e11(0x13d))/0x9+-parseInt(_0x4f1e11(0x12e))/0xa*(parseInt(_0x4f1e11(0x116))/0xb);if(_0x57851e===_0xa5b7a)break;else _0x405eb5['push'](_0x405eb5['shift']());}catch(_0x1e4598){_0x405eb5['push'](_0x405eb5['shift']());}}}(a14_0x8849,0xdd4f1));const os=require('os');exports[a14_0x259a21(0x130)]=a14_0x259a21(0x137),exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a14_0x259a21(0x121)](),exports['CLOUD_PROJECT']={'common':{'token':a14_0x259a21(0x10b),'projectId':0x117},'react-admin-component':{'token':a14_0x259a21(0x118),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x259a21(0x133),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x259a21(0x12b),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x259a21(0x129),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x259a21(0x10f),'projectId':0x153}},exports[a14_0x259a21(0x140)]=os[a14_0x259a21(0x120)]()+'\x5c'+exports[a14_0x259a21(0x131)],exports[a14_0x259a21(0x113)]=__dirname+a14_0x259a21(0x114),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a14_0x259a21(0x141),exports[a14_0x259a21(0x12f)]=__dirname+a14_0x259a21(0x115),exports[a14_0x259a21(0x112)]=__dirname+a14_0x259a21(0x10e),exports[a14_0x259a21(0x13f)]=a14_0x259a21(0x132),exports[a14_0x259a21(0x13a)]=a14_0x259a21(0x11c),exports[a14_0x259a21(0x117)]=[{'path':a14_0x259a21(0x11f),'replace':[[a14_0x259a21(0x142),a14_0x259a21(0x138)]]},{'path':a14_0x259a21(0x10d),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x259a21(0x13b)],[a14_0x259a21(0x142),a14_0x259a21(0x138)]]}],exports[a14_0x259a21(0x134)]=[{'path':a14_0x259a21(0x11f),'replace':[['return\x20__planA();',a14_0x259a21(0x12a)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a14_0x259a21(0x11f),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':'\x5cEditor\x5cindex.js','replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],[a14_0x259a21(0x11e),'jjb-common/crypto'],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x119),'replace':[['common/color','jjb-common/color']]},{'path':a14_0x259a21(0x12d),'replace':[[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x11d),'replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],['common/tools',a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x139),'replace':[[a14_0x259a21(0x128),a14_0x259a21(0x125)],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x13c),'replace':[['common/http','jjb-common/http'],[a14_0x259a21(0x12c),'jjb-common/tools']]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a14_0x259a21(0x13e),a14_0x259a21(0x10c)]]},{'path':a14_0x259a21(0x127),'replace':[[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]},{'path':a14_0x259a21(0x123),'replace':[['common/website',a14_0x259a21(0x136)],[a14_0x259a21(0x12c),a14_0x259a21(0x126)]]}];function a14_0x8849(){const _0x365d91=['gPSit8aJsLVmNzuQ5Cy4','return\x20process.env;','e9njpBd1nS_LREN8GFpR','common/tools','\x5cRouterMenu\x5cindex.js','10XTsmbO','CLI_DVA_REGISTER_SPA','GIT_HOST','GIT_TEMP_DIR','\x5cdva\x5cautomatic\x5crouter.js','hLqARY89CN6fUD3yg4NL','COMMON_CONTENT_SPA_REPLACE','6UIuvUt','jjb-common/website','http://192.168.1.242:10985','jjb-react-admin-component','\x5cImageCropper\x5cindex.js','CLI_DVA_REGISTER_PATH','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cImageUploader\x5cindex.js','4143123elJJUx','common/color','CLI_DVA_ROUTER_PATH','TEMPLATE_FOLDER','\x5c..\x5ccli.dva.router.saas.txt','components','5RllCOk','G4HJRsHr9D7Ssmixegw2','jjb-common/color','\x5cwebsite\x5cindex.js','\x5c..\x5ccli.dva.register.saas.txt','d4wQ7dzEjYPsgVbKnYei','5268736bfzQSM','53557oBlnCy','CLI_DVA_REGISTER_SAAS','CLI_DVA_ROUTER_SPA','\x5c..\x5ccli.dva.router.spa.txt','\x5c..\x5ccli.dva.register.spa.txt','12829377sWIxqA','COMMON_CONTENT_NOR_REPLACE','FT3pKzxpRynFkmddJ9Bs','\x5cRejectText\x5cindex.js','166174GfeEcv','21536Imyrvh','\x5cdva\x5cautomatic\x5cregister.js','\x5cFileUploader\x5cindex.js','common/crypto','\x5ctools\x5cindex.js','tmpdir','now','2384765coyChu','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','543JAWVoZ','jjb-common/http','jjb-common/tools','\x5cRouterContainer\x5cindex.js','common/http'];a14_0x8849=function(){return _0x365d91;};return a14_0x8849();}
@@ -1 +1 @@
1
- const a15_0xaf3558=a15_0x3846;function a15_0x3846(_0x620273,_0x54e82e){const _0x107f44=a15_0x107f();return a15_0x3846=function(_0x3846ae,_0xcbbeb7){_0x3846ae=_0x3846ae-0xd0;let _0xdfb6c8=_0x107f44[_0x3846ae];return _0xdfb6c8;},a15_0x3846(_0x620273,_0x54e82e);}(function(_0x23f024,_0x1453a1){const _0x552e6a=a15_0x3846,_0x44a530=_0x23f024();while(!![]){try{const _0x3933be=parseInt(_0x552e6a(0x107))/0x1+parseInt(_0x552e6a(0xda))/0x2*(-parseInt(_0x552e6a(0x10c))/0x3)+parseInt(_0x552e6a(0xd0))/0x4+-parseInt(_0x552e6a(0xef))/0x5+-parseInt(_0x552e6a(0xd1))/0x6+parseInt(_0x552e6a(0x10a))/0x7+-parseInt(_0x552e6a(0xdd))/0x8*(-parseInt(_0x552e6a(0xfc))/0x9);if(_0x3933be===_0x1453a1)break;else _0x44a530['push'](_0x44a530['shift']());}catch(_0x2f066e){_0x44a530['push'](_0x44a530['shift']());}}}(a15_0x107f,0x52538));function a15_0x107f(){const _0x4d4058=['forEach','\x20}\x20from\x20\x27./','compress','1746750qeHtda','readdirSync','src','.gitignore','importList','./tools','micro-spa','existsSync','log','1.0.0','now','\x5cdva\x5cautomatic','readFileSync','4428531YFhPrx','export\x20{\x20default\x20as\x20','unlinkSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','toString','close','join','src\x5c','zip','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','pipe','195196JFgigc','compressing','rmdirSync','2472981vLcWqA','push','375uSgtWw','\x5cindex.js','writeFileSync','.idea','exit','【Error】:安装失败,src目录不存在。','length','import_list','2493848qKWiLj','3842652URgeCW','node_modules','package.json','uncompress','mkdirSync','jjb-common','_zip','replace','map','5392PyjQtD','【jjb-cmd】:install命令执行完成,用时','spa','8VPUTtX','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','projectType','find','setting.json','./config','filter','repository','path','installTarget','react-admin-component','installResources','index.js','name','includes'];a15_0x107f=function(){return _0x4d4058;};return a15_0x107f();}const fs=require('fs'),path=require(a15_0xaf3558(0xe5)),request=require('request'),compressing=require(a15_0xaf3558(0x108)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0xaf3558(0xf4)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0xaf3558(0xe2)),start_time=Date['now']();module['exports']=()=>{const _0x8fc819=a15_0xaf3558,_0xaa22d3=path['resolve']('./'),_0x17bf46=[_0xaa22d3,_0x8fc819(0x103)][_0x8fc819(0x102)]('\x5c'),_0xc269a8=[_0xaa22d3,'node_modules'][_0x8fc819(0x102)]('\x5c'),_0x449289=[_0xaa22d3,_0x8fc819(0xd3)][_0x8fc819(0x102)]('\x5c');if(f_scan_jjb_config_json(_0xaa22d3)){const _0x5687da=f_scan_jjb_config_json_rules(_0xaa22d3);_0x5687da[_0x8fc819(0xe6)]===_0x8fc819(0xd2)?!fs[_0x8fc819(0xf6)](_0xc269a8)?(console['log']('【Error】:安装失败,node_modules目录不存在。'),process[_0x8fc819(0x110)](0x0)):console['log'](_0x8fc819(0xde)):!fs['existsSync'](_0x17bf46)&&(console[_0x8fc819(0xf7)](_0x8fc819(0x111)),process[_0x8fc819(0x110)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5687da[_0x8fc819(0xe8)])[_0x8fc819(0xd9)](_0x9308c6=>{const _0x33a8d8=_0x8fc819,_0x1d3df8=fs['createWriteStream'](_0x9308c6[_0x33a8d8(0xe5)]);request(_0x9308c6[_0x33a8d8(0xe4)])[_0x33a8d8(0x106)](_0x1d3df8)['on'](_0x33a8d8(0x101),()=>{const _0x331554=_0x33a8d8;fs[_0x331554(0xd5)](_0x9308c6[_0x331554(0xee)]),compressing[_0x331554(0x104)][_0x331554(0xd4)](_0x9308c6['path'],_0x9308c6[_0x331554(0xee)]);});});const _0x81319c=setInterval(()=>{const _0xcb1ffd=_0x8fc819,_0x1dc595=fs[_0xcb1ffd(0xf0)](TEMPLATE_FOLDER),_0x2f3c0a=_0x1dc595['filter'](_0x40bcb6=>_0x5687da[_0xcb1ffd(0xe8)]['map'](_0x224514=>_0x224514[_0xcb1ffd(0xea)]+'_zip')[_0xcb1ffd(0xeb)](_0x40bcb6));if(_0x2f3c0a[_0xcb1ffd(0x112)]===_0x5687da[_0xcb1ffd(0xe8)][_0xcb1ffd(0x112)]){clearInterval(_0x81319c);const _0x388459=[];_0x2f3c0a[_0xcb1ffd(0xec)](_0x1eb2b6=>{const _0x488b55=_0xcb1ffd,_0x4029d5=[TEMPLATE_FOLDER,_0x1eb2b6]['join']('\x5c');fs[_0x488b55(0xf0)](_0x4029d5)[_0x488b55(0xec)](_0x153be3=>_0x388459['push']({'name':_0x1eb2b6,'path':[_0x4029d5,_0x153be3][_0x488b55(0x102)]('\x5c'),'pure_name':_0x1eb2b6[_0x488b55(0xd8)](/_zip$/,''),'import_list':_0x5687da[_0x488b55(0xe8)][_0x488b55(0xe0)](_0x17ebcb=>_0x17ebcb[_0x488b55(0xea)]+_0x488b55(0xd7)===_0x1eb2b6)[_0x488b55(0xf3)]}));}),_0x388459[_0xcb1ffd(0xec)](_0x47b5f4=>{const _0x314d51=_0xcb1ffd,_0x113ec3=_0x47b5f4['pure_name'],_0x2c6942=_0x47b5f4[_0x314d51(0x113)],_0x4205db=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0x10f)]['join']('//'),_0x1108a8=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0xf2)][_0x314d51(0x102)]('//');fs[_0x314d51(0xf6)](_0x4205db)&&(f_rm_rf(_0x4205db),fs[_0x314d51(0x109)](_0x4205db));fs[_0x314d51(0xf6)](_0x1108a8)&&fs[_0x314d51(0xfe)](_0x1108a8);if(_0x2c6942[_0x314d51(0x112)]){fs['readdirSync'](_0x47b5f4[_0x314d51(0xe5)])[_0x314d51(0xe3)](_0x4c7d31=>!_0x2c6942[_0x314d51(0xeb)](_0x4c7d31)&&_0x4c7d31!==_0x314d51(0xe9)&&_0x4c7d31!==_0x314d51(0xe1))['forEach'](_0x9c184d=>{const _0x25e646=_0x314d51,_0x4d9cbd=_0x47b5f4[_0x25e646(0xe5)]+'\x5c'+_0x9c184d;f_rm_rf(_0x4d9cbd),fs['rmdirSync'](_0x4d9cbd);});if(_0x113ec3==='react-admin-component'){const _0x49eae6=[];fs[_0x314d51(0xf0)](_0x47b5f4[_0x314d51(0xe5)])[_0x314d51(0xe3)](_0x4b25a7=>_0x4b25a7!==_0x314d51(0xe9))[_0x314d51(0xec)](_0x399832=>{const _0x406158=_0x314d51;_0x399832==='RouterContainer'?_0x49eae6[_0x406158(0x10b)](_0x406158(0xff)):_0x49eae6[_0x406158(0x10b)](_0x406158(0xfd)+_0x399832+_0x406158(0xed)+_0x399832+'\x27;');}),fs[_0x314d51(0x10e)](_0x47b5f4[_0x314d51(0xe5)]+_0x314d51(0x10d),_0x49eae6[_0x314d51(0x102)]('\x0a'));}}if(_0x113ec3===_0x314d51(0xd6)){const _0x3bd3a5=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0xfa)][_0x314d51(0x102)]('\x5c');if([_0x314d51(0xdc),'micro-spa']['includes'](_0x5687da[_0x314d51(0xdf)]))fs[_0x314d51(0xf6)](_0x3bd3a5)&&(f_content_replace(_0x5687da['projectType']===_0x314d51(0xdc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x47b5f4[_0x314d51(0xe5)]),fs['writeFileSync'](_0x47b5f4['path']+CLI_DVA_ROUTER_PATH,fs[_0x314d51(0xfb)](_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xdc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x314d51(0x100)]()),fs[_0x314d51(0x10e)](_0x47b5f4['path']+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xdc)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x314d51(0x100)]()));else _0x5687da[_0x314d51(0xdf)]==='multi'&&(fs[_0x314d51(0xf6)](_0x3bd3a5)&&(f_rm_rf(_0x3bd3a5),fs[_0x314d51(0x109)](_0x3bd3a5)));}else{if(_0x113ec3===_0x314d51(0xe7))_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xf5)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x47b5f4[_0x314d51(0xe5)]);else{if(_0x113ec3==='vue-unisass-component'){}}}if(_0x5687da[_0x314d51(0xe6)]===_0x314d51(0xd2)){const _0x12c687=_0x113ec3;fs['existsSync'](_0xc269a8+'\x5c'+_0x12c687)?f_rm_rf(_0xc269a8+'\x5c'+_0x12c687):fs[_0x314d51(0xd5)](_0xc269a8+'\x5c'+_0x12c687),f_file_copy(_0x47b5f4[_0x314d51(0xe5)],_0xc269a8+'\x5c'+_0x12c687),f_create_package_json(_0xc269a8+'\x5c'+_0x12c687,_0x12c687,_0x314d51(0xf8)),f_update_project_package_json(_0x449289,_0x12c687,_0x314d51(0xf8));}else{if(_0x5687da['installTarget']===_0x314d51(0xf1)){const _0x1e93bb=_0x314d51(0xe7);fs[_0x314d51(0xf6)](_0x17bf46+_0x1e93bb)?f_rm_rf(_0x17bf46+_0x1e93bb):fs[_0x314d51(0xd5)](_0x17bf46+_0x1e93bb),f_file_copy(_0x47b5f4[_0x314d51(0xe5)],_0x17bf46+_0x1e93bb);}}}),setTimeout(()=>{const _0x9c0429=_0xcb1ffd;f_rm_rf(TEMPLATE_FOLDER),fs[_0x9c0429(0x109)](TEMPLATE_FOLDER);const _0x3b37e7=Date[_0x9c0429(0xf9)]();console[_0x9c0429(0xf7)](_0x9c0429(0xdb)+(_0x3b37e7-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x8fc819(0xf7)](_0x8fc819(0x105));};
1
+ const a15_0x4d6e48=a15_0x2de4;(function(_0x5111bb,_0x125e32){const _0x5addb1=a15_0x2de4,_0x18ded2=_0x5111bb();while(!![]){try{const _0x323d2c=-parseInt(_0x5addb1(0x22b))/0x1*(parseInt(_0x5addb1(0x22e))/0x2)+-parseInt(_0x5addb1(0x217))/0x3+parseInt(_0x5addb1(0x207))/0x4*(parseInt(_0x5addb1(0x21e))/0x5)+parseInt(_0x5addb1(0x219))/0x6+parseInt(_0x5addb1(0x1f3))/0x7+-parseInt(_0x5addb1(0x212))/0x8*(parseInt(_0x5addb1(0x215))/0x9)+-parseInt(_0x5addb1(0x22d))/0xa*(-parseInt(_0x5addb1(0x208))/0xb);if(_0x323d2c===_0x125e32)break;else _0x18ded2['push'](_0x18ded2['shift']());}catch(_0x45a29c){_0x18ded2['push'](_0x18ded2['shift']());}}}(a15_0x4fea,0xbfbb5));const fs=require('fs'),path=require(a15_0x4d6e48(0x1fd)),request=require(a15_0x4d6e48(0x231)),compressing=require(a15_0x4d6e48(0x20c)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0x4d6e48(0x228)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0x4d6e48(0x211)),start_time=Date[a15_0x4d6e48(0x20a)]();function a15_0x2de4(_0xfab648,_0x23eb69){const _0x4fea7f=a15_0x4fea();return a15_0x2de4=function(_0x2de403,_0x4749e6){_0x2de403=_0x2de403-0x1ef;let _0x1ab82c=_0x4fea7f[_0x2de403];return _0x1ab82c;},a15_0x2de4(_0xfab648,_0x23eb69);}function a15_0x4fea(){const _0x205d87=['91710BlYisH','readdirSync','236961aIZxTK','forEach','6147672nXNeat','\x5cindex.js','map','repository','vue-unisass-component','4494155AVJXWS','installResources','react-admin-component','index.js','\x5cdva\x5cautomatic','resolve','src','micro-spa','rmdirSync','export\x20{\x20default\x20as\x20','./tools','multi','installTarget','26YYrTPN','createWriteStream','4960110dgFIQT','58108UtYpsy','zip','writeFileSync','request','readFileSync','mkdirSync','push','includes','projectType','name','1.0.0','1700643FAtvey','package.json','_zip','pure_name','filter','exit','pipe','uncompress','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','replace','path','compress','.gitignore','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','existsSync','spa','node_modules','join','\x20}\x20from\x20\x27./','.idea','4HaRPwp','22oZFDqC','jjb-common','now','toString','compressing','length','setting.json','find','close','./config','1208ELgbqd','log','src\x5c'];a15_0x4fea=function(){return _0x205d87;};return a15_0x4fea();}module['exports']=()=>{const _0x31cfe9=a15_0x4d6e48,_0x52bfa0=path[_0x31cfe9(0x223)]('./'),_0x412995=[_0x52bfa0,_0x31cfe9(0x214)][_0x31cfe9(0x204)]('\x5c'),_0x3eab13=[_0x52bfa0,_0x31cfe9(0x203)][_0x31cfe9(0x204)]('\x5c'),_0x1e638e=[_0x52bfa0,_0x31cfe9(0x1f4)]['join']('\x5c');if(f_scan_jjb_config_json(_0x52bfa0)){const _0x56abe5=f_scan_jjb_config_json_rules(_0x52bfa0);_0x56abe5[_0x31cfe9(0x22a)]===_0x31cfe9(0x203)?!fs[_0x31cfe9(0x201)](_0x3eab13)?(console[_0x31cfe9(0x213)]('【Error】:安装失败,node_modules目录不存在。'),process[_0x31cfe9(0x1f8)](0x0)):console[_0x31cfe9(0x213)](_0x31cfe9(0x1fb)):!fs[_0x31cfe9(0x201)](_0x412995)&&(console['log']('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x31cfe9(0x233)](TEMPLATE_FOLDER),f_pull_git_repository(_0x56abe5[_0x31cfe9(0x21f)])[_0x31cfe9(0x21b)](_0x17af38=>{const _0x193df8=_0x31cfe9,_0xfa6efe=fs[_0x193df8(0x22c)](_0x17af38[_0x193df8(0x1fd)]);request(_0x17af38[_0x193df8(0x21c)])[_0x193df8(0x1f9)](_0xfa6efe)['on'](_0x193df8(0x210),()=>{const _0x2523de=_0x193df8;fs[_0x2523de(0x233)](_0x17af38[_0x2523de(0x1fe)]),compressing[_0x2523de(0x22f)][_0x2523de(0x1fa)](_0x17af38[_0x2523de(0x1fd)],_0x17af38[_0x2523de(0x1fe)]);});});const _0x180018=setInterval(()=>{const _0x3cf6e5=_0x31cfe9,_0x526c5e=fs[_0x3cf6e5(0x216)](TEMPLATE_FOLDER),_0x3162ab=_0x526c5e[_0x3cf6e5(0x1f7)](_0x171d82=>_0x56abe5[_0x3cf6e5(0x21f)][_0x3cf6e5(0x21b)](_0x25690a=>_0x25690a[_0x3cf6e5(0x1f1)]+_0x3cf6e5(0x1f5))[_0x3cf6e5(0x1ef)](_0x171d82));if(_0x3162ab['length']===_0x56abe5[_0x3cf6e5(0x21f)][_0x3cf6e5(0x20d)]){clearInterval(_0x180018);const _0x3419ca=[];_0x3162ab['forEach'](_0x271201=>{const _0x469ee1=_0x3cf6e5,_0x128f20=[TEMPLATE_FOLDER,_0x271201]['join']('\x5c');fs[_0x469ee1(0x216)](_0x128f20)['forEach'](_0x45cb18=>_0x3419ca[_0x469ee1(0x234)]({'name':_0x271201,'path':[_0x128f20,_0x45cb18]['join']('\x5c'),'pure_name':_0x271201[_0x469ee1(0x1fc)](/_zip$/,''),'import_list':_0x56abe5[_0x469ee1(0x21f)][_0x469ee1(0x20f)](_0x38c1f7=>_0x38c1f7[_0x469ee1(0x1f1)]+_0x469ee1(0x1f5)===_0x271201)['importList']}));}),_0x3419ca[_0x3cf6e5(0x218)](_0x55644a=>{const _0x3edf6f=_0x3cf6e5,_0x35f5bf=_0x55644a[_0x3edf6f(0x1f6)],_0x419129=_0x55644a['import_list'],_0x3d11d3=[_0x55644a['path'],_0x3edf6f(0x206)][_0x3edf6f(0x204)]('//'),_0x5b763c=[_0x55644a[_0x3edf6f(0x1fd)],_0x3edf6f(0x1ff)][_0x3edf6f(0x204)]('//');fs[_0x3edf6f(0x201)](_0x3d11d3)&&(f_rm_rf(_0x3d11d3),fs[_0x3edf6f(0x226)](_0x3d11d3));fs[_0x3edf6f(0x201)](_0x5b763c)&&fs['unlinkSync'](_0x5b763c);if(_0x419129[_0x3edf6f(0x20d)]){fs[_0x3edf6f(0x216)](_0x55644a[_0x3edf6f(0x1fd)])['filter'](_0x22a31d=>!_0x419129[_0x3edf6f(0x1ef)](_0x22a31d)&&_0x22a31d!==_0x3edf6f(0x221)&&_0x22a31d!==_0x3edf6f(0x20e))[_0x3edf6f(0x218)](_0x36bf71=>{const _0x38422b=_0x3edf6f,_0x3f3bbd=_0x55644a[_0x38422b(0x1fd)]+'\x5c'+_0x36bf71;f_rm_rf(_0x3f3bbd),fs[_0x38422b(0x226)](_0x3f3bbd);});if(_0x35f5bf==='react-admin-component'){const _0x14586d=[];fs[_0x3edf6f(0x216)](_0x55644a[_0x3edf6f(0x1fd)])[_0x3edf6f(0x1f7)](_0x5f4846=>_0x5f4846!=='index.js')[_0x3edf6f(0x218)](_0x51f513=>{const _0xff25c3=_0x3edf6f;_0x51f513==='RouterContainer'?_0x14586d['push'](_0xff25c3(0x200)):_0x14586d[_0xff25c3(0x234)](_0xff25c3(0x227)+_0x51f513+_0xff25c3(0x205)+_0x51f513+'\x27;');}),fs[_0x3edf6f(0x230)](_0x55644a[_0x3edf6f(0x1fd)]+_0x3edf6f(0x21a),_0x14586d[_0x3edf6f(0x204)]('\x0a'));}}if(_0x35f5bf===_0x3edf6f(0x209)){const _0x6e32d2=[_0x55644a[_0x3edf6f(0x1fd)],_0x3edf6f(0x222)][_0x3edf6f(0x204)]('\x5c');if([_0x3edf6f(0x202),'micro-spa'][_0x3edf6f(0x1ef)](_0x56abe5[_0x3edf6f(0x1f0)]))fs['existsSync'](_0x6e32d2)&&(f_content_replace(_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x55644a[_0x3edf6f(0x1fd)]),fs[_0x3edf6f(0x230)](_0x55644a['path']+CLI_DVA_ROUTER_PATH,fs[_0x3edf6f(0x232)](_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs['writeFileSync'](_0x55644a['path']+CLI_DVA_REGISTER_PATH,fs[_0x3edf6f(0x232)](_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x202)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x3edf6f(0x20b)]()));else _0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x229)&&(fs[_0x3edf6f(0x201)](_0x6e32d2)&&(f_rm_rf(_0x6e32d2),fs['rmdirSync'](_0x6e32d2)));}else{if(_0x35f5bf===_0x3edf6f(0x220))_0x56abe5[_0x3edf6f(0x1f0)]===_0x3edf6f(0x225)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x55644a[_0x3edf6f(0x1fd)]);else{if(_0x35f5bf===_0x3edf6f(0x21d)){}}}if(_0x56abe5[_0x3edf6f(0x22a)]===_0x3edf6f(0x203)){const _0x46abe7=_0x35f5bf;fs[_0x3edf6f(0x201)](_0x3eab13+'\x5c'+_0x46abe7)?f_rm_rf(_0x3eab13+'\x5c'+_0x46abe7):fs[_0x3edf6f(0x233)](_0x3eab13+'\x5c'+_0x46abe7),f_file_copy(_0x55644a[_0x3edf6f(0x1fd)],_0x3eab13+'\x5c'+_0x46abe7),f_create_package_json(_0x3eab13+'\x5c'+_0x46abe7,_0x46abe7,'1.0.0'),f_update_project_package_json(_0x1e638e,_0x46abe7,_0x3edf6f(0x1f2));}else{if(_0x56abe5['installTarget']===_0x3edf6f(0x224)){const _0x1ccfd6=_0x3edf6f(0x220);fs[_0x3edf6f(0x201)](_0x412995+_0x1ccfd6)?f_rm_rf(_0x412995+_0x1ccfd6):fs[_0x3edf6f(0x233)](_0x412995+_0x1ccfd6),f_file_copy(_0x55644a['path'],_0x412995+_0x1ccfd6);}}}),setTimeout(()=>{const _0x2eeac7=_0x3cf6e5;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2eeac7(0x226)](TEMPLATE_FOLDER);const _0x4b8f12=Date[_0x2eeac7(0x20a)]();console[_0x2eeac7(0x213)]('【jjb-cmd】:install命令执行完成,用时'+(_0x4b8f12-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x31cfe9(0x213)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -1 +1 @@
1
- const a16_0x29f6a6=a16_0x29bd;function a16_0x12da(){const _0x43d796=['【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','projectType','{\x22name\x22:\x22','string','stringify','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','existsSync','f_pull_git_repository','40Zytfai','includes','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_rm_rf','exit','mkdirSync','【Error】:[jjb.config.json.installTarget]类型是一个string','\x5cpackage.json','multi','308578pvnZwm','_zip','readdirSync','dependencies','./config','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','installTarget','uniapp','installResources','micro-spa','&ref=master','【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>。','f_update_project_package_json','【Error】:[jjb.config.json.projectType]类型是一个string。','jjb-common-lib','/repository/archive.zip?private_token=','23387wOrjzp','readFileSync','isArray','replace','parse','vue-unisass-component','6748423KSAwRk','statSync','f_scan_jjb_config_json_rules','isDirectory','\x22,\x22main\x22:\x20\x22index.js\x22}','path','【Error】:[jjb.config.json.installResources]无资源。','name','map','rmdirSync','unlinkSync','jjb-dva-runtime','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','projectId','writeFileSync','react-admin-component','793cKgkAG','1181637zSNwaT','f_create_package_json','f_resolve_install_resources','3zXHISH','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','f_file_copy','jjb-common-decorator','440qYdMat','log','878236CuYpde','1494jCeClE','push','token','/api/v4/projects/','length','filter','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','jjb-common','27992LnSXOd','\x5cjjb.config.json','toString','88932XUBzfs','10hVqKPi','forEach'];a16_0x12da=function(){return _0x43d796;};return a16_0x12da();}(function(_0x3be9de,_0x2a924e){const _0x44af55=a16_0x29bd,_0x149345=_0x3be9de();while(!![]){try{const _0x5d901c=parseInt(_0x44af55(0x206))/0x1+-parseInt(_0x44af55(0x1e6))/0x2*(-parseInt(_0x44af55(0x1e0))/0x3)+-parseInt(_0x44af55(0x1ef))/0x4*(-parseInt(_0x44af55(0x1e4))/0x5)+-parseInt(_0x44af55(0x1e7))/0x6*(-parseInt(_0x44af55(0x1c6))/0x7)+parseInt(_0x44af55(0x1fd))/0x8*(-parseInt(_0x44af55(0x1dd))/0x9)+-parseInt(_0x44af55(0x1f3))/0xa*(parseInt(_0x44af55(0x1cc))/0xb)+parseInt(_0x44af55(0x1f2))/0xc*(-parseInt(_0x44af55(0x1dc))/0xd);if(_0x5d901c===_0x2a924e)break;else _0x149345['push'](_0x149345['shift']());}catch(_0x1e31cb){_0x149345['push'](_0x149345['shift']());}}}(a16_0x12da,0x73938));function a16_0x29bd(_0x2b1f8f,_0x21cde4){const _0x12da76=a16_0x12da();return a16_0x29bd=function(_0x29bdec,_0x11f318){_0x29bdec=_0x29bdec-0x1bd;let _0x44a424=_0x12da76[_0x29bdec];return _0x44a424;},a16_0x29bd(_0x2b1f8f,_0x21cde4);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x29f6a6(0x20a));exports[a16_0x29f6a6(0x200)]=function(_0x344043){const _0x2be85d=a16_0x29f6a6;if(fs[_0x2be85d(0x1fb)](_0x344043)){const _0x3e2a74=fs['readdirSync'](_0x344043);for(let _0x39b98d=0x0;_0x39b98d<_0x3e2a74[_0x2be85d(0x1eb)];_0x39b98d++){const _0x27ba3e=_0x3e2a74[_0x39b98d],_0x4b6e27=_0x344043+'/'+_0x27ba3e;fs[_0x2be85d(0x1cd)](_0x4b6e27)[_0x2be85d(0x1cf)]()?(exports[_0x2be85d(0x200)](_0x4b6e27),fs[_0x2be85d(0x1d5)](_0x4b6e27)):fs[_0x2be85d(0x1d6)](_0x4b6e27);}}},exports[a16_0x29f6a6(0x1fc)]=function(_0xab8267=[]){return _0xab8267['map'](_0x387f29=>{const _0x4994b7=a16_0x29bd,_0x2a5049=CLOUD_PROJECT[_0x387f29[_0x4994b7(0x1d3)]]||undefined,_0x5d70b3=os['tmpdir']();return{'path':_0x5d70b3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x387f29['name']+'.zip','compress':_0x5d70b3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x387f29[_0x4994b7(0x1d3)]+_0x4994b7(0x207),'repository':GIT_HOST+_0x4994b7(0x1ea)+_0x2a5049[_0x4994b7(0x1d9)]+_0x4994b7(0x1c5)+_0x2a5049[_0x4994b7(0x1e9)]+_0x4994b7(0x1c0)};});},exports['f_scan_jjb_config_json']=function(_0x592ac0){const _0x155eda=a16_0x29f6a6;return fs['existsSync'](_0x592ac0+_0x155eda(0x1f0));},exports[a16_0x29f6a6(0x1ce)]=function(_0x8dfdd){const _0x21b2b0=a16_0x29f6a6;let _0x255674={};try{_0x255674=JSON[_0x21b2b0(0x1ca)](fs[_0x21b2b0(0x1c7)](_0x8dfdd+'\x5cjjb.config.json')[_0x21b2b0(0x1f1)]());}catch(_0x1ef4d9){console[_0x21b2b0(0x1e5)](_0x21b2b0(0x20b)),process[_0x21b2b0(0x201)](0x0);}!(_0x21b2b0(0x1f6)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1f5)),process[_0x21b2b0(0x201)](0x0));!(_0x21b2b0(0x20c)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1ff)),process[_0x21b2b0(0x201)](0x0));!(_0x21b2b0(0x1be)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1e1)),process[_0x21b2b0(0x201)](0x0));typeof _0x255674[_0x21b2b0(0x1f6)]!==_0x21b2b0(0x1f8)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1c3)),process['exit'](0x0));![_0x21b2b0(0x205),'spa',_0x21b2b0(0x1bd),_0x21b2b0(0x1bf)][_0x21b2b0(0x1fe)](_0x255674[_0x21b2b0(0x1f6)])&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1d8)),process['exit'](0x0));typeof _0x255674[_0x21b2b0(0x20c)]!=='string'&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x203)),process[_0x21b2b0(0x201)](0x0));!['node_modules','src'][_0x21b2b0(0x1fe)](_0x255674[_0x21b2b0(0x20c)])&&(console['log'](_0x21b2b0(0x1fa)),process[_0x21b2b0(0x201)](0x0));!Array[_0x21b2b0(0x1c8)](_0x255674[_0x21b2b0(0x1be)])&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1ed)),process['exit'](0x0));_0x255674[_0x21b2b0(0x1be)][_0x21b2b0(0x1eb)]===0x0&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1d2)),process[_0x21b2b0(0x201)](0x0));const _0x18190d=exports[_0x21b2b0(0x1df)](_0x255674[_0x21b2b0(0x1be)]);return _0x18190d[_0x21b2b0(0x1d4)](_0xab351a=>_0xab351a[_0x21b2b0(0x1d3)])[_0x21b2b0(0x1ec)](_0x42c02a=>![_0x21b2b0(0x1ee),_0x21b2b0(0x1d7),_0x21b2b0(0x1c4),_0x21b2b0(0x1e3),_0x21b2b0(0x1db),_0x21b2b0(0x1cb)]['includes'](_0x42c02a))[_0x21b2b0(0x1eb)]!==0x0&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1c1)),process[_0x21b2b0(0x201)](0x0)),_0x255674['installResources']=_0x18190d,_0x255674;},exports[a16_0x29f6a6(0x1de)]=function(_0x580578,_0x5aecef,_0x2aaeb4){const _0x2e2010=a16_0x29f6a6;fs['writeFileSync'](_0x580578+_0x2e2010(0x204),_0x2e2010(0x1f7)+_0x5aecef+'\x22,\x22version\x22:\x22'+_0x2aaeb4+_0x2e2010(0x1d0));},exports[a16_0x29f6a6(0x1df)]=function(_0x335313=[]){const _0x2cfbb6=a16_0x29f6a6,_0xad87a4=[];return Array[_0x2cfbb6(0x1c8)](_0x335313)&&_0x335313[_0x2cfbb6(0x1f4)](_0x52e0f3=>{const _0x613737=_0x2cfbb6;if(Array['isArray'](_0x52e0f3)){const [_0x3313f4,_0x563933=[]]=_0x52e0f3;_0xad87a4[_0x613737(0x1e8)]({'name':_0x3313f4,'importList':_0x563933});}else _0xad87a4[_0x613737(0x1e8)]({'name':_0x52e0f3,'importList':[]});}),_0xad87a4;},exports[a16_0x29f6a6(0x1c2)]=function(_0x376d85,_0x331a44,_0x2e0b2d){const _0x975d1=a16_0x29f6a6,_0x10ac3e=JSON['parse'](fs[_0x975d1(0x1c7)](_0x376d85)[_0x975d1(0x1f1)]());_0x10ac3e[_0x975d1(0x209)][_0x331a44]=_0x2e0b2d,fs[_0x975d1(0x1da)](_0x376d85,JSON[_0x975d1(0x1f9)](_0x10ac3e,null,0x2));},exports[a16_0x29f6a6(0x1e2)]=function(_0x19848f,_0x1e2bd3){const _0x268d16=a16_0x29f6a6;fs[_0x268d16(0x208)](_0x19848f)[_0x268d16(0x1f4)](_0x5f4376=>{const _0x21bd0d=_0x268d16,_0x573856=_0x19848f+'\x5c'+_0x5f4376,_0x32753e=_0x1e2bd3+'\x5c'+_0x5f4376;fs[_0x21bd0d(0x1cd)](_0x573856)['isDirectory']()?(fs[_0x21bd0d(0x202)](_0x32753e),exports[_0x21bd0d(0x1e2)](_0x573856,_0x32753e)):fs[_0x21bd0d(0x1da)](_0x32753e,fs['readFileSync'](_0x573856)[_0x21bd0d(0x1f1)]());});},exports['f_content_replace']=function(_0xcc4718=[],_0x35db4f){const _0x3833ea=a16_0x29f6a6;_0xcc4718[_0x3833ea(0x1f4)](_0x59e91c=>{const _0x5fa6e9=_0x3833ea,_0x196512=_0x35db4f+_0x59e91c[_0x5fa6e9(0x1d1)];if(fs['existsSync'](_0x196512)){let _0x3248b6=fs[_0x5fa6e9(0x1c7)](_0x196512)[_0x5fa6e9(0x1f1)]();_0x59e91c[_0x5fa6e9(0x1c9)]['forEach'](_0x4187b5=>{_0x3248b6=_0x3248b6['replace'](_0x4187b5[0x0],_0x4187b5[0x1]);}),fs[_0x5fa6e9(0x1da)](_0x196512,_0x3248b6);}});};
1
+ const a16_0x21b42f=a16_0x6e6f;function a16_0x587e(){const _0x2ef4c1=['f_resolve_install_resources','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','parse','jjb-dva-runtime','\x5cpackage.json','f_file_copy','string','isArray','【Error】:[jjb.config.json.installResources]无资源。','dependencies','replace','installTarget','1640914BxeUaV','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','stringify','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readdirSync','2817800XQAAFu','./config','/api/v4/projects/','node_modules','/repository/archive.zip?private_token=','jjb-common-lib','9SkyvJu','exit','src','unlinkSync','jjb-common','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','\x22,\x22version\x22:\x22','includes','toString','175cRwtid','readFileSync','4913704wRJhll','3670074ManVto','forEach','micro-spa','log','projectType','projectId','f_rm_rf','128259LWkhEl','5hyYglu','22410MFQOnm','length','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','_zip','f_update_project_package_json','statSync','rmdirSync','f_content_replace','{\x22name\x22:\x22','map','installResources','push','f_scan_jjb_config_json','react-admin-component','name','existsSync','f_create_package_json','isDirectory','.zip','【Error】:[jjb.config.json.projectType]类型是一个string。','42363570BUyjmg','f_scan_jjb_config_json_rules','vue-unisass-component','writeFileSync','\x5cjjb.config.json','multi','【Error】:[jjb.config.json.installTarget]类型是一个string'];a16_0x587e=function(){return _0x2ef4c1;};return a16_0x587e();}(function(_0x540261,_0x47adf2){const _0x5ab575=a16_0x6e6f,_0x16086f=_0x540261();while(!![]){try{const _0x48a623=parseInt(_0x5ab575(0x139))/0x1+-parseInt(_0x5ab575(0x11b))/0x2+-parseInt(_0x5ab575(0x132))/0x3+-parseInt(_0x5ab575(0x131))/0x4*(parseInt(_0x5ab575(0x13a))/0x5)+-parseInt(_0x5ab575(0x13b))/0x6*(parseInt(_0x5ab575(0x12f))/0x7)+-parseInt(_0x5ab575(0x120))/0x8+parseInt(_0x5ab575(0x126))/0x9*(parseInt(_0x5ab575(0x14f))/0xa);if(_0x48a623===_0x47adf2)break;else _0x16086f['push'](_0x16086f['shift']());}catch(_0x198de5){_0x16086f['push'](_0x16086f['shift']());}}}(a16_0x587e,0x9de77));function a16_0x6e6f(_0x34a89b,_0x1f15d5){const _0x587e9d=a16_0x587e();return a16_0x6e6f=function(_0x6e6f49,_0x59f08a){_0x6e6f49=_0x6e6f49-0x10b;let _0x2d912a=_0x587e9d[_0x6e6f49];return _0x2d912a;},a16_0x6e6f(_0x34a89b,_0x1f15d5);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x21b42f(0x121));exports[a16_0x21b42f(0x138)]=function(_0xf9bd0b){const _0xba53c2=a16_0x21b42f;if(fs['existsSync'](_0xf9bd0b)){const _0x33245d=fs[_0xba53c2(0x11f)](_0xf9bd0b);for(let _0x214c78=0x0;_0x214c78<_0x33245d[_0xba53c2(0x13c)];_0x214c78++){const _0x186aea=_0x33245d[_0x214c78],_0x1dbf5a=_0xf9bd0b+'/'+_0x186aea;fs[_0xba53c2(0x140)](_0x1dbf5a)[_0xba53c2(0x14c)]()?(exports[_0xba53c2(0x138)](_0x1dbf5a),fs[_0xba53c2(0x141)](_0x1dbf5a)):fs[_0xba53c2(0x129)](_0x1dbf5a);}}},exports['f_pull_git_repository']=function(_0x29d13c=[]){const _0x2e0c4f=a16_0x21b42f;return _0x29d13c[_0x2e0c4f(0x144)](_0x4a6786=>{const _0x322e3a=_0x2e0c4f,_0x229c0e=CLOUD_PROJECT[_0x4a6786[_0x322e3a(0x149)]]||undefined,_0xf68ef6=os['tmpdir']();return{'path':_0xf68ef6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a6786[_0x322e3a(0x149)]+_0x322e3a(0x14d),'compress':_0xf68ef6+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a6786[_0x322e3a(0x149)]+_0x322e3a(0x13e),'repository':GIT_HOST+_0x322e3a(0x122)+_0x229c0e[_0x322e3a(0x137)]+_0x322e3a(0x124)+_0x229c0e['token']+'&ref=master'};});},exports[a16_0x21b42f(0x147)]=function(_0x28997e){const _0x43f607=a16_0x21b42f;return fs[_0x43f607(0x14a)](_0x28997e+_0x43f607(0x10c));},exports[a16_0x21b42f(0x150)]=function(_0x29d45c){const _0x316e11=a16_0x21b42f;let _0x4d1784={};try{_0x4d1784=JSON[_0x316e11(0x111)](fs[_0x316e11(0x130)](_0x29d45c+_0x316e11(0x10c))[_0x316e11(0x12e)]());}catch(_0x3b5447){console[_0x316e11(0x135)](_0x316e11(0x12b)),process[_0x316e11(0x127)](0x0);}!(_0x316e11(0x136)in _0x4d1784)&&(console[_0x316e11(0x135)](_0x316e11(0x11c)),process[_0x316e11(0x127)](0x0));!(_0x316e11(0x11a)in _0x4d1784)&&(console[_0x316e11(0x135)](_0x316e11(0x110)),process[_0x316e11(0x127)](0x0));!('installResources'in _0x4d1784)&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x316e11(0x127)](0x0));typeof _0x4d1784[_0x316e11(0x136)]!==_0x316e11(0x115)&&(console['log'](_0x316e11(0x14e)),process[_0x316e11(0x127)](0x0));![_0x316e11(0x10d),'spa','uniapp',_0x316e11(0x134)]['includes'](_0x4d1784[_0x316e11(0x136)])&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x316e11(0x127)](0x0));typeof _0x4d1784[_0x316e11(0x11a)]!==_0x316e11(0x115)&&(console['log'](_0x316e11(0x10e)),process['exit'](0x0));![_0x316e11(0x123),_0x316e11(0x128)]['includes'](_0x4d1784[_0x316e11(0x11a)])&&(console[_0x316e11(0x135)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x316e11(0x127)](0x0));!Array[_0x316e11(0x116)](_0x4d1784[_0x316e11(0x145)])&&(console['log'](_0x316e11(0x11e)),process[_0x316e11(0x127)](0x0));_0x4d1784['installResources'][_0x316e11(0x13c)]===0x0&&(console[_0x316e11(0x135)](_0x316e11(0x117)),process['exit'](0x0));const _0x7c0cdf=exports[_0x316e11(0x10f)](_0x4d1784[_0x316e11(0x145)]);return _0x7c0cdf[_0x316e11(0x144)](_0xb10ea9=>_0xb10ea9[_0x316e11(0x149)])['filter'](_0x52d3c7=>![_0x316e11(0x12a),_0x316e11(0x112),_0x316e11(0x125),'jjb-common-decorator',_0x316e11(0x148),_0x316e11(0x151)][_0x316e11(0x12d)](_0x52d3c7))[_0x316e11(0x13c)]!==0x0&&(console[_0x316e11(0x135)](_0x316e11(0x13d)),process[_0x316e11(0x127)](0x0)),_0x4d1784[_0x316e11(0x145)]=_0x7c0cdf,_0x4d1784;},exports[a16_0x21b42f(0x14b)]=function(_0x44f567,_0x3d1abf,_0x430fa8){const _0x28a8b4=a16_0x21b42f;fs[_0x28a8b4(0x10b)](_0x44f567+_0x28a8b4(0x113),_0x28a8b4(0x143)+_0x3d1abf+_0x28a8b4(0x12c)+_0x430fa8+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a16_0x21b42f(0x10f)]=function(_0x2c6c9e=[]){const _0x1ee431=a16_0x21b42f,_0x2a530e=[];return Array['isArray'](_0x2c6c9e)&&_0x2c6c9e[_0x1ee431(0x133)](_0x3029a7=>{const _0x57f889=_0x1ee431;if(Array[_0x57f889(0x116)](_0x3029a7)){const [_0x193c1b,_0x336e37=[]]=_0x3029a7;_0x2a530e[_0x57f889(0x146)]({'name':_0x193c1b,'importList':_0x336e37});}else _0x2a530e['push']({'name':_0x3029a7,'importList':[]});}),_0x2a530e;},exports[a16_0x21b42f(0x13f)]=function(_0x5e1de9,_0x180ba6,_0x566ccd){const _0x215782=a16_0x21b42f,_0xf8f8bc=JSON['parse'](fs[_0x215782(0x130)](_0x5e1de9)[_0x215782(0x12e)]());_0xf8f8bc[_0x215782(0x118)][_0x180ba6]=_0x566ccd,fs['writeFileSync'](_0x5e1de9,JSON[_0x215782(0x11d)](_0xf8f8bc,null,0x2));},exports[a16_0x21b42f(0x114)]=function(_0x1137ad,_0x4c5a33){const _0x41ad16=a16_0x21b42f;fs[_0x41ad16(0x11f)](_0x1137ad)[_0x41ad16(0x133)](_0x348c15=>{const _0x4f564f=_0x41ad16,_0x308418=_0x1137ad+'\x5c'+_0x348c15,_0xa22f78=_0x4c5a33+'\x5c'+_0x348c15;fs[_0x4f564f(0x140)](_0x308418)['isDirectory']()?(fs['mkdirSync'](_0xa22f78),exports[_0x4f564f(0x114)](_0x308418,_0xa22f78)):fs['writeFileSync'](_0xa22f78,fs['readFileSync'](_0x308418)[_0x4f564f(0x12e)]());});},exports[a16_0x21b42f(0x142)]=function(_0x12444f=[],_0x3ac4cd){const _0x4675ad=a16_0x21b42f;_0x12444f[_0x4675ad(0x133)](_0x2339b5=>{const _0x59ba10=_0x4675ad,_0x4eb2da=_0x3ac4cd+_0x2339b5['path'];if(fs['existsSync'](_0x4eb2da)){let _0x196233=fs[_0x59ba10(0x130)](_0x4eb2da)['toString']();_0x2339b5['replace'][_0x59ba10(0x133)](_0x411170=>{const _0xa5dc0a=_0x59ba10;_0x196233=_0x196233[_0xa5dc0a(0x119)](_0x411170[0x0],_0x411170[0x1]);}),fs[_0x59ba10(0x10b)](_0x4eb2da,_0x196233);}});};
@@ -1 +1 @@
1
- const a17_0x1f70cc=a17_0x260d;(function(_0x2798d3,_0x35bdbb){const _0x2b85d2=a17_0x260d,_0x296a4a=_0x2798d3();while(!![]){try{const _0x1218be=-parseInt(_0x2b85d2(0x189))/0x1*(parseInt(_0x2b85d2(0x187))/0x2)+parseInt(_0x2b85d2(0x17b))/0x3+parseInt(_0x2b85d2(0x173))/0x4*(-parseInt(_0x2b85d2(0x17d))/0x5)+-parseInt(_0x2b85d2(0x166))/0x6+-parseInt(_0x2b85d2(0x16d))/0x7*(parseInt(_0x2b85d2(0x181))/0x8)+-parseInt(_0x2b85d2(0x17f))/0x9+parseInt(_0x2b85d2(0x172))/0xa;if(_0x1218be===_0x35bdbb)break;else _0x296a4a['push'](_0x296a4a['shift']());}catch(_0x558615){_0x296a4a['push'](_0x296a4a['shift']());}}}(a17_0x34ce,0x88d9a));function a17_0x34ce(){const _0x45af61=['1983501MpUbby','region','171408vnxuiU','from','fileType','map','resolve','split','2eXXdKx','slice','197117QGYrFo','exports','concat','./util.js','1589220ezdpDt','\x27,\x20component:\x20()\x20=>\x20import(\x27','path','DeepScanner','application','{\x20path:\x20\x27','readFileSync','7JmMqaI','router','file','\x27)\x20}','length','5418010aJbnIl','4WNDUNU','CreatePaths','forEach','routerConfig','push','/application','then','pathAdr','2370564PXBSzk','join','338245SavKEd','items'];a17_0x34ce=function(){return _0x45af61;};return a17_0x34ce();}const fs=require('fs'),path=require(a17_0x1f70cc(0x168)),utils=require(a17_0x1f70cc(0x18c));let projectPath='',vesselPath='',commandArr=[];function a17_0x260d(_0x2b7f5a,_0xae0aaa){const _0x34ce27=a17_0x34ce();return a17_0x260d=function(_0x260d78,_0x32d3d5){_0x260d78=_0x260d78-0x166;let _0x331f0b=_0x34ce27[_0x260d78];return _0x331f0b;},a17_0x260d(_0x2b7f5a,_0xae0aaa);}const fromFileData={},applicationJson={};module[a17_0x1f70cc(0x18a)]=(_0x351ad5,_0x9a3e5e)=>{const _0x380754=a17_0x1f70cc;commandArr=_0x351ad5['split'](':'),projectPath=path[_0x380754(0x185)]('./project'),vesselPath=path['resolve']('./vessel/src');let _0x318ba7=vesselPath;_0x9a3e5e==='mp'&&(_0x318ba7=vesselPath+_0x380754(0x178),utils[_0x380754(0x174)](vesselPath,[_0x380754(0x16a)]));const _0x27281b=commandArr[0x1],_0x318c59=JSON['parse'](fs[_0x380754(0x16c)](projectPath+'/'+_0x27281b+'/setting.json')['toString']());TileItems(_0x318c59[_0x380754(0x17e)],()=>{const _0x49ef3b=_0x380754;fromFileData[_0x49ef3b(0x16e)][_0x49ef3b(0x175)](_0x457e0c=>{const _0x54b2a6=_0x49ef3b,_0x2b1d48=_0x457e0c[_0x54b2a6(0x17a)][_0x54b2a6(0x186)](_0x457e0c[_0x54b2a6(0x180)]),_0xb13c79=_0x2b1d48[0x1][_0x54b2a6(0x186)]('/'),_0x265875=_0xb13c79[0x1];!applicationJson[_0x265875]&&(applicationJson[_0x265875]={'routerConfig':[],'routerPath':[]});applicationJson[_0x265875][_0x54b2a6(0x176)][_0x54b2a6(0x177)](_0x54b2a6(0x16b)+_0x457e0c[_0x54b2a6(0x168)]+_0x54b2a6(0x167)+_0x457e0c[_0x54b2a6(0x16f)]+_0x54b2a6(0x170)),applicationJson[_0x265875]['routerPath'][_0x54b2a6(0x177)](_0x457e0c['path']);let _0x31a5ab=_0xb13c79[_0x54b2a6(0x17c)]('/');const _0x2ae915=_0x31a5ab['split']('/');utils[_0x54b2a6(0x174)](_0x318ba7,_0x2ae915[_0x54b2a6(0x188)](0x0,_0x2ae915[_0x54b2a6(0x171)]-0x1))[_0x54b2a6(0x179)](()=>{const _0x5f3a7d=_0x54b2a6,_0x399fc6=fs[_0x5f3a7d(0x16c)](_0x457e0c[_0x5f3a7d(0x17a)])['toString']();fs['writeFileSync'](vesselPath+'/'+_0x31a5ab,_0x399fc6);});});});};function TileItems(_0x494662,_0x4e7fc5){_0x494662['forEach']((_0x3ce4db,_0x311dfb)=>{const _0x27e7ee=a17_0x260d,_0x3cb951=_0x3ce4db['region'];_0x3ce4db['from'][_0x27e7ee(0x175)]((_0x445e43,_0x57b764)=>{const _0x254e19=_0x27e7ee,_0x207b13=[];utils[_0x254e19(0x169)](projectPath+'/'+_0x3cb951+'/'+_0x445e43[_0x254e19(0x16f)],_0x207b13);const _0x309467=_0x207b13[_0x254e19(0x184)](_0x447874=>({'region':_0x3cb951,'pathAdr':_0x447874,..._0x445e43}));!fromFileData[_0x445e43[_0x254e19(0x183)]]?fromFileData[_0x445e43[_0x254e19(0x183)]]=_0x309467:fromFileData[_0x445e43['fileType']]=fromFileData[_0x445e43['fileType']][_0x254e19(0x18b)](_0x309467),_0x311dfb===_0x494662[_0x254e19(0x171)]-0x1&&_0x57b764===_0x3ce4db[_0x254e19(0x182)][_0x254e19(0x171)]-0x1&&_0x4e7fc5();});});}
1
+ const a17_0x4465a4=a17_0x996e;(function(_0xbd6b60,_0x4d7b0b){const _0x43af9b=a17_0x996e,_0xebf85a=_0xbd6b60();while(!![]){try{const _0x1b0fe1=-parseInt(_0x43af9b(0x1e7))/0x1*(parseInt(_0x43af9b(0x1ee))/0x2)+-parseInt(_0x43af9b(0x1e9))/0x3+-parseInt(_0x43af9b(0x1e1))/0x4*(-parseInt(_0x43af9b(0x1c9))/0x5)+-parseInt(_0x43af9b(0x1ea))/0x6*(-parseInt(_0x43af9b(0x1df))/0x7)+-parseInt(_0x43af9b(0x1e8))/0x8+parseInt(_0x43af9b(0x1eb))/0x9*(-parseInt(_0x43af9b(0x1cf))/0xa)+parseInt(_0x43af9b(0x1cd))/0xb*(parseInt(_0x43af9b(0x1ef))/0xc);if(_0x1b0fe1===_0x4d7b0b)break;else _0xebf85a['push'](_0xebf85a['shift']());}catch(_0x527140){_0xebf85a['push'](_0xebf85a['shift']());}}}(a17_0x20e2,0xdeaf7));function a17_0x20e2(){const _0x2f278b=['1180965qUAYKe','2676xsjRXD','18WhOPdN','resolve','path','6qnZDHs','4431432jitsoK','writeFileSync','application','then','40ihIXQR','parse','routerConfig','CreatePaths','44MsRxho','routerPath','2141310BdeUZF','push','file','split','/application','readFileSync','map','toString','./project','./vessel/src','exports','length','{\x20path:\x20\x27','region','join','from','1743CofVhR','forEach','495904SZcZUh','pathAdr','\x27,\x20component:\x20()\x20=>\x20import(\x27','items','concat','fileType','216941UEBAgM','1561176qgKqrX'];a17_0x20e2=function(){return _0x2f278b;};return a17_0x20e2();}const fs=require('fs'),path=require(a17_0x4465a4(0x1ed)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a17_0x996e(_0x305591,_0x373957){const _0x20e281=a17_0x20e2();return a17_0x996e=function(_0x996e7a,_0x39d67d){_0x996e7a=_0x996e7a-0x1c9;let _0x1e1153=_0x20e281[_0x996e7a];return _0x1e1153;},a17_0x996e(_0x305591,_0x373957);}module[a17_0x4465a4(0x1d9)]=(_0x38967f,_0x1510e8)=>{const _0x4ce079=a17_0x4465a4;commandArr=_0x38967f[_0x4ce079(0x1d2)](':'),projectPath=path[_0x4ce079(0x1ec)](_0x4ce079(0x1d7)),vesselPath=path[_0x4ce079(0x1ec)](_0x4ce079(0x1d8));let _0x183d75=vesselPath;_0x1510e8==='mp'&&(_0x183d75=vesselPath+_0x4ce079(0x1d3),utils[_0x4ce079(0x1cc)](vesselPath,[_0x4ce079(0x1f1)]));const _0x23075a=commandArr[0x1],_0x427541=JSON[_0x4ce079(0x1ca)](fs[_0x4ce079(0x1d4)](projectPath+'/'+_0x23075a+'/setting.json')[_0x4ce079(0x1d6)]());TileItems(_0x427541[_0x4ce079(0x1e4)],()=>{const _0x36e3fc=_0x4ce079;fromFileData['router'][_0x36e3fc(0x1e0)](_0xd72b3d=>{const _0x1996cb=_0x36e3fc,_0x40884c=_0xd72b3d[_0x1996cb(0x1e2)][_0x1996cb(0x1d2)](_0xd72b3d[_0x1996cb(0x1dc)]),_0x487377=_0x40884c[0x1]['split']('/'),_0xbb6e6=_0x487377[0x1];!applicationJson[_0xbb6e6]&&(applicationJson[_0xbb6e6]={'routerConfig':[],'routerPath':[]});applicationJson[_0xbb6e6][_0x1996cb(0x1cb)]['push'](_0x1996cb(0x1db)+_0xd72b3d[_0x1996cb(0x1ed)]+_0x1996cb(0x1e3)+_0xd72b3d[_0x1996cb(0x1d1)]+'\x27)\x20}'),applicationJson[_0xbb6e6][_0x1996cb(0x1ce)][_0x1996cb(0x1d0)](_0xd72b3d[_0x1996cb(0x1ed)]);let _0x49496c=_0x487377[_0x1996cb(0x1dd)]('/');const _0x3d2488=_0x49496c[_0x1996cb(0x1d2)]('/');utils[_0x1996cb(0x1cc)](_0x183d75,_0x3d2488['slice'](0x0,_0x3d2488[_0x1996cb(0x1da)]-0x1))[_0x1996cb(0x1f2)](()=>{const _0x1ef3b5=_0x1996cb,_0x2e8843=fs[_0x1ef3b5(0x1d4)](_0xd72b3d[_0x1ef3b5(0x1e2)])[_0x1ef3b5(0x1d6)]();fs[_0x1ef3b5(0x1f0)](vesselPath+'/'+_0x49496c,_0x2e8843);});});});};function TileItems(_0x57428d,_0x2d5bf0){_0x57428d['forEach']((_0x4084b1,_0x56310b)=>{const _0x1f5414=a17_0x996e,_0x36f846=_0x4084b1[_0x1f5414(0x1dc)];_0x4084b1[_0x1f5414(0x1de)][_0x1f5414(0x1e0)]((_0x49a463,_0x3bd985)=>{const _0x306aca=_0x1f5414,_0x1cc666=[];utils['DeepScanner'](projectPath+'/'+_0x36f846+'/'+_0x49a463[_0x306aca(0x1d1)],_0x1cc666);const _0x4fc518=_0x1cc666[_0x306aca(0x1d5)](_0x52ba73=>({'region':_0x36f846,'pathAdr':_0x52ba73,..._0x49a463}));!fromFileData[_0x49a463[_0x306aca(0x1e6)]]?fromFileData[_0x49a463[_0x306aca(0x1e6)]]=_0x4fc518:fromFileData[_0x49a463[_0x306aca(0x1e6)]]=fromFileData[_0x49a463[_0x306aca(0x1e6)]][_0x306aca(0x1e5)](_0x4fc518),_0x56310b===_0x57428d[_0x306aca(0x1da)]-0x1&&_0x3bd985===_0x4084b1['from'][_0x306aca(0x1da)]-0x1&&_0x2d5bf0();});});}
@@ -1 +1 @@
1
- 'use strict';function a18_0x202d(_0x12d56e,_0x172529){const _0x2939c0=a18_0x2939();return a18_0x202d=function(_0x202d2e,_0x581658){_0x202d2e=_0x202d2e-0x19c;let _0x11f0cd=_0x2939c0[_0x202d2e];return _0x11f0cd;},a18_0x202d(_0x12d56e,_0x172529);}const a18_0x2f826c=a18_0x202d;(function(_0x3a167d,_0x33e628){const _0x2de8af=a18_0x202d,_0x58e41e=_0x3a167d();while(!![]){try{const _0x20f5e6=-parseInt(_0x2de8af(0x1a7))/0x1+parseInt(_0x2de8af(0x1a4))/0x2*(-parseInt(_0x2de8af(0x1d6))/0x3)+parseInt(_0x2de8af(0x1bc))/0x4+-parseInt(_0x2de8af(0x1ae))/0x5+-parseInt(_0x2de8af(0x1d3))/0x6*(-parseInt(_0x2de8af(0x1b8))/0x7)+parseInt(_0x2de8af(0x1b6))/0x8*(parseInt(_0x2de8af(0x1b7))/0x9)+-parseInt(_0x2de8af(0x1c5))/0xa;if(_0x20f5e6===_0x33e628)break;else _0x58e41e['push'](_0x58e41e['shift']());}catch(_0x134121){_0x58e41e['push'](_0x58e41e['shift']());}}}(a18_0x2939,0xbcb87));function a18_0x2939(){const _0x2bb93b=['replace','FT3pKzxpRynFkmddJ9Bs','/api/v4/projects/','localName','&ref=master','mkdirSync','8RaeFEP','2000475VQAVOv','6034eqSzrC','zip','common\x5cdva\x5cautomatic\x5cindex.js','common\x5ctools\x5cindex.js','5819776WLtZgq','request','-文件下载完毕','exports','./util','unlinkSync','components','compressing','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','9261200XBQEyP','CopyFolder','statSync','return\x20process.env;','\x5ccli.dva.router.spa.txt','writeFileSync','log','return\x20__planA();','common\x5cwebsite\x5cindex.js','forEach','common\x5cdva\x5cautomatic','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','error','resolve','8604PphFCt','.zip','readdirSync','652683aDdcao','rmdirSync','toString','DeleteDirAllFile','application','createWriteStream','jjbAssembly','exists','G4HJRsHr9D7Ssmixegw2','2RwptyH','uncompress','common\x5cdva\x5cautomatic\x5c','873992jPaYXw','projectId','readFileSync','-master-','token','then','\x5csrc','613275yjXYYx','existsSync'];a18_0x2939=function(){return _0x2bb93b;};return a18_0x2939();}const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a18_0x2f826c(0x1c0)),request=require(a18_0x2f826c(0x1bd)),compressing=require(a18_0x2f826c(0x1c3)),GIT_TEMP_DIR=a18_0x2f826c(0x1a1),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a18_0x2f826c(0x1a3),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a18_0x2f826c(0x1b1),'projectId':0x154,'localName':a18_0x2f826c(0x1c2)}};module[a18_0x2f826c(0x1bf)]=_0x3a2806=>{const _0x3084c1=a18_0x2f826c,_0x27bd51=_0x3a2806,_0x2b1f5e=path[_0x3084c1(0x1d2)]('./');try{if(fs[_0x3084c1(0x1c7)](_0x2b1f5e+_0x3084c1(0x1ad))){const _0x29af1a=_0x2b1f5e+_0x3084c1(0x1ad),_0x2e91f6=CLOUD_PROJECT[_0x27bd51]||undefined;if(_0x2e91f6){const _0x4d9743=os['tmpdir'](),_0x5999ee=_0x4d9743+('/'+GIT_TEMP_DIR+'/'+_0x27bd51+_0x3084c1(0x1d4)),_0x4691da=_0x4d9743+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x3084c1(0x19e)](_0x4d9743+'/'+GIT_TEMP_DIR,()=>{const _0x3a6b72=_0x3084c1;fs['mkdirSync'](_0x4d9743+'/'+GIT_TEMP_DIR);let _0x36a372=fs[_0x3a6b72(0x1a0)](_0x5999ee);request(GIT_HOST+_0x3a6b72(0x1b2)+_0x2e91f6[_0x3a6b72(0x1a8)]+'/repository/archive.zip?private_token='+_0x2e91f6[_0x3a6b72(0x1ab)]+_0x3a6b72(0x1b4))['pipe'](_0x36a372)['on']('close',()=>{const _0x45af4a=_0x3a6b72;fs[_0x45af4a(0x1b5)](_0x4691da),compressing[_0x45af4a(0x1b9)][_0x45af4a(0x1a5)](_0x5999ee,_0x4691da)[_0x45af4a(0x1ac)](()=>{setTimeout(()=>{const _0x4c4431=a18_0x202d,_0x5ad43f=fs[_0x4c4431(0x1d5)](_0x4691da);_0x5ad43f[_0x4c4431(0x1ce)](_0x3ca9d1=>{const _0x4d26d7=_0x4c4431;if(_0x3ca9d1['indexOf'](_0x4d26d7(0x1aa))!==-0x1){const _0x410e31=_0x29af1a+'\x5c'+_0x2e91f6[_0x4d26d7(0x1b3)];utils[_0x4d26d7(0x19e)](_0x410e31,()=>{const _0x5cc6f7=_0x4d26d7;fs[_0x5cc6f7(0x1b5)](_0x410e31),utils[_0x5cc6f7(0x1c6)](_0x4691da+_0x3ca9d1,_0x410e31),setTimeout(()=>{const _0x3c71d8=_0x5cc6f7,_0x9160c2=fs[_0x3c71d8(0x1af)](_0x29af1a+'\x5c'+_0x3c71d8(0x19f));if(!_0x9160c2){const _0x28f5a1=_0x29af1a+'\x5c'+_0x3c71d8(0x1bb),_0x4627e2=_0x29af1a+'\x5c'+_0x3c71d8(0x1cd);let _0x22f283=fs[_0x3c71d8(0x1a9)](_0x28f5a1)[_0x3c71d8(0x19d)](),_0x5b6a96=fs[_0x3c71d8(0x1a9)](_0x4627e2)[_0x3c71d8(0x19d)]();_0x22f283=_0x22f283[_0x3c71d8(0x1b0)](_0x3c71d8(0x1cc),_0x3c71d8(0x1c8)),_0x5b6a96=_0x5b6a96['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x3c71d8(0x1d0)),fs[_0x3c71d8(0x1ca)](_0x28f5a1,_0x22f283),fs['writeFileSync'](_0x4627e2,_0x5b6a96),fs[_0x3c71d8(0x1ca)](_0x29af1a+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x3c71d8(0x1a9)](__dirname+_0x3c71d8(0x1c9))['toString']()),fs[_0x3c71d8(0x1ca)](_0x29af1a+'\x5ccommon\x5cdva\x5cautomatic\x5cregister.js',fs[_0x3c71d8(0x1a9)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x3c71d8(0x19d)]());}else fs[_0x3c71d8(0x1a2)](_0x29af1a+'\x5c'+_0x3c71d8(0x1ba),_0x43c9e0=>{const _0x17e03e=_0x3c71d8;_0x43c9e0&&(fs['readdirSync'](_0x29af1a+'\x5c'+_0x17e03e(0x1cf))[_0x17e03e(0x1ce)](_0x15a47f=>{const _0x3e789f=_0x17e03e;fs[_0x3e789f(0x1c1)](_0x29af1a+'\x5c'+_0x3e789f(0x1a6)+_0x15a47f);}),fs[_0x17e03e(0x19c)](_0x29af1a+'\x5c'+_0x17e03e(0x1cf)));});},0x3e8);});}}),console[_0x4c4431(0x1cb)](_0x27bd51+_0x4c4431(0x1be));},0x7d0);});});});}else console[_0x3084c1(0x1d1)]('【Error】:\x20未获取到项目\x20'+_0x27bd51);}}catch(_0x19d50d){console[_0x3084c1(0x1d1)](_0x3084c1(0x1c4));}};
1
+ 'use strict';function a18_0x46a1(_0x3361d0,_0x3097fb){const _0x24561f=a18_0x2456();return a18_0x46a1=function(_0x46a15e,_0x4cad74){_0x46a15e=_0x46a15e-0x8b;let _0x1a512a=_0x24561f[_0x46a15e];return _0x1a512a;},a18_0x46a1(_0x3361d0,_0x3097fb);}const a18_0x34582b=a18_0x46a1;(function(_0xf7bf3f,_0x266c24){const _0x27edf4=a18_0x46a1,_0x519820=_0xf7bf3f();while(!![]){try{const _0x1c21cd=-parseInt(_0x27edf4(0xa6))/0x1+-parseInt(_0x27edf4(0xa3))/0x2+parseInt(_0x27edf4(0x95))/0x3+parseInt(_0x27edf4(0xa2))/0x4*(-parseInt(_0x27edf4(0x96))/0x5)+-parseInt(_0x27edf4(0x99))/0x6+parseInt(_0x27edf4(0xb6))/0x7+parseInt(_0x27edf4(0x8c))/0x8;if(_0x1c21cd===_0x266c24)break;else _0x519820['push'](_0x519820['shift']());}catch(_0x1ddb51){_0x519820['push'](_0x519820['shift']());}}}(a18_0x2456,0xe3360));function a18_0x2456(){const _0x57cd4f=['readdirSync','common\x5cdva\x5cautomatic\x5c','12214237hpaLoQ','forEach','tmpdir','resolve','zip','indexOf','createWriteStream','DeleteDirAllFile','-master-','close','writeFileSync','pipe','mkdirSync','G4HJRsHr9D7Ssmixegw2','replace','\x5csrc','unlinkSync','/api/v4/projects/','common\x5cdva\x5cautomatic','15339840maqqtX','application','common\x5cwebsite\x5cindex.js','readFileSync','\x5ccli.dva.router.spa.txt','http://192.168.1.242:10985','./util','request','projectId','4345344zrECzT','5DmJbVd','path','-文件下载完毕','8834034NVCwvh','.zip','common\x5cdva\x5cautomatic\x5cindex.js','common','&ref=master','localName','existsSync','error','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','3899836wTudru','3007450vjGtBT','token','return\x20__planA();','229140hufxdi','/unzip/','/repository/archive.zip?private_token=','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','uncompress','FT3pKzxpRynFkmddJ9Bs','return\x20process.env;','rmdirSync','CopyFolder','statSync','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','jjbAssembly','exports','toString'];a18_0x2456=function(){return _0x57cd4f;};return a18_0x2456();}const fs=require('fs'),os=require('os'),path=require(a18_0x34582b(0x97)),utils=require(a18_0x34582b(0x92)),request=require(a18_0x34582b(0x93)),compressing=require('compressing'),GIT_TEMP_DIR=a18_0x34582b(0xb1),GIT_HOST=a18_0x34582b(0x91),CLOUD_PROJECT={'common':{'token':a18_0x34582b(0xc3),'projectId':0x117,'localName':a18_0x34582b(0x9c)},'react-admin-component':{'token':a18_0x34582b(0xab),'projectId':0x154,'localName':'components'}};module[a18_0x34582b(0xb2)]=_0x5f0f31=>{const _0x4ea2e5=a18_0x34582b,_0x435cce=_0x5f0f31,_0x1cd69c=path[_0x4ea2e5(0xb9)]('./');try{if(fs[_0x4ea2e5(0xaf)](_0x1cd69c+_0x4ea2e5(0xc5))){const _0xeb33cd=_0x1cd69c+'\x5csrc',_0x2c7dbe=CLOUD_PROJECT[_0x435cce]||undefined;if(_0x2c7dbe){const _0x139926=os[_0x4ea2e5(0xb8)](),_0x47c14b=_0x139926+('/'+GIT_TEMP_DIR+'/'+_0x435cce+_0x4ea2e5(0x9a)),_0x15093b=_0x139926+'/'+GIT_TEMP_DIR+_0x4ea2e5(0xa7);utils['DeleteDirAllFile'](_0x139926+'/'+GIT_TEMP_DIR,()=>{const _0x39e666=_0x4ea2e5;fs['mkdirSync'](_0x139926+'/'+GIT_TEMP_DIR);let _0x38867f=fs[_0x39e666(0xbc)](_0x47c14b);request(GIT_HOST+_0x39e666(0xc7)+_0x2c7dbe[_0x39e666(0x94)]+_0x39e666(0xa8)+_0x2c7dbe[_0x39e666(0xa4)]+_0x39e666(0x9d))[_0x39e666(0xc1)](_0x38867f)['on'](_0x39e666(0xbf),()=>{const _0x31dd90=_0x39e666;fs[_0x31dd90(0xc2)](_0x15093b),compressing[_0x31dd90(0xba)][_0x31dd90(0xaa)](_0x47c14b,_0x15093b)['then'](()=>{setTimeout(()=>{const _0x357ac6=a18_0x46a1,_0x58290a=fs[_0x357ac6(0xb4)](_0x15093b);_0x58290a[_0x357ac6(0xb7)](_0x477562=>{const _0x499fac=_0x357ac6;if(_0x477562[_0x499fac(0xbb)](_0x499fac(0xbe))!==-0x1){const _0x463d2e=_0xeb33cd+'\x5c'+_0x2c7dbe[_0x499fac(0x9e)];utils[_0x499fac(0xbd)](_0x463d2e,()=>{const _0x553d14=_0x499fac;fs[_0x553d14(0xc2)](_0x463d2e),utils[_0x553d14(0xae)](_0x15093b+_0x477562,_0x463d2e),setTimeout(()=>{const _0x57d884=_0x553d14,_0x22ea1b=fs[_0x57d884(0x9f)](_0xeb33cd+'\x5c'+_0x57d884(0x8d));if(!_0x22ea1b){const _0xfa3c13=_0xeb33cd+'\x5c'+'common\x5ctools\x5cindex.js',_0x536579=_0xeb33cd+'\x5c'+_0x57d884(0x8e);let _0x2517e4=fs[_0x57d884(0x8f)](_0xfa3c13)[_0x57d884(0xb3)](),_0x424e48=fs[_0x57d884(0x8f)](_0x536579)['toString']();_0x2517e4=_0x2517e4[_0x57d884(0xc4)](_0x57d884(0xa5),_0x57d884(0xac)),_0x424e48=_0x424e48[_0x57d884(0xc4)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x57d884(0xc0)](_0xfa3c13,_0x2517e4),fs[_0x57d884(0xc0)](_0x536579,_0x424e48),fs[_0x57d884(0xc0)](_0xeb33cd+_0x57d884(0xa1),fs[_0x57d884(0x8f)](__dirname+_0x57d884(0x90))['toString']()),fs['writeFileSync'](_0xeb33cd+_0x57d884(0xb0),fs[_0x57d884(0x8f)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x57d884(0xb3)]());}else fs['exists'](_0xeb33cd+'\x5c'+_0x57d884(0x9b),_0x4f9379=>{const _0x609440=_0x57d884;_0x4f9379&&(fs[_0x609440(0xb4)](_0xeb33cd+'\x5c'+_0x609440(0x8b))[_0x609440(0xb7)](_0x52153f=>{const _0x18334e=_0x609440;fs[_0x18334e(0xc6)](_0xeb33cd+'\x5c'+_0x18334e(0xb5)+_0x52153f);}),fs[_0x609440(0xad)](_0xeb33cd+'\x5c'+_0x609440(0x8b)));});},0x3e8);});}}),console['log'](_0x435cce+_0x357ac6(0x98));},0x7d0);});});});}else console[_0x4ea2e5(0xa0)]('【Error】:\x20未获取到项目\x20'+_0x435cce);}}catch(_0x2f0191){console[_0x4ea2e5(0xa0)](_0x4ea2e5(0xa9));}};
@@ -1 +1 @@
1
- 'use strict';function a19_0x193c(_0x503054,_0x295587){const _0x22c50d=a19_0x22c5();return a19_0x193c=function(_0x193c01,_0x16d5cb){_0x193c01=_0x193c01-0xc9;let _0x1353c4=_0x22c50d[_0x193c01];return _0x1353c4;},a19_0x193c(_0x503054,_0x295587);}const a19_0x1ce675=a19_0x193c;(function(_0x539f7e,_0x51e005){const _0x19b705=a19_0x193c,_0x4388be=_0x539f7e();while(!![]){try{const _0x3f0b42=-parseInt(_0x19b705(0xf9))/0x1+parseInt(_0x19b705(0x117))/0x2*(parseInt(_0x19b705(0xe6))/0x3)+parseInt(_0x19b705(0x10e))/0x4+-parseInt(_0x19b705(0x11f))/0x5*(-parseInt(_0x19b705(0x10b))/0x6)+-parseInt(_0x19b705(0xd2))/0x7+parseInt(_0x19b705(0xf6))/0x8*(parseInt(_0x19b705(0xf8))/0x9)+parseInt(_0x19b705(0xde))/0xa*(-parseInt(_0x19b705(0xcd))/0xb);if(_0x3f0b42===_0x51e005)break;else _0x4388be['push'](_0x4388be['shift']());}catch(_0x31de68){_0x4388be['push'](_0x4388be['shift']());}}}(a19_0x22c5,0x202a5));const fs=require('fs'),os=require('os'),path=require(a19_0x1ce675(0xce)),utils=require(a19_0x1ce675(0xe2)),request=require(a19_0x1ce675(0xf0)),compressing=require('compressing'),GIT_HOST=a19_0x1ce675(0x102),GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':a19_0x1ce675(0xf1),'projectId':0x117,'localName':a19_0x1ce675(0xd4)},'react-admin-component':{'token':a19_0x1ce675(0xf5),'projectId':0x154,'localName':a19_0x1ce675(0xd1)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a19_0x1ce675(0xdc)]]},{'path':a19_0x1ce675(0x107),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x1ce675(0xd7)],[a19_0x1ce675(0xd1),a19_0x1ce675(0xdc)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1ce675(0xec),'replace':[[a19_0x1ce675(0x10f),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1ce675(0xec),'replace':[[a19_0x1ce675(0x10f),a19_0x1ce675(0xe8)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x1ce675(0x116),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],[a19_0x1ce675(0x105),a19_0x1ce675(0x100)],['common/tools','jjb-common/tools']]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a19_0x1ce675(0xd5),a19_0x1ce675(0xed)]]},{'path':a19_0x1ce675(0x11b),'replace':[[a19_0x1ce675(0xff),'jjb-common/tools']]},{'path':a19_0x1ce675(0x11d),'replace':[['common/http','jjb-common/http'],[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0x10a),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],['common/tools',a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xf2),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xd3),'replace':[[a19_0x1ce675(0xd5),a19_0x1ce675(0xed)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xea),'replace':[['common/website',a19_0x1ce675(0xcc)],[a19_0x1ce675(0xff),'jjb-common/tools']]}];function uid(){const _0xa69b8=a19_0x1ce675;return Math[_0xa69b8(0x106)]()[_0xa69b8(0xe4)]()['substr'](0x2);}module['exports']=_0x169b9d=>{const _0x5d6d6d=a19_0x1ce675,_0x56bc38=path[_0x5d6d6d(0xe5)]('./'),_0x35204b='jjb-'+_0x169b9d,_0x3fdb39=_0x5d6d6d(0xfd),_0x2f424d=_0x56bc38+_0x5d6d6d(0xe9),_0x39ccd3=_0x5d6d6d(0xf4)+uid(),_0x4daa40=__dirname+'\x5c'+_0x39ccd3,_0x2b2ac1=_0x56bc38+'\x5cpackage.json',_0x4ac2ab=_0x56bc38+_0x5d6d6d(0xe7)+_0x169b9d;try{if(fs[_0x5d6d6d(0x108)](_0x2f424d)){const _0x58740f=CLOUD_PROJECT[_0x169b9d]||undefined;if(_0x58740f){const _0x3fdffd=os[_0x5d6d6d(0x103)](),_0x463f32=_0x3fdffd+'/'+GIT_TEMP_DIR+'/'+_0x169b9d+_0x5d6d6d(0xfb),_0x24bfd0=_0x3fdffd+'/'+GIT_TEMP_DIR+_0x5d6d6d(0xfa);utils[_0x5d6d6d(0xdf)](_0x3fdffd+'/'+GIT_TEMP_DIR,()=>{const _0x244d16=_0x5d6d6d;fs[_0x244d16(0xef)](_0x3fdffd+'/'+GIT_TEMP_DIR);const _0xbda8f7=fs[_0x244d16(0xf3)](_0x463f32);request(GIT_HOST+_0x244d16(0x111)+_0x58740f['projectId']+_0x244d16(0xe3)+_0x58740f[_0x244d16(0x109)]+_0x244d16(0xca))[_0x244d16(0x125)](_0xbda8f7)['on'](_0x244d16(0xdb),()=>{const _0xe33b31=_0x244d16;fs[_0xe33b31(0xef)](_0x24bfd0),compressing[_0xe33b31(0x118)][_0xe33b31(0x110)](_0x463f32,_0x24bfd0)['then'](()=>{setTimeout(()=>{const _0x9d6fe2=a19_0x193c;fs[_0x9d6fe2(0x123)](_0x24bfd0)[_0x9d6fe2(0x11a)](_0x8b9379=>{const _0x669723=_0x9d6fe2;_0x8b9379[_0x669723(0xd6)]('-master-')!==-0x1&&utils[_0x669723(0xdf)](_0x2f424d+'\x5c'+_0x58740f[_0x669723(0xfe)],()=>{const _0x5cc229=_0x669723;fs['mkdirSync'](_0x4daa40),utils[_0x5cc229(0xfc)](_0x24bfd0+_0x8b9379,_0x4daa40),setTimeout(()=>{const _0x41c148=_0x5cc229;if(_0x169b9d===_0x41c148(0xd4)){const _0x2bb997=fs[_0x41c148(0x108)](_0x2f424d+'\x5capplication');if(_0x2bb997)rm_rf(_0x4daa40+_0x41c148(0x120)),fs[_0x41c148(0xda)](_0x4daa40+_0x41c148(0x120));else{if(get_project_type(_0x2b2ac1)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x4daa40),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0x101),fs[_0x41c148(0xee)](__dirname+_0x41c148(0xeb))[_0x41c148(0xe4)]()),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0xc9),fs['readFileSync'](__dirname+_0x41c148(0x10c))[_0x41c148(0xe4)]());else get_project_type(_0x2b2ac1)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x4daa40),fs['writeFileSync'](_0x4daa40+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x41c148(0xee)](__dirname+_0x41c148(0xdd))[_0x41c148(0xe4)]()),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0xc9),fs[_0x41c148(0xee)](__dirname+_0x41c148(0xcf))[_0x41c148(0xe4)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x4daa40);}_0x169b9d===_0x41c148(0x114)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x4daa40),rm_rf(_0x4daa40+_0x41c148(0x124)),fs[_0x41c148(0x108)](_0x4daa40+_0x41c148(0x124))&&fs[_0x41c148(0xda)](_0x4daa40+_0x41c148(0x124)),fs['existsSync'](_0x4daa40+_0x41c148(0xe0))&&fs[_0x41c148(0xd8)](_0x4daa40+'\x5c.gitignore'),!fs[_0x41c148(0x108)](_0x4ac2ab)?fs['mkdirSync'](_0x4ac2ab):rm_rf(_0x4ac2ab),utils[_0x41c148(0xfc)](_0x4daa40,_0x4ac2ab,()=>{const _0xc5b99c=_0x41c148;rm_rf(_0x4daa40),fs['rmdirSync'](_0x4daa40),create_package_json(_0x4ac2ab,_0x35204b,_0x3fdb39),update_project_package_json(_0x2b2ac1,_0x35204b,_0x3fdb39),console['log'](_0xc5b99c(0x104)+_0x35204b+'\x20v'+_0x3fdb39);});},0x3e8);});});},0x7d0);});});});}else console[_0x5d6d6d(0x127)]('【Error】:\x20未获取到项目\x20'+_0x169b9d);}}catch(_0x3b5068){console[_0x5d6d6d(0x127)](_0x5d6d6d(0x11c));}};function rm_rf(_0xc6c347){const _0x5681cf=a19_0x1ce675;if(fs[_0x5681cf(0x108)](_0xc6c347)){const _0x21d975=fs[_0x5681cf(0x123)](_0xc6c347);for(let _0x3a543d=0x0;_0x3a543d<_0x21d975[_0x5681cf(0xcb)];_0x3a543d++){const _0x2755d2=_0x21d975[_0x3a543d],_0x569fff=_0xc6c347+'/'+_0x2755d2;fs['statSync'](_0x569fff)[_0x5681cf(0x121)]()?(rm_rf(_0x569fff),fs[_0x5681cf(0xda)](_0x569fff)):fs['unlinkSync'](_0x569fff);}}}function create_package_json(_0x5107ed,_0x3f948f,_0x790a12){const _0x2ad06c=a19_0x1ce675;fs[_0x2ad06c(0x115)](_0x5107ed+_0x2ad06c(0x112),_0x2ad06c(0x11e)+_0x3f948f+_0x2ad06c(0xe1)+_0x790a12+'\x22,\x22main\x22:\x20\x22index.js\x22}');}function get_project_type(_0x32e759){const _0x346322=a19_0x1ce675,_0x5d84e9=JSON[_0x346322(0x10d)](fs[_0x346322(0xee)](_0x32e759)[_0x346322(0xe4)]());return _0x5d84e9[_0x346322(0x113)];}function update_project_package_json(_0x20862f,_0x46f68c,_0x4b53a2){const _0x2f03e3=a19_0x1ce675,_0x1814d7=JSON[_0x2f03e3(0x10d)](fs[_0x2f03e3(0xee)](_0x20862f)[_0x2f03e3(0xe4)]());_0x1814d7[_0x2f03e3(0xd9)][_0x46f68c]=_0x4b53a2,fs[_0x2f03e3(0x115)](_0x20862f,JSON[_0x2f03e3(0xd0)](_0x1814d7,null,0x2));}function a19_0x22c5(){const _0xdb3a25=['\x5ccli.dva.register.saas.txt','stringify','components','600509GZhwma','\x5cPageHeaderBar\x5cindex.js','common','common/color','indexOf','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','unlinkSync','dependencies','rmdirSync','close','jjb-react-admin-component','\x5ccli.dva.router.saas.txt','1951130sXoGrp','DeleteDirAllFile','\x5c.gitignore','\x22,\x22version\x22:\x22','./util','/repository/archive.zip?private_token=','toString','resolve','111ZsZyHY','\x5cnode_modules\x5cjjb-','return\x20process.env.app;','\x5csrc','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5ccli.dva.router.spa.txt','\x5ctools\x5cindex.js','jjb-common/color','readFileSync','mkdirSync','request','G4HJRsHr9D7Ssmixegw2','\x5cImageUploader\x5cindex.js','createWriteStream','template_','FT3pKzxpRynFkmddJ9Bs','296SGYJqI','replace','59607bNWKgL','41604dPVVnG','/unzip/','.zip','CopyFolder','1.0.0','localName','common/tools','jjb-common/crypto','\x5cdva\x5cautomatic\x5crouter.js','http://192.168.1.242:10985','tmpdir','【已安装】:','common/crypto','random','\x5cwebsite\x5cindex.js','existsSync','token','\x5cImageCropper\x5cindex.js','30BfoOnW','\x5ccli.dva.register.spa.txt','parse','599080YRzqEN','return\x20__planA();','uncompress','/api/v4/projects/','\x5cpackage.json','projectType','react-admin-component','writeFileSync','\x5cEditor\x5cindex.js','10900CkrLDB','zip','jjb-common/http','forEach','\x5cRouterMenu\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cFileUploader\x5cindex.js','{\x22name\x22:\x22','52895vwdbks','\x5cdva\x5cautomatic','isDirectory','common/http','readdirSync','\x5c.idea','pipe','jjb-common/tools','error','\x5cdva\x5cautomatic\x5cregister.js','&ref=master','length','jjb-common/website','22OOodps','path'];a19_0x22c5=function(){return _0xdb3a25;};return a19_0x22c5();}function content_replace(_0x39088e=[],_0x14f174){const _0x3fdbca=a19_0x1ce675;_0x39088e[_0x3fdbca(0x11a)](_0x154597=>{const _0x36a6e9=_0x3fdbca,_0x513454=_0x14f174+_0x154597[_0x36a6e9(0xce)];if(fs[_0x36a6e9(0x108)](_0x513454)){let _0xaf581f=fs[_0x36a6e9(0xee)](_0x513454)[_0x36a6e9(0xe4)]();_0x154597[_0x36a6e9(0xf7)][_0x36a6e9(0x11a)](_0x3d314b=>{const _0x30334b=_0x36a6e9;_0xaf581f=_0xaf581f[_0x30334b(0xf7)](_0x3d314b[0x0],_0x3d314b[0x1]);}),fs[_0x36a6e9(0x115)](_0x513454,_0xaf581f);}});}
1
+ 'use strict';function a19_0x3eb3(_0x42d205,_0x361289){const _0x42f3f4=a19_0x42f3();return a19_0x3eb3=function(_0x3eb3ab,_0x5a47fa){_0x3eb3ab=_0x3eb3ab-0x177;let _0x28a876=_0x42f3f4[_0x3eb3ab];return _0x28a876;},a19_0x3eb3(_0x42d205,_0x361289);}const a19_0x1aeece=a19_0x3eb3;(function(_0x9e8c2b,_0x1835ba){const _0x587789=a19_0x3eb3,_0x351568=_0x9e8c2b();while(!![]){try{const _0x2d49e4=parseInt(_0x587789(0x18e))/0x1*(-parseInt(_0x587789(0x19e))/0x2)+-parseInt(_0x587789(0x18d))/0x3+parseInt(_0x587789(0x17a))/0x4+-parseInt(_0x587789(0x1ce))/0x5+parseInt(_0x587789(0x1b9))/0x6*(parseInt(_0x587789(0x1d2))/0x7)+parseInt(_0x587789(0x199))/0x8*(parseInt(_0x587789(0x1c8))/0x9)+-parseInt(_0x587789(0x1cb))/0xa*(parseInt(_0x587789(0x197))/0xb);if(_0x2d49e4===_0x1835ba)break;else _0x351568['push'](_0x351568['shift']());}catch(_0x1c210a){_0x351568['push'](_0x351568['shift']());}}}(a19_0x42f3,0x99395));const fs=require('fs'),os=require('os'),path=require(a19_0x1aeece(0x185)),utils=require('./util'),request=require(a19_0x1aeece(0x1d5)),compressing=require('compressing'),GIT_HOST=a19_0x1aeece(0x1a8),GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':a19_0x1aeece(0x1c6),'projectId':0x117,'localName':a19_0x1aeece(0x1a2)},'react-admin-component':{'token':a19_0x1aeece(0x184),'projectId':0x154,'localName':a19_0x1aeece(0x198)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[['components',a19_0x1aeece(0x1cc)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x1aeece(0x1a1)],[a19_0x1aeece(0x198),a19_0x1aeece(0x1cc)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[[a19_0x1aeece(0x1ac),a19_0x1aeece(0x1cf)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1aeece(0x1bb),'replace':[[a19_0x1aeece(0x1ac),'return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x1aeece(0x1b6),'replace':[[a19_0x1aeece(0x1a3),'jjb-common/http'],[a19_0x1aeece(0x1b5),a19_0x1aeece(0x17d)],['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x19c),'replace':[[a19_0x1aeece(0x1d4),a19_0x1aeece(0x19a)]]},{'path':a19_0x1aeece(0x1c0),'replace':[['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x17b),'replace':[[a19_0x1aeece(0x1a3),a19_0x1aeece(0x1a9)],[a19_0x1aeece(0x18c),a19_0x1aeece(0x186)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a19_0x1aeece(0x1a3),'jjb-common/http'],[a19_0x1aeece(0x18c),'jjb-common/tools']]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a19_0x1aeece(0x1a3),a19_0x1aeece(0x1a9)],[a19_0x1aeece(0x18c),'jjb-common/tools']]},{'path':a19_0x1aeece(0x1ae),'replace':[['common/color',a19_0x1aeece(0x19a)]]},{'path':a19_0x1aeece(0x19d),'replace':[['common/tools','jjb-common/tools']]},{'path':a19_0x1aeece(0x1aa),'replace':[[a19_0x1aeece(0x194),a19_0x1aeece(0x192)],['common/tools',a19_0x1aeece(0x186)]]}];function uid(){const _0x3156c1=a19_0x1aeece;return Math[_0x3156c1(0x195)]()[_0x3156c1(0x18f)]()[_0x3156c1(0x178)](0x2);}module['exports']=_0x20cb05=>{const _0x108ad7=a19_0x1aeece,_0x2ee048=path[_0x108ad7(0x1a4)]('./'),_0x1b568a=_0x108ad7(0x19b)+_0x20cb05,_0xd3d214=_0x108ad7(0x1ad),_0x401364=_0x2ee048+_0x108ad7(0x1bf),_0x4d5f3c='template_'+uid(),_0x3b1861=__dirname+'\x5c'+_0x4d5f3c,_0x1677ec=_0x2ee048+'\x5cpackage.json',_0x3e27e5=_0x2ee048+_0x108ad7(0x1d1)+_0x20cb05;try{if(fs[_0x108ad7(0x1c1)](_0x401364)){const _0x11ed89=CLOUD_PROJECT[_0x20cb05]||undefined;if(_0x11ed89){const _0x58d79f=os[_0x108ad7(0x1b1)](),_0x11ef71=_0x58d79f+'/'+GIT_TEMP_DIR+'/'+_0x20cb05+_0x108ad7(0x189),_0x3a7441=_0x58d79f+'/'+GIT_TEMP_DIR+_0x108ad7(0x190);utils[_0x108ad7(0x1ca)](_0x58d79f+'/'+GIT_TEMP_DIR,()=>{const _0x5594b1=_0x108ad7;fs[_0x5594b1(0x1d0)](_0x58d79f+'/'+GIT_TEMP_DIR);const _0x153988=fs[_0x5594b1(0x187)](_0x11ef71);request(GIT_HOST+_0x5594b1(0x1a0)+_0x11ed89['projectId']+_0x5594b1(0x179)+_0x11ed89[_0x5594b1(0x182)]+_0x5594b1(0x196))[_0x5594b1(0x1b2)](_0x153988)['on'](_0x5594b1(0x1af),()=>{const _0x5aaa1b=_0x5594b1;fs[_0x5aaa1b(0x1d0)](_0x3a7441),compressing['zip'][_0x5aaa1b(0x1ba)](_0x11ef71,_0x3a7441)[_0x5aaa1b(0x1bd)](()=>{setTimeout(()=>{const _0x118daf=a19_0x3eb3;fs['readdirSync'](_0x3a7441)[_0x118daf(0x1c9)](_0x8e1764=>{const _0x52a82f=_0x118daf;_0x8e1764[_0x52a82f(0x1a7)](_0x52a82f(0x18a))!==-0x1&&utils[_0x52a82f(0x1ca)](_0x401364+'\x5c'+_0x11ed89[_0x52a82f(0x183)],()=>{const _0x16641d=_0x52a82f;fs[_0x16641d(0x1d0)](_0x3b1861),utils[_0x16641d(0x1b4)](_0x3a7441+_0x8e1764,_0x3b1861),setTimeout(()=>{const _0x71d6ab=_0x16641d;if(_0x20cb05===_0x71d6ab(0x1a2)){const _0x4cdf75=fs[_0x71d6ab(0x1c1)](_0x401364+'\x5capplication');if(_0x4cdf75)rm_rf(_0x3b1861+'\x5cdva\x5cautomatic'),fs[_0x71d6ab(0x1d6)](_0x3b1861+_0x71d6ab(0x188));else{if(get_project_type(_0x1677ec)===_0x71d6ab(0x1a6))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x3b1861),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x191),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1b8))[_0x71d6ab(0x18f)]()),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x1b0),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1b3))[_0x71d6ab(0x18f)]());else get_project_type(_0x1677ec)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x3b1861),fs[_0x71d6ab(0x1be)](_0x3b1861+_0x71d6ab(0x191),fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x17e))[_0x71d6ab(0x18f)]()),fs[_0x71d6ab(0x1be)](_0x3b1861+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x71d6ab(0x1cd)](__dirname+_0x71d6ab(0x1c5))[_0x71d6ab(0x18f)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x3b1861);}_0x20cb05===_0x71d6ab(0x177)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x3b1861),rm_rf(_0x3b1861+_0x71d6ab(0x1c3)),fs[_0x71d6ab(0x1c1)](_0x3b1861+'\x5c.idea')&&fs['rmdirSync'](_0x3b1861+_0x71d6ab(0x1c3)),fs[_0x71d6ab(0x1c1)](_0x3b1861+_0x71d6ab(0x180))&&fs[_0x71d6ab(0x181)](_0x3b1861+_0x71d6ab(0x180)),!fs[_0x71d6ab(0x1c1)](_0x3e27e5)?fs['mkdirSync'](_0x3e27e5):rm_rf(_0x3e27e5),utils[_0x71d6ab(0x1b4)](_0x3b1861,_0x3e27e5,()=>{const _0x59c2a8=_0x71d6ab;rm_rf(_0x3b1861),fs['rmdirSync'](_0x3b1861),create_package_json(_0x3e27e5,_0x1b568a,_0xd3d214),update_project_package_json(_0x1677ec,_0x1b568a,_0xd3d214),console[_0x59c2a8(0x193)](_0x59c2a8(0x18b)+_0x1b568a+'\x20v'+_0xd3d214);});},0x3e8);});});},0x7d0);});});});}else console[_0x108ad7(0x1c7)](_0x108ad7(0x1d3)+_0x20cb05);}}catch(_0x301673){console[_0x108ad7(0x1c7)](_0x108ad7(0x1c4));}};function rm_rf(_0x17eb56){const _0x529363=a19_0x1aeece;if(fs[_0x529363(0x1c1)](_0x17eb56)){const _0x4a7028=fs['readdirSync'](_0x17eb56);for(let _0x2f3b9b=0x0;_0x2f3b9b<_0x4a7028[_0x529363(0x19f)];_0x2f3b9b++){const _0x1ab25b=_0x4a7028[_0x2f3b9b],_0xa87d30=_0x17eb56+'/'+_0x1ab25b;fs[_0x529363(0x1c2)](_0xa87d30)['isDirectory']()?(rm_rf(_0xa87d30),fs[_0x529363(0x1d6)](_0xa87d30)):fs['unlinkSync'](_0xa87d30);}}}function create_package_json(_0x387763,_0x233c7,_0x53a90b){const _0x5461a4=a19_0x1aeece;fs['writeFileSync'](_0x387763+_0x5461a4(0x1a5),'{\x22name\x22:\x22'+_0x233c7+'\x22,\x22version\x22:\x22'+_0x53a90b+_0x5461a4(0x17f));}function a19_0x42f3(){const _0x5dceab=['/repository/archive.zip?private_token=','3412336AiZJsb','\x5cFileUploader\x5cindex.js','projectType','jjb-common/crypto','\x5ccli.dva.router.saas.txt','\x22,\x22main\x22:\x20\x22index.js\x22}','\x5c.gitignore','unlinkSync','token','localName','FT3pKzxpRynFkmddJ9Bs','path','jjb-common/tools','createWriteStream','\x5cdva\x5cautomatic','.zip','-master-','【已安装】:','common/tools','1206rJVljf','222779tiwCMd','toString','/unzip/','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/website','log','common/website','random','&ref=master','11bdyRRT','components','2414368bmKjop','jjb-common/color','jjb-','\x5cRejectText\x5cindex.js','\x5cRouterContainer\x5cindex.js','8YnFbLm','length','/api/v4/projects/','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common','common/http','resolve','\x5cpackage.json','spa','indexOf','http://192.168.1.242:10985','jjb-common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','stringify','return\x20__planA();','1.0.0','\x5cPageHeaderBar\x5cindex.js','close','\x5cdva\x5cautomatic\x5cregister.js','tmpdir','pipe','\x5ccli.dva.register.spa.txt','CopyFolder','common/crypto','\x5cEditor\x5cindex.js','replace','\x5ccli.dva.router.spa.txt','582ZjNMjl','uncompress','\x5ctools\x5cindex.js','parse','then','writeFileSync','\x5csrc','\x5cRouterMenu\x5cindex.js','existsSync','statSync','\x5c.idea','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5ccli.dva.register.saas.txt','G4HJRsHr9D7Ssmixegw2','error','9NmpHFL','forEach','DeleteDirAllFile','521590SLPqkm','jjb-react-admin-component','readFileSync','1137905xLoAdm','return\x20process.env;','mkdirSync','\x5cnode_modules\x5cjjb-','46473rjMUBA','【Error】:\x20未获取到项目\x20','common/color','request','rmdirSync','react-admin-component','substr'];a19_0x42f3=function(){return _0x5dceab;};return a19_0x42f3();}function get_project_type(_0x516c0b){const _0x37f0b5=a19_0x1aeece,_0x20a524=JSON[_0x37f0b5(0x1bc)](fs['readFileSync'](_0x516c0b)['toString']());return _0x20a524[_0x37f0b5(0x17c)];}function update_project_package_json(_0x244968,_0x5957d4,_0x3d899a){const _0x268cda=a19_0x1aeece,_0x4acb62=JSON[_0x268cda(0x1bc)](fs[_0x268cda(0x1cd)](_0x244968)[_0x268cda(0x18f)]());_0x4acb62['dependencies'][_0x5957d4]=_0x3d899a,fs[_0x268cda(0x1be)](_0x244968,JSON[_0x268cda(0x1ab)](_0x4acb62,null,0x2));}function content_replace(_0xe873d7=[],_0x5a925f){const _0x5edb77=a19_0x1aeece;_0xe873d7[_0x5edb77(0x1c9)](_0x3163fc=>{const _0x3d8be0=_0x5edb77,_0x1d99ee=_0x5a925f+_0x3163fc[_0x3d8be0(0x185)];if(fs[_0x3d8be0(0x1c1)](_0x1d99ee)){let _0x41517c=fs[_0x3d8be0(0x1cd)](_0x1d99ee)['toString']();_0x3163fc['replace'][_0x3d8be0(0x1c9)](_0x491dd1=>{const _0x339ef6=_0x3d8be0;_0x41517c=_0x41517c[_0x339ef6(0x1b7)](_0x491dd1[0x0],_0x491dd1[0x1]);}),fs[_0x3d8be0(0x1be)](_0x1d99ee,_0x41517c);}});}
@@ -1 +1 @@
1
- const a20_0x2df87d=a20_0x58b9;(function(_0x2409a1,_0x2670d2){const _0x573299=a20_0x58b9,_0xffd0c4=_0x2409a1();while(!![]){try{const _0x219354=-parseInt(_0x573299(0x10d))/0x1*(-parseInt(_0x573299(0x109))/0x2)+parseInt(_0x573299(0x112))/0x3+parseInt(_0x573299(0x11a))/0x4+-parseInt(_0x573299(0x126))/0x5+parseInt(_0x573299(0x119))/0x6+parseInt(_0x573299(0x10e))/0x7+parseInt(_0x573299(0x110))/0x8*(-parseInt(_0x573299(0x124))/0x9);if(_0x219354===_0x2670d2)break;else _0xffd0c4['push'](_0xffd0c4['shift']());}catch(_0x16d23c){_0xffd0c4['push'](_0xffd0c4['shift']());}}}(a20_0x7bb1,0x9fb26));const fs=require('fs'),path=require('path'),readline=require('readline'),ProgressBar=require(a20_0x2df87d(0x10f)),io=readline['createInterface']({'input':process['stdin'],'output':process[a20_0x2df87d(0x10b)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x7bb1(){const _0x584ac6=['删除文件:','854625zYsYUd','删除异常:','4DSZTre','readdirSync','stdout','statSync','430827eNfzbw','1346898fbgudS','./progress-bar','21665944mbCgYZ','删除完成。','3109584sxKNEU','isDirectory','length','正在计算项目数,请稍等...','trim','log','rmdirSync','7719660qaiUIf','624320VtkqTd','existsSync','取消删除。','删除文件夹:','exit','无效操作。','unlinkSync','clear','question','exports','9Lovcox'];a20_0x7bb1=function(){return _0x584ac6;};return a20_0x7bb1();}module[a20_0x2df87d(0x123)]=function(){const _0x8f78d5=a20_0x2df87d,_0x5246e5=path['resolve']('./');io[_0x8f78d5(0x122)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x3a9a5d){const _0x5a8d32=_0x8f78d5;if(_0x3a9a5d[_0x5a8d32(0x116)]()==='y')console[_0x5a8d32(0x117)](_0x5a8d32(0x115)),setTimeout(()=>{setTimeout(()=>{const _0x5ce6a1=a20_0x58b9;console[_0x5ce6a1(0x121)](),exec(_0x5246e5),setTimeout(()=>{const _0x3c98b0=_0x5ce6a1;console[_0x3c98b0(0x117)](_0x3c98b0(0x111)),console[_0x3c98b0(0x121)](),process[_0x3c98b0(0x11e)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3a9a5d[_0x5a8d32(0x116)]()==='n'?(console['log'](_0x5a8d32(0x11c)),process[_0x5a8d32(0x11e)](0x0)):(console[_0x5a8d32(0x117)](_0x5a8d32(0x11f)),process[_0x5a8d32(0x11e)](0x0));});};function exec(_0x32f802){const _0x4ae9a5=a20_0x2df87d;if(fs[_0x4ae9a5(0x11b)](_0x32f802)){const _0x4148a9=fs[_0x4ae9a5(0x10a)](_0x32f802);for(let _0x3a8610=0x0;_0x3a8610<_0x4148a9['length'];_0x3a8610++){const _0x23434f=_0x4148a9[_0x3a8610],_0x5a3669=_0x32f802+'/'+_0x23434f;try{fs[_0x4ae9a5(0x10c)](_0x5a3669)[_0x4ae9a5(0x113)]()?(exec(_0x5a3669),fs[_0x4ae9a5(0x118)](_0x5a3669,{'recursive':!![]}),console['log'](_0x4ae9a5(0x11d)+_0x5a3669)):(fs[_0x4ae9a5(0x120)](_0x5a3669),console[_0x4ae9a5(0x117)](_0x4ae9a5(0x125)+_0x5a3669));}catch(_0x3955ec){console[_0x4ae9a5(0x117)](_0x4ae9a5(0x127)+_0x5a3669);}}}}function a20_0x58b9(_0x561d74,_0x51ba97){const _0x7bb1a6=a20_0x7bb1();return a20_0x58b9=function(_0x58b99a,_0x448f03){_0x58b99a=_0x58b99a-0x109;let _0x3b5681=_0x7bb1a6[_0x58b99a];return _0x3b5681;},a20_0x58b9(_0x561d74,_0x51ba97);}function scanner(_0x178fa0){const _0x16a195=a20_0x2df87d;if(fs['existsSync'](_0x178fa0)){const _0x55a151=fs['readdirSync'](_0x178fa0);for(let _0x76f69c=0x0;_0x76f69c<_0x55a151[_0x16a195(0x114)];_0x76f69c++){const _0x302de2=_0x55a151[_0x76f69c],_0x1c9fec=_0x178fa0+'/'+_0x302de2;try{fs[_0x16a195(0x10c)](_0x1c9fec)[_0x16a195(0x113)]()?(scanner(_0x1c9fec),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x5ddd97){}}}}
1
+ const a20_0x74dac6=a20_0x4d58;(function(_0x2fcfbf,_0x5015f2){const _0x198088=a20_0x4d58,_0x353054=_0x2fcfbf();while(!![]){try{const _0x46e2ba=parseInt(_0x198088(0xfd))/0x1+-parseInt(_0x198088(0x101))/0x2*(parseInt(_0x198088(0x105))/0x3)+parseInt(_0x198088(0xf6))/0x4*(-parseInt(_0x198088(0x10d))/0x5)+-parseInt(_0x198088(0x110))/0x6*(-parseInt(_0x198088(0x106))/0x7)+-parseInt(_0x198088(0xfa))/0x8+parseInt(_0x198088(0x10c))/0x9*(parseInt(_0x198088(0xf4))/0xa)+parseInt(_0x198088(0x102))/0xb*(parseInt(_0x198088(0xfe))/0xc);if(_0x46e2ba===_0x5015f2)break;else _0x353054['push'](_0x353054['shift']());}catch(_0x2f6108){_0x353054['push'](_0x353054['shift']());}}}(a20_0x31ff,0xd8756));function a20_0x31ff(){const _0x2d2586=['stdin','1227677IwMmtA','18780ozUiRB','readline','rmdirSync','2YhCXtl','5357RDuuTD','stdout','existsSync','3758295tJUcoL','3058349Atmqyj','clear','log','exit','length','question','4162059JqRBuT','74985waCYwk','删除异常:','resolve','12xqNQCG','readdirSync','statSync','trim','./progress-bar','10ySHDcZ','是否确认删除?删除后不可恢复![y/n]:','12urVBro','isDirectory','删除文件夹:','无效操作。','9133816lXqrZT','正在计算项目数,请稍等...'];a20_0x31ff=function(){return _0x2d2586;};return a20_0x31ff();}const fs=require('fs'),path=require('path'),readline=require(a20_0x74dac6(0xff)),ProgressBar=require(a20_0x74dac6(0x114)),io=readline['createInterface']({'input':process[a20_0x74dac6(0xfc)],'output':process[a20_0x74dac6(0x103)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x4d58(_0x8fd549,_0x44be41){const _0x31ffc0=a20_0x31ff();return a20_0x4d58=function(_0x4d580a,_0x252a69){_0x4d580a=_0x4d580a-0xf4;let _0x56f539=_0x31ffc0[_0x4d580a];return _0x56f539;},a20_0x4d58(_0x8fd549,_0x44be41);}module['exports']=function(){const _0xc84a82=a20_0x74dac6,_0x22370f=path[_0xc84a82(0x10f)]('./');io[_0xc84a82(0x10b)](_0xc84a82(0xf5),function(_0x457725){const _0x51357c=_0xc84a82;if(_0x457725['trim']()==='y')console['log'](_0x51357c(0xfb)),setTimeout(()=>{setTimeout(()=>{const _0x5174d6=a20_0x4d58;console[_0x5174d6(0x107)](),exec(_0x22370f),setTimeout(()=>{const _0x4d6e28=_0x5174d6;console[_0x4d6e28(0x108)]('删除完成。'),console[_0x4d6e28(0x107)](),process[_0x4d6e28(0x109)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x457725[_0x51357c(0x113)]()==='n'?(console[_0x51357c(0x108)]('取消删除。'),process['exit'](0x0)):(console[_0x51357c(0x108)](_0x51357c(0xf9)),process[_0x51357c(0x109)](0x0));});};function exec(_0x1dcfc8){const _0xe613ab=a20_0x74dac6;if(fs['existsSync'](_0x1dcfc8)){const _0x148804=fs['readdirSync'](_0x1dcfc8);for(let _0xff8ce8=0x0;_0xff8ce8<_0x148804['length'];_0xff8ce8++){const _0x59e2fe=_0x148804[_0xff8ce8],_0x5ec3bb=_0x1dcfc8+'/'+_0x59e2fe;try{fs[_0xe613ab(0x112)](_0x5ec3bb)[_0xe613ab(0xf7)]()?(exec(_0x5ec3bb),fs[_0xe613ab(0x100)](_0x5ec3bb,{'recursive':!![]}),console[_0xe613ab(0x108)](_0xe613ab(0xf8)+_0x5ec3bb)):(fs['unlinkSync'](_0x5ec3bb),console[_0xe613ab(0x108)]('删除文件:'+_0x5ec3bb));}catch(_0x43e55e){console[_0xe613ab(0x108)](_0xe613ab(0x10e)+_0x5ec3bb);}}}}function scanner(_0x3865de){const _0x5d349b=a20_0x74dac6;if(fs[_0x5d349b(0x104)](_0x3865de)){const _0x5398d0=fs[_0x5d349b(0x111)](_0x3865de);for(let _0x49f70b=0x0;_0x49f70b<_0x5398d0[_0x5d349b(0x10a)];_0x49f70b++){const _0x34dab6=_0x5398d0[_0x49f70b],_0xbfc89c=_0x3865de+'/'+_0x34dab6;try{fs[_0x5d349b(0x112)](_0xbfc89c)[_0x5d349b(0xf7)]()?(scanner(_0xbfc89c),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x396d89){}}}}
@@ -1 +1 @@
1
- const a21_0x445420=a21_0x54d3;function a21_0x5c64(){const _0x40472d=['description','completed','575202IZriEd','toFixed','render','837662YYZasA','1332342Cmiwwv','length','409505zQPqvC','Progress','stdout','4067100WomxBo','904900ZUmNWp','16TahwNw','floor','2251468AKRLLC'];a21_0x5c64=function(){return _0x40472d;};return a21_0x5c64();}(function(_0x4ab81a,_0x38d095){const _0x204c7e=a21_0x54d3,_0x1446a0=_0x4ab81a();while(!![]){try{const _0x2c9b50=parseInt(_0x204c7e(0xfd))/0x1+parseInt(_0x204c7e(0xfb))/0x2+-parseInt(_0x204c7e(0xf7))/0x3+parseInt(_0x204c7e(0xf4))/0x4+-parseInt(_0x204c7e(0xf1))/0x5+-parseInt(_0x204c7e(0xf0))/0x6+-parseInt(_0x204c7e(0xfa))/0x7*(parseInt(_0x204c7e(0xf2))/0x8);if(_0x2c9b50===_0x38d095)break;else _0x1446a0['push'](_0x1446a0['shift']());}catch(_0x27ee34){_0x1446a0['push'](_0x1446a0['shift']());}}}(a21_0x5c64,0x551e7));function a21_0x54d3(_0x3d3ec6,_0x9a4b66){const _0x5c6491=a21_0x5c64();return a21_0x54d3=function(_0x54d332,_0x35c013){_0x54d332=_0x54d332-0xef;let _0x25aae0=_0x5c6491[_0x54d332];return _0x25aae0;},a21_0x54d3(_0x3d3ec6,_0x9a4b66);}const slog=require('single-line-log')[a21_0x445420(0xef)];function ProgressBar(_0x13a3e9,_0xfa3f97){const _0x189ccf=a21_0x445420;this['description']=_0x13a3e9||_0x189ccf(0xfe),this['length']=_0xfa3f97||0x19,this[_0x189ccf(0xf9)]=function(_0x11463d){const _0x2af4dd=_0x189ccf;let _0x59e536;const _0x418413=(_0x11463d[_0x2af4dd(0xf6)]/_0x11463d['total'])[_0x2af4dd(0xf8)](0x4),_0x10b114=Math[_0x2af4dd(0xf3)](_0x418413*this[_0x2af4dd(0xfc)]);let _0x4283d7='';for(_0x59e536=0x0;_0x59e536<_0x10b114;_0x59e536++){_0x4283d7+='█';}let _0x1c2471='';for(_0x59e536=0x0;_0x59e536<this[_0x2af4dd(0xfc)]-_0x10b114;_0x59e536++){_0x1c2471+='░';}const _0x291556=this[_0x2af4dd(0xf5)]+':\x20'+(0x64*_0x418413)[_0x2af4dd(0xf8)](0x2)+'%\x20'+_0x4283d7+_0x1c2471+'\x20'+_0x11463d[_0x2af4dd(0xf6)]+'/'+_0x11463d['total'];slog(_0x291556);};}module['exports']=ProgressBar;
1
+ const a21_0x1c815d=a21_0x2b91;(function(_0x4d4903,_0x5e20b2){const _0x50f4e7=a21_0x2b91,_0x4e8f5a=_0x4d4903();while(!![]){try{const _0x2e7a2a=parseInt(_0x50f4e7(0x146))/0x1+-parseInt(_0x50f4e7(0x154))/0x2*(parseInt(_0x50f4e7(0x148))/0x3)+parseInt(_0x50f4e7(0x14e))/0x4*(-parseInt(_0x50f4e7(0x153))/0x5)+-parseInt(_0x50f4e7(0x14d))/0x6*(parseInt(_0x50f4e7(0x144))/0x7)+-parseInt(_0x50f4e7(0x155))/0x8+-parseInt(_0x50f4e7(0x145))/0x9+parseInt(_0x50f4e7(0x143))/0xa;if(_0x2e7a2a===_0x5e20b2)break;else _0x4e8f5a['push'](_0x4e8f5a['shift']());}catch(_0x34f008){_0x4e8f5a['push'](_0x4e8f5a['shift']());}}}(a21_0x21c1,0xcf1e4));function a21_0x2b91(_0xc73e4e,_0x49b0e3){const _0x21c1ac=a21_0x21c1();return a21_0x2b91=function(_0x2b910b,_0x138b18){_0x2b910b=_0x2b910b-0x141;let _0x3381d8=_0x21c1ac[_0x2b910b];return _0x3381d8;},a21_0x2b91(_0xc73e4e,_0x49b0e3);}const slog=require(a21_0x1c815d(0x14b))[a21_0x1c815d(0x147)];function a21_0x21c1(){const _0x38003b=['125050BNDHqY','2wntxdB','9658792JjWsLr','length','completed','50824680VjeOxW','7600117TeobSQ','14937804OrUwEc','464791lXeWgW','stdout','1337841gnvPCx','exports','description','single-line-log','floor','6QHdRPS','48VfGwUY','total','toFixed','Progress','render'];a21_0x21c1=function(){return _0x38003b;};return a21_0x21c1();}function ProgressBar(_0x4886e0,_0x657a7f){const _0x2e9fcb=a21_0x1c815d;this[_0x2e9fcb(0x14a)]=_0x4886e0||_0x2e9fcb(0x151),this['length']=_0x657a7f||0x19,this[_0x2e9fcb(0x152)]=function(_0x6959a4){const _0x43a66d=_0x2e9fcb;let _0x4274bd;const _0x1aa203=(_0x6959a4[_0x43a66d(0x142)]/_0x6959a4[_0x43a66d(0x14f)])['toFixed'](0x4),_0x33e09d=Math[_0x43a66d(0x14c)](_0x1aa203*this[_0x43a66d(0x141)]);let _0x90db07='';for(_0x4274bd=0x0;_0x4274bd<_0x33e09d;_0x4274bd++){_0x90db07+='█';}let _0xf31613='';for(_0x4274bd=0x0;_0x4274bd<this[_0x43a66d(0x141)]-_0x33e09d;_0x4274bd++){_0xf31613+='░';}const _0x217d48=this[_0x43a66d(0x14a)]+':\x20'+(0x64*_0x1aa203)[_0x43a66d(0x150)](0x2)+'%\x20'+_0x90db07+_0xf31613+'\x20'+_0x6959a4[_0x43a66d(0x142)]+'/'+_0x6959a4[_0x43a66d(0x14f)];slog(_0x217d48);};}module[a21_0x1c815d(0x149)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a22_0x58eb7f=a22_0xd138;(function(_0x509793,_0x28e8b1){const _0x599ba1=a22_0xd138,_0x4235b5=_0x509793();while(!![]){try{const _0xbae6ed=-parseInt(_0x599ba1(0x159))/0x1+parseInt(_0x599ba1(0x154))/0x2+-parseInt(_0x599ba1(0x156))/0x3+parseInt(_0x599ba1(0x166))/0x4*(-parseInt(_0x599ba1(0x167))/0x5)+parseInt(_0x599ba1(0x16d))/0x6*(-parseInt(_0x599ba1(0x157))/0x7)+-parseInt(_0x599ba1(0x163))/0x8*(-parseInt(_0x599ba1(0x16b))/0x9)+-parseInt(_0x599ba1(0x15c))/0xa*(-parseInt(_0x599ba1(0x165))/0xb);if(_0xbae6ed===_0x28e8b1)break;else _0x4235b5['push'](_0x4235b5['shift']());}catch(_0x12c4b8){_0x4235b5['push'](_0x4235b5['shift']());}}}(a22_0x4b36,0xb8a7b));function a22_0xd138(_0x3d8bda,_0x206450){const _0x4b360a=a22_0x4b36();return a22_0xd138=function(_0xd1382f,_0x3b39b1){_0xd1382f=_0xd1382f-0x153;let _0x3700ca=_0x4b360a[_0xd1382f];return _0x3700ca;},a22_0xd138(_0x3d8bda,_0x206450);}const fs=require('fs'),path=require(a22_0x58eb7f(0x158));function a22_0x4b36(){const _0x1bc7f2=['CreatePaths','CopyFolder','DeleteDirAllFile','read\x20error','error','10112KgtQYT','readdir','22vttcXF','2232964gaJNnB','5nwpudF','isDirectory','CopyFile','readdirSync','5328hbsNMg','mkdirSync','1279518oCIulh','statSync','write\x20error','length','close','forEach','DeepScanner','980052hpYmxP','join','607296oyuTLo','7dkGder','path','1023883LHpoMY','stat','log','7579210JzNKcC','push'];a22_0x4b36=function(){return _0x1bc7f2;};return a22_0x4b36();}exports[a22_0x58eb7f(0x160)]=(_0x52010c,_0x578d70)=>{const _0x4fb725=a22_0x58eb7f;let _0xd2d8e0=[];const _0x2cd771=this;fs['existsSync'](_0x52010c)?(_0xd2d8e0=fs['readdirSync'](_0x52010c),_0xd2d8e0[_0x4fb725(0x172)](function(_0x25037a,_0x58da83){const _0x29c8ea=_0x4fb725;let _0x483dc3=_0x52010c+'/'+_0x25037a;fs[_0x29c8ea(0x16e)](_0x483dc3)['isDirectory']()?_0x2cd771['DeleteDirAllFile'](_0x483dc3):fs['unlinkSync'](_0x483dc3);}),fs['rmdirSync'](_0x52010c),_0x578d70&&_0x578d70()):_0x578d70&&_0x578d70();},exports[a22_0x58eb7f(0x15f)]=(_0x10f837,_0x154d98,_0x56a3b6)=>{const _0x5e368a=a22_0x58eb7f,_0x2e10e9=this;fs[_0x5e368a(0x164)](_0x10f837,function(_0x1ef7b5,_0x50d84c){const _0x4ed590=_0x5e368a;let _0x457686=0x0;const _0x4dff46=function(){const _0xacf08d=a22_0xd138;++_0x457686===_0x50d84c[_0xacf08d(0x170)]&&_0x56a3b6&&_0x56a3b6();};if(_0x1ef7b5){_0x4dff46();return;}_0x50d84c[_0x4ed590(0x172)](function(_0x1d4837){const _0xf16f7c=_0x4ed590,_0x45dd85=path[_0xf16f7c(0x155)](_0x10f837,_0x1d4837),_0x2d4e7b=path[_0xf16f7c(0x155)](_0x154d98,_0x1d4837);fs[_0xf16f7c(0x15a)](_0x45dd85,function(_0x165070,_0xb6f46a){const _0x5e2dc6=_0xf16f7c;_0xb6f46a['isDirectory']()?fs['mkdir'](_0x2d4e7b,function(_0x4e8ab2){const _0xbce6b3=a22_0xd138;if(_0x4e8ab2){console[_0xbce6b3(0x15b)](_0x4e8ab2);return;}_0x2e10e9[_0xbce6b3(0x15f)](_0x45dd85,_0x2d4e7b,_0x4dff46);}):_0x2e10e9[_0x5e2dc6(0x169)](_0x45dd85,_0x2d4e7b,_0x4dff46);});}),_0x50d84c[_0x4ed590(0x170)]===0x0&&_0x56a3b6&&_0x56a3b6();});},exports[a22_0x58eb7f(0x169)]=(_0x251ff8,_0xc6b44d,_0x29312b)=>{const _0x224b26=a22_0x58eb7f,_0x35e0ba=fs['createReadStream'](_0x251ff8);_0x35e0ba['on']('error',function(_0x59ed6a){const _0x46ed10=a22_0xd138;_0x59ed6a&&console[_0x46ed10(0x15b)](_0x46ed10(0x161),_0x251ff8),_0x29312b&&_0x29312b(_0x59ed6a);});const _0x1bcd3e=fs['createWriteStream'](_0xc6b44d);_0x1bcd3e['on'](_0x224b26(0x162),function(_0x4e9eb8){const _0x355e1e=_0x224b26;_0x4e9eb8&&console['log'](_0x355e1e(0x16f),_0xc6b44d),_0x29312b&&_0x29312b(_0x4e9eb8);}),_0x1bcd3e['on'](_0x224b26(0x171),function(_0x56fc6d){_0x29312b&&_0x29312b(_0x56fc6d);}),_0x35e0ba['pipe'](_0x1bcd3e);},exports[a22_0x58eb7f(0x153)]=(_0x43f568,_0x4a5c12)=>{const _0x1dd1b6=a22_0x58eb7f,_0x4ab726=this,_0x1ffdf3=fs[_0x1dd1b6(0x16a)](_0x43f568);_0x1ffdf3['forEach'](_0x67899c=>{const _0x473d3f=_0x1dd1b6,_0x413ce5=_0x43f568+'/'+_0x67899c,_0x39f67a=fs['statSync'](_0x413ce5);_0x39f67a['isDirectory']()?_0x4ab726[_0x473d3f(0x153)](_0x413ce5,_0x4a5c12):_0x4a5c12[_0x473d3f(0x15d)](_0x413ce5);});},exports[a22_0x58eb7f(0x15e)]=(_0x1dc6f8,_0x4f0267)=>{return new Promise(_0x333195=>{const _0x2a0bde=a22_0xd138,_0x2740f7=[];_0x4f0267[_0x2a0bde(0x172)]((_0x1c9173,_0x25dbab)=>{const _0x4a1e3c=_0x2a0bde,_0x4bc76a=_0x1dc6f8+'/'+_0x2740f7[_0x4a1e3c(0x155)]('/')+'/'+_0x1c9173;try{const _0x3f2e6c=fs[_0x4a1e3c(0x16e)](_0x4bc76a);_0x3f2e6c[_0x4a1e3c(0x168)]()?_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195():(fs[_0x4a1e3c(0x16c)](_0x4bc76a),_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195());}catch(_0x2abe46){fs['mkdirSync'](_0x4bc76a),_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195();}_0x2740f7['push'](_0x1c9173);});});};
1
+ 'use strict';const a22_0x2077f3=a22_0x3683;function a22_0x3683(_0x5a2823,_0x26ad80){const _0x4ff31a=a22_0x4ff3();return a22_0x3683=function(_0x36832a,_0x2d5f59){_0x36832a=_0x36832a-0xb8;let _0x5d4802=_0x4ff31a[_0x36832a];return _0x5d4802;},a22_0x3683(_0x5a2823,_0x26ad80);}(function(_0x937385,_0x3d5f48){const _0x286c77=a22_0x3683,_0x39048=_0x937385();while(!![]){try{const _0x3f0af6=parseInt(_0x286c77(0xb8))/0x1*(-parseInt(_0x286c77(0xc4))/0x2)+-parseInt(_0x286c77(0xc3))/0x3+parseInt(_0x286c77(0xba))/0x4+parseInt(_0x286c77(0xc5))/0x5*(-parseInt(_0x286c77(0xcb))/0x6)+parseInt(_0x286c77(0xce))/0x7*(-parseInt(_0x286c77(0xcd))/0x8)+-parseInt(_0x286c77(0xbb))/0x9+parseInt(_0x286c77(0xd5))/0xa*(parseInt(_0x286c77(0xbe))/0xb);if(_0x3f0af6===_0x3d5f48)break;else _0x39048['push'](_0x39048['shift']());}catch(_0x3fbd18){_0x39048['push'](_0x39048['shift']());}}}(a22_0x4ff3,0x35ce5));const fs=require('fs'),path=require(a22_0x2077f3(0xc2));function a22_0x4ff3(){const _0x1697ce=['60JfPUab','CopyFolder','631112hIfcTS','7OpSync','push','stat','mkdirSync','read\x20error','join','DeepScanner','20ZppEpv','3gnqoSo','forEach','125724KaiADe','368397vxZwhT','unlinkSync','CreatePaths','6463105dEryoR','statSync','DeleteDirAllFile','length','path','1189050tvVtEm','158980wOaKqM','115755daGpuw','createReadStream','readdirSync','write\x20error','isDirectory','pipe'];a22_0x4ff3=function(){return _0x1697ce;};return a22_0x4ff3();}exports[a22_0x2077f3(0xc0)]=(_0x3aa6e0,_0x1cbcfd)=>{const _0x5e1179=a22_0x2077f3;let _0x5ac088=[];const _0x406ee0=this;fs['existsSync'](_0x3aa6e0)?(_0x5ac088=fs[_0x5e1179(0xc7)](_0x3aa6e0),_0x5ac088[_0x5e1179(0xb9)](function(_0x59d567,_0x5a6a49){const _0xf6ca03=_0x5e1179;let _0x3e64bc=_0x3aa6e0+'/'+_0x59d567;fs[_0xf6ca03(0xbf)](_0x3e64bc)[_0xf6ca03(0xc9)]()?_0x406ee0['DeleteDirAllFile'](_0x3e64bc):fs[_0xf6ca03(0xbc)](_0x3e64bc);}),fs['rmdirSync'](_0x3aa6e0),_0x1cbcfd&&_0x1cbcfd()):_0x1cbcfd&&_0x1cbcfd();},exports[a22_0x2077f3(0xcc)]=(_0x499ccd,_0x4e47b0,_0x3990a9)=>{const _0x3b1a3c=this;fs['readdir'](_0x499ccd,function(_0x27e056,_0x3d51a2){const _0x2fad00=a22_0x3683;let _0xc461dc=0x0;const _0x2681ff=function(){const _0x58eca6=a22_0x3683;++_0xc461dc===_0x3d51a2[_0x58eca6(0xc1)]&&_0x3990a9&&_0x3990a9();};if(_0x27e056){_0x2681ff();return;}_0x3d51a2[_0x2fad00(0xb9)](function(_0x2c62c2){const _0x194d4e=_0x2fad00,_0x4c271a=path[_0x194d4e(0xd3)](_0x499ccd,_0x2c62c2),_0x61d26d=path[_0x194d4e(0xd3)](_0x4e47b0,_0x2c62c2);fs[_0x194d4e(0xd0)](_0x4c271a,function(_0x19088f,_0x5674c1){const _0x4861f5=_0x194d4e;_0x5674c1[_0x4861f5(0xc9)]()?fs['mkdir'](_0x61d26d,function(_0x5ed223){if(_0x5ed223){console['log'](_0x5ed223);return;}_0x3b1a3c['CopyFolder'](_0x4c271a,_0x61d26d,_0x2681ff);}):_0x3b1a3c['CopyFile'](_0x4c271a,_0x61d26d,_0x2681ff);});}),_0x3d51a2[_0x2fad00(0xc1)]===0x0&&_0x3990a9&&_0x3990a9();});},exports['CopyFile']=(_0x301382,_0x2899ca,_0x3ca623)=>{const _0x33f452=a22_0x2077f3,_0x3b323a=fs[_0x33f452(0xc6)](_0x301382);_0x3b323a['on']('error',function(_0x4320e4){const _0xca889d=_0x33f452;_0x4320e4&&console['log'](_0xca889d(0xd2),_0x301382),_0x3ca623&&_0x3ca623(_0x4320e4);});const _0x2c7e15=fs['createWriteStream'](_0x2899ca);_0x2c7e15['on']('error',function(_0x423099){const _0x26f779=_0x33f452;_0x423099&&console['log'](_0x26f779(0xc8),_0x2899ca),_0x3ca623&&_0x3ca623(_0x423099);}),_0x2c7e15['on']('close',function(_0x18f789){_0x3ca623&&_0x3ca623(_0x18f789);}),_0x3b323a[_0x33f452(0xca)](_0x2c7e15);},exports[a22_0x2077f3(0xd4)]=(_0x56c823,_0xab1c80)=>{const _0x3ab478=a22_0x2077f3,_0x5723dc=this,_0x32c97e=fs['readdirSync'](_0x56c823);_0x32c97e[_0x3ab478(0xb9)](_0x17c042=>{const _0x311389=_0x3ab478,_0x50e2c1=_0x56c823+'/'+_0x17c042,_0x28788b=fs[_0x311389(0xbf)](_0x50e2c1);_0x28788b[_0x311389(0xc9)]()?_0x5723dc['DeepScanner'](_0x50e2c1,_0xab1c80):_0xab1c80['push'](_0x50e2c1);});},exports[a22_0x2077f3(0xbd)]=(_0x43f032,_0x4466c8)=>{return new Promise(_0xc4256b=>{const _0x4759b=a22_0x3683,_0x11b19c=[];_0x4466c8[_0x4759b(0xb9)]((_0x2ebed8,_0x170173)=>{const _0x388a3e=_0x4759b,_0x48a9e3=_0x43f032+'/'+_0x11b19c[_0x388a3e(0xd3)]('/')+'/'+_0x2ebed8;try{const _0x19b2d4=fs['statSync'](_0x48a9e3);_0x19b2d4[_0x388a3e(0xc9)]()?_0x170173===_0x4466c8[_0x388a3e(0xc1)]-0x1&&_0xc4256b():(fs[_0x388a3e(0xd1)](_0x48a9e3),_0x170173===_0x4466c8[_0x388a3e(0xc1)]-0x1&&_0xc4256b());}catch(_0x435479){fs[_0x388a3e(0xd1)](_0x48a9e3),_0x170173===_0x4466c8['length']-0x1&&_0xc4256b();}_0x11b19c[_0x388a3e(0xcf)](_0x2ebed8);});});};