jjb-cmd 2.1.18 → 2.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.19</p>
6
+ <div>增加动态版本查询,增加应用refresh可刷新package</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.18</p>
6
10
  <div>init命令初始化完成,增加询问是否立即安装项目 - 优化完善</div>
package/bin/command.js CHANGED
@@ -6,8 +6,12 @@ const path = require('path');
6
6
  const fs = require('fs');
7
7
  const child_process = require('child_process');
8
8
 
9
- commander.command('v').description('-- 查看版本').action(() => {
10
- console.log('当前版本 v2.0.0');
9
+ commander.command('-v').description('-- 查看版本').action(() => {
10
+ const package_json_file = JSON.parse(fs.readFileSync(path.join(__dirname, '../package.json')).toString());
11
+ const {
12
+ version
13
+ } = package_json_file;
14
+ console.log(`当前版本 v${version}`);
11
15
  });
12
16
 
13
17
  commander.command('view res').description('-- 预览资源').action(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.18",
4
+ "version": "2.1.19",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x4ea82a=a0_0x3d76;(function(_0x41012e,_0x1eb29a){const _0x1c67aa=a0_0x3d76,_0x4c06e4=_0x41012e();while(!![]){try{const _0x35d37d=parseInt(_0x1c67aa(0x10f))/0x1*(-parseInt(_0x1c67aa(0x102))/0x2)+parseInt(_0x1c67aa(0x115))/0x3+-parseInt(_0x1c67aa(0x106))/0x4*(-parseInt(_0x1c67aa(0x105))/0x5)+parseInt(_0x1c67aa(0x117))/0x6*(parseInt(_0x1c67aa(0x118))/0x7)+-parseInt(_0x1c67aa(0x10a))/0x8*(-parseInt(_0x1c67aa(0x116))/0x9)+parseInt(_0x1c67aa(0x112))/0xa*(-parseInt(_0x1c67aa(0x10c))/0xb)+-parseInt(_0x1c67aa(0x103))/0xc*(parseInt(_0x1c67aa(0x10e))/0xd);if(_0x35d37d===_0x1eb29a)break;else _0x4c06e4['push'](_0x4c06e4['shift']());}catch(_0x98cf4d){_0x4c06e4['push'](_0x4c06e4['shift']());}}}(a0_0x336d,0xb0a09));function a0_0x336d(){const _0x2909e1=['path','writeFileSync','62iRXFNo','250164Jifkmx','unlinkSync','10UbtSev','2285372FUUVNg','Auth\x20NetWork\x20Fail!','log','exports','747200CLCyhC','join','8852811MWnFxJ','Auth\x20Success!','299FMKJJh','26489uuKxlW','status','then','10biAbVA','/api/auth','../cmd.install/config','3476403MYtUpt','36gQYxof','1266EBwMvN','5103aQFRDt','axios','data'];a0_0x336d=function(){return _0x2909e1;};return a0_0x336d();}function a0_0x3d76(_0xea50f8,_0x460aa1){const _0x336dfc=a0_0x336d();return a0_0x3d76=function(_0x3d763,_0x464745){_0x3d763=_0x3d763-0x102;let _0x5c0b51=_0x336dfc[_0x3d763];return _0x5c0b51;},a0_0x3d76(_0xea50f8,_0x460aa1);}const axios=require(a0_0x4ea82a(0x119)),fs=require('fs'),path=require(a0_0x4ea82a(0x11b)),{API_HOST}=require(a0_0x4ea82a(0x114));module[a0_0x4ea82a(0x109)]=_0x4b60d3=>{const _0x4235b2=a0_0x4ea82a;console['log'](_0x4b60d3);const [_0x594796,_0x54cfff]=_0x4b60d3;axios['post'](API_HOST+_0x4235b2(0x113),{'username':_0x594796,'password':_0x54cfff})[_0x4235b2(0x111)](_0x1029dc=>{const _0x4d267f=_0x4235b2,_0x179b5a=path[_0x4d267f(0x10b)](__dirname,'../../../.auth');_0x1029dc[_0x4d267f(0x11a)][_0x4d267f(0x110)]?(console[_0x4d267f(0x108)](_0x4d267f(0x10d)),fs[_0x4d267f(0x11c)](_0x179b5a,_0x594796+'/'+_0x54cfff)):(console[_0x4d267f(0x108)]('Auth\x20Fail!'),fs['existsSync'](_0x179b5a)&&fs[_0x4d267f(0x104)](_0x179b5a));})['catch'](_0x5c3aef=>{const _0x455d69=_0x4235b2;console[_0x455d69(0x108)](_0x455d69(0x107));});};
1
+ function a0_0x28d4(){const _0x456dba=['../../../.auth','25LEfnJT','6sZSZsE','data','2iyShmZ','join','path','3099808EdRQxO','706387KASHhP','post','6574414EUdkAl','3344391CjoyZM','27qwacwt','../cmd.install/config','log','Auth\x20NetWork\x20Fail!','catch','814471MwqgDM','4321970LDJGEn','Auth\x20Fail!','status','exports','12XNquIU','then','315688EWXFWX','writeFileSync'];a0_0x28d4=function(){return _0x456dba;};return a0_0x28d4();}const a0_0x40a60d=a0_0x5ef3;(function(_0x422ca4,_0x3e8f70){const _0x43f37f=a0_0x5ef3,_0x58d54e=_0x422ca4();while(!![]){try{const _0xdebd1e=parseInt(_0x43f37f(0x177))/0x1+parseInt(_0x43f37f(0x16a))/0x2*(parseInt(_0x43f37f(0x171))/0x3)+-parseInt(_0x43f37f(0x164))/0x4*(parseInt(_0x43f37f(0x167))/0x5)+parseInt(_0x43f37f(0x168))/0x6*(parseInt(_0x43f37f(0x170))/0x7)+-parseInt(_0x43f37f(0x16d))/0x8+-parseInt(_0x43f37f(0x172))/0x9*(parseInt(_0x43f37f(0x178))/0xa)+-parseInt(_0x43f37f(0x16e))/0xb*(parseInt(_0x43f37f(0x17c))/0xc);if(_0xdebd1e===_0x3e8f70)break;else _0x58d54e['push'](_0x58d54e['shift']());}catch(_0xf5918b){_0x58d54e['push'](_0x58d54e['shift']());}}}(a0_0x28d4,0xb1248));function a0_0x5ef3(_0x278f6a,_0x10557b){const _0x28d41f=a0_0x28d4();return a0_0x5ef3=function(_0x5ef328,_0x44a34c){_0x5ef328=_0x5ef328-0x164;let _0x22edaa=_0x28d41f[_0x5ef328];return _0x22edaa;},a0_0x5ef3(_0x278f6a,_0x10557b);}const axios=require('axios'),fs=require('fs'),path=require(a0_0x40a60d(0x16c)),{API_HOST}=require(a0_0x40a60d(0x173));module[a0_0x40a60d(0x17b)]=_0x5b5d96=>{const _0x35a568=a0_0x40a60d;console[_0x35a568(0x174)](_0x5b5d96);const [_0x40173b,_0x56d999]=_0x5b5d96;axios[_0x35a568(0x16f)](API_HOST+'/api/auth',{'username':_0x40173b,'password':_0x56d999})[_0x35a568(0x17d)](_0x5925dd=>{const _0xbe8a22=_0x35a568,_0x496a9c=path[_0xbe8a22(0x16b)](__dirname,_0xbe8a22(0x166));_0x5925dd[_0xbe8a22(0x169)][_0xbe8a22(0x17a)]?(console[_0xbe8a22(0x174)]('Auth\x20Success!'),fs[_0xbe8a22(0x165)](_0x496a9c,_0x40173b+'/'+_0x56d999)):(console[_0xbe8a22(0x174)](_0xbe8a22(0x179)),fs['existsSync'](_0x496a9c)&&fs['unlinkSync'](_0x496a9c));})[_0x35a568(0x176)](_0x19a4e3=>{const _0x3a5e52=_0x35a568;console['log'](_0x3a5e52(0x175));});};
@@ -1 +1 @@
1
- const a1_0x56b963=a1_0x3fd5;(function(_0x536878,_0x59b285){const _0x2db5ad=a1_0x3fd5,_0x3644fa=_0x536878();while(!![]){try{const _0x5db585=parseInt(_0x2db5ad(0x1f9))/0x1*(-parseInt(_0x2db5ad(0x1fa))/0x2)+parseInt(_0x2db5ad(0x1d2))/0x3*(parseInt(_0x2db5ad(0x1d8))/0x4)+-parseInt(_0x2db5ad(0x1d7))/0x5+parseInt(_0x2db5ad(0x1ec))/0x6+parseInt(_0x2db5ad(0x1dc))/0x7+-parseInt(_0x2db5ad(0x1ef))/0x8*(-parseInt(_0x2db5ad(0x1d6))/0x9)+-parseInt(_0x2db5ad(0x1ee))/0xa;if(_0x5db585===_0x59b285)break;else _0x3644fa['push'](_0x3644fa['shift']());}catch(_0x481058){_0x3644fa['push'](_0x3644fa['shift']());}}}(a1_0x196d,0x928d2));const fs=require('fs'),os=require('os'),path=require(a1_0x56b963(0x1e8)),request=require(a1_0x56b963(0x1e9)),utils=require('../../old/util'),compressing=require(a1_0x56b963(0x1d1)),readline=require(a1_0x56b963(0x1f3)),io=readline['createInterface']({'input':process[a1_0x56b963(0x1d0)],'output':process[a1_0x56b963(0x1f0)]}),child_process=require(a1_0x56b963(0x1ce)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0x56b963(0x1da)]=_0x42496e=>{const _0x50309d=a1_0x56b963,_0x309276=path[_0x50309d(0x1df)]('./'),_0x1c2881=CLOUD_PROJECT[_0x42496e]||undefined;if(_0x1c2881){const _0x519694=os[_0x50309d(0x1d9)](),_0x283408=_0x519694+'/'+GIT_TEMP_DIR+'/'+_0x42496e+'.zip',_0x17ad1a=_0x519694+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x50309d(0x1e0)](_0x519694+'/'+GIT_TEMP_DIR,()=>{const _0x47715e=_0x50309d;fs[_0x47715e(0x1f4)](_0x519694+'/'+GIT_TEMP_DIR);let _0x286c41=fs[_0x47715e(0x1db)](_0x283408);request(GIT_HOST+_0x47715e(0x1ed)+_0x1c2881['projectId']+_0x47715e(0x1f2)+_0x1c2881[_0x47715e(0x1f1)]+'&ref=master')['pipe'](_0x286c41)['on'](_0x47715e(0x1e6),()=>{const _0x60a114=_0x47715e;fs['mkdirSync'](_0x17ad1a),compressing[_0x60a114(0x1de)][_0x60a114(0x1dd)](_0x283408,_0x17ad1a)[_0x60a114(0x1ea)](()=>{setTimeout(()=>{const _0x24923a=a1_0x3fd5;fs[_0x24923a(0x1d4)](_0x17ad1a)['forEach'](_0x193b1f=>{const _0x4d7068=_0x24923a;_0x193b1f[_0x4d7068(0x1cf)](_0x4d7068(0x1eb))!==-0x1&&utils[_0x4d7068(0x1e2)](_0x17ad1a+_0x193b1f,_0x309276,()=>{const _0xf20782=_0x4d7068;io[_0xf20782(0x1e1)](_0xf20782(0x1f8),function(_0x4a2361){const _0x4da071=_0xf20782;['yarn','npm'][_0x4da071(0x1e5)](_0x4a2361[_0x4da071(0x1f5)]())?(console[_0x4da071(0x1e3)](_0x4da071(0x1cd)),child_process[_0x4da071(0x1f7)](_0x4da071(0x1d3)+_0x4a2361['trim'](),{'cwd':_0x309276}),console[_0x4da071(0x1e3)](_0x4da071(0x1e4)),process[_0x4da071(0x1d5)](0x0)):(console[_0x4da071(0x1e3)](_0x4da071(0x1f6)),process[_0x4da071(0x1d5)](0x0));});});});},0x7d0);});});});}else console['log']('【Error】:初始化失败,'+_0x42496e+_0x50309d(0x1e7));};function a1_0x3fd5(_0x3f1c38,_0x231092){const _0x196d1a=a1_0x196d();return a1_0x3fd5=function(_0x3fd580,_0x2feffa){_0x3fd580=_0x3fd580-0x1cd;let _0x1b0214=_0x196d1a[_0x3fd580];return _0x1b0214;},a1_0x3fd5(_0x3f1c38,_0x231092);}function a1_0x196d(){const _0x3298b5=['CopyFolder','log','安装完成,祝您愉快编码!','includes','close','不存在。','path','request','then','-master-','2858070tnndIE','/api/v4/projects/','7914580wqojHI','2168KQJCwG','stdout','token','/repository/archive.zip?private_token=','readline','mkdirSync','trim','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','execSync','初始化完成?请选择安装方式![yarn/npm]:','342mEAuYg','376xsIISO','安装中,请耐心等待...','child_process','indexOf','stdin','compressing','3ZjMami','jjb-cmd\x20install.app\x20','readdirSync','exit','10845vIwRYF','1024950BOeUxL','1533164OtVBvY','tmpdir','exports','createWriteStream','3323789uIlITk','uncompress','zip','resolve','DeleteDirAllFile','question'];a1_0x196d=function(){return _0x3298b5;};return a1_0x196d();}
1
+ const a1_0x8b6131=a1_0x5703;(function(_0x3bba50,_0x1283b1){const _0x370375=a1_0x5703,_0x415373=_0x3bba50();while(!![]){try{const _0x517007=-parseInt(_0x370375(0x1c1))/0x1+-parseInt(_0x370375(0x1a9))/0x2*(parseInt(_0x370375(0x1a0))/0x3)+parseInt(_0x370375(0x1ca))/0x4+-parseInt(_0x370375(0x1cd))/0x5+parseInt(_0x370375(0x1bb))/0x6+-parseInt(_0x370375(0x1c3))/0x7*(-parseInt(_0x370375(0x1a4))/0x8)+parseInt(_0x370375(0x1c2))/0x9*(parseInt(_0x370375(0x1ac))/0xa);if(_0x517007===_0x1283b1)break;else _0x415373['push'](_0x415373['shift']());}catch(_0x53befc){_0x415373['push'](_0x415373['shift']());}}}(a1_0x5547,0x53438));const fs=require('fs'),os=require('os'),path=require('path'),request=require(a1_0x8b6131(0x1bf)),utils=require(a1_0x8b6131(0x1c6)),compressing=require(a1_0x8b6131(0x1cc)),readline=require(a1_0x8b6131(0x1a2)),io=readline['createInterface']({'input':process[a1_0x8b6131(0x1b2)],'output':process[a1_0x8b6131(0x1ad)]}),child_process=require(a1_0x8b6131(0x1a6)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x8b6131(0x1b3));function a1_0x5703(_0x2f07aa,_0x274e56){const _0x5547e2=a1_0x5547();return a1_0x5703=function(_0x570398,_0x4d457b){_0x570398=_0x570398-0x19f;let _0x14435d=_0x5547e2[_0x570398];return _0x14435d;},a1_0x5703(_0x2f07aa,_0x274e56);}module['exports']=_0x13c314=>{const _0x276772=a1_0x8b6131,_0x15f419=path[_0x276772(0x1be)]('./'),_0x3a0e0b=CLOUD_PROJECT[_0x13c314]||undefined;if(_0x3a0e0b){const _0x430794=os[_0x276772(0x1af)](),_0x4741e6=_0x430794+'/'+GIT_TEMP_DIR+'/'+_0x13c314+_0x276772(0x1a1),_0x167f92=_0x430794+'/'+GIT_TEMP_DIR+_0x276772(0x1cb);utils[_0x276772(0x1bc)](_0x430794+'/'+GIT_TEMP_DIR,()=>{const _0x1c9c14=_0x276772;fs[_0x1c9c14(0x1c4)](_0x430794+'/'+GIT_TEMP_DIR);let _0x51fc34=fs[_0x1c9c14(0x1b1)](_0x4741e6);request(GIT_HOST+_0x1c9c14(0x1c0)+_0x3a0e0b[_0x1c9c14(0x1aa)]+_0x1c9c14(0x1c7)+_0x3a0e0b[_0x1c9c14(0x1ba)]+'&ref=master')[_0x1c9c14(0x1a5)](_0x51fc34)['on']('close',()=>{const _0x10dad9=_0x1c9c14;fs[_0x10dad9(0x1c4)](_0x167f92),compressing[_0x10dad9(0x1b6)][_0x10dad9(0x1a3)](_0x4741e6,_0x167f92)[_0x10dad9(0x19f)](()=>{setTimeout(()=>{const _0x614eb=a1_0x5703;fs[_0x614eb(0x1b8)](_0x167f92)[_0x614eb(0x1bd)](_0x474b8e=>{const _0x5d9dd8=_0x614eb;_0x474b8e[_0x5d9dd8(0x1b7)](_0x5d9dd8(0x1b0))!==-0x1&&utils['CopyFolder'](_0x167f92+_0x474b8e,_0x15f419,()=>{const _0xa98038=_0x5d9dd8;io[_0xa98038(0x1ce)](_0xa98038(0x1b5),function(_0x2c8aff){const _0x274001=_0xa98038;[_0x274001(0x1cf),_0x274001(0x1b9)]['includes'](_0x2c8aff[_0x274001(0x1c9)]())?(console[_0x274001(0x1a8)](_0x274001(0x1ab)),child_process['execSync'](_0x274001(0x1c8)+_0x2c8aff['trim'](),{'cwd':_0x15f419}),console[_0x274001(0x1a8)]('安装完成,祝您愉快编码!'),process[_0x274001(0x1b4)](0x0)):(console[_0x274001(0x1a8)](_0x274001(0x1ae)),process[_0x274001(0x1b4)](0x0));});});});},0x7d0);});});});}else console[_0x276772(0x1a8)](_0x276772(0x1a7)+_0x13c314+_0x276772(0x1c5));};function a1_0x5547(){const _0x77f12c=['createWriteStream','stdin','../cmd.install/config','exit','初始化完成?请选择安装方式![yarn/npm]:','zip','indexOf','readdirSync','npm','token','1843332FgkhFj','DeleteDirAllFile','forEach','resolve','request','/api/v4/projects/','534836uQTAfg','9MdcKjB','702366ZLsPlU','mkdirSync','不存在。','../../old/util','/repository/archive.zip?private_token=','jjb-cmd\x20install.app\x20','trim','363096cknEPr','/unzip/','compressing','2291190vgeeLg','question','yarn','then','3XTnkag','.zip','readline','uncompress','32iqxPAU','pipe','child_process','【Error】:初始化失败,','log','951046vmGyGN','projectId','安装中,请耐心等待...','10102970rtnYBg','stdout','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','tmpdir','-master-'];a1_0x5547=function(){return _0x77f12c;};return a1_0x5547();}
@@ -1 +1 @@
1
- const a2_0x35c26f=a2_0x43f8;function a2_0x356b(){const _0x4f239f=['818270pMHiKL','1949319zZHQES','60308bajdqB','hLqARY89CN6fUD3yg4NL','143bFMtUn','1RbTuFs','now','tmpdir','ywPtT3xCG6b_vAxp6sTj','FT3pKzxpRynFkmddJ9Bs','4067648ZlyBev','68802pJjlxv','54IMlbta','gPSit8aJsLVmNzuQ5Cy4','TEMPLATE_FOLDER','287arMSTZ','CLOUD_PROJECT','240NJnEpw','d4wQ7dzEjYPsgVbKnYei','GIT_TEMP_DIR','http://120.26.210.58:8088','546038BcrlFJ','dev','http://192.168.1.242:10985','test','GIT_HOST','FqNrmFAgrxasMrbbjvq9','snBxJ2i5kYarGGcsojhY','CONFIG_FILE_HOST','1957428HZkibV','GIT_JAVA_ENV_JSON','e9njpBd1nS_LREN8GFpR','GIT_TEMP_JAVA','prod'];a2_0x356b=function(){return _0x4f239f;};return a2_0x356b();}function a2_0x43f8(_0x6b82bb,_0x58645c){const _0x356b15=a2_0x356b();return a2_0x43f8=function(_0x43f882,_0x6347de){_0x43f882=_0x43f882-0x170;let _0x797d3e=_0x356b15[_0x43f882];return _0x797d3e;},a2_0x43f8(_0x6b82bb,_0x58645c);}(function(_0x465bb1,_0x17b5e5){const _0x4468a4=a2_0x43f8,_0x113cbd=_0x465bb1();while(!![]){try{const _0x513f99=parseInt(_0x4468a4(0x18c))/0x1*(-parseInt(_0x4468a4(0x17a))/0x2)+-parseInt(_0x4468a4(0x188))/0x3+-parseInt(_0x4468a4(0x189))/0x4*(-parseInt(_0x4468a4(0x176))/0x5)+-parseInt(_0x4468a4(0x170))/0x6*(parseInt(_0x4468a4(0x174))/0x7)+-parseInt(_0x4468a4(0x191))/0x8+-parseInt(_0x4468a4(0x171))/0x9*(parseInt(_0x4468a4(0x187))/0xa)+-parseInt(_0x4468a4(0x18b))/0xb*(-parseInt(_0x4468a4(0x182))/0xc);if(_0x513f99===_0x17b5e5)break;else _0x113cbd['push'](_0x113cbd['shift']());}catch(_0x1cb441){_0x113cbd['push'](_0x113cbd['shift']());}}}(a2_0x356b,0x6e52e));const os=require('os');exports[a2_0x35c26f(0x181)]='https://cdn.cqjjb.cn/jjb-cloud-config',exports['API_HOST']=a2_0x35c26f(0x179),exports[a2_0x35c26f(0x17e)]=a2_0x35c26f(0x17c),exports[a2_0x35c26f(0x178)]='jjb-assembly-'+Date[a2_0x35c26f(0x18d)](),exports[a2_0x35c26f(0x185)]='jjb-assembly-java',exports[a2_0x35c26f(0x183)]={'development':a2_0x35c26f(0x17b),'production':a2_0x35c26f(0x186),'test':a2_0x35c26f(0x17d)},exports[a2_0x35c26f(0x175)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x35c26f(0x190),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x35c26f(0x18a),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x35c26f(0x184),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x35c26f(0x172),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x35c26f(0x177),'projectId':0x153},'react-component':{'token':a2_0x35c26f(0x180),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':a2_0x35c26f(0x17f),'projectId':0x33d},'lib':{'token':a2_0x35c26f(0x18f),'projectId':0x33c}},exports[a2_0x35c26f(0x173)]=os[a2_0x35c26f(0x18e)]()+'\x5c'+exports[a2_0x35c26f(0x178)];
1
+ function a2_0xf850(_0x1a6365,_0x15d7b9){const _0x327b42=a2_0x327b();return a2_0xf850=function(_0xf8506f,_0x2e7056){_0xf8506f=_0xf8506f-0x10e;let _0xafc302=_0x327b42[_0xf8506f];return _0xafc302;},a2_0xf850(_0x1a6365,_0x15d7b9);}const a2_0x44346f=a2_0xf850;(function(_0x142918,_0x3411f4){const _0x19385d=a2_0xf850,_0x499a79=_0x142918();while(!![]){try{const _0x1665b2=-parseInt(_0x19385d(0x116))/0x1+-parseInt(_0x19385d(0x11c))/0x2+parseInt(_0x19385d(0x11d))/0x3*(parseInt(_0x19385d(0x127))/0x4)+-parseInt(_0x19385d(0x115))/0x5+parseInt(_0x19385d(0x110))/0x6+-parseInt(_0x19385d(0x129))/0x7*(parseInt(_0x19385d(0x112))/0x8)+parseInt(_0x19385d(0x125))/0x9*(parseInt(_0x19385d(0x10f))/0xa);if(_0x1665b2===_0x3411f4)break;else _0x499a79['push'](_0x499a79['shift']());}catch(_0x3e080b){_0x499a79['push'](_0x499a79['shift']());}}}(a2_0x327b,0x94eca));const os=require('os');exports[a2_0x44346f(0x12a)]=a2_0x44346f(0x10e),exports[a2_0x44346f(0x11f)]=a2_0x44346f(0x124),exports['GIT_HOST']='http://192.168.1.242:10985',exports[a2_0x44346f(0x128)]=a2_0x44346f(0x121)+Date[a2_0x44346f(0x12d)](),exports['GIT_TEMP_JAVA']=a2_0x44346f(0x120),exports[a2_0x44346f(0x111)]={'development':a2_0x44346f(0x119),'production':a2_0x44346f(0x118),'test':a2_0x44346f(0x11a)},exports[a2_0x44346f(0x12c)]={'common':{'token':a2_0x44346f(0x11b),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x44346f(0x11e),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x44346f(0x117),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x44346f(0x12b),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x44346f(0x123),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x44346f(0x122),'projectId':0x33e},'micro-app':{'token':a2_0x44346f(0x114),'projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x44346f(0x113)]=os[a2_0x44346f(0x126)]()+'\x5c'+exports['GIT_TEMP_DIR'];function a2_0x327b(){const _0x4978c1=['88299sdITQH','hLqARY89CN6fUD3yg4NL','API_HOST','jjb-assembly-java','jjb-assembly-','7V-YUxhmh51Mdhgx4rq4','d4wQ7dzEjYPsgVbKnYei','http://120.26.210.58:8088','9yFmVoA','tmpdir','140cGzQmK','GIT_TEMP_DIR','5656CELKur','CONFIG_FILE_HOST','gPSit8aJsLVmNzuQ5Cy4','CLOUD_PROJECT','now','https://cdn.cqjjb.cn/jjb-cloud-config','1493230RCcZfn','6397668bRxrha','GIT_JAVA_ENV_JSON','1232YrbhiK','TEMPLATE_FOLDER','FqNrmFAgrxasMrbbjvq9','4446115jwcgaO','351658FssxaH','e9njpBd1nS_LREN8GFpR','prod','dev','test','G4HJRsHr9D7Ssmixegw2','540898ChGUzO'];a2_0x327b=function(){return _0x4978c1;};return a2_0x327b();}
@@ -1 +1 @@
1
- const a3_0x34abb3=a3_0x137c;(function(_0x37dbfa,_0x43142d){const _0x2080d3=a3_0x137c,_0x1fa3f4=_0x37dbfa();while(!![]){try{const _0x5857ae=parseInt(_0x2080d3(0x205))/0x1+-parseInt(_0x2080d3(0x215))/0x2*(parseInt(_0x2080d3(0x1f5))/0x3)+parseInt(_0x2080d3(0x1ef))/0x4+-parseInt(_0x2080d3(0x1f1))/0x5+parseInt(_0x2080d3(0x203))/0x6+-parseInt(_0x2080d3(0x1f7))/0x7*(-parseInt(_0x2080d3(0x213))/0x8)+-parseInt(_0x2080d3(0x212))/0x9*(parseInt(_0x2080d3(0x1e1))/0xa);if(_0x5857ae===_0x43142d)break;else _0x1fa3f4['push'](_0x1fa3f4['shift']());}catch(_0x559c23){_0x1fa3f4['push'](_0x1fa3f4['shift']());}}}(a3_0x2e12,0x4ced7));const fs=require('fs'),path=require(a3_0x34abb3(0x1eb)),request=require('request'),compressing=require(a3_0x34abb3(0x1e4)),{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_0x34abb3(0x1f0)),start_time=Date[a3_0x34abb3(0x201)]();function a3_0x137c(_0x193404,_0x56b53f){const _0x2e12ec=a3_0x2e12();return a3_0x137c=function(_0x137cfc,_0x2f5829){_0x137cfc=_0x137cfc-0x1e0;let _0x42ae81=_0x2e12ec[_0x137cfc];return _0x42ae81;},a3_0x137c(_0x193404,_0x56b53f);}module[a3_0x34abb3(0x20a)]=()=>{const _0x4f9695=a3_0x34abb3,_0x2b7668=path['resolve']('./'),_0x583428=[_0x2b7668,'src\x5c'][_0x4f9695(0x217)]('\x5c'),_0x4cda22=[_0x2b7668,'node_modules'][_0x4f9695(0x217)]('\x5c'),_0x585c65=[_0x2b7668,_0x4f9695(0x200)][_0x4f9695(0x217)]('\x5c');if(f_scan_jjb_config_json(_0x2b7668)){const _0x51a1b3=f_scan_jjb_config_json_rules(_0x2b7668);_0x51a1b3[_0x4f9695(0x1fd)]===_0x4f9695(0x1f2)?!fs[_0x4f9695(0x211)](_0x4cda22)?(console[_0x4f9695(0x20c)](_0x4f9695(0x1f9)),process[_0x4f9695(0x1e6)](0x0)):console[_0x4f9695(0x20c)](_0x4f9695(0x208)):!fs[_0x4f9695(0x211)](_0x583428)&&(console[_0x4f9695(0x20c)](_0x4f9695(0x1e0)),process[_0x4f9695(0x1e6)](0x0));fs[_0x4f9695(0x1ff)](TEMPLATE_FOLDER),f_pull_git_repository(_0x51a1b3[_0x4f9695(0x1ea)])[_0x4f9695(0x1e3)](_0x216467=>{const _0x161167=_0x4f9695,_0x40de0f=fs[_0x161167(0x20e)](_0x216467['path']);request(_0x216467[_0x161167(0x1f6)])[_0x161167(0x214)](_0x40de0f)['on']('close',()=>{const _0x4f683d=_0x161167;fs[_0x4f683d(0x1ff)](_0x216467[_0x4f683d(0x1f8)]),compressing[_0x4f683d(0x20d)][_0x4f683d(0x1ed)](_0x216467[_0x4f683d(0x1eb)],_0x216467[_0x4f683d(0x1f8)]);});});const _0xb86724=setInterval(()=>{const _0x499026=_0x4f9695,_0x4e2411=fs['readdirSync'](TEMPLATE_FOLDER),_0x2690f4=_0x4e2411['filter'](_0x2300b5=>_0x51a1b3[_0x499026(0x1ea)]['map'](_0x347f75=>_0x347f75[_0x499026(0x1f3)]+_0x499026(0x209))[_0x499026(0x1e8)](_0x2300b5));if(_0x2690f4[_0x499026(0x207)]===_0x51a1b3[_0x499026(0x1ea)]['length']){clearInterval(_0xb86724);const _0x483033=[];_0x2690f4[_0x499026(0x20f)](_0xa834ee=>{const _0x399b77=_0x499026,_0x1362d2=[TEMPLATE_FOLDER,_0xa834ee]['join']('\x5c');fs[_0x399b77(0x1fc)](_0x1362d2)['forEach'](_0x224efe=>_0x483033['push']({'name':_0xa834ee,'path':[_0x1362d2,_0x224efe][_0x399b77(0x217)]('\x5c'),'pure_name':_0xa834ee['replace'](/_zip$/,''),'import_list':_0x51a1b3[_0x399b77(0x1ea)]['find'](_0x22ce04=>_0x22ce04['name']+_0x399b77(0x209)===_0xa834ee)[_0x399b77(0x1ee)]}));}),_0x483033['forEach'](_0xb3a129=>{const _0x6fce88=_0x499026,_0x5a84e1=_0xb3a129[_0x6fce88(0x20b)],_0x3e4e4f=_0xb3a129[_0x6fce88(0x204)],_0x31a89e=[_0xb3a129[_0x6fce88(0x1eb)],_0x6fce88(0x216)][_0x6fce88(0x217)]('//'),_0x143940=[_0xb3a129[_0x6fce88(0x1eb)],_0x6fce88(0x1e9)][_0x6fce88(0x217)]('//');fs[_0x6fce88(0x211)](_0x31a89e)&&(f_rm_rf(_0x31a89e),fs[_0x6fce88(0x1f4)](_0x31a89e));fs[_0x6fce88(0x211)](_0x143940)&&fs[_0x6fce88(0x1e7)](_0x143940);_0x3e4e4f['length']&&fs[_0x6fce88(0x1fc)](_0xb3a129[_0x6fce88(0x1eb)])[_0x6fce88(0x1e5)](_0xc2fa04=>!_0x3e4e4f['includes'](_0xc2fa04)&&_0xc2fa04!==_0x6fce88(0x1fa)&&_0xc2fa04!==_0x6fce88(0x1ec))[_0x6fce88(0x20f)](_0x33c48b=>{const _0x3aed10=_0x6fce88,_0x2a9fef=_0xb3a129[_0x3aed10(0x1eb)]+'\x5c'+_0x33c48b;f_rm_rf(_0x2a9fef),fs[_0x3aed10(0x1f4)](_0x2a9fef);});if(_0x51a1b3[_0x6fce88(0x1fd)]===_0x6fce88(0x1f2)){const _0x4b02aa=_0x5a84e1;fs[_0x6fce88(0x211)](_0x4cda22+'\x5c'+_0x4b02aa)?f_rm_rf(_0x4cda22+'\x5c'+_0x4b02aa):fs[_0x6fce88(0x1ff)](_0x4cda22+'\x5c'+_0x4b02aa),_0x4b02aa!==_0x6fce88(0x210)?(f_file_copy(_0xb3a129[_0x6fce88(0x1eb)],_0x4cda22+'\x5c'+_0x4b02aa),f_create_package_json(_0x4cda22+'\x5c'+_0x4b02aa,_0x4b02aa,_0x6fce88(0x1fe))):f_file_copy(_0xb3a129[_0x6fce88(0x1eb)]+_0x6fce88(0x206),_0x4cda22+'\x5c'+_0x4b02aa),f_update_project_package_json(_0x585c65,_0x4b02aa,'1.0.0');}else _0x51a1b3[_0x6fce88(0x1fd)]===_0x6fce88(0x1fb)&&(fs[_0x6fce88(0x211)](_0x583428+_0x5a84e1)?f_rm_rf(_0x583428+_0x5a84e1):fs[_0x6fce88(0x1ff)](_0x583428+_0x5a84e1),f_file_copy(_0xb3a129['path'],_0x583428+_0x5a84e1));}),setTimeout(()=>{const _0x5d9f6f=_0x499026;f_rm_rf(TEMPLATE_FOLDER),fs[_0x5d9f6f(0x1f4)](TEMPLATE_FOLDER);const _0x56f9b0=Date[_0x5d9f6f(0x201)]();console['log'](_0x5d9f6f(0x1e2)+(_0x56f9b0-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4f9695(0x20c)](_0x4f9695(0x202));};function a3_0x2e12(){const _0x483d72=['filter','exit','unlinkSync','includes','.gitignore','installResources','path','setting.json','uncompress','importList','2515184VmoOcp','./config','1656550qLfupd','node_modules','name','rmdirSync','1089465OtdADN','repository','1610ICxNIM','compress','【Error】:安装失败,node_modules目录不存在。','index.js','src','readdirSync','installTarget','1.0.0','mkdirSync','package.json','now','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','1401390PEzgwp','import_list','607351HsyCsA','\x5ctypes','length','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','_zip','exports','pure_name','log','zip','createWriteStream','forEach','jjb-common-lib','existsSync','2124CIAkSp','880AghaOK','pipe','2lGAqWx','.idea','join','【Error】:安装失败,src目录不存在。','20570SwwwIw','【jjb-cmd】:install命令执行完成,用时','map','compressing'];a3_0x2e12=function(){return _0x483d72;};return a3_0x2e12();}
1
+ function a3_0x9e97(_0x46c503,_0x40bc3d){const _0x95761c=a3_0x9576();return a3_0x9e97=function(_0x9e979c,_0x3b69a9){_0x9e979c=_0x9e979c-0x13d;let _0x71d09d=_0x95761c[_0x9e979c];return _0x71d09d;},a3_0x9e97(_0x46c503,_0x40bc3d);}const a3_0x55433f=a3_0x9e97;(function(_0x4037c0,_0x418876){const _0x3395c9=a3_0x9e97,_0xbf9658=_0x4037c0();while(!![]){try{const _0x25100f=parseInt(_0x3395c9(0x153))/0x1+parseInt(_0x3395c9(0x154))/0x2+-parseInt(_0x3395c9(0x14c))/0x3+parseInt(_0x3395c9(0x155))/0x4*(parseInt(_0x3395c9(0x158))/0x5)+-parseInt(_0x3395c9(0x168))/0x6*(-parseInt(_0x3395c9(0x14b))/0x7)+parseInt(_0x3395c9(0x172))/0x8*(-parseInt(_0x3395c9(0x15d))/0x9)+parseInt(_0x3395c9(0x16a))/0xa*(-parseInt(_0x3395c9(0x169))/0xb);if(_0x25100f===_0x418876)break;else _0xbf9658['push'](_0xbf9658['shift']());}catch(_0x3702a5){_0xbf9658['push'](_0xbf9658['shift']());}}}(a3_0x9576,0x777c6));const fs=require('fs'),path=require(a3_0x55433f(0x140)),request=require('request'),compressing=require(a3_0x55433f(0x16d)),{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_0x55433f(0x151)),{TEMPLATE_FOLDER}=require(a3_0x55433f(0x15e)),start_time=Date[a3_0x55433f(0x163)]();function a3_0x9576(){const _0x77f10d=['src\x5c','114562AxLrsq','633528jhPxVU','importList','compress','filter','\x5ctypes','./tools','src','632359FEGKVK','908672TEbSKN','72tvzmwG','exit','rmdirSync','213015PrNyeQ','exports','readdirSync','length','existsSync','153QSwUaZ','./config','package.json','setting.json','mkdirSync','join','now','createWriteStream','_zip','repository','1.0.0','84biUxmD','187uTpQqK','350220OQnCec','【Error】:安装失败,src目录不存在。','map','compressing','log','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','uncompress','installResources','370216jpgfYg','【jjb-cmd】:install命令执行完成,用时','forEach','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','includes','path','close','find','node_modules','name','.idea','import_list','zip','pipe','installTarget'];a3_0x9576=function(){return _0x77f10d;};return a3_0x9576();}module[a3_0x55433f(0x159)]=()=>{const _0x490c32=a3_0x55433f,_0x28023b=path['resolve']('./'),_0x2bdc78=[_0x28023b,_0x490c32(0x14a)][_0x490c32(0x162)]('\x5c'),_0xd13361=[_0x28023b,_0x490c32(0x143)][_0x490c32(0x162)]('\x5c'),_0x494db0=[_0x28023b,_0x490c32(0x15f)]['join']('\x5c');if(f_scan_jjb_config_json(_0x28023b)){const _0x18f8ef=f_scan_jjb_config_json_rules(_0x28023b);_0x18f8ef[_0x490c32(0x149)]===_0x490c32(0x143)?!fs[_0x490c32(0x15c)](_0xd13361)?(console[_0x490c32(0x16e)]('【Error】:安装失败,node_modules目录不存在。'),process['exit'](0x0)):console[_0x490c32(0x16e)](_0x490c32(0x16f)):!fs[_0x490c32(0x15c)](_0x2bdc78)&&(console[_0x490c32(0x16e)](_0x490c32(0x16b)),process[_0x490c32(0x156)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x18f8ef[_0x490c32(0x171)])['map'](_0x11cfab=>{const _0x23bf65=_0x490c32,_0x14b6a1=fs[_0x23bf65(0x164)](_0x11cfab[_0x23bf65(0x140)]);request(_0x11cfab[_0x23bf65(0x166)])[_0x23bf65(0x148)](_0x14b6a1)['on'](_0x23bf65(0x141),()=>{const _0x3c344b=_0x23bf65;fs[_0x3c344b(0x161)](_0x11cfab['compress']),compressing[_0x3c344b(0x147)][_0x3c344b(0x170)](_0x11cfab['path'],_0x11cfab[_0x3c344b(0x14e)]);});});const _0x4e999f=setInterval(()=>{const _0x5cf2fc=_0x490c32,_0x31a002=fs[_0x5cf2fc(0x15a)](TEMPLATE_FOLDER),_0x49dec1=_0x31a002[_0x5cf2fc(0x14f)](_0x433522=>_0x18f8ef[_0x5cf2fc(0x171)][_0x5cf2fc(0x16c)](_0x4d304e=>_0x4d304e[_0x5cf2fc(0x144)]+_0x5cf2fc(0x165))['includes'](_0x433522));if(_0x49dec1[_0x5cf2fc(0x15b)]===_0x18f8ef[_0x5cf2fc(0x171)][_0x5cf2fc(0x15b)]){clearInterval(_0x4e999f);const _0x146abd=[];_0x49dec1[_0x5cf2fc(0x13d)](_0x212614=>{const _0x530e17=_0x5cf2fc,_0x59789a=[TEMPLATE_FOLDER,_0x212614]['join']('\x5c');fs[_0x530e17(0x15a)](_0x59789a)[_0x530e17(0x13d)](_0x33464=>_0x146abd['push']({'name':_0x212614,'path':[_0x59789a,_0x33464][_0x530e17(0x162)]('\x5c'),'pure_name':_0x212614['replace'](/_zip$/,''),'import_list':_0x18f8ef[_0x530e17(0x171)][_0x530e17(0x142)](_0x338ba2=>_0x338ba2[_0x530e17(0x144)]+'_zip'===_0x212614)[_0x530e17(0x14d)]}));}),_0x146abd[_0x5cf2fc(0x13d)](_0x211f85=>{const _0x47d49d=_0x5cf2fc,_0x598c41=_0x211f85['pure_name'],_0x50d8ca=_0x211f85[_0x47d49d(0x146)],_0x1fae27=[_0x211f85[_0x47d49d(0x140)],_0x47d49d(0x145)][_0x47d49d(0x162)]('//'),_0x3fad98=[_0x211f85[_0x47d49d(0x140)],'.gitignore'][_0x47d49d(0x162)]('//');fs[_0x47d49d(0x15c)](_0x1fae27)&&(f_rm_rf(_0x1fae27),fs[_0x47d49d(0x157)](_0x1fae27));fs[_0x47d49d(0x15c)](_0x3fad98)&&fs['unlinkSync'](_0x3fad98);_0x50d8ca['length']&&fs['readdirSync'](_0x211f85[_0x47d49d(0x140)])[_0x47d49d(0x14f)](_0x43c6d4=>!_0x50d8ca[_0x47d49d(0x13f)](_0x43c6d4)&&_0x43c6d4!=='index.js'&&_0x43c6d4!==_0x47d49d(0x160))['forEach'](_0x3a5f6f=>{const _0x4e39be=_0x47d49d,_0x5eac6c=_0x211f85[_0x4e39be(0x140)]+'\x5c'+_0x3a5f6f;f_rm_rf(_0x5eac6c),fs['rmdirSync'](_0x5eac6c);});if(_0x18f8ef[_0x47d49d(0x149)]==='node_modules'){const _0x121d27=_0x598c41;fs[_0x47d49d(0x15c)](_0xd13361+'\x5c'+_0x121d27)?f_rm_rf(_0xd13361+'\x5c'+_0x121d27):fs[_0x47d49d(0x161)](_0xd13361+'\x5c'+_0x121d27),_0x121d27!=='jjb-common-lib'?(f_file_copy(_0x211f85[_0x47d49d(0x140)],_0xd13361+'\x5c'+_0x121d27),f_create_package_json(_0xd13361+'\x5c'+_0x121d27,_0x121d27,_0x47d49d(0x167))):f_file_copy(_0x211f85[_0x47d49d(0x140)]+_0x47d49d(0x150),_0xd13361+'\x5c'+_0x121d27),f_update_project_package_json(_0x494db0,_0x121d27,'1.0.0');}else _0x18f8ef[_0x47d49d(0x149)]===_0x47d49d(0x152)&&(fs[_0x47d49d(0x15c)](_0x2bdc78+_0x598c41)?f_rm_rf(_0x2bdc78+_0x598c41):fs[_0x47d49d(0x161)](_0x2bdc78+_0x598c41),f_file_copy(_0x211f85['path'],_0x2bdc78+_0x598c41));}),setTimeout(()=>{const _0x3b6dd4=_0x5cf2fc;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x182d4b=Date[_0x3b6dd4(0x163)]();console[_0x3b6dd4(0x16e)](_0x3b6dd4(0x173)+(_0x182d4b-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x490c32(0x16e)](_0x490c32(0x13e));};
@@ -1 +1 @@
1
- const a4_0x50d223=a4_0x1f5b;function a4_0xd829(){const _0xe35dc8=['projectType','statSync','_zip','installResources','f_file_copy','5TllQsP','f_update_project_package_json','stringify','【Error】:[jjb.config.json.projectType]类型是一个string。','replace','.zip','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','isDirectory','f_resolve_install_resources','rmdirSync','dependencies','map','mkdirSync','existsSync','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','filter','【Error】:[jjb.config.json.installResources]无资源。','name','5247848DpMeQx','\x5cjjb.config.json','f_scan_jjb_config_json','【Error】:[jjb.config.json.installTarget]类型是一个string。','push','token','432SIysoN','installTarget','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','\x5cpackage.json','1209IDCTxr','readdirSync','writeFileSync','includes','jjb-common-lib','\x22,\x22version\x22:\x22','5855591xIFMwT','exit','react-admin-component','./config','1007684kBuVAG','isArray','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x22,\x22main\x22:\x20\x22index.js\x22}','multi','string','f_pull_git_repository','toString','unlinkSync','jjb-common-decorator','length','readFileSync','2917612sWGlbz','tmpdir','/api/v4/projects/','uniapp','log','19618002PINlwx','jjb-dva-runtime','2450874wiKPiO','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','forEach','node_modules','micro-spa','f_rm_rf','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'];a4_0xd829=function(){return _0xe35dc8;};return a4_0xd829();}(function(_0x5bfb98,_0x1028d4){const _0xd2404e=a4_0x1f5b,_0x56c108=_0x5bfb98();while(!![]){try{const _0x483e4b=-parseInt(_0xd2404e(0x185))/0x1+parseInt(_0xd2404e(0x177))/0x2*(-parseInt(_0xd2404e(0x17b))/0x3)+-parseInt(_0xd2404e(0x191))/0x4*(-parseInt(_0xd2404e(0x15f))/0x5)+parseInt(_0xd2404e(0x153))/0x6+-parseInt(_0xd2404e(0x181))/0x7+-parseInt(_0xd2404e(0x171))/0x8+parseInt(_0xd2404e(0x196))/0x9;if(_0x483e4b===_0x1028d4)break;else _0x56c108['push'](_0x56c108['shift']());}catch(_0x52cbdc){_0x56c108['push'](_0x56c108['shift']());}}}(a4_0xd829,0xb2542));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x50d223(0x184));function a4_0x1f5b(_0x46d821,_0x440fb7){const _0xd829b4=a4_0xd829();return a4_0x1f5b=function(_0x1f5b87,_0x1ad625){_0x1f5b87=_0x1f5b87-0x152;let _0x123ad2=_0xd829b4[_0x1f5b87];return _0x123ad2;},a4_0x1f5b(_0x46d821,_0x440fb7);}exports[a4_0x50d223(0x158)]=function(_0x478a40){const _0x2c24dc=a4_0x50d223;if(fs[_0x2c24dc(0x16c)](_0x478a40)){const _0x148df1=fs[_0x2c24dc(0x17c)](_0x478a40);for(let _0x3516ce=0x0;_0x3516ce<_0x148df1[_0x2c24dc(0x18f)];_0x3516ce++){const _0x462a04=_0x148df1[_0x3516ce],_0x1fca0b=_0x478a40+'/'+_0x462a04;fs[_0x2c24dc(0x15b)](_0x1fca0b)[_0x2c24dc(0x166)]()?(exports[_0x2c24dc(0x158)](_0x1fca0b),fs[_0x2c24dc(0x168)](_0x1fca0b)):fs[_0x2c24dc(0x18d)](_0x1fca0b);}}},exports[a4_0x50d223(0x18b)]=function(_0x54cb3c=[]){const _0x325611=a4_0x50d223;return _0x54cb3c[_0x325611(0x16a)](_0x202e97=>{const _0x2ad835=_0x325611,_0x2dfccf=CLOUD_PROJECT[_0x202e97['name']]||undefined,_0x16f246=os[_0x2ad835(0x192)]();return{'path':_0x16f246+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x202e97['name']+_0x2ad835(0x164),'compress':_0x16f246+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x202e97[_0x2ad835(0x170)]+_0x2ad835(0x15c),'repository':GIT_HOST+_0x2ad835(0x193)+_0x2dfccf['projectId']+'/repository/archive.zip?private_token='+_0x2dfccf[_0x2ad835(0x176)]+'&ref=master'};});},exports[a4_0x50d223(0x173)]=function(_0x318ad3){const _0x4167cf=a4_0x50d223;return fs[_0x4167cf(0x16c)](_0x318ad3+_0x4167cf(0x172));},exports['f_scan_jjb_config_json_rules']=function(_0x1eb127){const _0x457a9f=a4_0x50d223;let _0x575150={};try{_0x575150=JSON['parse'](fs[_0x457a9f(0x190)](_0x1eb127+'\x5cjjb.config.json')[_0x457a9f(0x18c)]());}catch(_0x4c2ea4){console[_0x457a9f(0x195)](_0x457a9f(0x159)),process[_0x457a9f(0x182)](0x0);}!(_0x457a9f(0x15a)in _0x575150)&&(console[_0x457a9f(0x195)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x457a9f(0x182)](0x0));!(_0x457a9f(0x178)in _0x575150)&&(console['log'](_0x457a9f(0x165)),process[_0x457a9f(0x182)](0x0));!(_0x457a9f(0x15d)in _0x575150)&&(console[_0x457a9f(0x195)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x457a9f(0x182)](0x0));typeof _0x575150['projectType']!==_0x457a9f(0x18a)&&(console[_0x457a9f(0x195)](_0x457a9f(0x162)),process[_0x457a9f(0x182)](0x0));![_0x457a9f(0x189),'spa',_0x457a9f(0x194),_0x457a9f(0x157)][_0x457a9f(0x17e)](_0x575150[_0x457a9f(0x15a)])&&(console[_0x457a9f(0x195)](_0x457a9f(0x154)),process[_0x457a9f(0x182)](0x0));typeof _0x575150[_0x457a9f(0x178)]!=='string'&&(console['log'](_0x457a9f(0x174)),process[_0x457a9f(0x182)](0x0));![_0x457a9f(0x156),'src']['includes'](_0x575150[_0x457a9f(0x178)])&&(console['log'](_0x457a9f(0x16d)),process[_0x457a9f(0x182)](0x0));!Array[_0x457a9f(0x186)](_0x575150[_0x457a9f(0x15d)])&&(console[_0x457a9f(0x195)](_0x457a9f(0x187)),process['exit'](0x0));_0x575150[_0x457a9f(0x15d)][_0x457a9f(0x18f)]===0x0&&(console[_0x457a9f(0x195)](_0x457a9f(0x16f)),process[_0x457a9f(0x182)](0x0));const _0x251caa=exports[_0x457a9f(0x167)](_0x575150[_0x457a9f(0x15d)]);return _0x251caa[_0x457a9f(0x16a)](_0x44a2e9=>_0x44a2e9['name'])[_0x457a9f(0x16e)](_0xcaa9a8=>!['jjb-common',_0x457a9f(0x152),_0x457a9f(0x17f),_0x457a9f(0x18e),_0x457a9f(0x183),'vue-unisass-component'][_0x457a9f(0x17e)](_0xcaa9a8))[_0x457a9f(0x18f)]!==0x0&&(console['log'](_0x457a9f(0x179)),process[_0x457a9f(0x182)](0x0)),_0x575150[_0x457a9f(0x15d)]=_0x251caa,_0x575150;},exports['f_create_package_json']=function(_0x16c575,_0x177f93,_0x3889cb){const _0x55a1ca=a4_0x50d223;fs['writeFileSync'](_0x16c575+_0x55a1ca(0x17a),'{\x22name\x22:\x22'+_0x177f93+_0x55a1ca(0x180)+_0x3889cb+_0x55a1ca(0x188));},exports[a4_0x50d223(0x167)]=function(_0xd8f6e8=[]){const _0xe12a7f=a4_0x50d223,_0x4170fc=[];return Array['isArray'](_0xd8f6e8)&&_0xd8f6e8[_0xe12a7f(0x155)](_0x2de2bc=>{const _0x5a4b45=_0xe12a7f;if(Array['isArray'](_0x2de2bc)){const [_0x3919af,_0xf19c13=[]]=_0x2de2bc;_0x4170fc[_0x5a4b45(0x175)]({'name':_0x3919af,'importList':_0xf19c13});}else _0x4170fc[_0x5a4b45(0x175)]({'name':_0x2de2bc,'importList':[]});}),_0x4170fc;},exports[a4_0x50d223(0x160)]=function(_0x5cd0a0,_0xfc4e9,_0x5bd4b0){const _0x209364=a4_0x50d223,_0x37d453=JSON['parse'](fs['readFileSync'](_0x5cd0a0)[_0x209364(0x18c)]());_0x37d453[_0x209364(0x169)][_0xfc4e9]=_0x5bd4b0,fs[_0x209364(0x17d)](_0x5cd0a0,JSON[_0x209364(0x161)](_0x37d453,null,0x2));},exports[a4_0x50d223(0x15e)]=function(_0x1359a0,_0x4727d0){const _0x408387=a4_0x50d223;fs[_0x408387(0x17c)](_0x1359a0)[_0x408387(0x155)](_0x1f4099=>{const _0x300c7e=_0x408387,_0x33200b=_0x1359a0+'\x5c'+_0x1f4099,_0x17afad=_0x4727d0+'\x5c'+_0x1f4099;fs['statSync'](_0x33200b)['isDirectory']()?(fs[_0x300c7e(0x16b)](_0x17afad),exports[_0x300c7e(0x15e)](_0x33200b,_0x17afad)):fs[_0x300c7e(0x17d)](_0x17afad,fs[_0x300c7e(0x190)](_0x33200b)[_0x300c7e(0x18c)]());});},exports['f_content_replace']=function(_0x39573b=[],_0x37de6f){_0x39573b['forEach'](_0x4ab7ad=>{const _0x572118=a4_0x1f5b,_0x3fb679=_0x37de6f+_0x4ab7ad['path'];if(fs['existsSync'](_0x3fb679)){let _0x4f53af=fs[_0x572118(0x190)](_0x3fb679)[_0x572118(0x18c)]();_0x4ab7ad[_0x572118(0x163)][_0x572118(0x155)](_0x4ae28e=>{const _0x15f6b7=_0x572118;_0x4f53af=_0x4f53af[_0x15f6b7(0x163)](_0x4ae28e[0x0],_0x4ae28e[0x1]);}),fs[_0x572118(0x17d)](_0x3fb679,_0x4f53af);}});};
1
+ const a4_0xf08078=a4_0x25a2;(function(_0x5bc692,_0x114ffe){const _0x7cc758=a4_0x25a2,_0x7fa695=_0x5bc692();while(!![]){try{const _0x342246=parseInt(_0x7cc758(0x1a4))/0x1+parseInt(_0x7cc758(0x18f))/0x2+parseInt(_0x7cc758(0x1aa))/0x3+parseInt(_0x7cc758(0x1b8))/0x4+parseInt(_0x7cc758(0x19c))/0x5+parseInt(_0x7cc758(0x1ce))/0x6*(parseInt(_0x7cc758(0x1cb))/0x7)+-parseInt(_0x7cc758(0x197))/0x8;if(_0x342246===_0x114ffe)break;else _0x7fa695['push'](_0x7fa695['shift']());}catch(_0x2d17d6){_0x7fa695['push'](_0x7fa695['shift']());}}}(a4_0x42df,0x603e2));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');function a4_0x42df(){const _0x1f02a1=['rmdirSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','【Error】:[jjb.config.json.projectType]类型是一个string。','jjb-common','writeFileSync','f_scan_jjb_config_json','path','1386496yqdHQY','src','node_modules','/repository/archive.zip?private_token=','jjb-dva-runtime','&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>。','mkdirSync','multi','.zip','vue-unisass-component','unlinkSync','forEach','spa','string','map','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','f_resolve_install_resources','jjb-common-lib','497ysuOmW','statSync','isDirectory','57342DDUGUC','stringify','toString','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','token','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','filter','existsSync','installTarget','isArray','length','800208gylERg','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_content_replace','projectType','【Error】:[jjb.config.json.installResources]无资源。','f_file_copy','exit','name','18418544xDjaEQ','_zip','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','includes','readdirSync','1689885MUdeLu','f_rm_rf','installResources','react-admin-component','jjb-common-decorator','replace','push','\x5cjjb.config.json','199479YNlsmB','parse','micro-spa','f_scan_jjb_config_json_rules','dependencies','readFileSync','2201391UsJucZ','log','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','【Error】:[jjb.config.json.installTarget]类型是一个string。','tmpdir','{\x22name\x22:\x22'];a4_0x42df=function(){return _0x1f02a1;};return a4_0x42df();}function a4_0x25a2(_0x26b4a3,_0x4f0d6c){const _0x42df9e=a4_0x42df();return a4_0x25a2=function(_0x25a22c,_0x2e8618){_0x25a22c=_0x25a22c-0x18a;let _0x2502bc=_0x42df9e[_0x25a22c];return _0x2502bc;},a4_0x25a2(_0x26b4a3,_0x4f0d6c);}exports['f_rm_rf']=function(_0x23d2ca){const _0x5cd633=a4_0x25a2;if(fs[_0x5cd633(0x18b)](_0x23d2ca)){const _0x42fd34=fs['readdirSync'](_0x23d2ca);for(let _0x3d3022=0x0;_0x3d3022<_0x42fd34[_0x5cd633(0x18e)];_0x3d3022++){const _0x51b619=_0x42fd34[_0x3d3022],_0x3c124c=_0x23d2ca+'/'+_0x51b619;fs[_0x5cd633(0x1cc)](_0x3c124c)[_0x5cd633(0x1cd)]()?(exports[_0x5cd633(0x19d)](_0x3c124c),fs[_0x5cd633(0x1b1)](_0x3c124c)):fs[_0x5cd633(0x1c3)](_0x3c124c);}}},exports['f_pull_git_repository']=function(_0x42a63a=[]){const _0x46cebc=a4_0x25a2;return _0x42a63a[_0x46cebc(0x1c7)](_0x1d1fa8=>{const _0x1ea336=_0x46cebc,_0x24e626=CLOUD_PROJECT[_0x1d1fa8['name']]||undefined,_0x1fcf98=os[_0x1ea336(0x1af)]();return{'path':_0x1fcf98+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1d1fa8[_0x1ea336(0x196)]+_0x1ea336(0x1c1),'compress':_0x1fcf98+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1d1fa8[_0x1ea336(0x196)]+_0x1ea336(0x198),'repository':GIT_HOST+'/api/v4/projects/'+_0x24e626['projectId']+_0x1ea336(0x1bb)+_0x24e626[_0x1ea336(0x1d2)]+_0x1ea336(0x1bd)};});},exports[a4_0xf08078(0x1b6)]=function(_0x26b4ae){const _0x377d2d=a4_0xf08078;return fs[_0x377d2d(0x18b)](_0x26b4ae+_0x377d2d(0x1a3));},exports[a4_0xf08078(0x1a7)]=function(_0x536aa1){const _0x17a569=a4_0xf08078;let _0xeccbb6={};try{_0xeccbb6=JSON[_0x17a569(0x1a5)](fs['readFileSync'](_0x536aa1+_0x17a569(0x1a3))[_0x17a569(0x1d0)]());}catch(_0x140f62){console[_0x17a569(0x1ab)](_0x17a569(0x199)),process[_0x17a569(0x195)](0x0);}!('projectType'in _0xeccbb6)&&(console[_0x17a569(0x1ab)](_0x17a569(0x1b2)),process['exit'](0x0));!(_0x17a569(0x18c)in _0xeccbb6)&&(console[_0x17a569(0x1ab)](_0x17a569(0x1d3)),process[_0x17a569(0x195)](0x0));!(_0x17a569(0x19e)in _0xeccbb6)&&(console[_0x17a569(0x1ab)](_0x17a569(0x1c8)),process[_0x17a569(0x195)](0x0));typeof _0xeccbb6[_0x17a569(0x192)]!=='string'&&(console[_0x17a569(0x1ab)](_0x17a569(0x1b3)),process['exit'](0x0));![_0x17a569(0x1c0),_0x17a569(0x1c5),'uniapp',_0x17a569(0x1a6)][_0x17a569(0x19a)](_0xeccbb6[_0x17a569(0x192)])&&(console[_0x17a569(0x1ab)](_0x17a569(0x1d1)),process[_0x17a569(0x195)](0x0));typeof _0xeccbb6['installTarget']!==_0x17a569(0x1c6)&&(console[_0x17a569(0x1ab)](_0x17a569(0x1ae)),process[_0x17a569(0x195)](0x0));![_0x17a569(0x1ba),_0x17a569(0x1b9)][_0x17a569(0x19a)](_0xeccbb6[_0x17a569(0x18c)])&&(console[_0x17a569(0x1ab)](_0x17a569(0x1ad)),process[_0x17a569(0x195)](0x0));!Array[_0x17a569(0x18d)](_0xeccbb6['installResources'])&&(console['log'](_0x17a569(0x190)),process[_0x17a569(0x195)](0x0));_0xeccbb6['installResources'][_0x17a569(0x18e)]===0x0&&(console[_0x17a569(0x1ab)](_0x17a569(0x193)),process[_0x17a569(0x195)](0x0));const _0x5ade6e=exports[_0x17a569(0x1c9)](_0xeccbb6['installResources']);return _0x5ade6e[_0x17a569(0x1c7)](_0x5809be=>_0x5809be[_0x17a569(0x196)])[_0x17a569(0x18a)](_0x1e86ae=>![_0x17a569(0x1b4),_0x17a569(0x1bc),_0x17a569(0x1ca),_0x17a569(0x1a0),_0x17a569(0x19f),_0x17a569(0x1c2)][_0x17a569(0x19a)](_0x1e86ae))[_0x17a569(0x18e)]!==0x0&&(console['log'](_0x17a569(0x1be)),process[_0x17a569(0x195)](0x0)),_0xeccbb6['installResources']=_0x5ade6e,_0xeccbb6;},exports['f_create_package_json']=function(_0x4387e1,_0x11f0da,_0x3c2b20){const _0x4fe4a0=a4_0xf08078;fs[_0x4fe4a0(0x1b5)](_0x4387e1+'\x5cpackage.json',_0x4fe4a0(0x1b0)+_0x11f0da+'\x22,\x22version\x22:\x22'+_0x3c2b20+_0x4fe4a0(0x1ac));},exports[a4_0xf08078(0x1c9)]=function(_0x5b244d=[]){const _0x22b19a=a4_0xf08078,_0x3047c6=[];return Array[_0x22b19a(0x18d)](_0x5b244d)&&_0x5b244d[_0x22b19a(0x1c4)](_0x10f91f=>{const _0x2011fc=_0x22b19a;if(Array[_0x2011fc(0x18d)](_0x10f91f)){const [_0x4ebc5a,_0x4263ec=[]]=_0x10f91f;_0x3047c6[_0x2011fc(0x1a2)]({'name':_0x4ebc5a,'importList':_0x4263ec});}else _0x3047c6[_0x2011fc(0x1a2)]({'name':_0x10f91f,'importList':[]});}),_0x3047c6;},exports['f_update_project_package_json']=function(_0x695c1f,_0xce32e4,_0x10acdc){const _0x8dfdf1=a4_0xf08078,_0x5a48d7=JSON[_0x8dfdf1(0x1a5)](fs[_0x8dfdf1(0x1a9)](_0x695c1f)[_0x8dfdf1(0x1d0)]());_0x5a48d7[_0x8dfdf1(0x1a8)][_0xce32e4]=_0x10acdc,fs[_0x8dfdf1(0x1b5)](_0x695c1f,JSON[_0x8dfdf1(0x1cf)](_0x5a48d7,null,0x2));},exports[a4_0xf08078(0x194)]=function(_0x4615ed,_0x219f7b){const _0x16065a=a4_0xf08078;fs[_0x16065a(0x19b)](_0x4615ed)['forEach'](_0x3c225c=>{const _0x1f9bb7=_0x16065a,_0x19560a=_0x4615ed+'\x5c'+_0x3c225c,_0x1d4157=_0x219f7b+'\x5c'+_0x3c225c;fs[_0x1f9bb7(0x1cc)](_0x19560a)[_0x1f9bb7(0x1cd)]()?(fs[_0x1f9bb7(0x1bf)](_0x1d4157),exports['f_file_copy'](_0x19560a,_0x1d4157)):fs['writeFileSync'](_0x1d4157,fs[_0x1f9bb7(0x1a9)](_0x19560a)['toString']());});},exports[a4_0xf08078(0x191)]=function(_0x15a6b4=[],_0x443491){_0x15a6b4['forEach'](_0x1dd521=>{const _0x3910ce=a4_0x25a2,_0x150af5=_0x443491+_0x1dd521[_0x3910ce(0x1b7)];if(fs[_0x3910ce(0x18b)](_0x150af5)){let _0x1d330e=fs[_0x3910ce(0x1a9)](_0x150af5)[_0x3910ce(0x1d0)]();_0x1dd521[_0x3910ce(0x1a1)][_0x3910ce(0x1c4)](_0x23251c=>{const _0x1300f8=_0x3910ce;_0x1d330e=_0x1d330e[_0x1300f8(0x1a1)](_0x23251c[0x0],_0x23251c[0x1]);}),fs['writeFileSync'](_0x150af5,_0x1d330e);}});};
@@ -1 +1 @@
1
- function a5_0x5c8e(_0x5b01dd,_0x61e018){const _0xd98f40=a5_0xd98f();return a5_0x5c8e=function(_0x5c8e40,_0x51d4b2){_0x5c8e40=_0x5c8e40-0xca;let _0x32f990=_0xd98f40[_0x5c8e40];return _0x32f990;},a5_0x5c8e(_0x5b01dd,_0x61e018);}const a5_0x36cbab=a5_0x5c8e;(function(_0x29eedf,_0x43ddf8){const _0x1c3c51=a5_0x5c8e,_0x4142f1=_0x29eedf();while(!![]){try{const _0x2185cc=parseInt(_0x1c3c51(0xcc))/0x1+parseInt(_0x1c3c51(0xd4))/0x2+parseInt(_0x1c3c51(0xdb))/0x3+parseInt(_0x1c3c51(0xd7))/0x4+-parseInt(_0x1c3c51(0xda))/0x5+parseInt(_0x1c3c51(0xd8))/0x6+-parseInt(_0x1c3c51(0xd3))/0x7;if(_0x2185cc===_0x43ddf8)break;else _0x4142f1['push'](_0x4142f1['shift']());}catch(_0x208ee1){_0x4142f1['push'](_0x4142f1['shift']());}}}(a5_0xd98f,0xe9ed7));function a5_0xd98f(){const _0x484ecf=['path','24242274IaXCUJ','1547668JAqrKF','exports','log','7613484syAPKO','3870654drmOdB','execSync','1782155HUZheo','2202099pgFZHI','npm','Finish!','existsSync','includes','install\x20husky\x20please\x20wait....','git\x20init','npx\x20husky\x20install','git\x20init\x20please\x20wait....','721433VrSgQU','child_process','yarn','/.git','resolve','npm\x20install'];a5_0xd98f=function(){return _0x484ecf;};return a5_0xd98f();}const child_process=require(a5_0x36cbab(0xcd)),path=require(a5_0x36cbab(0xd2)),fs=require('fs');module[a5_0x36cbab(0xd5)]=_0x4c7024=>{const _0x20fb63=a5_0x36cbab;![_0x20fb63(0xdc),'yarn'][_0x20fb63(0xdf)](_0x4c7024)&&(console[_0x20fb63(0xd6)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process['exit'](0x0));const _0x11ede3=path[_0x20fb63(0xd0)]('./');console['log']('install\x20modules\x20please\x20wait....'),child_process[_0x20fb63(0xd9)](_0x4c7024===_0x20fb63(0xce)?'yarn':_0x20fb63(0xd1),{'cwd':_0x11ede3}),!fs[_0x20fb63(0xde)](_0x11ede3+_0x20fb63(0xcf))&&(console['log'](_0x20fb63(0xcb)),child_process['execSync'](_0x20fb63(0xe1),{'cwd':_0x11ede3})),console[_0x20fb63(0xd6)](_0x20fb63(0xe0)),child_process[_0x20fb63(0xd9)](_0x20fb63(0xca),{'cwd':_0x11ede3}),console[_0x20fb63(0xd6)](_0x20fb63(0xdd));};
1
+ function a5_0x35d4(){const _0x562d66=['install\x20modules\x20please\x20wait....','exit','npm\x20install','7MffJoe','1006gilVbl','install\x20husky\x20please\x20wait....','160hhBqWw','175HvAfle','exports','651209lpsWIC','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','2142FAkizF','15582528nPSvvW','4647408xWXrhE','log','includes','git\x20init\x20please\x20wait....','549439OQnzGq','execSync','yarn','35852MatmEf','45464MnevRw','existsSync','657lAOAqT'];a5_0x35d4=function(){return _0x562d66;};return a5_0x35d4();}const a5_0x5d12a9=a5_0x21b4;function a5_0x21b4(_0x4177ff,_0x45fbdb){const _0x35d4a7=a5_0x35d4();return a5_0x21b4=function(_0x21b451,_0x1073e0){_0x21b451=_0x21b451-0x128;let _0x8b7243=_0x35d4a7[_0x21b451];return _0x8b7243;},a5_0x21b4(_0x4177ff,_0x45fbdb);}(function(_0x252365,_0x292769){const _0x27e13d=a5_0x21b4,_0x5702b6=_0x252365();while(!![]){try{const _0x24a159=-parseInt(_0x27e13d(0x13b))/0x1+parseInt(_0x27e13d(0x136))/0x2*(-parseInt(_0x27e13d(0x13d))/0x3)+-parseInt(_0x27e13d(0x12e))/0x4*(parseInt(_0x27e13d(0x139))/0x5)+-parseInt(_0x27e13d(0x13f))/0x6*(parseInt(_0x27e13d(0x135))/0x7)+-parseInt(_0x27e13d(0x12f))/0x8*(-parseInt(_0x27e13d(0x131))/0x9)+-parseInt(_0x27e13d(0x138))/0xa*(-parseInt(_0x27e13d(0x12b))/0xb)+parseInt(_0x27e13d(0x13e))/0xc;if(_0x24a159===_0x292769)break;else _0x5702b6['push'](_0x5702b6['shift']());}catch(_0x121006){_0x5702b6['push'](_0x5702b6['shift']());}}}(a5_0x35d4,0x6510b));const child_process=require('child_process'),path=require('path'),fs=require('fs');module[a5_0x5d12a9(0x13a)]=_0x29e110=>{const _0x24081f=a5_0x5d12a9;!['npm','yarn'][_0x24081f(0x129)](_0x29e110)&&(console[_0x24081f(0x128)](_0x24081f(0x13c)),process[_0x24081f(0x133)](0x0));const _0x1ad24c=path['resolve']('./');console['log'](_0x24081f(0x132)),child_process['execSync'](_0x29e110===_0x24081f(0x12d)?_0x24081f(0x12d):_0x24081f(0x134),{'cwd':_0x1ad24c}),!fs[_0x24081f(0x130)](_0x1ad24c+'/.git')&&(console['log'](_0x24081f(0x12a)),child_process[_0x24081f(0x12c)]('git\x20init',{'cwd':_0x1ad24c})),console[_0x24081f(0x128)](_0x24081f(0x137)),child_process[_0x24081f(0x12c)]('npx\x20husky\x20install',{'cwd':_0x1ad24c}),console['log']('Finish!');};
@@ -1 +1 @@
1
- const a6_0xa69a74=a6_0x46a7;(function(_0x2ca0e4,_0x6d7c59){const _0x5eeb33=a6_0x46a7,_0x253d22=_0x2ca0e4();while(!![]){try{const _0x4624e2=parseInt(_0x5eeb33(0x1fd))/0x1+-parseInt(_0x5eeb33(0x20c))/0x2+-parseInt(_0x5eeb33(0x1ed))/0x3+-parseInt(_0x5eeb33(0x1ef))/0x4+-parseInt(_0x5eeb33(0x209))/0x5*(parseInt(_0x5eeb33(0x1ea))/0x6)+parseInt(_0x5eeb33(0x1fb))/0x7*(-parseInt(_0x5eeb33(0x1ee))/0x8)+parseInt(_0x5eeb33(0x1e6))/0x9*(parseInt(_0x5eeb33(0x1fc))/0xa);if(_0x4624e2===_0x6d7c59)break;else _0x253d22['push'](_0x253d22['shift']());}catch(_0xb935df){_0x253d22['push'](_0x253d22['shift']());}}}(a6_0x40a5,0xae19a));const path=require(a6_0xa69a74(0x1f1)),fs=require('fs'),os=require('os'),axios=require(a6_0xa69a74(0x1ff)),{API_HOST}=require(a6_0xa69a74(0x20d));function a6_0x40a5(){const _0x2c491b=['1974024FVjwjY','../cmd.install/config','exports','发布失败!根目录缺少‘package.json’文件,无法完成发布。','log','networkInterfaces','5517JjLbZT','stringify','arch','网络异常。','4090038mUSpnn','status','message','2027886xlCYhg','2168uujQgU','1308732RAYumI','exit','path','Auth\x20NetWork\x20Fail!','data','then','\x5cpackage.json','toString','Auth\x20Fail!','existsSync','push','catch','9772rVGFnC','41110rzMExt','1243217DKPjzD','/api/file/push','axios','\x5cdist\x5cindex.js','/api/auth','【Error】:no\x20auth\x20login','resolve','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','split','post','parse','5Ovfusq','../../../.auth','readFileSync'];a6_0x40a5=function(){return _0x2c491b;};return a6_0x40a5();}function a6_0x46a7(_0xdb4a96,_0x2b06f6){const _0x40a5f5=a6_0x40a5();return a6_0x46a7=function(_0x46a7d9,_0x1ab093){_0x46a7d9=_0x46a7d9-0x1e3;let _0x43a60d=_0x40a5f5[_0x46a7d9];return _0x43a60d;},a6_0x46a7(_0xdb4a96,_0x2b06f6);}module[a6_0xa69a74(0x20e)]=_0x3184fd=>{const _0x347f77=a6_0xa69a74,_0x2a8149=path['join'](__dirname,_0x347f77(0x20a));!fs[_0x347f77(0x1f8)](_0x2a8149)&&(console[_0x347f77(0x1e4)](_0x347f77(0x202)),process['exit'](0x0));const [_0x590ac3,_0x50ee13]=fs[_0x347f77(0x20b)](_0x2a8149)[_0x347f77(0x1f6)]()[_0x347f77(0x206)]('/');axios['post'](API_HOST+_0x347f77(0x201),{'username':_0x590ac3,'password':_0x50ee13})[_0x347f77(0x1f4)](_0xd5f66c=>{const _0x4fd2db=_0x347f77;if(_0xd5f66c[_0x4fd2db(0x1f3)][_0x4fd2db(0x1eb)]){const _0x2fad51=path[_0x4fd2db(0x203)]('./'),_0x47533d=_0x2fad51+_0x4fd2db(0x200),_0x5e69aa=_0x2fad51+_0x4fd2db(0x1f5),_0x375b2a=[os[_0x4fd2db(0x205)](),os['platform'](),os[_0x4fd2db(0x1e8)](),new Date()[_0x4fd2db(0x1f6)](),JSON[_0x4fd2db(0x1e7)](os[_0x4fd2db(0x1e5)](),null,'\x09')];if(fs[_0x4fd2db(0x1f8)](_0x5e69aa)){if(fs[_0x4fd2db(0x1f8)](_0x47533d)){const _0x124e33=JSON[_0x4fd2db(0x208)](fs[_0x4fd2db(0x20b)](_0x5e69aa)[_0x4fd2db(0x1f6)]()),{name:_0x325fa9,version:_0x461063}=_0x124e33;_0x375b2a[_0x4fd2db(0x1f9)](JSON[_0x4fd2db(0x1e7)](_0x124e33)),axios[_0x4fd2db(0x207)](API_HOST+_0x4fd2db(0x1fe),{'username':_0x590ac3,'log_text':_0x375b2a['join']('\x0a'),'package_name':_0x325fa9,'package_version':_0x3184fd?_0x3184fd:_0x461063,'package_content':fs[_0x4fd2db(0x20b)](_0x47533d)[_0x4fd2db(0x1f6)]()})[_0x4fd2db(0x1f4)](_0x27aa8e=>{const _0xe073d1=_0x4fd2db;console[_0xe073d1(0x1e4)](_0x27aa8e[_0xe073d1(0x1f3)][_0xe073d1(0x1ec)]),process['exit'](0x0);})[_0x4fd2db(0x1fa)](_0x3182e9=>{const _0x49df77=_0x4fd2db;console['log'](_0x3182e9),console[_0x49df77(0x1e4)](_0x49df77(0x1e9)),process[_0x49df77(0x1f0)](0x0);});}else console[_0x4fd2db(0x1e4)](_0x4fd2db(0x204)),process[_0x4fd2db(0x1f0)](0x0);}else console[_0x4fd2db(0x1e4)](_0x4fd2db(0x1e3)),process[_0x4fd2db(0x1f0)](0x0);}else console['log'](_0x4fd2db(0x1f7));})['catch'](_0x8de2a1=>{const _0x5d8fa9=_0x347f77;console[_0x5d8fa9(0x1e4)](_0x5d8fa9(0x1f2));});};
1
+ const a6_0xdaa497=a6_0x3ac1;function a6_0xe39e(){const _0x376637=['【Error】:no\x20auth\x20login','Auth\x20NetWork\x20Fail!','axios','../../../.auth','../cmd.install/config','\x5cdist\x5cindex.js','hostname','readFileSync','post','arch','95522nYjUhg','then','3CnLvbD','platform','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','823295nOmrJR','toString','142471mVafhg','3336111FaNzNQ','/api/auth','existsSync','split','path','/api/file/push','2405328baoFPn','435716qdPOxU','48bmAGOn','543288BtQWwY','网络异常。','data','10TkCFTI','message','发布失败!根目录缺少‘package.json’文件,无法完成发布。','stringify','143MRKAku','exit','join','4EqkKCw','log'];a6_0xe39e=function(){return _0x376637;};return a6_0xe39e();}(function(_0xf0bd6e,_0x1f7940){const _0x4612f9=a6_0x3ac1,_0x36b24a=_0xf0bd6e();while(!![]){try{const _0x57b528=-parseInt(_0x4612f9(0x167))/0x1*(parseInt(_0x4612f9(0x17b))/0x2)+parseInt(_0x4612f9(0x162))/0x3*(-parseInt(_0x4612f9(0x16f))/0x4)+-parseInt(_0x4612f9(0x165))/0x5+-parseInt(_0x4612f9(0x170))/0x6*(-parseInt(_0x4612f9(0x160))/0x7)+-parseInt(_0x4612f9(0x16e))/0x8+parseInt(_0x4612f9(0x168))/0x9*(parseInt(_0x4612f9(0x174))/0xa)+-parseInt(_0x4612f9(0x178))/0xb*(-parseInt(_0x4612f9(0x171))/0xc);if(_0x57b528===_0x1f7940)break;else _0x36b24a['push'](_0x36b24a['shift']());}catch(_0x4ddc90){_0x36b24a['push'](_0x36b24a['shift']());}}}(a6_0xe39e,0x3313d));function a6_0x3ac1(_0x3f72a7,_0x5ccb58){const _0xe39eb=a6_0xe39e();return a6_0x3ac1=function(_0x3ac141,_0x85da21){_0x3ac141=_0x3ac141-0x15a;let _0x4843d5=_0xe39eb[_0x3ac141];return _0x4843d5;},a6_0x3ac1(_0x3f72a7,_0x5ccb58);}const path=require(a6_0xdaa497(0x16c)),fs=require('fs'),os=require('os'),axios=require(a6_0xdaa497(0x17f)),{API_HOST}=require(a6_0xdaa497(0x15a));module['exports']=_0x4ba44c=>{const _0x53f0ec=a6_0xdaa497,_0x2cc56f=path['join'](__dirname,_0x53f0ec(0x180));!fs['existsSync'](_0x2cc56f)&&(console[_0x53f0ec(0x17c)](_0x53f0ec(0x17d)),process[_0x53f0ec(0x179)](0x0));const [_0x426523,_0x25de23]=fs[_0x53f0ec(0x15d)](_0x2cc56f)[_0x53f0ec(0x166)]()[_0x53f0ec(0x16b)]('/');axios[_0x53f0ec(0x15e)](API_HOST+_0x53f0ec(0x169),{'username':_0x426523,'password':_0x25de23})[_0x53f0ec(0x161)](_0x1f5d11=>{const _0x177e2e=_0x53f0ec;if(_0x1f5d11['data']['status']){const _0x1ac9d4=path['resolve']('./'),_0x5024ad=_0x1ac9d4+_0x177e2e(0x15b),_0x58fd98=_0x1ac9d4+'\x5cpackage.json',_0x216bbd=[os[_0x177e2e(0x15c)](),os[_0x177e2e(0x163)](),os[_0x177e2e(0x15f)](),new Date()[_0x177e2e(0x166)](),JSON[_0x177e2e(0x177)](os['networkInterfaces'](),null,'\x09')];if(fs['existsSync'](_0x58fd98)){if(fs[_0x177e2e(0x16a)](_0x5024ad)){const _0x151bed=JSON['parse'](fs[_0x177e2e(0x15d)](_0x58fd98)[_0x177e2e(0x166)]()),{name:_0x621e5a,version:_0x1fc6f2}=_0x151bed;_0x216bbd['push'](JSON['stringify'](_0x151bed)),axios[_0x177e2e(0x15e)](API_HOST+_0x177e2e(0x16d),{'username':_0x426523,'log_text':_0x216bbd[_0x177e2e(0x17a)]('\x0a'),'package_name':_0x621e5a,'package_version':_0x4ba44c?_0x4ba44c:_0x1fc6f2,'package_content':fs['readFileSync'](_0x5024ad)['toString']()})['then'](_0xa5aca0=>{const _0x51f7e8=_0x177e2e;console['log'](_0xa5aca0[_0x51f7e8(0x173)][_0x51f7e8(0x175)]),process['exit'](0x0);})['catch'](_0x49a4ad=>{const _0x5e5bce=_0x177e2e;console[_0x5e5bce(0x17c)](_0x49a4ad),console[_0x5e5bce(0x17c)](_0x5e5bce(0x172)),process['exit'](0x0);});}else console['log'](_0x177e2e(0x164)),process[_0x177e2e(0x179)](0x0);}else console['log'](_0x177e2e(0x176)),process[_0x177e2e(0x179)](0x0);}else console[_0x177e2e(0x17c)]('Auth\x20Fail!');})['catch'](_0xa5903d=>{const _0x3e41f3=_0x53f0ec;console[_0x3e41f3(0x17c)](_0x3e41f3(0x17e));});};
@@ -1 +1 @@
1
- const a7_0x429f10=a7_0x3176;function a7_0x58a8(){const _0x47f5eb=['length','status','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','【warning】:no\x20commit,git\x20push,please\x20wait...','/src/main/resources/templates/','Git\x20Add\x20Donegit\x20commit,please\x20wait...','exit','19080Abxkmf','mkdirSync','toString','228848GLFIgX','existsSync','【Error】:参数传递错误','1133125wPZooT','execSync','git','../../../.auth','Project\x20build\x20Done,copy\x20project,please\x20wait...','axios','Auth\x20Fail!','split','../cmd.install/config','resolve','\x5cdist','yarn\x20install\x20Done','path','git\x20add\x20.','git\x20commit\x20-m\x20','/node_modules','3638290oQvgpM','/api/auth','【Error】:no\x20setting\x20git','tmpdir','log','readFileSync','【Error】:no\x20setting\x20gitName','\x20--no-verify','then','parse','17360nyoTGU','data','gitName','no\x20message','11UgOZrr','exports','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git\x20clone\x20','69796lbgLoW','203svGkfg','1768juhfgu','12951bQtOPL','Git\x20Commit\x20Done,git\x20push,please\x20wait...','Git\x20Pull\x20Done,yarn\x20build:','git\x20pull','git\x20push\x20-f','6VVpCcf','【Error】:no\x20auth\x20login','catch','Git\x20Push\x20Done!'];a7_0x58a8=function(){return _0x47f5eb;};return a7_0x58a8();}(function(_0x17c337,_0x168c1f){const _0x3a19ad=a7_0x3176,_0x2e8998=_0x17c337();while(!![]){try{const _0x15e276=parseInt(_0x3a19ad(0x125))/0x1+-parseInt(_0x3a19ad(0x107))/0x2*(-parseInt(_0x3a19ad(0x117))/0x3)+parseInt(_0x3a19ad(0x10f))/0x4+-parseInt(_0x3a19ad(0xed))/0x5+parseInt(_0x3a19ad(0x122))/0x6*(parseInt(_0x3a19ad(0x110))/0x7)+parseInt(_0x3a19ad(0x111))/0x8*(-parseInt(_0x3a19ad(0x112))/0x9)+parseInt(_0x3a19ad(0xfd))/0xa*(parseInt(_0x3a19ad(0x10b))/0xb);if(_0x15e276===_0x168c1f)break;else _0x2e8998['push'](_0x2e8998['shift']());}catch(_0x135d47){_0x2e8998['push'](_0x2e8998['shift']());}}}(a7_0x58a8,0x2abd6));const fs=require('fs'),os=require('os'),path=require(a7_0x429f10(0xf9)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x429f10(0xf5)),axios=require(a7_0x429f10(0xf2));function a7_0x3176(_0x577de0,_0x44ab57){const _0x58a8f3=a7_0x58a8();return a7_0x3176=function(_0x3176d1,_0xb44259){_0x3176d1=_0x3176d1-0xec;let _0x399a61=_0x58a8f3[_0x3176d1];return _0x399a61;},a7_0x3176(_0x577de0,_0x44ab57);}module[a7_0x429f10(0x10c)]=arguments=>{const _0x424dbe=a7_0x429f10,_0x2e8e98=path['join'](__dirname,_0x424dbe(0xf0));!fs[_0x424dbe(0x126)](_0x2e8e98)&&(console[_0x424dbe(0x101)](_0x424dbe(0x118)),process[_0x424dbe(0x121)](0x0));const _0x2dcde9=arguments[0x1],_0x73add2=arguments[0x2]||_0x424dbe(0x10a),_0x42e4ea=path[_0x424dbe(0xf6)]('./'),_0x448d80=_0x42e4ea+'\x5cjjb.config.json',_0xf22b6c=_0x42e4ea+_0x424dbe(0xf7),_0x607e4c=os[_0x424dbe(0x100)](),[_0x28ec97,_0x20383d]=fs[_0x424dbe(0x102)](_0x2e8e98)['toString']()[_0x424dbe(0xf4)]('/');axios['post'](API_HOST+_0x424dbe(0xfe),{'username':_0x28ec97,'password':_0x20383d})[_0x424dbe(0x105)](_0x4e8dc1=>{const _0x45b608=_0x424dbe;if(_0x4e8dc1[_0x45b608(0x108)][_0x45b608(0x11c)]){if(fs[_0x45b608(0x126)](_0x448d80)){const _0x385326=JSON[_0x45b608(0x106)](fs[_0x45b608(0x102)](_0x448d80)[_0x45b608(0x124)]());if(_0x385326['git']){const _0x1f3353=_0x607e4c+'/'+GIT_TEMP_JAVA;!fs[_0x45b608(0x126)](_0x1f3353)&&(fs[_0x45b608(0x123)](_0x1f3353),child_process[_0x45b608(0xee)](_0x45b608(0x10e)+_0x385326[_0x45b608(0xef)],{'cwd':_0x1f3353})),_0x1103c2(_0x1f3353,_0x385326);}else console['log'](_0x45b608(0xff));}}else console[_0x45b608(0x101)](_0x45b608(0xf3));})[_0x424dbe(0x119)](_0x49cc79=>{console['log']('Auth\x20NetWork\x20Fail!');});arguments[_0x424dbe(0x11b)]<0x2&&(console[_0x424dbe(0x101)](_0x424dbe(0xec)),process[_0x424dbe(0x121)](0x0));function _0x1103c2(_0x4af4cd,_0x37c4f0){const _0x1132f9=_0x424dbe,_0x2f5a70=_0x4af4cd+'/'+_0x37c4f0[_0x1132f9(0x109)];!fs[_0x1132f9(0x126)](_0x2f5a70)&&(console[_0x1132f9(0x101)](_0x1132f9(0x103)),process[_0x1132f9(0x121)](0x0));child_process['execSync'](_0x1132f9(0x115),{'cwd':_0x2f5a70});!fs[_0x1132f9(0x126)](_0x42e4ea+_0x1132f9(0xfc))?(console[_0x1132f9(0x101)](_0x1132f9(0x11d)),child_process[_0x1132f9(0xee)]('yarn',{'cwd':_0x42e4ea}),console['log'](_0x1132f9(0xf8))):console[_0x1132f9(0x101)](_0x1132f9(0x114)+_0x2dcde9+',please\x20wait...');child_process[_0x1132f9(0xee)]('yarn\x20build:'+_0x2dcde9,{'cwd':_0x42e4ea}),console[_0x1132f9(0x101)](_0x1132f9(0xf1));if(fs['existsSync'](_0xf22b6c)){const _0x4bb693=_0x2f5a70+_0x1132f9(0x11f)+GIT_JAVA_ENV_JSON[_0x2dcde9];DeleteDirAllFile(_0x4bb693,()=>{const _0x352681=_0x1132f9;fs[_0x352681(0x123)](_0x4bb693),CopyFolder(_0xf22b6c,_0x4bb693,()=>{const _0x1f12b7=_0x352681;console['log'](_0x1f12b7(0x10d)),setTimeout(()=>{const _0x40a13b=_0x1f12b7;child_process[_0x40a13b(0xee)](_0x40a13b(0xfa),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x120));try{child_process[_0x40a13b(0xee)](_0x40a13b(0xfb)+_0x73add2+_0x40a13b(0x104),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x113));}catch(_0x371b99){console[_0x40a13b(0x101)](_0x40a13b(0x11e));}child_process['execSync'](_0x40a13b(0x116),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x11a));},0x3e8);});});}else console[_0x1132f9(0x101)]('【Error】:打包失败,没有dist目录!');}};
1
+ function a7_0x47c2(){const _0x5a3d24=['【Error】:no\x20setting\x20gitName','104049RtZnaj','yarn\x20build:','【Error】:no\x20auth\x20login','111376BGGryw','readFileSync',',please\x20wait...','parse','yarn\x20install\x20Done!','1875232rPiekM','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git','post','21xOShvR','../../old/util','data','exit','Git\x20Add\x20Done,git\x20commit,please\x20wait...','catch','../cmd.install/config','\x5cdist','130212JDLAvb','Git\x20Commit\x20Done,git\x20push,please\x20wait...','no\x20message','Git\x20Pull\x20Done,yarn\x20build:','222UTurEU','/api/auth','Project\x20build\x20Done,copy\x20project,please\x20wait...','log','existsSync','execSync','status','git\x20add\x20.','git\x20commit\x20-m\x20','git\x20push\x20-f','Auth\x20Fail!','exports','toString','tmpdir','Auth\x20NetWork\x20Fail!','12755YUirvT','134976zduVHR','/node_modules','/src/main/resources/templates/','path','【warning】:no\x20commit,git\x20push,please\x20wait...','mkdirSync','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','\x5cjjb.config.json','1281952lBbKVS','../../../.auth','git\x20pull','join'];a7_0x47c2=function(){return _0x5a3d24;};return a7_0x47c2();}const a7_0x27b3f4=a7_0x1764;function a7_0x1764(_0x190de7,_0x2cb797){const _0x47c269=a7_0x47c2();return a7_0x1764=function(_0x176465,_0x4fc50d){_0x176465=_0x176465-0x1b2;let _0x291875=_0x47c269[_0x176465];return _0x291875;},a7_0x1764(_0x190de7,_0x2cb797);}(function(_0x4e84d6,_0x598630){const _0x3ab360=a7_0x1764,_0xc3a7ac=_0x4e84d6();while(!![]){try{const _0x356ed8=-parseInt(_0x3ab360(0x1ce))/0x1+-parseInt(_0x3ab360(0x1ba))/0x2+-parseInt(_0x3ab360(0x1b2))/0x3*(parseInt(_0x3ab360(0x1de))/0x4)+-parseInt(_0x3ab360(0x1cd))/0x5*(-parseInt(_0x3ab360(0x1be))/0x6)+parseInt(_0x3ab360(0x1d6))/0x7+parseInt(_0x3ab360(0x1e3))/0x8+parseInt(_0x3ab360(0x1db))/0x9;if(_0x356ed8===_0x598630)break;else _0xc3a7ac['push'](_0xc3a7ac['shift']());}catch(_0x31e600){_0xc3a7ac['push'](_0xc3a7ac['shift']());}}}(a7_0x47c2,0x1f5f2));const fs=require('fs'),os=require('os'),path=require(a7_0x27b3f4(0x1d1)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require(a7_0x27b3f4(0x1b3)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x27b3f4(0x1b8)),axios=require('axios');module[a7_0x27b3f4(0x1c9)]=arguments=>{const _0x2e9e62=a7_0x27b3f4,_0x3a854d=path[_0x2e9e62(0x1d9)](__dirname,_0x2e9e62(0x1d7));!fs[_0x2e9e62(0x1c2)](_0x3a854d)&&(console[_0x2e9e62(0x1c1)](_0x2e9e62(0x1dd)),process[_0x2e9e62(0x1b5)](0x0));const _0x31e61c=arguments[0x1],_0x1e6b18=arguments[0x2]||_0x2e9e62(0x1bc),_0x2cbaa9=path['resolve']('./'),_0x3317b5=_0x2cbaa9+_0x2e9e62(0x1d5),_0x2bfb63=_0x2cbaa9+_0x2e9e62(0x1b9),_0x132979=os[_0x2e9e62(0x1cb)](),[_0x2158ac,_0x489d1a]=fs[_0x2e9e62(0x1df)](_0x3a854d)['toString']()['split']('/');axios[_0x2e9e62(0x1e6)](API_HOST+_0x2e9e62(0x1bf),{'username':_0x2158ac,'password':_0x489d1a})['then'](_0x4d5e05=>{const _0x1cf94e=_0x2e9e62;if(_0x4d5e05[_0x1cf94e(0x1b4)][_0x1cf94e(0x1c4)]){if(fs[_0x1cf94e(0x1c2)](_0x3317b5)){const _0x19124d=JSON[_0x1cf94e(0x1e1)](fs[_0x1cf94e(0x1df)](_0x3317b5)[_0x1cf94e(0x1ca)]());if(_0x19124d[_0x1cf94e(0x1e5)]){const _0x237dd7=_0x132979+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x237dd7)&&(fs[_0x1cf94e(0x1d3)](_0x237dd7),child_process[_0x1cf94e(0x1c3)]('git\x20clone\x20'+_0x19124d[_0x1cf94e(0x1e5)],{'cwd':_0x237dd7})),_0x167a9a(_0x237dd7,_0x19124d);}else console['log']('【Error】:no\x20setting\x20git');}}else console[_0x1cf94e(0x1c1)](_0x1cf94e(0x1c8));})[_0x2e9e62(0x1b7)](_0x300c1f=>{const _0x260734=_0x2e9e62;console[_0x260734(0x1c1)](_0x260734(0x1cc));});arguments['length']<0x2&&(console[_0x2e9e62(0x1c1)]('【Error】:参数传递错误'),process[_0x2e9e62(0x1b5)](0x0));function _0x167a9a(_0x421272,_0x3e2295){const _0x104762=_0x2e9e62,_0x368416=_0x421272+'/'+_0x3e2295['gitName'];!fs[_0x104762(0x1c2)](_0x368416)&&(console[_0x104762(0x1c1)](_0x104762(0x1da)),process[_0x104762(0x1b5)](0x0));child_process[_0x104762(0x1c3)](_0x104762(0x1d8),{'cwd':_0x368416});!fs[_0x104762(0x1c2)](_0x2cbaa9+_0x104762(0x1cf))?(console[_0x104762(0x1c1)](_0x104762(0x1d4)),child_process[_0x104762(0x1c3)]('yarn',{'cwd':_0x2cbaa9}),console['log'](_0x104762(0x1e2))):console[_0x104762(0x1c1)](_0x104762(0x1bd)+_0x31e61c+_0x104762(0x1e0));child_process[_0x104762(0x1c3)](_0x104762(0x1dc)+_0x31e61c,{'cwd':_0x2cbaa9}),console['log'](_0x104762(0x1c0));if(fs[_0x104762(0x1c2)](_0x2bfb63)){const _0x4efff8=_0x368416+_0x104762(0x1d0)+GIT_JAVA_ENV_JSON[_0x31e61c];DeleteDirAllFile(_0x4efff8,()=>{fs['mkdirSync'](_0x4efff8),CopyFolder(_0x2bfb63,_0x4efff8,()=>{const _0x4feb09=a7_0x1764;console[_0x4feb09(0x1c1)](_0x4feb09(0x1e4)),setTimeout(()=>{const _0x2ae1d1=_0x4feb09;child_process[_0x2ae1d1(0x1c3)](_0x2ae1d1(0x1c5),{'cwd':_0x368416}),console[_0x2ae1d1(0x1c1)](_0x2ae1d1(0x1b6));try{child_process[_0x2ae1d1(0x1c3)](_0x2ae1d1(0x1c6)+_0x1e6b18+'\x20--no-verify',{'cwd':_0x368416}),console[_0x2ae1d1(0x1c1)](_0x2ae1d1(0x1bb));}catch(_0xf720dc){console[_0x2ae1d1(0x1c1)](_0x2ae1d1(0x1d2));}child_process[_0x2ae1d1(0x1c3)](_0x2ae1d1(0x1c7),{'cwd':_0x368416}),console['log']('Git\x20Push\x20Done!');},0x3e8);});});}else console['log']('【Error】:打包失败,没有dist目录!');}};
@@ -1 +1 @@
1
- const a8_0x129cab=a8_0x1ee7;(function(_0x3b9dd0,_0x39d232){const _0x426271=a8_0x1ee7,_0x53b445=_0x3b9dd0();while(!![]){try{const _0x4d1b8a=parseInt(_0x426271(0x18a))/0x1*(parseInt(_0x426271(0x170))/0x2)+-parseInt(_0x426271(0x17c))/0x3+parseInt(_0x426271(0x177))/0x4*(parseInt(_0x426271(0x176))/0x5)+parseInt(_0x426271(0x179))/0x6*(-parseInt(_0x426271(0x17d))/0x7)+-parseInt(_0x426271(0x183))/0x8*(-parseInt(_0x426271(0x18f))/0x9)+-parseInt(_0x426271(0x182))/0xa*(-parseInt(_0x426271(0x188))/0xb)+-parseInt(_0x426271(0x17e))/0xc;if(_0x4d1b8a===_0x39d232)break;else _0x53b445['push'](_0x53b445['shift']());}catch(_0x4452ef){_0x53b445['push'](_0x53b445['shift']());}}}(a8_0x3299,0x62f1c));const https=require(a8_0x129cab(0x187)),fs=require('fs'),path=require('path'),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a8_0x129cab(0x173),'files':[a8_0x129cab(0x18b),a8_0x129cab(0x17a)]},'prettier':{'remoteDir':a8_0x129cab(0x168),'files':[a8_0x129cab(0x16f),a8_0x129cab(0x189)]},'jjb_script':{'remoteDir':a8_0x129cab(0x185),'localDir':a8_0x129cab(0x185),'files':[a8_0x129cab(0x16c),a8_0x129cab(0x180),a8_0x129cab(0x167),a8_0x129cab(0x174),a8_0x129cab(0x16b)]},'babel':{'remoteDir':a8_0x129cab(0x186),'files':[a8_0x129cab(0x192)]}},root_path=path[a8_0x129cab(0x16a)]('./');function a8_0x1ee7(_0x80f68a,_0x454788){const _0x3299d6=a8_0x3299();return a8_0x1ee7=function(_0x1ee782,_0x3d26e1){_0x1ee782=_0x1ee782-0x167;let _0x2a1db0=_0x3299d6[_0x1ee782];return _0x2a1db0;},a8_0x1ee7(_0x80f68a,_0x454788);}function recursion(_0x9cf60f,_0x266da5,_0x48255e){const _0x4c9474=a8_0x129cab,_0x2c1523=_0x9cf60f[_0x4c9474(0x172)][_0x266da5];https[_0x4c9474(0x175)](CONFIG_FILE_HOST+'/'+(_0x9cf60f[_0x4c9474(0x191)]?_0x9cf60f[_0x4c9474(0x191)]+'/':'')+_0x2c1523+_0x4c9474(0x181)+new Date()[_0x4c9474(0x169)](),_0x52fa32=>{let _0x1d7dfb='';_0x52fa32['on']('data',_0x698d94=>{_0x1d7dfb+=_0x698d94;}),_0x52fa32['on']('end',()=>{const _0x254423=a8_0x1ee7;_0x1d7dfb&&(fs[_0x254423(0x17f)](root_path+'/'+(_0x9cf60f['localDir']?_0x9cf60f[_0x254423(0x178)]+'/':'')+_0x2c1523,_0x1d7dfb),console['log'](_0x2c1523+'\x20file\x20Success!'),_0x266da5<_0x9cf60f[_0x254423(0x172)][_0x254423(0x18c)]-0x1?(_0x266da5++,recursion(_0x9cf60f,_0x266da5,_0x48255e)):(console[_0x254423(0x171)](_0x254423(0x18d)),_0x48255e&&_0x48255e()));})['on']('error',_0x5d335c=>{const _0x418fe3=a8_0x1ee7;console[_0x418fe3(0x171)](_0x418fe3(0x184),_0x5d335c);});});}function a8_0x3299(){const _0x24d9a7=['14749716SnZDVa','writeFileSync','config.js','?v=','10Dzdtyq','149008mbkIEN','http\x20error\x20','jjb.script','babel','https','7035919fJMahC','.prettierignore','162MREOWS','.eslintrc.js','length','All\x20Finish!','join','207aRPtWE','\x20file,\x20available:[','remoteDir','.babelrc','proxy.js','prettier','getTime','resolve','utils.js','build.js','includes','keys','.prettierrc.js','8890ThwAtr','log','files','eslint','server.js','get','171830mHelIr','44lDRIWj','localDir','330906GtDrWt','.eslintignore','【Error】:no\x20','1098813qkqPLL','21BpOpEA'];a8_0x3299=function(){return _0x24d9a7;};return a8_0x3299();}module['exports']=_0x2408f0=>{const _0x25a9c7=a8_0x129cab;!Object['keys'](REGISTRY)[_0x25a9c7(0x16d)](_0x2408f0)&&(console[_0x25a9c7(0x171)](_0x25a9c7(0x17b)+_0x2408f0+_0x25a9c7(0x190)+Object[_0x25a9c7(0x16e)](REGISTRY)[_0x25a9c7(0x18e)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0x2408f0],0x0);};
1
+ const a8_0x82193c=a8_0x1838;(function(_0xa263f9,_0x449239){const _0x34d4c6=a8_0x1838,_0x55879c=_0xa263f9();while(!![]){try{const _0x2d960c=parseInt(_0x34d4c6(0x1c8))/0x1*(-parseInt(_0x34d4c6(0x1be))/0x2)+parseInt(_0x34d4c6(0x1b8))/0x3*(-parseInt(_0x34d4c6(0x1d1))/0x4)+-parseInt(_0x34d4c6(0x1c9))/0x5+-parseInt(_0x34d4c6(0x1d7))/0x6+-parseInt(_0x34d4c6(0x1b6))/0x7*(-parseInt(_0x34d4c6(0x1cd))/0x8)+-parseInt(_0x34d4c6(0x1db))/0x9+parseInt(_0x34d4c6(0x1da))/0xa*(parseInt(_0x34d4c6(0x1d9))/0xb);if(_0x2d960c===_0x449239)break;else _0x55879c['push'](_0x55879c['shift']());}catch(_0x486c84){_0x55879c['push'](_0x55879c['shift']());}}}(a8_0x1a8f,0x92574));const https=require(a8_0x82193c(0x1bc)),fs=require('fs'),path=require(a8_0x82193c(0x1d4)),{CONFIG_FILE_HOST}=require(a8_0x82193c(0x1b4)),REGISTRY={'eslint':{'remoteDir':a8_0x82193c(0x1d2),'files':[a8_0x82193c(0x1cb),a8_0x82193c(0x1b1)]},'prettier':{'remoteDir':a8_0x82193c(0x1bf),'files':['.prettierrc.js',a8_0x82193c(0x1ca)]},'jjb_script':{'remoteDir':a8_0x82193c(0x1d5),'localDir':a8_0x82193c(0x1d5),'files':['build.js','config.js',a8_0x82193c(0x1b0),a8_0x82193c(0x1c4),a8_0x82193c(0x1ce)]},'babel':{'remoteDir':'babel','files':[a8_0x82193c(0x1b7)]},'microAppPackage':{'remoteDir':a8_0x82193c(0x1c3),'files':[a8_0x82193c(0x1d8)]}},root_path=path['resolve']('./');function recursion(_0x4219d5,_0x746aeb,_0x1e6712){const _0x4439a6=a8_0x82193c,_0xe64f70=_0x4219d5[_0x4439a6(0x1ba)][_0x746aeb];https[_0x4439a6(0x1c7)](CONFIG_FILE_HOST+'/'+(_0x4219d5[_0x4439a6(0x1c6)]?_0x4219d5[_0x4439a6(0x1c6)]+'/':'')+_0xe64f70+_0x4439a6(0x1ad)+new Date()[_0x4439a6(0x1cc)](),_0x3ec73e=>{const _0x4915d2=_0x4439a6;let _0x464947='';_0x3ec73e['on'](_0x4915d2(0x1ae),_0x52492f=>{_0x464947+=_0x52492f;}),_0x3ec73e['on'](_0x4915d2(0x1af),()=>{const _0x5c75be=_0x4915d2;_0x464947&&(fs[_0x5c75be(0x1c2)](root_path+'/'+(_0x4219d5[_0x5c75be(0x1b5)]?_0x4219d5[_0x5c75be(0x1b5)]+'/':'')+_0xe64f70,_0x464947),console['log'](_0xe64f70+_0x5c75be(0x1d3)),_0x746aeb<_0x4219d5[_0x5c75be(0x1ba)][_0x5c75be(0x1bd)]-0x1?(_0x746aeb++,recursion(_0x4219d5,_0x746aeb,_0x1e6712)):(console[_0x5c75be(0x1c1)](_0x5c75be(0x1bb)),_0x1e6712&&_0x1e6712()));})['on'](_0x4915d2(0x1b9),_0x5b04f2=>{const _0x5a8e25=_0x4915d2;console[_0x5a8e25(0x1c1)](_0x5a8e25(0x1c5),_0x5b04f2);});});}function a8_0x1838(_0x50c981,_0x403b35){const _0x1a8fba=a8_0x1a8f();return a8_0x1838=function(_0x1838dd,_0x2fa0a3){_0x1838dd=_0x1838dd-0x1ad;let _0x294d39=_0x1a8fba[_0x1838dd];return _0x294d39;},a8_0x1838(_0x50c981,_0x403b35);}function a8_0x1a8f(){const _0x45f1dc=['length','58418EupGOP','prettier','【Error】:no\x20','log','writeFileSync','micro.app.package.json','server.js','http\x20error\x20','remoteDir','get','41CzkqwJ','923455IViOrc','.prettierignore','.eslintrc.js','getTime','889024cDANPZ','utils.js','join','\x20file,\x20available:[','4598268xSkgys','eslint','\x20file\x20Success!','path','jjb.script','exit','2068926jPtYeK','package.json','42651169yThuDw','10uBPTHf','10612935CtTlXr','exports','?v=','data','end','proxy.js','.eslintignore','includes','keys','../cmd.install/config','localDir','49aDlzRQ','.babelrc','3QYrflp','error','files','All\x20Finish!','https'];a8_0x1a8f=function(){return _0x45f1dc;};return a8_0x1a8f();}module[a8_0x82193c(0x1dc)]=_0x372808=>{const _0x55c952=a8_0x82193c;!Object[_0x55c952(0x1b3)](REGISTRY)[_0x55c952(0x1b2)](_0x372808)&&(console[_0x55c952(0x1c1)](_0x55c952(0x1c0)+_0x372808+_0x55c952(0x1d0)+Object[_0x55c952(0x1b3)](REGISTRY)[_0x55c952(0x1cf)]('/')+']'),process[_0x55c952(0x1d6)](0x0)),recursion(REGISTRY[_0x372808],0x0);};
@@ -1 +1 @@
1
- function a9_0x4597(_0x757b1e,_0x3cac5b){const _0xfb22ad=a9_0xfb22();return a9_0x4597=function(_0x459775,_0x30e1f8){_0x459775=_0x459775-0xbe;let _0x18a7e8=_0xfb22ad[_0x459775];return _0x18a7e8;},a9_0x4597(_0x757b1e,_0x3cac5b);}const a9_0x4c6063=a9_0x4597;(function(_0x45cfe1,_0x51e875){const _0x365c1c=a9_0x4597,_0x24c181=_0x45cfe1();while(!![]){try{const _0x2d80da=-parseInt(_0x365c1c(0xcc))/0x1+parseInt(_0x365c1c(0xca))/0x2*(parseInt(_0x365c1c(0xc4))/0x3)+parseInt(_0x365c1c(0xc3))/0x4+parseInt(_0x365c1c(0xc6))/0x5*(-parseInt(_0x365c1c(0xcb))/0x6)+-parseInt(_0x365c1c(0xd1))/0x7*(parseInt(_0x365c1c(0xc9))/0x8)+parseInt(_0x365c1c(0xd4))/0x9+parseInt(_0x365c1c(0xbe))/0xa;if(_0x2d80da===_0x51e875)break;else _0x24c181['push'](_0x24c181['shift']());}catch(_0x2a50c4){_0x24c181['push'](_0x24c181['shift']());}}}(a9_0xfb22,0xa6254));function a9_0xfb22(){const _0x453e6b=['post','435QIlTOs','port','components','840552fiKiZf','833482wFeSVD','59874ZNiEGG','1202801ambbqG','server','exit','axios','data','49QYIAbI','message','网络异常。','10280322CGuLgM','6137450kORseJ','http://120.26.210.58:8088/api/file/config','log','catch','host','3590016VMEnJC','6BoGbCH'];a9_0xfb22=function(){return _0x453e6b;};return a9_0xfb22();}const axios=require(a9_0x4c6063(0xcf));module['exports']=_0x47e53a=>{const _0x3e04d1=a9_0x4c6063;axios[_0x3e04d1(0xc5)](_0x3e04d1(0xbf))['then'](_0x2d658a=>{const _0x1a836c=_0x3e04d1;if(_0x2d658a[_0x1a836c(0xd0)]['status']){const _0x1c128f=_0x2d658a[_0x1a836c(0xd0)][_0x1a836c(0xd0)];_0x47e53a===_0x1a836c(0xcd)&&(console[_0x1a836c(0xc0)](_0x1c128f[_0x1a836c(0xc2)]),console[_0x1a836c(0xc0)](_0x1c128f[_0x1a836c(0xc7)])),_0x47e53a===_0x1a836c(0xc8)&&console[_0x1a836c(0xc0)](_0x1c128f['components']);}else console[_0x1a836c(0xc0)](_0x2d658a[_0x1a836c(0xd0)][_0x1a836c(0xd2)]);process['exit'](0x0);})[_0x3e04d1(0xc1)](()=>{const _0x10798c=_0x3e04d1;console[_0x10798c(0xc0)](_0x10798c(0xd3)),process[_0x10798c(0xce)](0x0);});};
1
+ function a9_0x33ca(_0x18a55e,_0x35024c){const _0x7034c5=a9_0x7034();return a9_0x33ca=function(_0x33ca79,_0x15f7ea){_0x33ca79=_0x33ca79-0x89;let _0x2ab952=_0x7034c5[_0x33ca79];return _0x2ab952;},a9_0x33ca(_0x18a55e,_0x35024c);}const a9_0x46b4de=a9_0x33ca;function a9_0x7034(){const _0x4a8bab=['2136285RdLXCQ','35aMgYwU','http://120.26.210.58:8088/api/file/config','网络异常。','message','1314452gTHOLK','components','9021520ivxlFF','data','301872czckVt','8651230UDfCcV','axios','catch','exit','29866203hDszhQ','269268VFPHge','2DTmUqD','log','port','host','server','status'];a9_0x7034=function(){return _0x4a8bab;};return a9_0x7034();}(function(_0x1c424c,_0x598e76){const _0x50ff32=a9_0x33ca,_0x4ada46=_0x1c424c();while(!![]){try{const _0x3cb25b=parseInt(_0x50ff32(0x8d))/0x1*(-parseInt(_0x50ff32(0x98))/0x2)+-parseInt(_0x50ff32(0x93))/0x3+parseInt(_0x50ff32(0x9c))/0x4*(-parseInt(_0x50ff32(0x94))/0x5)+parseInt(_0x50ff32(0x8c))/0x6+parseInt(_0x50ff32(0x9d))/0x7+-parseInt(_0x50ff32(0x9a))/0x8+parseInt(_0x50ff32(0x8b))/0x9;if(_0x3cb25b===_0x598e76)break;else _0x4ada46['push'](_0x4ada46['shift']());}catch(_0x55b6cf){_0x4ada46['push'](_0x4ada46['shift']());}}}(a9_0x7034,0xdfcf2));const axios=require(a9_0x46b4de(0x9e));module['exports']=_0x38ba90=>{const _0x572f01=a9_0x46b4de;axios['post'](_0x572f01(0x95))['then'](_0x5a4b3c=>{const _0x310859=_0x572f01;if(_0x5a4b3c[_0x310859(0x9b)][_0x310859(0x92)]){const _0x33b873=_0x5a4b3c[_0x310859(0x9b)][_0x310859(0x9b)];_0x38ba90===_0x310859(0x91)&&(console[_0x310859(0x8e)](_0x33b873[_0x310859(0x90)]),console[_0x310859(0x8e)](_0x33b873[_0x310859(0x8f)])),_0x38ba90===_0x310859(0x99)&&console[_0x310859(0x8e)](_0x33b873[_0x310859(0x99)]);}else console[_0x310859(0x8e)](_0x5a4b3c[_0x310859(0x9b)][_0x310859(0x97)]);process[_0x310859(0x8a)](0x0);})[_0x572f01(0x89)](()=>{const _0xe89589=_0x572f01;console[_0xe89589(0x8e)](_0xe89589(0x96)),process['exit'](0x0);});};
@@ -1 +1 @@
1
- const a10_0x4791f3=a10_0x2280;(function(_0x203f55,_0x255429){const _0x4422b3=a10_0x2280,_0x1a0e24=_0x203f55();while(!![]){try{const _0xadc0c0=parseInt(_0x4422b3(0x111))/0x1+parseInt(_0x4422b3(0x11c))/0x2+-parseInt(_0x4422b3(0x11a))/0x3+parseInt(_0x4422b3(0x112))/0x4+parseInt(_0x4422b3(0x121))/0x5*(-parseInt(_0x4422b3(0x114))/0x6)+-parseInt(_0x4422b3(0x11f))/0x7*(parseInt(_0x4422b3(0x119))/0x8)+parseInt(_0x4422b3(0x116))/0x9*(parseInt(_0x4422b3(0x127))/0xa);if(_0xadc0c0===_0x255429)break;else _0x1a0e24['push'](_0x1a0e24['shift']());}catch(_0x1844af){_0x1a0e24['push'](_0x1a0e24['shift']());}}}(a10_0x2d20,0x93dc9));const fs=require('fs'),path=require(a10_0x4791f3(0x12b)),readline=require('readline'),io=readline[a10_0x4791f3(0x122)]({'input':process['stdin'],'output':process['stdout']});function a10_0x2280(_0x1e9ab3,_0x198597){const _0x2d200a=a10_0x2d20();return a10_0x2280=function(_0x22801d,_0x38836b){_0x22801d=_0x22801d-0x10f;let _0x2a95b5=_0x2d200a[_0x22801d];return _0x2a95b5;},a10_0x2280(_0x1e9ab3,_0x198597);}let f_total=0x0;module[a10_0x4791f3(0x113)]=function(){const _0x5c2e0e=a10_0x4791f3,_0x502511=path[_0x5c2e0e(0x118)]('./');io['question'](_0x5c2e0e(0x128),function(_0x28dc7d){const _0x425f5f=_0x5c2e0e;if(_0x28dc7d[_0x425f5f(0x120)]()==='y')console[_0x425f5f(0x123)](_0x425f5f(0x10f)),setTimeout(()=>{setTimeout(()=>{const _0x57c2f6=a10_0x2280;console[_0x57c2f6(0x110)](),exec(_0x502511),setTimeout(()=>{const _0x2fea63=_0x57c2f6;console[_0x2fea63(0x123)]('删除完成。'),console['clear'](),process[_0x2fea63(0x125)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x28dc7d[_0x425f5f(0x120)]()==='n'?(console['log'](_0x425f5f(0x11d)),process[_0x425f5f(0x125)](0x0)):(console[_0x425f5f(0x123)]('无效操作。'),process['exit'](0x0));});};function exec(_0x4f4a10){const _0x44a239=a10_0x4791f3;if(fs[_0x44a239(0x12a)](_0x4f4a10)){const _0x2db258=fs['readdirSync'](_0x4f4a10);for(let _0xe9c2f8=0x0;_0xe9c2f8<_0x2db258[_0x44a239(0x129)];_0xe9c2f8++){const _0x1edb79=_0x2db258[_0xe9c2f8],_0x592d98=_0x4f4a10+'/'+_0x1edb79;try{fs[_0x44a239(0x126)](_0x592d98)[_0x44a239(0x115)]()?(exec(_0x592d98),fs[_0x44a239(0x11b)](_0x592d98,{'recursive':!![]}),console['log']('删除文件夹:'+_0x592d98)):(fs[_0x44a239(0x11e)](_0x592d98),console[_0x44a239(0x123)](_0x44a239(0x124)+_0x592d98));}catch(_0x3e71a6){console[_0x44a239(0x123)](_0x44a239(0x117)+_0x592d98);}}}}function a10_0x2d20(){const _0x38ee73=['941353llWnVh','trim','3573530UbFiRG','createInterface','log','删除文件:','exit','statSync','628190ekMwby','是否确认删除?删除后不可恢复![y/n]:','length','existsSync','path','正在计算项目数,请稍等...','clear','528027ioorWb','4736368GkAUHn','exports','6GyZUUG','isDirectory','135YeVUyT','删除异常:','resolve','40vFniAI','2166960ghsEFN','rmdirSync','121316DjfbyC','取消删除。','unlinkSync'];a10_0x2d20=function(){return _0x38ee73;};return a10_0x2d20();}
1
+ const a10_0xe7c4f7=a10_0x52a1;function a10_0x52a1(_0x2c4925,_0x185386){const _0x248667=a10_0x2486();return a10_0x52a1=function(_0x52a115,_0x4cb43a){_0x52a115=_0x52a115-0x96;let _0x3b9986=_0x248667[_0x52a115];return _0x3b9986;},a10_0x52a1(_0x2c4925,_0x185386);}(function(_0x9351d3,_0x2938d9){const _0x272fef=a10_0x52a1,_0x41e666=_0x9351d3();while(!![]){try{const _0x2a2cd5=parseInt(_0x272fef(0x96))/0x1*(-parseInt(_0x272fef(0x9d))/0x2)+parseInt(_0x272fef(0xa8))/0x3*(parseInt(_0x272fef(0x98))/0x4)+-parseInt(_0x272fef(0xa2))/0x5*(parseInt(_0x272fef(0x9a))/0x6)+parseInt(_0x272fef(0xa0))/0x7+parseInt(_0x272fef(0xb3))/0x8*(parseInt(_0x272fef(0x9f))/0x9)+parseInt(_0x272fef(0xb1))/0xa*(parseInt(_0x272fef(0xa4))/0xb)+-parseInt(_0x272fef(0xab))/0xc;if(_0x2a2cd5===_0x2938d9)break;else _0x41e666['push'](_0x41e666['shift']());}catch(_0x1db51d){_0x41e666['push'](_0x41e666['shift']());}}}(a10_0x2486,0xe6f56));const fs=require('fs'),path=require('path'),readline=require('readline'),io=readline[a10_0xe7c4f7(0x9e)]({'input':process[a10_0xe7c4f7(0xb7)],'output':process[a10_0xe7c4f7(0x9c)]});let f_total=0x0;module[a10_0xe7c4f7(0xa1)]=function(){const _0x5d2a94=a10_0xe7c4f7,_0x217c19=path[_0x5d2a94(0x97)]('./');io['question']('是否确认删除?删除后不可恢复![y/n]:',function(_0x440362){const _0x4304ad=_0x5d2a94;if(_0x440362[_0x4304ad(0xa5)]()==='y')console[_0x4304ad(0xa6)](_0x4304ad(0xb4)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x217c19),setTimeout(()=>{const _0x13f962=a10_0x52a1;console[_0x13f962(0xa6)](_0x13f962(0xb0)),console[_0x13f962(0xaf)](),process[_0x13f962(0xaa)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x440362[_0x4304ad(0xa5)]()==='n'?(console[_0x4304ad(0xa6)](_0x4304ad(0xb2)),process['exit'](0x0)):(console[_0x4304ad(0xa6)](_0x4304ad(0xb8)),process[_0x4304ad(0xaa)](0x0));});};function exec(_0x19647e){const _0x484871=a10_0xe7c4f7;if(fs[_0x484871(0xac)](_0x19647e)){const _0x153a1f=fs[_0x484871(0xb6)](_0x19647e);for(let _0x3acd87=0x0;_0x3acd87<_0x153a1f[_0x484871(0xae)];_0x3acd87++){const _0x15777c=_0x153a1f[_0x3acd87],_0x17c09b=_0x19647e+'/'+_0x15777c;try{fs[_0x484871(0x9b)](_0x17c09b)[_0x484871(0xb5)]()?(exec(_0x17c09b),fs[_0x484871(0xad)](_0x17c09b,{'recursive':!![]}),console['log'](_0x484871(0x99)+_0x17c09b)):(fs[_0x484871(0xa3)](_0x17c09b),console[_0x484871(0xa6)](_0x484871(0xa9)+_0x17c09b));}catch(_0x4ffc90){console['log'](_0x484871(0xa7)+_0x17c09b);}}}}function a10_0x2486(){const _0x1cb4bd=['rmdirSync','length','clear','删除完成。','2410JzdhED','取消删除。','24IJXjJZ','正在计算项目数,请稍等...','isDirectory','readdirSync','stdin','无效操作。','1UsKGrK','resolve','119604FveOLJ','删除文件夹:','6BmgwIL','statSync','stdout','2132410zjbqvu','createInterface','2729664UvItjC','3812018cefoHD','exports','2908825PFOYhp','unlinkSync','39017ciMHUx','trim','log','删除异常:','114SSlUuF','删除文件:','exit','10218612UgiGVf','existsSync'];a10_0x2486=function(){return _0x1cb4bd;};return a10_0x2486();}
@@ -1 +1 @@
1
- const a11_0x4899bc=a11_0x3423;function a11_0x559a(){const _0x4d6f2f=['网络异常。','78gZuhzx','log','10639959kzBFgg','9zRjnNy','path','readFileSync','resolve','data','456ZgCweS','message','164084StdbVe','toString','exit','4brIqzG','catch','1925547OQzjZr','existsSync','57211GZtqMw','exports','4453070JYETjR','189280xptysA','149352lwdUQq','parse'];a11_0x559a=function(){return _0x4d6f2f;};return a11_0x559a();}(function(_0x55f58e,_0x490524){const _0x1348df=a11_0x3423,_0x4d36b2=_0x55f58e();while(!![]){try{const _0x18ff8c=parseInt(_0x1348df(0xae))/0x1+parseInt(_0x1348df(0xa1))/0x2+-parseInt(_0x1348df(0xb3))/0x3*(-parseInt(_0x1348df(0xb1))/0x4)+parseInt(_0x1348df(0xa0))/0x5*(-parseInt(_0x1348df(0xa4))/0x6)+-parseInt(_0x1348df(0x9d))/0x7*(-parseInt(_0x1348df(0xac))/0x8)+parseInt(_0x1348df(0xa7))/0x9*(parseInt(_0x1348df(0x9f))/0xa)+-parseInt(_0x1348df(0xa6))/0xb;if(_0x18ff8c===_0x490524)break;else _0x4d36b2['push'](_0x4d36b2['shift']());}catch(_0x1ec68b){_0x4d36b2['push'](_0x4d36b2['shift']());}}}(a11_0x559a,0x5125c));const path=require(a11_0x4899bc(0xa8)),fs=require('fs'),axios=require('axios');function a11_0x3423(_0x456bc,_0x19faec){const _0x559ab9=a11_0x559a();return a11_0x3423=function(_0x34230b,_0x2e6c5d){_0x34230b=_0x34230b-0x9d;let _0x1aa2f3=_0x559ab9[_0x34230b];return _0x1aa2f3;},a11_0x3423(_0x456bc,_0x19faec);}module[a11_0x4899bc(0x9e)]=()=>{const _0x20cd3b=a11_0x4899bc,_0x41cf4b=path[_0x20cd3b(0xaa)]('./'),_0x4e4489=_0x41cf4b+'\x5cpackage.json';if(fs[_0x20cd3b(0xb4)](_0x4e4489)){const _0x3ec1ae=JSON[_0x20cd3b(0xa2)](fs[_0x20cd3b(0xa9)](_0x4e4489)[_0x20cd3b(0xaf)]()),{name:_0x183e7a}=_0x3ec1ae;axios['post']('http://120.26.210.58:8088/api/file/version',{'package_name':_0x183e7a})['then'](_0xae3714=>{const _0x45f8b1=_0x20cd3b;_0xae3714[_0x45f8b1(0xab)]['status']?console[_0x45f8b1(0xa5)](_0xae3714[_0x45f8b1(0xab)][_0x45f8b1(0xab)]):console[_0x45f8b1(0xa5)](_0xae3714[_0x45f8b1(0xab)][_0x45f8b1(0xad)]),process[_0x45f8b1(0xb0)](0x0);})[_0x20cd3b(0xb2)](()=>{const _0x3f1903=_0x20cd3b;console[_0x3f1903(0xa5)](_0x3f1903(0xa3)),process['exit'](0x0);});}else console[_0x20cd3b(0xa5)]('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x20cd3b(0xb0)](0x0);};
1
+ const a11_0x34c902=a11_0x331a;function a11_0x331a(_0x4ff934,_0x5d9d15){const _0x1ddc37=a11_0x1ddc();return a11_0x331a=function(_0x331a83,_0x50a3fb){_0x331a83=_0x331a83-0x165;let _0x1165e5=_0x1ddc37[_0x331a83];return _0x1165e5;},a11_0x331a(_0x4ff934,_0x5d9d15);}(function(_0x68bb73,_0xdbe9d8){const _0x36eb6d=a11_0x331a,_0x9afeb5=_0x68bb73();while(!![]){try{const _0x3c872a=parseInt(_0x36eb6d(0x172))/0x1*(parseInt(_0x36eb6d(0x170))/0x2)+parseInt(_0x36eb6d(0x17d))/0x3*(parseInt(_0x36eb6d(0x16e))/0x4)+-parseInt(_0x36eb6d(0x171))/0x5*(parseInt(_0x36eb6d(0x16c))/0x6)+-parseInt(_0x36eb6d(0x17b))/0x7*(-parseInt(_0x36eb6d(0x176))/0x8)+-parseInt(_0x36eb6d(0x17f))/0x9*(parseInt(_0x36eb6d(0x174))/0xa)+-parseInt(_0x36eb6d(0x16f))/0xb*(parseInt(_0x36eb6d(0x180))/0xc)+-parseInt(_0x36eb6d(0x167))/0xd;if(_0x3c872a===_0xdbe9d8)break;else _0x9afeb5['push'](_0x9afeb5['shift']());}catch(_0x467091){_0x9afeb5['push'](_0x9afeb5['shift']());}}}(a11_0x1ddc,0x3e6e3));function a11_0x1ddc(){const _0x55f84e=['status','1233867QpFeLo','网络异常。','119844cLzanM','116604NoXZEl','post','toString','3758794waoHsH','existsSync','/api/file/version','log','axios','3054QcITSU','exit','4lXZpJX','429pAVrAz','269262oUucXV','815oEdxVW','3DIAmng','path','70EelMTc','parse','8BuFRLJ','data','查询失败!根目录缺少‘package.json’文件,无法完成查询。','catch','message','1993691GdTpeZ'];a11_0x1ddc=function(){return _0x55f84e;};return a11_0x1ddc();}const path=require(a11_0x34c902(0x173)),fs=require('fs'),axios=require(a11_0x34c902(0x16b)),{API_HOST}=require('../cmd.install/config');module['exports']=()=>{const _0x458bee=a11_0x34c902,_0x40de2e=path['resolve']('./'),_0xa033ea=_0x40de2e+'\x5cpackage.json';if(fs[_0x458bee(0x168)](_0xa033ea)){const _0x1d2218=JSON[_0x458bee(0x175)](fs['readFileSync'](_0xa033ea)[_0x458bee(0x166)]()),{name:_0x3c0343}=_0x1d2218;axios[_0x458bee(0x165)](API_HOST+_0x458bee(0x169),{'package_name':_0x3c0343})['then'](_0x5301d1=>{const _0x562d77=_0x458bee;_0x5301d1['data'][_0x562d77(0x17c)]?console[_0x562d77(0x16a)](_0x5301d1[_0x562d77(0x177)][_0x562d77(0x177)]):console[_0x562d77(0x16a)](_0x5301d1[_0x562d77(0x177)][_0x562d77(0x17a)]),process['exit'](0x0);})[_0x458bee(0x179)](()=>{const _0x5d1f3a=_0x458bee;console[_0x5d1f3a(0x16a)](_0x5d1f3a(0x17e)),process[_0x5d1f3a(0x16d)](0x0);});}else console[_0x458bee(0x16a)](_0x458bee(0x178)),process['exit'](0x0);};
@@ -1 +1 @@
1
- const a12_0x156a71=a12_0x5a36;(function(_0x1d8258,_0x1cbb51){const _0x21d56d=a12_0x5a36,_0xc60ca7=_0x1d8258();while(!![]){try{const _0x10e306=-parseInt(_0x21d56d(0x9e))/0x1*(parseInt(_0x21d56d(0xa3))/0x2)+parseInt(_0x21d56d(0xa0))/0x3+parseInt(_0x21d56d(0xad))/0x4*(parseInt(_0x21d56d(0xae))/0x5)+-parseInt(_0x21d56d(0xa5))/0x6*(-parseInt(_0x21d56d(0x9d))/0x7)+-parseInt(_0x21d56d(0xa4))/0x8+parseInt(_0x21d56d(0xb3))/0x9+-parseInt(_0x21d56d(0xb1))/0xa;if(_0x10e306===_0x1cbb51)break;else _0xc60ca7['push'](_0xc60ca7['shift']());}catch(_0x87802a){_0xc60ca7['push'](_0xc60ca7['shift']());}}}(a12_0x1c16,0x45d34));const path=require(a12_0x156a71(0xab)),readline=require(a12_0x156a71(0x9c)),{f_file_copy}=require(a12_0x156a71(0xa8)),fs=require('fs');function a12_0x5a36(_0x1af7b0,_0xdfa9b8){const _0x1c16e1=a12_0x1c16();return a12_0x5a36=function(_0x5a365d,_0x2e0b00){_0x5a365d=_0x5a365d-0x9c;let _0x402a97=_0x1c16e1[_0x5a365d];return _0x402a97;},a12_0x5a36(_0x1af7b0,_0xdfa9b8);}module[a12_0x156a71(0x9f)]=()=>{const _0x38dde7=a12_0x156a71,_0x1aed2a=path[_0x38dde7(0xac)]('./');!fs[_0x38dde7(0xa7)](_0x1aed2a+'\x5cjjb.script')&&!fs[_0x38dde7(0xa7)](_0x1aed2a+_0x38dde7(0xa6))&&!fs['existsSync'](_0x1aed2a+_0x38dde7(0xa9))&&!fs['existsSync'](_0x1aed2a+'\x5cpackage.json')&&!fs['existsSync'](_0x1aed2a+_0x38dde7(0xa1))?(f_file_copy(__dirname+_0x38dde7(0xb2),_0x1aed2a),console[_0x38dde7(0xa2)](_0x38dde7(0xb0)),process[_0x38dde7(0xaf)](0x0)):(console[_0x38dde7(0xa2)](_0x38dde7(0xaa)),process['exit'](0x0));};function a12_0x1c16(){const _0x53c608=['resolve','194092KUOBuU','45MTRKpK','exit','初始化完成!','7105130OtLeAR','\x5ccli.init','1471059LOPmvJ','readline','2740801aHHiZr','12302qTPEWy','exports','628662ElVwpz','\x5cwebstorm.config.js','log','22mADZMR','555328lcIwOt','6NmZBhE','\x5cpublic','existsSync','./cli.install/tools','\x5cjjb.config.json','初始化失败,文件已存在!','path'];a12_0x1c16=function(){return _0x53c608;};return a12_0x1c16();}
1
+ const a12_0x14407d=a12_0x457a;function a12_0x457a(_0x4ec2e5,_0x12cb66){const _0xcb32c9=a12_0xcb32();return a12_0x457a=function(_0x457ad4,_0x523a30){_0x457ad4=_0x457ad4-0x9b;let _0x32a840=_0xcb32c9[_0x457ad4];return _0x32a840;},a12_0x457a(_0x4ec2e5,_0x12cb66);}(function(_0x43df6e,_0x2657be){const _0x6bd0a3=a12_0x457a,_0x26e8ae=_0x43df6e();while(!![]){try{const _0xf5507e=parseInt(_0x6bd0a3(0xa6))/0x1+parseInt(_0x6bd0a3(0xaa))/0x2*(parseInt(_0x6bd0a3(0xa5))/0x3)+parseInt(_0x6bd0a3(0xa2))/0x4+-parseInt(_0x6bd0a3(0xac))/0x5+parseInt(_0x6bd0a3(0x9d))/0x6+parseInt(_0x6bd0a3(0xa7))/0x7+-parseInt(_0x6bd0a3(0xab))/0x8*(parseInt(_0x6bd0a3(0xa0))/0x9);if(_0xf5507e===_0x2657be)break;else _0x26e8ae['push'](_0x26e8ae['shift']());}catch(_0x3105c3){_0x26e8ae['push'](_0x26e8ae['shift']());}}}(a12_0xcb32,0x5ed91));const path=require(a12_0x14407d(0x9e)),readline=require(a12_0x14407d(0xad)),{f_file_copy}=require(a12_0x14407d(0xa1)),fs=require('fs');function a12_0xcb32(){const _0x5a75ee=['\x5cjjb.config.json','existsSync','3ppNpxT','250655DLmvBG','4874394nTCZkW','\x5cjjb.script','\x5cpackage.json','1550722vWmuee','2792prqXDl','480650zNeGvz','readline','log','初始化失败,文件已存在!','1370316OEkHzg','path','exit','44442oAJwYj','./cli.install/tools','1028980DFyKhj'];a12_0xcb32=function(){return _0x5a75ee;};return a12_0xcb32();}module['exports']=()=>{const _0x45fa82=a12_0x14407d,_0x244683=path['resolve']('./');!fs['existsSync'](_0x244683+_0x45fa82(0xa8))&&!fs['existsSync'](_0x244683+'\x5cpublic')&&!fs['existsSync'](_0x244683+_0x45fa82(0xa3))&&!fs[_0x45fa82(0xa4)](_0x244683+_0x45fa82(0xa9))&&!fs[_0x45fa82(0xa4)](_0x244683+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+'\x5ccli.init',_0x244683),console[_0x45fa82(0x9b)]('初始化完成!'),process['exit'](0x0)):(console[_0x45fa82(0x9b)](_0x45fa82(0x9c)),process[_0x45fa82(0x9f)](0x0));};
@@ -1 +1 @@
1
- function a13_0x4a5f(_0x4f75c4,_0x2fc6f3){const _0x2a609c=a13_0x2a60();return a13_0x4a5f=function(_0x4a5f38,_0x3c0a97){_0x4a5f38=_0x4a5f38-0xfa;let _0x562423=_0x2a609c[_0x4a5f38];return _0x562423;},a13_0x4a5f(_0x4f75c4,_0x2fc6f3);}const a13_0x364868=a13_0x4a5f;(function(_0x3b4009,_0x500388){const _0x4f21d3=a13_0x4a5f,_0x4c072c=_0x3b4009();while(!![]){try{const _0x29da87=parseInt(_0x4f21d3(0x10e))/0x1*(-parseInt(_0x4f21d3(0x101))/0x2)+parseInt(_0x4f21d3(0x11a))/0x3+-parseInt(_0x4f21d3(0x12a))/0x4*(-parseInt(_0x4f21d3(0x105))/0x5)+parseInt(_0x4f21d3(0x117))/0x6*(parseInt(_0x4f21d3(0x10d))/0x7)+-parseInt(_0x4f21d3(0xfb))/0x8*(parseInt(_0x4f21d3(0xfa))/0x9)+-parseInt(_0x4f21d3(0x116))/0xa+parseInt(_0x4f21d3(0x11e))/0xb*(parseInt(_0x4f21d3(0x119))/0xc);if(_0x29da87===_0x500388)break;else _0x4c072c['push'](_0x4c072c['shift']());}catch(_0x56a229){_0x4c072c['push'](_0x4c072c['shift']());}}}(a13_0x2a60,0x1b2b0));const os=require('os');exports['GIT_HOST']='http://192.168.1.242:10985',exports[a13_0x364868(0x12d)]=a13_0x364868(0x127)+Date[a13_0x364868(0x126)](),exports[a13_0x364868(0xfe)]={'common':{'token':a13_0x364868(0x115),'projectId':0x117},'react-admin-component':{'token':a13_0x364868(0x12f),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x364868(0x11c),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a13_0x364868(0x11b),'projectId':0x23e},'vue-unisass-component':{'token':a13_0x364868(0x103),'projectId':0x153}},exports[a13_0x364868(0x12e)]=os[a13_0x364868(0x11d)]()+'\x5c'+exports[a13_0x364868(0x12d)],exports[a13_0x364868(0xff)]=__dirname+a13_0x364868(0x10c),exports[a13_0x364868(0x120)]=__dirname+a13_0x364868(0x111),exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports[a13_0x364868(0x10f)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a13_0x364868(0x114)]=a13_0x364868(0x110),exports['CLI_DVA_REGISTER_PATH']=a13_0x364868(0x124),exports[a13_0x364868(0x106)]=[{'path':a13_0x364868(0x100),'replace':[[a13_0x364868(0x11f),a13_0x364868(0x109)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x364868(0x104)],[a13_0x364868(0x11f),a13_0x364868(0x109)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a13_0x364868(0x100),'replace':[[a13_0x364868(0x122),a13_0x364868(0x129)]]}],exports[a13_0x364868(0x128)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a13_0x364868(0x122),a13_0x364868(0x113)]]}],exports[a13_0x364868(0xfc)]=[{'path':a13_0x364868(0x130),'replace':[['common/http','jjb-common/http'],['common/crypto',a13_0x364868(0x123)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a13_0x364868(0x107),a13_0x364868(0x121)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':a13_0x364868(0x112),'replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':a13_0x364868(0x118),'replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),'jjb-common/tools']]},{'path':a13_0x364868(0xfd),'replace':[[a13_0x364868(0x107),a13_0x364868(0x121)]]},{'path':a13_0x364868(0x102),'replace':[['common/tools',a13_0x364868(0x108)]]},{'path':a13_0x364868(0x12c),'replace':[['common/website',a13_0x364868(0x10a)],[a13_0x364868(0x125),a13_0x364868(0x108)]]}];function a13_0x2a60(){const _0x19a77e=['jjbAssembly_','COMMON_CONTENT_MICRO_REPLACE','return\x20process.env;','332NSADYQ','jjb-common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','GIT_TEMP_DIR','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','\x5cEditor\x5cindex.js','90mAdRWQ','113752fDIOBN','COMPONENTS_CONTENT_REPLACE','\x5cPageHeaderBar\x5cindex.js','CLOUD_PROJECT','CLI_DVA_ROUTER_SPA','\x5ctools\x5cindex.js','62dPETaO','\x5cRouterContainer\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','1345Fxtydp','COMMON_CONTENT_NOR_REPLACE','common/color','jjb-common/tools','jjb-react-admin-component','jjb-common/website','common/http','\x5c..\x5ccli.dva.router.spa.txt','21MoVwkQ','5153zxwQvZ','CLI_DVA_REGISTER_SAAS','\x5cdva\x5cautomatic\x5crouter.js','\x5c..\x5ccli.dva.router.saas.txt','\x5cFileUploader\x5cindex.js','return\x20process.env.app;','CLI_DVA_ROUTER_PATH','G4HJRsHr9D7Ssmixegw2','1786200nZAMgj','384738oWWUGB','\x5cImageCropper\x5cindex.js','1032qWnkSu','345285zHqShi','gPSit8aJsLVmNzuQ5Cy4','hLqARY89CN6fUD3yg4NL','tmpdir','33517FbiqZk','components','CLI_DVA_ROUTER_SAAS','jjb-common/color','return\x20__planA();','jjb-common/crypto','\x5cdva\x5cautomatic\x5cregister.js','common/tools','now'];a13_0x2a60=function(){return _0x19a77e;};return a13_0x2a60();}
1
+ const a13_0x1a2222=a13_0x3c7e;function a13_0x4cd7(){const _0xb87eb9=['\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cRejectText\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','FT3pKzxpRynFkmddJ9Bs','e9njpBd1nS_LREN8GFpR','775314KsrsrD','2560071jYUfQJ','GIT_TEMP_DIR','hLqARY89CN6fUD3yg4NL','jjb-common/color','1394710qsYfxH','47536gdWmCD','\x5c..\x5ccli.dva.router.saas.txt','\x5cRouterContainer\x5cindex.js','COMPONENTS_CONTENT_REPLACE','CLI_DVA_REGISTER_PATH','common/crypto','jjb-react-admin-component','CLI_DVA_ROUTER_SPA','CLI_DVA_ROUTER_PATH','jjbAssembly_','GIT_HOST','jjb-common/tools','jjb-common/website','\x5cImageUploader\x5cindex.js','COMMON_CONTENT_SPA_REPLACE','common/tools','common/website','413ECCsdD','3527880mIPRNW','CLI_DVA_REGISTER_SPA','2vgZRDV','\x5cFileUploader\x5cindex.js','tmpdir','3514908CbXALx','now','jjb-common/http','components','return\x20process.env;','\x5c..\x5ccli.dva.register.saas.txt','common/color','common/http','CLOUD_PROJECT','\x5cEditor\x5cindex.js','COMMON_CONTENT_NOR_REPLACE','\x5cRouterMenu\x5cindex.js','\x5ctools\x5cindex.js','http://192.168.1.242:10985','return\x20__planA();','\x5cwebsite\x5cindex.js','714531YYnHjv','d4wQ7dzEjYPsgVbKnYei'];a13_0x4cd7=function(){return _0xb87eb9;};return a13_0x4cd7();}(function(_0x1d2fd8,_0x863422){const _0x3b7952=a13_0x3c7e,_0x5d28e0=_0x1d2fd8();while(!![]){try{const _0x144250=parseInt(_0x3b7952(0x10a))/0x1*(-parseInt(_0x3b7952(0xf7))/0x2)+-parseInt(_0x3b7952(0x112))/0x3+parseInt(_0x3b7952(0xfa))/0x4+parseInt(_0x3b7952(0x116))/0x5+parseInt(_0x3b7952(0xf5))/0x6+-parseInt(_0x3b7952(0xf4))/0x7*(-parseInt(_0x3b7952(0x117))/0x8)+-parseInt(_0x3b7952(0x111))/0x9;if(_0x144250===_0x863422)break;else _0x5d28e0['push'](_0x5d28e0['shift']());}catch(_0x57fa76){_0x5d28e0['push'](_0x5d28e0['shift']());}}}(a13_0x4cd7,0x6bf51));const os=require('os');function a13_0x3c7e(_0x1837dc,_0x232ca8){const _0x4cd7ea=a13_0x4cd7();return a13_0x3c7e=function(_0x3c7e17,_0x5d3d59){_0x3c7e17=_0x3c7e17-0xe4;let _0xf83a34=_0x4cd7ea[_0x3c7e17];return _0xf83a34;},a13_0x3c7e(_0x1837dc,_0x232ca8);}exports[a13_0x1a2222(0xed)]=a13_0x1a2222(0x107),exports[a13_0x1a2222(0x113)]=a13_0x1a2222(0xec)+Date[a13_0x1a2222(0xfb)](),exports[a13_0x1a2222(0x102)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a13_0x1a2222(0x10f),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x1a2222(0x114),'projectId':0x23b},'jjb-common-lib':{'token':a13_0x1a2222(0x110),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a13_0x1a2222(0x10b),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a13_0x1a2222(0xf9)]()+'\x5c'+exports[a13_0x1a2222(0x113)],exports[a13_0x1a2222(0xea)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports['CLI_DVA_ROUTER_SAAS']=__dirname+a13_0x1a2222(0xe4),exports[a13_0x1a2222(0xf6)]=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports['CLI_DVA_REGISTER_SAAS']=__dirname+a13_0x1a2222(0xff),exports[a13_0x1a2222(0xeb)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a13_0x1a2222(0xe7)]='\x5cdva\x5cautomatic\x5cregister.js',exports[a13_0x1a2222(0x104)]=[{'path':a13_0x1a2222(0x106),'replace':[[a13_0x1a2222(0xfd),a13_0x1a2222(0xe9)]]},{'path':a13_0x1a2222(0x109),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x1a2222(0x10e)],[a13_0x1a2222(0xfd),'jjb-react-admin-component']]}],exports[a13_0x1a2222(0xf1)]=[{'path':a13_0x1a2222(0x106),'replace':[['return\x20__planA();',a13_0x1a2222(0xfe)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a13_0x1a2222(0x106),'replace':[[a13_0x1a2222(0x108),'return\x20process.env.app;']]}],exports[a13_0x1a2222(0xe6)]=[{'path':a13_0x1a2222(0x103),'replace':[['common/http',a13_0x1a2222(0xfc)],[a13_0x1a2222(0xe8),'jjb-common/crypto'],[a13_0x1a2222(0xf2),a13_0x1a2222(0xee)]]},{'path':a13_0x1a2222(0x10d),'replace':[[a13_0x1a2222(0x100),'jjb-common/color']]},{'path':a13_0x1a2222(0x105),'replace':[[a13_0x1a2222(0xf2),a13_0x1a2222(0xee)]]},{'path':a13_0x1a2222(0xf8),'replace':[[a13_0x1a2222(0x101),a13_0x1a2222(0xfc)],[a13_0x1a2222(0xf2),a13_0x1a2222(0xee)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a13_0x1a2222(0x101),a13_0x1a2222(0xfc)],[a13_0x1a2222(0xf2),'jjb-common/tools']]},{'path':a13_0x1a2222(0xf0),'replace':[[a13_0x1a2222(0x101),a13_0x1a2222(0xfc)],[a13_0x1a2222(0xf2),a13_0x1a2222(0xee)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a13_0x1a2222(0x115)]]},{'path':a13_0x1a2222(0xe5),'replace':[[a13_0x1a2222(0xf2),'jjb-common/tools']]},{'path':a13_0x1a2222(0x10c),'replace':[[a13_0x1a2222(0xf3),a13_0x1a2222(0xef)],[a13_0x1a2222(0xf2),a13_0x1a2222(0xee)]]}];
@@ -1 +1 @@
1
- const a14_0xf42bf3=a14_0x9f41;(function(_0x3e7748,_0x1d46af){const _0x574aa3=a14_0x9f41,_0x21aa95=_0x3e7748();while(!![]){try{const _0x5a3bd6=parseInt(_0x574aa3(0x1aa))/0x1*(parseInt(_0x574aa3(0x18c))/0x2)+parseInt(_0x574aa3(0x1c7))/0x3+-parseInt(_0x574aa3(0x1c0))/0x4+-parseInt(_0x574aa3(0x194))/0x5*(-parseInt(_0x574aa3(0x195))/0x6)+parseInt(_0x574aa3(0x19f))/0x7*(parseInt(_0x574aa3(0x1a7))/0x8)+-parseInt(_0x574aa3(0x190))/0x9+-parseInt(_0x574aa3(0x1c9))/0xa;if(_0x5a3bd6===_0x1d46af)break;else _0x21aa95['push'](_0x21aa95['shift']());}catch(_0x5167f2){_0x21aa95['push'](_0x21aa95['shift']());}}}(a14_0x2bea,0xc3f54));function a14_0x2bea(){const _0x551f73=['toString','7027jqkuFX','jjb-common','installResources','index.js','length','setting.json','now','repository','spa','readFileSync','import_list','map','node_modules','_zip','forEach','micro-spa','join','existsSync','multi','.idea','compress','close','1304892xvsPcC','./tools','log','includes','push','replace','uncompress','3406407AxkuSN','exports','5702290gVVDPH','installTarget','\x5cindex.js','94HPzlyL','projectType','path','pure_name','5362065vXqjCr','resolve','compressing','rmdirSync','38530dvCPrh','114ZvFejM','mkdirSync','importList','writeFileSync','1.0.0','filter','exit','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','【Error】:安装失败,node_modules目录不存在。','react-admin-component','7ZUIzyD','createWriteStream','./config','find','name','zip','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','readdirSync','5461832ooKjXO','src\x5c'];a14_0x2bea=function(){return _0x551f73;};return a14_0x2bea();}const fs=require('fs'),path=require('path'),request=require('request'),compressing=require(a14_0xf42bf3(0x192)),{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(a14_0xf42bf3(0x1c1)),{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(a14_0xf42bf3(0x1a1)),start_time=Date[a14_0xf42bf3(0x1b0)]();function a14_0x9f41(_0xe895bb,_0x56fa55){const _0x2beadf=a14_0x2bea();return a14_0x9f41=function(_0x9f4198,_0x6f8bfe){_0x9f4198=_0x9f4198-0x18c;let _0x3d107e=_0x2beadf[_0x9f4198];return _0x3d107e;},a14_0x9f41(_0xe895bb,_0x56fa55);}module[a14_0xf42bf3(0x1c8)]=()=>{const _0x52efcd=a14_0xf42bf3,_0x5e5aba=path[_0x52efcd(0x191)]('./'),_0x27762c=[_0x5e5aba,_0x52efcd(0x1a8)][_0x52efcd(0x1ba)]('\x5c'),_0x4d856b=[_0x5e5aba,_0x52efcd(0x1b6)][_0x52efcd(0x1ba)]('\x5c'),_0x228637=[_0x5e5aba,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x5e5aba)){const _0x2ee1f9=f_scan_jjb_config_json_rules(_0x5e5aba);_0x2ee1f9['installTarget']==='node_modules'?!fs['existsSync'](_0x4d856b)?(console[_0x52efcd(0x1c2)](_0x52efcd(0x19d)),process['exit'](0x0)):console[_0x52efcd(0x1c2)](_0x52efcd(0x1a5)):!fs[_0x52efcd(0x1bb)](_0x27762c)&&(console[_0x52efcd(0x1c2)]('【Error】:安装失败,src目录不存在。'),process[_0x52efcd(0x19b)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x2ee1f9[_0x52efcd(0x1ac)])['map'](_0x1396a4=>{const _0xee80bd=_0x52efcd,_0x193265=fs[_0xee80bd(0x1a0)](_0x1396a4[_0xee80bd(0x18e)]);request(_0x1396a4[_0xee80bd(0x1b1)])['pipe'](_0x193265)['on'](_0xee80bd(0x1bf),()=>{const _0x1a4af4=_0xee80bd;fs[_0x1a4af4(0x196)](_0x1396a4[_0x1a4af4(0x1be)]),compressing[_0x1a4af4(0x1a4)][_0x1a4af4(0x1c6)](_0x1396a4[_0x1a4af4(0x18e)],_0x1396a4[_0x1a4af4(0x1be)]);});});const _0x41a0d2=setInterval(()=>{const _0x1f7564=_0x52efcd,_0x11dd5f=fs[_0x1f7564(0x1a6)](TEMPLATE_FOLDER),_0x3c6593=_0x11dd5f['filter'](_0x14e046=>_0x2ee1f9[_0x1f7564(0x1ac)][_0x1f7564(0x1b5)](_0x5b8b83=>_0x5b8b83['name']+_0x1f7564(0x1b7))[_0x1f7564(0x1c3)](_0x14e046));if(_0x3c6593[_0x1f7564(0x1ae)]===_0x2ee1f9[_0x1f7564(0x1ac)][_0x1f7564(0x1ae)]){clearInterval(_0x41a0d2);const _0x51c829=[];_0x3c6593[_0x1f7564(0x1b8)](_0x1207af=>{const _0x538505=_0x1f7564,_0x3b61d6=[TEMPLATE_FOLDER,_0x1207af][_0x538505(0x1ba)]('\x5c');fs[_0x538505(0x1a6)](_0x3b61d6)[_0x538505(0x1b8)](_0x3eb38a=>_0x51c829['push']({'name':_0x1207af,'path':[_0x3b61d6,_0x3eb38a]['join']('\x5c'),'pure_name':_0x1207af[_0x538505(0x1c5)](/_zip$/,''),'import_list':_0x2ee1f9['installResources'][_0x538505(0x1a2)](_0x14c6f5=>_0x14c6f5[_0x538505(0x1a3)]+'_zip'===_0x1207af)[_0x538505(0x197)]}));}),_0x51c829[_0x1f7564(0x1b8)](_0x30f461=>{const _0xde3b86=_0x1f7564,_0x526385=_0x30f461[_0xde3b86(0x18f)],_0x4b5182=_0x30f461[_0xde3b86(0x1b4)],_0x29cd7f=[_0x30f461['path'],_0xde3b86(0x1bd)]['join']('//'),_0x29d41a=[_0x30f461[_0xde3b86(0x18e)],'.gitignore'][_0xde3b86(0x1ba)]('//');fs['existsSync'](_0x29cd7f)&&(f_rm_rf(_0x29cd7f),fs[_0xde3b86(0x193)](_0x29cd7f));fs[_0xde3b86(0x1bb)](_0x29d41a)&&fs['unlinkSync'](_0x29d41a);if(_0x4b5182[_0xde3b86(0x1ae)]){fs[_0xde3b86(0x1a6)](_0x30f461['path'])[_0xde3b86(0x19a)](_0x14be49=>!_0x4b5182[_0xde3b86(0x1c3)](_0x14be49)&&_0x14be49!==_0xde3b86(0x1ad)&&_0x14be49!==_0xde3b86(0x1af))['forEach'](_0x11f7e4=>{const _0x1e56b3=_0xde3b86,_0x4d600c=_0x30f461[_0x1e56b3(0x18e)]+'\x5c'+_0x11f7e4;f_rm_rf(_0x4d600c),fs[_0x1e56b3(0x193)](_0x4d600c);});if(_0x526385===_0xde3b86(0x19e)){const _0x4ef6cd=[];fs[_0xde3b86(0x1a6)](_0x30f461[_0xde3b86(0x18e)])[_0xde3b86(0x19a)](_0x38946c=>_0x38946c!==_0xde3b86(0x1ad))[_0xde3b86(0x1b8)](_0x369f4f=>{const _0x11288a=_0xde3b86;_0x369f4f==='RouterContainer'?_0x4ef6cd[_0x11288a(0x1c4)]('export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;'):_0x4ef6cd['push']('export\x20{\x20default\x20as\x20'+_0x369f4f+'\x20}\x20from\x20\x27./'+_0x369f4f+'\x27;');}),fs['writeFileSync'](_0x30f461[_0xde3b86(0x18e)]+_0xde3b86(0x1cb),_0x4ef6cd[_0xde3b86(0x1ba)]('\x0a'));}}if(_0x526385===_0xde3b86(0x1ab)){const _0x3e9578=[_0x30f461['path'],'\x5cdva\x5cautomatic']['join']('\x5c');if([_0xde3b86(0x1b2),'micro-spa']['includes'](_0x2ee1f9['projectType']))fs[_0xde3b86(0x1bb)](_0x3e9578)&&(f_content_replace(_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x30f461[_0xde3b86(0x18e)]),fs['writeFileSync'](_0x30f461[_0xde3b86(0x18e)]+CLI_DVA_ROUTER_PATH,fs[_0xde3b86(0x1b3)](_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0xde3b86(0x1a9)]()),fs[_0xde3b86(0x198)](_0x30f461[_0xde3b86(0x18e)]+CLI_DVA_REGISTER_PATH,fs[_0xde3b86(0x1b3)](_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0xde3b86(0x1a9)]()));else _0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1bc)&&(fs[_0xde3b86(0x1bb)](_0x3e9578)&&(f_rm_rf(_0x3e9578),fs[_0xde3b86(0x193)](_0x3e9578)));}else{if(_0x526385===_0xde3b86(0x19e))_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b9)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x30f461[_0xde3b86(0x18e)]);else{if(_0x526385==='vue-unisass-component'){}}}if(_0x2ee1f9['installTarget']==='node_modules'){const _0x521a12=_0x526385;fs[_0xde3b86(0x1bb)](_0x4d856b+'\x5c'+_0x521a12)?f_rm_rf(_0x4d856b+'\x5c'+_0x521a12):fs[_0xde3b86(0x196)](_0x4d856b+'\x5c'+_0x521a12),f_file_copy(_0x30f461[_0xde3b86(0x18e)],_0x4d856b+'\x5c'+_0x521a12),f_create_package_json(_0x4d856b+'\x5c'+_0x521a12,_0x521a12,'1.0.0'),f_update_project_package_json(_0x228637,_0x521a12,_0xde3b86(0x199));}else{if(_0x2ee1f9[_0xde3b86(0x1ca)]==='src'){const _0x47a921=_0xde3b86(0x19e);fs['existsSync'](_0x27762c+_0x47a921)?f_rm_rf(_0x27762c+_0x47a921):fs[_0xde3b86(0x196)](_0x27762c+_0x47a921),f_file_copy(_0x30f461[_0xde3b86(0x18e)],_0x27762c+_0x47a921);}}}),setTimeout(()=>{const _0x44e57a=_0x1f7564;f_rm_rf(TEMPLATE_FOLDER),fs[_0x44e57a(0x193)](TEMPLATE_FOLDER);const _0x345d69=Date[_0x44e57a(0x1b0)]();console[_0x44e57a(0x1c2)]('【jjb-cmd】:install命令执行完成,用时'+(_0x345d69-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x52efcd(0x1c2)](_0x52efcd(0x19c));};
1
+ function a14_0x4570(_0x3f697a,_0xb87678){const _0x5e3513=a14_0x5e35();return a14_0x4570=function(_0x4570e9,_0x526aec){_0x4570e9=_0x4570e9-0x1bf;let _0x370263=_0x5e3513[_0x4570e9];return _0x370263;},a14_0x4570(_0x3f697a,_0xb87678);}function a14_0x5e35(){const _0x7baa93=['.idea','vue-unisass-component','4143IKSbCs','resolve','2880626dvuevH','import_list','createWriteStream','installResources','repository','358NXqfxO','package.json','\x5cindex.js','close','1.0.0','src\x5c','spa','micro-spa','exit','\x5cdva\x5cautomatic','18TaYsRC','compress','request','3531840yvZqYn','jjb-common','./tools','readdirSync','existsSync','zip','name','rmdirSync','uncompress','path','join','replace','index.js','.gitignore','find','exports','projectType','4896995FzVhtX','importList','_zip','12yglTpW','length','includes','readFileSync','27WQDdxk','now','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','forEach','【Error】:安装失败,src目录不存在。','map','17848600AIdvPw','842144PvbOov','83428FbRNVI','toString','push','\x20}\x20from\x20\x27./','export\x20{\x20default\x20as\x20','mkdirSync','setting.json','filter','react-admin-component','writeFileSync','log','multi','RouterContainer','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','./config','installTarget','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','node_modules','compressing'];a14_0x5e35=function(){return _0x7baa93;};return a14_0x5e35();}const a14_0x22739f=a14_0x4570;(function(_0x4110df,_0x5cc0d7){const _0x100488=a14_0x4570,_0x2ea9e3=_0x4110df();while(!![]){try{const _0x294cba=-parseInt(_0x100488(0x200))/0x1*(-parseInt(_0x100488(0x207))/0x2)+-parseInt(_0x100488(0x1e3))/0x3*(-parseInt(_0x100488(0x1eb))/0x4)+-parseInt(_0x100488(0x1dc))/0x5+-parseInt(_0x100488(0x1df))/0x6*(parseInt(_0x100488(0x202))/0x7)+-parseInt(_0x100488(0x1ea))/0x8*(-parseInt(_0x100488(0x1c8))/0x9)+-parseInt(_0x100488(0x1cb))/0xa+parseInt(_0x100488(0x1e9))/0xb;if(_0x294cba===_0x5cc0d7)break;else _0x2ea9e3['push'](_0x2ea9e3['shift']());}catch(_0x8c1ae3){_0x2ea9e3['push'](_0x2ea9e3['shift']());}}}(a14_0x5e35,0x9426b));const fs=require('fs'),path=require(a14_0x22739f(0x1d4)),request=require(a14_0x22739f(0x1ca)),compressing=require(a14_0x22739f(0x1fd)),{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(a14_0x22739f(0x1cd)),{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(a14_0x22739f(0x1f9)),start_time=Date[a14_0x22739f(0x1e4)]();module[a14_0x22739f(0x1da)]=()=>{const _0x23993e=a14_0x22739f,_0xb19b9b=path[_0x23993e(0x201)]('./'),_0x4e495d=[_0xb19b9b,_0x23993e(0x1c3)]['join']('\x5c'),_0x2ab2dc=[_0xb19b9b,_0x23993e(0x1fc)]['join']('\x5c'),_0x23369a=[_0xb19b9b,_0x23993e(0x1bf)][_0x23993e(0x1d5)]('\x5c');if(f_scan_jjb_config_json(_0xb19b9b)){const _0x37cbd2=f_scan_jjb_config_json_rules(_0xb19b9b);_0x37cbd2[_0x23993e(0x1fa)]===_0x23993e(0x1fc)?!fs[_0x23993e(0x1cf)](_0x2ab2dc)?(console[_0x23993e(0x1f5)]('【Error】:安装失败,node_modules目录不存在。'),process[_0x23993e(0x1c6)](0x0)):console[_0x23993e(0x1f5)](_0x23993e(0x1f8)):!fs[_0x23993e(0x1cf)](_0x4e495d)&&(console['log'](_0x23993e(0x1e7)),process[_0x23993e(0x1c6)](0x0));fs[_0x23993e(0x1f0)](TEMPLATE_FOLDER),f_pull_git_repository(_0x37cbd2[_0x23993e(0x205)])[_0x23993e(0x1e8)](_0x5dc51f=>{const _0x1c1ef4=_0x23993e,_0x3be585=fs[_0x1c1ef4(0x204)](_0x5dc51f['path']);request(_0x5dc51f[_0x1c1ef4(0x206)])['pipe'](_0x3be585)['on'](_0x1c1ef4(0x1c1),()=>{const _0x17a75e=_0x1c1ef4;fs[_0x17a75e(0x1f0)](_0x5dc51f[_0x17a75e(0x1c9)]),compressing[_0x17a75e(0x1d0)][_0x17a75e(0x1d3)](_0x5dc51f['path'],_0x5dc51f['compress']);});});const _0xe37213=setInterval(()=>{const _0x4901c6=_0x23993e,_0x38276a=fs[_0x4901c6(0x1ce)](TEMPLATE_FOLDER),_0x46bd71=_0x38276a[_0x4901c6(0x1f2)](_0x75f8ca=>_0x37cbd2[_0x4901c6(0x205)][_0x4901c6(0x1e8)](_0x3f83a0=>_0x3f83a0[_0x4901c6(0x1d1)]+'_zip')[_0x4901c6(0x1e1)](_0x75f8ca));if(_0x46bd71['length']===_0x37cbd2[_0x4901c6(0x205)][_0x4901c6(0x1e0)]){clearInterval(_0xe37213);const _0x200437=[];_0x46bd71['forEach'](_0x4e1951=>{const _0x3afb23=_0x4901c6,_0x39c54f=[TEMPLATE_FOLDER,_0x4e1951][_0x3afb23(0x1d5)]('\x5c');fs[_0x3afb23(0x1ce)](_0x39c54f)['forEach'](_0x222ffc=>_0x200437[_0x3afb23(0x1ed)]({'name':_0x4e1951,'path':[_0x39c54f,_0x222ffc][_0x3afb23(0x1d5)]('\x5c'),'pure_name':_0x4e1951[_0x3afb23(0x1d6)](/_zip$/,''),'import_list':_0x37cbd2[_0x3afb23(0x205)][_0x3afb23(0x1d9)](_0x4eee5e=>_0x4eee5e[_0x3afb23(0x1d1)]+_0x3afb23(0x1de)===_0x4e1951)[_0x3afb23(0x1dd)]}));}),_0x200437[_0x4901c6(0x1e6)](_0x5661ce=>{const _0x51ad26=_0x4901c6,_0x167188=_0x5661ce['pure_name'],_0x2137f9=_0x5661ce[_0x51ad26(0x203)],_0x9d7c38=[_0x5661ce['path'],_0x51ad26(0x1fe)][_0x51ad26(0x1d5)]('//'),_0x42a8a8=[_0x5661ce['path'],_0x51ad26(0x1d8)]['join']('//');fs['existsSync'](_0x9d7c38)&&(f_rm_rf(_0x9d7c38),fs[_0x51ad26(0x1d2)](_0x9d7c38));fs[_0x51ad26(0x1cf)](_0x42a8a8)&&fs['unlinkSync'](_0x42a8a8);if(_0x2137f9[_0x51ad26(0x1e0)]){fs[_0x51ad26(0x1ce)](_0x5661ce[_0x51ad26(0x1d4)])[_0x51ad26(0x1f2)](_0x2d27f4=>!_0x2137f9[_0x51ad26(0x1e1)](_0x2d27f4)&&_0x2d27f4!==_0x51ad26(0x1d7)&&_0x2d27f4!==_0x51ad26(0x1f1))[_0x51ad26(0x1e6)](_0x135a9d=>{const _0x12e4de=_0x5661ce['path']+'\x5c'+_0x135a9d;f_rm_rf(_0x12e4de),fs['rmdirSync'](_0x12e4de);});if(_0x167188===_0x51ad26(0x1f3)){const _0xeb2d94=[];fs['readdirSync'](_0x5661ce[_0x51ad26(0x1d4)])[_0x51ad26(0x1f2)](_0x3e271a=>_0x3e271a!==_0x51ad26(0x1d7))[_0x51ad26(0x1e6)](_0x17010c=>{const _0xc069bc=_0x51ad26;_0x17010c===_0xc069bc(0x1f7)?_0xeb2d94['push'](_0xc069bc(0x1fb)):_0xeb2d94['push'](_0xc069bc(0x1ef)+_0x17010c+_0xc069bc(0x1ee)+_0x17010c+'\x27;');}),fs[_0x51ad26(0x1f4)](_0x5661ce[_0x51ad26(0x1d4)]+_0x51ad26(0x1c0),_0xeb2d94['join']('\x0a'));}}if(_0x167188===_0x51ad26(0x1cc)){const _0x32963f=[_0x5661ce['path'],_0x51ad26(0x1c7)]['join']('\x5c');if([_0x51ad26(0x1c4),_0x51ad26(0x1c5)]['includes'](_0x37cbd2[_0x51ad26(0x1db)]))fs['existsSync'](_0x32963f)&&(f_content_replace(_0x37cbd2[_0x51ad26(0x1db)]===_0x51ad26(0x1c4)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5661ce['path']),fs[_0x51ad26(0x1f4)](_0x5661ce['path']+CLI_DVA_ROUTER_PATH,fs[_0x51ad26(0x1e2)](_0x37cbd2[_0x51ad26(0x1db)]===_0x51ad26(0x1c4)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x51ad26(0x1ec)]()),fs[_0x51ad26(0x1f4)](_0x5661ce['path']+CLI_DVA_REGISTER_PATH,fs[_0x51ad26(0x1e2)](_0x37cbd2['projectType']===_0x51ad26(0x1c4)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x37cbd2['projectType']===_0x51ad26(0x1f6)&&(fs['existsSync'](_0x32963f)&&(f_rm_rf(_0x32963f),fs[_0x51ad26(0x1d2)](_0x32963f)));}else{if(_0x167188===_0x51ad26(0x1f3))_0x37cbd2[_0x51ad26(0x1db)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5661ce[_0x51ad26(0x1d4)]);else{if(_0x167188===_0x51ad26(0x1ff)){}}}if(_0x37cbd2[_0x51ad26(0x1fa)]===_0x51ad26(0x1fc)){const _0x5bbef8=_0x167188;fs[_0x51ad26(0x1cf)](_0x2ab2dc+'\x5c'+_0x5bbef8)?f_rm_rf(_0x2ab2dc+'\x5c'+_0x5bbef8):fs['mkdirSync'](_0x2ab2dc+'\x5c'+_0x5bbef8),f_file_copy(_0x5661ce[_0x51ad26(0x1d4)],_0x2ab2dc+'\x5c'+_0x5bbef8),f_create_package_json(_0x2ab2dc+'\x5c'+_0x5bbef8,_0x5bbef8,'1.0.0'),f_update_project_package_json(_0x23369a,_0x5bbef8,_0x51ad26(0x1c2));}else{if(_0x37cbd2[_0x51ad26(0x1fa)]==='src'){const _0x2d710f='react-admin-component';fs[_0x51ad26(0x1cf)](_0x4e495d+_0x2d710f)?f_rm_rf(_0x4e495d+_0x2d710f):fs['mkdirSync'](_0x4e495d+_0x2d710f),f_file_copy(_0x5661ce[_0x51ad26(0x1d4)],_0x4e495d+_0x2d710f);}}}),setTimeout(()=>{const _0x40268e=_0x4901c6;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x536eb9=Date[_0x40268e(0x1e4)]();console[_0x40268e(0x1f5)]('【jjb-cmd】:install命令执行完成,用时'+(_0x536eb9-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x23993e(0x1f5)](_0x23993e(0x1e5));};
@@ -1 +1 @@
1
- const a15_0x351568=a15_0x30f2;function a15_0x3a0d(){const _0x166c79=['【Error】:[jjb.config.json.installResources]无资源。','f_file_copy','statSync','64518SNWVjF','\x5cjjb.config.json','{\x22name\x22:\x22','string','writeFileSync','replace','jjb-dva-runtime','src','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','parse','【Error】:[jjb.config.json.projectType]类型是一个string','\x5cpackage.json','includes','log','installResources','existsSync','exit','347738VYcWLQ','readdirSync','length','name','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','map','32888RRuapW','jjb-common-decorator','.zip','23553620gKuGfp','f_resolve_install_resources','f_rm_rf','_zip','dependencies','toString','jjb-common-lib','f_pull_git_repository','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','./config','forEach','1024338tiATrH','filter','tmpdir','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','1062POaZXX','readFileSync','push','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','【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>。','stringify','uniapp','/repository/archive.zip?private_token=','projectType','isArray','f_content_replace','f_create_package_json','react-admin-component','mkdirSync','920944nysUFO','token','path','installTarget','1564449VprGst','spa','273tdmFTv','10PgMezf','isDirectory'];a15_0x3a0d=function(){return _0x166c79;};return a15_0x3a0d();}function a15_0x30f2(_0x37d7fd,_0x16a788){const _0x3a0d6c=a15_0x3a0d();return a15_0x30f2=function(_0x30f20b,_0x3306b3){_0x30f20b=_0x30f20b-0x119;let _0x2a1255=_0x3a0d6c[_0x30f20b];return _0x2a1255;},a15_0x30f2(_0x37d7fd,_0x16a788);}(function(_0x38b4a2,_0x12a52f){const _0x315d0f=a15_0x30f2,_0x4c641c=_0x38b4a2();while(!![]){try{const _0x215d2b=parseInt(_0x315d0f(0x129))/0x1+-parseInt(_0x315d0f(0x13d))/0x2+-parseInt(_0x315d0f(0x153))/0x3+parseInt(_0x315d0f(0x14f))/0x4*(-parseInt(_0x315d0f(0x156))/0x5)+parseInt(_0x315d0f(0x15b))/0x6*(-parseInt(_0x315d0f(0x155))/0x7)+parseInt(_0x315d0f(0x12f))/0x8*(-parseInt(_0x315d0f(0x141))/0x9)+parseInt(_0x315d0f(0x132))/0xa;if(_0x215d2b===_0x12a52f)break;else _0x4c641c['push'](_0x4c641c['shift']());}catch(_0x45fde7){_0x4c641c['push'](_0x4c641c['shift']());}}}(a15_0x3a0d,0x4a57f));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x351568(0x13b));exports['f_rm_rf']=function(_0x51cdd0){const _0x4daede=a15_0x351568;if(fs[_0x4daede(0x127)](_0x51cdd0)){const _0x1ab3ed=fs[_0x4daede(0x12a)](_0x51cdd0);for(let _0x4c4692=0x0;_0x4c4692<_0x1ab3ed['length'];_0x4c4692++){const _0x340813=_0x1ab3ed[_0x4c4692],_0x19c2ab=_0x51cdd0+'/'+_0x340813;fs['statSync'](_0x19c2ab)[_0x4daede(0x157)]()?(exports[_0x4daede(0x134)](_0x19c2ab),fs['rmdirSync'](_0x19c2ab)):fs['unlinkSync'](_0x19c2ab);}}},exports[a15_0x351568(0x139)]=function(_0x29d611=[]){return _0x29d611['map'](_0x1469a8=>{const _0x58ccbb=a15_0x30f2,_0x5c17e3=CLOUD_PROJECT[_0x1469a8['name']]||undefined,_0x3340d3=os[_0x58ccbb(0x13f)]();return{'path':_0x3340d3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1469a8[_0x58ccbb(0x12c)]+_0x58ccbb(0x131),'compress':_0x3340d3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1469a8[_0x58ccbb(0x12c)]+_0x58ccbb(0x135),'repository':GIT_HOST+'/api/v4/projects/'+_0x5c17e3['projectId']+_0x58ccbb(0x148)+_0x5c17e3[_0x58ccbb(0x150)]+'&ref=master'};});},exports['f_scan_jjb_config_json']=function(_0x51ad01){const _0x53f2c4=a15_0x351568;return fs[_0x53f2c4(0x127)](_0x51ad01+_0x53f2c4(0x15c));},exports['f_scan_jjb_config_json_rules']=function(_0x51aa11){const _0x4dd9cd=a15_0x351568;let _0x2f2bc4={};try{_0x2f2bc4=JSON[_0x4dd9cd(0x121)](fs[_0x4dd9cd(0x142)](_0x51aa11+'\x5cjjb.config.json')[_0x4dd9cd(0x137)]());}catch(_0x51c32f){console[_0x4dd9cd(0x125)](_0x4dd9cd(0x144)),process[_0x4dd9cd(0x128)](0x0);}!(_0x4dd9cd(0x149)in _0x2f2bc4)&&(console['log'](_0x4dd9cd(0x140)),process[_0x4dd9cd(0x128)](0x0));!(_0x4dd9cd(0x152)in _0x2f2bc4)&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x120)),process[_0x4dd9cd(0x128)](0x0));!('installResources'in _0x2f2bc4)&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x13a)),process[_0x4dd9cd(0x128)](0x0));typeof _0x2f2bc4[_0x4dd9cd(0x149)]!==_0x4dd9cd(0x119)&&(console['log'](_0x4dd9cd(0x122)),process['exit'](0x0));!['multi',_0x4dd9cd(0x154),_0x4dd9cd(0x147),'micro-spa'][_0x4dd9cd(0x124)](_0x2f2bc4['projectType'])&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x12d)),process[_0x4dd9cd(0x128)](0x0));typeof _0x2f2bc4[_0x4dd9cd(0x152)]!=='string'&&(console[_0x4dd9cd(0x125)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x4dd9cd(0x128)](0x0));!['node_modules',_0x4dd9cd(0x11d)][_0x4dd9cd(0x124)](_0x2f2bc4[_0x4dd9cd(0x152)])&&(console[_0x4dd9cd(0x125)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array[_0x4dd9cd(0x14a)](_0x2f2bc4[_0x4dd9cd(0x126)])&&(console['log'](_0x4dd9cd(0x11e)),process[_0x4dd9cd(0x128)](0x0));_0x2f2bc4[_0x4dd9cd(0x126)][_0x4dd9cd(0x12b)]===0x0&&(console['log'](_0x4dd9cd(0x158)),process['exit'](0x0));const _0x49da39=exports['f_resolve_install_resources'](_0x2f2bc4[_0x4dd9cd(0x126)]);return _0x49da39[_0x4dd9cd(0x12e)](_0x5a7ec8=>_0x5a7ec8[_0x4dd9cd(0x12c)])[_0x4dd9cd(0x13e)](_0xe6c17c=>!['jjb-common',_0x4dd9cd(0x11c),_0x4dd9cd(0x138),_0x4dd9cd(0x130),_0x4dd9cd(0x14d),_0x4dd9cd(0x11f)][_0x4dd9cd(0x124)](_0xe6c17c))[_0x4dd9cd(0x12b)]!==0x0&&(console['log'](_0x4dd9cd(0x145)),process['exit'](0x0)),_0x2f2bc4[_0x4dd9cd(0x126)]=_0x49da39,_0x2f2bc4;},exports[a15_0x351568(0x14c)]=function(_0x395433,_0x3abf10,_0x2a8680){const _0x14ecce=a15_0x351568;fs[_0x14ecce(0x11a)](_0x395433+_0x14ecce(0x123),_0x14ecce(0x15d)+_0x3abf10+'\x22,\x22version\x22:\x22'+_0x2a8680+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a15_0x351568(0x133)]=function(_0xbcccb2=[]){const _0x1160e5=a15_0x351568,_0x5bb2c9=[];return Array[_0x1160e5(0x14a)](_0xbcccb2)&&_0xbcccb2['forEach'](_0x5b1536=>{const _0x226350=_0x1160e5;if(Array[_0x226350(0x14a)](_0x5b1536)){const [_0x1b8fee,_0x412849=[]]=_0x5b1536;_0x5bb2c9[_0x226350(0x143)]({'name':_0x1b8fee,'importList':_0x412849});}else _0x5bb2c9['push']({'name':_0x5b1536,'importList':[]});}),_0x5bb2c9;},exports['f_update_project_package_json']=function(_0xd2ee8,_0x48eb04,_0x1a71e6){const _0x2f2e49=a15_0x351568,_0x4a8a2a=JSON[_0x2f2e49(0x121)](fs[_0x2f2e49(0x142)](_0xd2ee8)['toString']());_0x4a8a2a[_0x2f2e49(0x136)][_0x48eb04]=_0x1a71e6,fs[_0x2f2e49(0x11a)](_0xd2ee8,JSON[_0x2f2e49(0x146)](_0x4a8a2a,null,0x2));},exports[a15_0x351568(0x159)]=function(_0x1ece7f,_0x5b7b1c){const _0x4ee74a=a15_0x351568;fs['readdirSync'](_0x1ece7f)[_0x4ee74a(0x13c)](_0x329ead=>{const _0x57aad=_0x4ee74a,_0x26a980=_0x1ece7f+'\x5c'+_0x329ead,_0x3efac9=_0x5b7b1c+'\x5c'+_0x329ead;fs[_0x57aad(0x15a)](_0x26a980)[_0x57aad(0x157)]()?(fs[_0x57aad(0x14e)](_0x3efac9),exports[_0x57aad(0x159)](_0x26a980,_0x3efac9)):fs[_0x57aad(0x11a)](_0x3efac9,fs[_0x57aad(0x142)](_0x26a980)[_0x57aad(0x137)]());});},exports[a15_0x351568(0x14b)]=function(_0x1191d2=[],_0x7a18cc){const _0x210bdc=a15_0x351568;_0x1191d2[_0x210bdc(0x13c)](_0x1e0522=>{const _0x29aed6=_0x210bdc,_0x509857=_0x7a18cc+_0x1e0522[_0x29aed6(0x151)];if(fs['existsSync'](_0x509857)){let _0x1bfc3e=fs['readFileSync'](_0x509857)[_0x29aed6(0x137)]();_0x1e0522[_0x29aed6(0x11b)]['forEach'](_0x3daa7a=>{const _0x11b079=_0x29aed6;_0x1bfc3e=_0x1bfc3e[_0x11b079(0x11b)](_0x3daa7a[0x0],_0x3daa7a[0x1]);}),fs[_0x29aed6(0x11a)](_0x509857,_0x1bfc3e);}});};
1
+ const a15_0x40345e=a15_0xe12b;(function(_0x4a8da7,_0x4f228b){const _0xe50f19=a15_0xe12b,_0x1766be=_0x4a8da7();while(!![]){try{const _0x39ba1b=-parseInt(_0xe50f19(0x1fb))/0x1*(parseInt(_0xe50f19(0x23a))/0x2)+parseInt(_0xe50f19(0x22e))/0x3+-parseInt(_0xe50f19(0x21c))/0x4+parseInt(_0xe50f19(0x210))/0x5+-parseInt(_0xe50f19(0x22d))/0x6*(parseInt(_0xe50f19(0x231))/0x7)+parseInt(_0xe50f19(0x1f5))/0x8+parseInt(_0xe50f19(0x205))/0x9;if(_0x39ba1b===_0x4f228b)break;else _0x1766be['push'](_0x1766be['shift']());}catch(_0x5b8eb7){_0x1766be['push'](_0x1766be['shift']());}}}(a15_0x1a26,0x8d6f1));function a15_0xe12b(_0x477303,_0x134463){const _0x1a2604=a15_0x1a26();return a15_0xe12b=function(_0xe12bb5,_0xbff19b){_0xe12bb5=_0xe12bb5-0x1f2;let _0x40bbb1=_0x1a2604[_0xe12bb5];return _0x40bbb1;},a15_0xe12b(_0x477303,_0x134463);}function a15_0x1a26(){const _0x5a04c=['length','writeFileSync','exit','parse','f_resolve_install_resources','_zip','./config','2193812EeFCMP','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','rmdirSync','spa','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_create_package_json','isDirectory','f_scan_jjb_config_json','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','name','micro-spa','readdirSync','【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>。','path','f_content_replace','f_file_copy','dependencies','156tuXqfn','310230XHBfQb','/repository/archive.zip?private_token=','existsSync','294924NKgwUF','【Error】:[jjb.config.json.installResources]无资源。','f_rm_rf','statSync','stringify','installTarget','toString','mkdirSync','\x5cjjb.config.json','10uPjDzJ','projectType','unlinkSync','isArray','node_modules','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','9200704vABTaU','log','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','jjb-dva-runtime','replace','forEach','97178zMYxmI','f_pull_git_repository','src','react-admin-component','\x22,\x22main\x22:\x20\x22index.js\x22}','/api/v4/projects/','\x22,\x22version\x22:\x22','string','&ref=master','multi','12436542hgzcBu','f_scan_jjb_config_json_rules','filter','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','jjb-common-lib','includes','installResources','.zip','【Error】:[jjb.config.json.projectType]类型是一个string。','map','vue-unisass-component','368760rTgwmT','readFileSync','{\x22name\x22:\x22','token','tmpdir'];a15_0x1a26=function(){return _0x5a04c;};return a15_0x1a26();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x40345e(0x21b));exports[a15_0x40345e(0x233)]=function(_0x4ef4c2){const _0x558a6e=a15_0x40345e;if(fs[_0x558a6e(0x230)](_0x4ef4c2)){const _0x44e2e4=fs[_0x558a6e(0x227)](_0x4ef4c2);for(let _0x37a322=0x0;_0x37a322<_0x44e2e4['length'];_0x37a322++){const _0x24e5c9=_0x44e2e4[_0x37a322],_0x10eb61=_0x4ef4c2+'/'+_0x24e5c9;fs[_0x558a6e(0x234)](_0x10eb61)['isDirectory']()?(exports[_0x558a6e(0x233)](_0x10eb61),fs[_0x558a6e(0x21e)](_0x10eb61)):fs[_0x558a6e(0x23c)](_0x10eb61);}}},exports[a15_0x40345e(0x1fc)]=function(_0x1631aa=[]){return _0x1631aa['map'](_0x576254=>{const _0x1bfce1=a15_0xe12b,_0x2afd13=CLOUD_PROJECT[_0x576254[_0x1bfce1(0x225)]]||undefined,_0x241375=os[_0x1bfce1(0x214)]();return{'path':_0x241375+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x576254[_0x1bfce1(0x225)]+_0x1bfce1(0x20c),'compress':_0x241375+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x576254[_0x1bfce1(0x225)]+_0x1bfce1(0x21a),'repository':GIT_HOST+_0x1bfce1(0x200)+_0x2afd13['projectId']+_0x1bfce1(0x22f)+_0x2afd13[_0x1bfce1(0x213)]+_0x1bfce1(0x203)};});},exports[a15_0x40345e(0x223)]=function(_0x20e0a6){const _0x3a11ec=a15_0x40345e;return fs[_0x3a11ec(0x230)](_0x20e0a6+_0x3a11ec(0x239));},exports[a15_0x40345e(0x206)]=function(_0xc63be9){const _0xbf9adb=a15_0x40345e;let _0x22d27d={};try{_0x22d27d=JSON[_0xbf9adb(0x218)](fs[_0xbf9adb(0x211)](_0xc63be9+'\x5cjjb.config.json')[_0xbf9adb(0x237)]());}catch(_0x37d3ff){console[_0xbf9adb(0x1f6)](_0xbf9adb(0x208)),process[_0xbf9adb(0x217)](0x0);}!('projectType'in _0x22d27d)&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x220)),process['exit'](0x0));!(_0xbf9adb(0x236)in _0x22d27d)&&(console[_0xbf9adb(0x1f6)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0xbf9adb(0x217)](0x0));!(_0xbf9adb(0x20b)in _0x22d27d)&&(console['log'](_0xbf9adb(0x21d)),process[_0xbf9adb(0x217)](0x0));typeof _0x22d27d[_0xbf9adb(0x23b)]!==_0xbf9adb(0x202)&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x20d)),process[_0xbf9adb(0x217)](0x0));![_0xbf9adb(0x204),_0xbf9adb(0x21f),'uniapp',_0xbf9adb(0x226)]['includes'](_0x22d27d[_0xbf9adb(0x23b)])&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x1f7)),process[_0xbf9adb(0x217)](0x0));typeof _0x22d27d[_0xbf9adb(0x236)]!=='string'&&(console[_0xbf9adb(0x1f6)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0xbf9adb(0x217)](0x0));![_0xbf9adb(0x1f3),_0xbf9adb(0x1fd)][_0xbf9adb(0x20a)](_0x22d27d[_0xbf9adb(0x236)])&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x1f4)),process[_0xbf9adb(0x217)](0x0));!Array['isArray'](_0x22d27d[_0xbf9adb(0x20b)])&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x224)),process['exit'](0x0));_0x22d27d[_0xbf9adb(0x20b)][_0xbf9adb(0x215)]===0x0&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x232)),process[_0xbf9adb(0x217)](0x0));const _0xd8db7e=exports[_0xbf9adb(0x219)](_0x22d27d[_0xbf9adb(0x20b)]);return _0xd8db7e[_0xbf9adb(0x20e)](_0x50b685=>_0x50b685[_0xbf9adb(0x225)])[_0xbf9adb(0x207)](_0x48d6e0=>!['jjb-common',_0xbf9adb(0x1f8),_0xbf9adb(0x209),'jjb-common-decorator',_0xbf9adb(0x1fe),_0xbf9adb(0x20f)]['includes'](_0x48d6e0))[_0xbf9adb(0x215)]!==0x0&&(console[_0xbf9adb(0x1f6)](_0xbf9adb(0x228)),process[_0xbf9adb(0x217)](0x0)),_0x22d27d[_0xbf9adb(0x20b)]=_0xd8db7e,_0x22d27d;},exports[a15_0x40345e(0x221)]=function(_0x426db9,_0x243df0,_0x25a437){const _0x2ceb6c=a15_0x40345e;fs[_0x2ceb6c(0x216)](_0x426db9+'\x5cpackage.json',_0x2ceb6c(0x212)+_0x243df0+_0x2ceb6c(0x201)+_0x25a437+_0x2ceb6c(0x1ff));},exports[a15_0x40345e(0x219)]=function(_0x234d0b=[]){const _0x77315d=a15_0x40345e,_0x371ada=[];return Array[_0x77315d(0x1f2)](_0x234d0b)&&_0x234d0b['forEach'](_0x582dcd=>{if(Array['isArray'](_0x582dcd)){const [_0x43bb5c,_0x149eb4=[]]=_0x582dcd;_0x371ada['push']({'name':_0x43bb5c,'importList':_0x149eb4});}else _0x371ada['push']({'name':_0x582dcd,'importList':[]});}),_0x371ada;},exports['f_update_project_package_json']=function(_0x286d2f,_0x547b79,_0x157bb4){const _0x119f38=a15_0x40345e,_0x2af21e=JSON[_0x119f38(0x218)](fs['readFileSync'](_0x286d2f)[_0x119f38(0x237)]());_0x2af21e[_0x119f38(0x22c)][_0x547b79]=_0x157bb4,fs[_0x119f38(0x216)](_0x286d2f,JSON[_0x119f38(0x235)](_0x2af21e,null,0x2));},exports[a15_0x40345e(0x22b)]=function(_0x272a06,_0x3679a1){const _0x1dbf3a=a15_0x40345e;fs['readdirSync'](_0x272a06)[_0x1dbf3a(0x1fa)](_0x3b1263=>{const _0x2638f9=_0x1dbf3a,_0x317e13=_0x272a06+'\x5c'+_0x3b1263,_0x32dc18=_0x3679a1+'\x5c'+_0x3b1263;fs[_0x2638f9(0x234)](_0x317e13)[_0x2638f9(0x222)]()?(fs[_0x2638f9(0x238)](_0x32dc18),exports[_0x2638f9(0x22b)](_0x317e13,_0x32dc18)):fs[_0x2638f9(0x216)](_0x32dc18,fs[_0x2638f9(0x211)](_0x317e13)[_0x2638f9(0x237)]());});},exports[a15_0x40345e(0x22a)]=function(_0x3a07d6=[],_0x209f7f){const _0x4fe529=a15_0x40345e;_0x3a07d6[_0x4fe529(0x1fa)](_0x448b34=>{const _0xc8d94a=_0x4fe529,_0x1450e9=_0x209f7f+_0x448b34[_0xc8d94a(0x229)];if(fs[_0xc8d94a(0x230)](_0x1450e9)){let _0x5e2e2c=fs[_0xc8d94a(0x211)](_0x1450e9)[_0xc8d94a(0x237)]();_0x448b34[_0xc8d94a(0x1f9)][_0xc8d94a(0x1fa)](_0x3d8fa8=>{const _0x2a5e1c=_0xc8d94a;_0x5e2e2c=_0x5e2e2c[_0x2a5e1c(0x1f9)](_0x3d8fa8[0x0],_0x3d8fa8[0x1]);}),fs[_0xc8d94a(0x216)](_0x1450e9,_0x5e2e2c);}});};
@@ -1 +1 @@
1
- const a16_0x4e8273=a16_0x2cec;function a16_0x55f1(){const _0x5f1d1e=['2JsKAZc','routerPath','273968LpVFgu','path','from','145kNeMYH','8WSrdkw','571835KXwxZR','exports','fileType','./project','push','122328EhfOpQ','./util.js','resolve','forEach','574419cBXxoo','region','13506guYLvl','2577127sAoVHc','\x27,\x20component:\x20()\x20=>\x20import(\x27','routerConfig','map','parse','concat','./vessel/src','length','split','1239528NaJFmZ','slice','250flWRGm','then','pathAdr','toString','join','file','{\x20path:\x20\x27','writeFileSync','DeepScanner','readFileSync'];a16_0x55f1=function(){return _0x5f1d1e;};return a16_0x55f1();}(function(_0x3aa9b0,_0x10553c){const _0x4a05a7=a16_0x2cec,_0x269819=_0x3aa9b0();while(!![]){try{const _0x20861e=parseInt(_0x4a05a7(0x1db))/0x1+parseInt(_0x4a05a7(0x1d9))/0x2*(parseInt(_0x4a05a7(0x1e9))/0x3)+parseInt(_0x4a05a7(0x1cd))/0x4+parseInt(_0x4a05a7(0x1de))/0x5*(parseInt(_0x4a05a7(0x1eb))/0x6)+parseInt(_0x4a05a7(0x1ec))/0x7*(-parseInt(_0x4a05a7(0x1df))/0x8)+-parseInt(_0x4a05a7(0x1e5))/0x9*(parseInt(_0x4a05a7(0x1cf))/0xa)+parseInt(_0x4a05a7(0x1e0))/0xb;if(_0x20861e===_0x10553c)break;else _0x269819['push'](_0x269819['shift']());}catch(_0x176825){_0x269819['push'](_0x269819['shift']());}}}(a16_0x55f1,0x2d132));const fs=require('fs'),path=require(a16_0x4e8273(0x1dc)),utils=require(a16_0x4e8273(0x1e6));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x4e8273(0x1e1)]=(_0x44f079,_0x4f6c0c)=>{const _0x14aaae=a16_0x4e8273;commandArr=_0x44f079[_0x14aaae(0x1cc)](':'),projectPath=path[_0x14aaae(0x1e7)](_0x14aaae(0x1e3)),vesselPath=path['resolve'](_0x14aaae(0x1ca));let _0xd3d64f=vesselPath;_0x4f6c0c==='mp'&&(_0xd3d64f=vesselPath+'/application',utils['CreatePaths'](vesselPath,['application']));const _0x5b9b20=commandArr[0x1],_0x4c74e7=JSON[_0x14aaae(0x1f0)](fs[_0x14aaae(0x1d8)](projectPath+'/'+_0x5b9b20+'/setting.json')[_0x14aaae(0x1d2)]());TileItems(_0x4c74e7['items'],()=>{const _0x53423e=_0x14aaae;fromFileData['router'][_0x53423e(0x1e8)](_0x168868=>{const _0x1fd1a4=_0x53423e,_0x54d2b1=_0x168868[_0x1fd1a4(0x1d1)][_0x1fd1a4(0x1cc)](_0x168868[_0x1fd1a4(0x1ea)]),_0x1e0efc=_0x54d2b1[0x1][_0x1fd1a4(0x1cc)]('/'),_0x34b330=_0x1e0efc[0x1];!applicationJson[_0x34b330]&&(applicationJson[_0x34b330]={'routerConfig':[],'routerPath':[]});applicationJson[_0x34b330][_0x1fd1a4(0x1ee)][_0x1fd1a4(0x1e4)](_0x1fd1a4(0x1d5)+_0x168868[_0x1fd1a4(0x1dc)]+_0x1fd1a4(0x1ed)+_0x168868[_0x1fd1a4(0x1d4)]+'\x27)\x20}'),applicationJson[_0x34b330][_0x1fd1a4(0x1da)][_0x1fd1a4(0x1e4)](_0x168868[_0x1fd1a4(0x1dc)]);let _0x1269a7=_0x1e0efc[_0x1fd1a4(0x1d3)]('/');const _0x1c981b=_0x1269a7[_0x1fd1a4(0x1cc)]('/');utils['CreatePaths'](_0xd3d64f,_0x1c981b[_0x1fd1a4(0x1ce)](0x0,_0x1c981b['length']-0x1))[_0x1fd1a4(0x1d0)](()=>{const _0x43e59b=_0x1fd1a4,_0x32749a=fs['readFileSync'](_0x168868[_0x43e59b(0x1d1)])[_0x43e59b(0x1d2)]();fs[_0x43e59b(0x1d6)](vesselPath+'/'+_0x1269a7,_0x32749a);});});});};function a16_0x2cec(_0xc7e2e2,_0x1b46fa){const _0x55f1c7=a16_0x55f1();return a16_0x2cec=function(_0x2cec78,_0x404bda){_0x2cec78=_0x2cec78-0x1ca;let _0x391bec=_0x55f1c7[_0x2cec78];return _0x391bec;},a16_0x2cec(_0xc7e2e2,_0x1b46fa);}function TileItems(_0x38380e,_0x403181){const _0x55cd85=a16_0x4e8273;_0x38380e[_0x55cd85(0x1e8)]((_0x3e0b90,_0xb9c53)=>{const _0x4d8949=_0x55cd85,_0x774978=_0x3e0b90[_0x4d8949(0x1ea)];_0x3e0b90[_0x4d8949(0x1dd)]['forEach']((_0x35f304,_0xbfa4b5)=>{const _0x5d321c=_0x4d8949,_0x48cb87=[];utils[_0x5d321c(0x1d7)](projectPath+'/'+_0x774978+'/'+_0x35f304[_0x5d321c(0x1d4)],_0x48cb87);const _0x237a19=_0x48cb87[_0x5d321c(0x1ef)](_0x579fa7=>({'region':_0x774978,'pathAdr':_0x579fa7,..._0x35f304}));!fromFileData[_0x35f304[_0x5d321c(0x1e2)]]?fromFileData[_0x35f304[_0x5d321c(0x1e2)]]=_0x237a19:fromFileData[_0x35f304[_0x5d321c(0x1e2)]]=fromFileData[_0x35f304[_0x5d321c(0x1e2)]][_0x5d321c(0x1f1)](_0x237a19),_0xb9c53===_0x38380e[_0x5d321c(0x1cb)]-0x1&&_0xbfa4b5===_0x3e0b90[_0x5d321c(0x1dd)]['length']-0x1&&_0x403181();});});}
1
+ function a16_0x18d8(){const _0x273d2a=['router','writeFileSync','routerPath','readFileSync','\x27)\x20}','./vessel/src','split','8tXNzAu','slice','485eJuljq','\x27,\x20component:\x20()\x20=>\x20import(\x27','./project','toString','632354uHkfmz','region','map','9978CHfyDg','path','2877993ZdBdoy','items','application','resolve','forEach','3041979IjtVpe','DeepScanner','/application','3379756yMUOKb','CreatePaths','then','571773FJApPd','pathAdr','{\x20path:\x20\x27','9072994gwFHWJ','push','/setting.json','from','fileType','parse','file','concat','length','join'];a16_0x18d8=function(){return _0x273d2a;};return a16_0x18d8();}const a16_0x510f96=a16_0x553e;function a16_0x553e(_0x53dcb2,_0x5e8c41){const _0x18d89a=a16_0x18d8();return a16_0x553e=function(_0x553e4e,_0x4099d9){_0x553e4e=_0x553e4e-0x1a1;let _0x33a661=_0x18d89a[_0x553e4e];return _0x33a661;},a16_0x553e(_0x53dcb2,_0x5e8c41);}(function(_0x497641,_0x3999e2){const _0x1224db=a16_0x553e,_0x2db7e9=_0x497641();while(!![]){try{const _0x2b76da=-parseInt(_0x1224db(0x1a3))/0x1+parseInt(_0x1224db(0x1bd))/0x2+parseInt(_0x1224db(0x1c7))/0x3+-parseInt(_0x1224db(0x1ca))/0x4+parseInt(_0x1224db(0x1b9))/0x5*(-parseInt(_0x1224db(0x1c0))/0x6)+parseInt(_0x1224db(0x1a6))/0x7+-parseInt(_0x1224db(0x1b7))/0x8*(parseInt(_0x1224db(0x1c2))/0x9);if(_0x2b76da===_0x3999e2)break;else _0x2db7e9['push'](_0x2db7e9['shift']());}catch(_0x140dd0){_0x2db7e9['push'](_0x2db7e9['shift']());}}}(a16_0x18d8,0xb1dc0));const fs=require('fs'),path=require(a16_0x510f96(0x1c1)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module['exports']=(_0xa3d0ad,_0x2da397)=>{const _0x2e97ad=a16_0x510f96;commandArr=_0xa3d0ad[_0x2e97ad(0x1b6)](':'),projectPath=path[_0x2e97ad(0x1c5)](_0x2e97ad(0x1bb)),vesselPath=path[_0x2e97ad(0x1c5)](_0x2e97ad(0x1b5));let _0x118e50=vesselPath;_0x2da397==='mp'&&(_0x118e50=vesselPath+_0x2e97ad(0x1c9),utils[_0x2e97ad(0x1a1)](vesselPath,[_0x2e97ad(0x1c4)]));const _0x43c935=commandArr[0x1],_0x1798e7=JSON[_0x2e97ad(0x1ab)](fs[_0x2e97ad(0x1b3)](projectPath+'/'+_0x43c935+_0x2e97ad(0x1a8))[_0x2e97ad(0x1bc)]());TileItems(_0x1798e7[_0x2e97ad(0x1c3)],()=>{const _0x481ac4=_0x2e97ad;fromFileData[_0x481ac4(0x1b0)][_0x481ac4(0x1c6)](_0x49ad48=>{const _0x2f2416=_0x481ac4,_0x538b8f=_0x49ad48[_0x2f2416(0x1a4)][_0x2f2416(0x1b6)](_0x49ad48['region']),_0x3705da=_0x538b8f[0x1][_0x2f2416(0x1b6)]('/'),_0x1d3a76=_0x3705da[0x1];!applicationJson[_0x1d3a76]&&(applicationJson[_0x1d3a76]={'routerConfig':[],'routerPath':[]});applicationJson[_0x1d3a76]['routerConfig'][_0x2f2416(0x1a7)](_0x2f2416(0x1a5)+_0x49ad48[_0x2f2416(0x1c1)]+_0x2f2416(0x1ba)+_0x49ad48[_0x2f2416(0x1ac)]+_0x2f2416(0x1b4)),applicationJson[_0x1d3a76][_0x2f2416(0x1b2)]['push'](_0x49ad48[_0x2f2416(0x1c1)]);let _0x383fa3=_0x3705da[_0x2f2416(0x1af)]('/');const _0x14a5c5=_0x383fa3[_0x2f2416(0x1b6)]('/');utils[_0x2f2416(0x1a1)](_0x118e50,_0x14a5c5[_0x2f2416(0x1b8)](0x0,_0x14a5c5[_0x2f2416(0x1ae)]-0x1))[_0x2f2416(0x1a2)](()=>{const _0x3fa74a=_0x2f2416,_0x40be2e=fs[_0x3fa74a(0x1b3)](_0x49ad48[_0x3fa74a(0x1a4)])[_0x3fa74a(0x1bc)]();fs[_0x3fa74a(0x1b1)](vesselPath+'/'+_0x383fa3,_0x40be2e);});});});};function TileItems(_0x1f0209,_0x55cba7){const _0x88f95e=a16_0x510f96;_0x1f0209[_0x88f95e(0x1c6)]((_0x3d9c6b,_0x363e25)=>{const _0x21f72d=_0x88f95e,_0x5f5579=_0x3d9c6b[_0x21f72d(0x1be)];_0x3d9c6b[_0x21f72d(0x1a9)][_0x21f72d(0x1c6)]((_0x4d9830,_0x3e51c0)=>{const _0xbfc9fc=_0x21f72d,_0xc08fbb=[];utils[_0xbfc9fc(0x1c8)](projectPath+'/'+_0x5f5579+'/'+_0x4d9830['file'],_0xc08fbb);const _0x23a10c=_0xc08fbb[_0xbfc9fc(0x1bf)](_0x4b5d93=>({'region':_0x5f5579,'pathAdr':_0x4b5d93,..._0x4d9830}));!fromFileData[_0x4d9830[_0xbfc9fc(0x1aa)]]?fromFileData[_0x4d9830[_0xbfc9fc(0x1aa)]]=_0x23a10c:fromFileData[_0x4d9830[_0xbfc9fc(0x1aa)]]=fromFileData[_0x4d9830['fileType']][_0xbfc9fc(0x1ad)](_0x23a10c),_0x363e25===_0x1f0209[_0xbfc9fc(0x1ae)]-0x1&&_0x3e51c0===_0x3d9c6b[_0xbfc9fc(0x1a9)][_0xbfc9fc(0x1ae)]-0x1&&_0x55cba7();});});}
@@ -1 +1 @@
1
- 'use strict';const a17_0xbbdc06=a17_0x1601;(function(_0x32b78c,_0x9a7c8b){const _0x2765ff=a17_0x1601,_0x25ea9a=_0x32b78c();while(!![]){try{const _0x53b470=-parseInt(_0x2765ff(0xe8))/0x1+parseInt(_0x2765ff(0xdc))/0x2*(parseInt(_0x2765ff(0xf3))/0x3)+-parseInt(_0x2765ff(0xd8))/0x4*(parseInt(_0x2765ff(0x108))/0x5)+parseInt(_0x2765ff(0xff))/0x6*(-parseInt(_0x2765ff(0x106))/0x7)+-parseInt(_0x2765ff(0xd9))/0x8+-parseInt(_0x2765ff(0xdf))/0x9*(parseInt(_0x2765ff(0xfd))/0xa)+-parseInt(_0x2765ff(0xed))/0xb*(-parseInt(_0x2765ff(0xde))/0xc);if(_0x53b470===_0x9a7c8b)break;else _0x25ea9a['push'](_0x25ea9a['shift']());}catch(_0x4a2764){_0x25ea9a['push'](_0x25ea9a['shift']());}}}(a17_0x1471,0xef5f5));const fs=require('fs'),os=require('os'),path=require(a17_0xbbdc06(0x10c)),utils=require(a17_0xbbdc06(0xe1)),request=require('request'),compressing=require(a17_0xbbdc06(0x10a)),GIT_TEMP_DIR=a17_0xbbdc06(0xf7),GIT_HOST=a17_0xbbdc06(0xd4),CLOUD_PROJECT={'common':{'token':a17_0xbbdc06(0xf2),'projectId':0x117,'localName':a17_0xbbdc06(0xfa)},'react-admin-component':{'token':a17_0xbbdc06(0xf0),'projectId':0x154,'localName':a17_0xbbdc06(0xe5)}};function a17_0x1471(){const _0x1b3643=['replace','writeFileSync','error','token','common\x5cwebsite\x5cindex.js','-master-','2219qrAbSN','existsSync','5AnmqTE','mkdirSync','compressing','common\x5cdva\x5cautomatic','path','createWriteStream','projectId','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','\x5csrc','indexOf','zip','pipe','tmpdir','http://192.168.1.242:10985','common\x5cdva\x5cautomatic\x5cindex.js','unlinkSync','【Error】:\x20未获取到项目\x20','1383420nWdafs','4527760hBFcYl','toString','/unzip/','46654xxRIOm','DeleteDirAllFile','12XcTvxJ','9hzzQXM','common\x5cdva\x5cautomatic\x5c','./util','common\x5ctools\x5cindex.js','.zip','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','components','readdirSync','exports','1691179TTrmOo','uncompress','-文件下载完毕','readFileSync','return\x20__planA();','45203488xoVGcb','/api/v4/projects/','&ref=master','FT3pKzxpRynFkmddJ9Bs','\x5ccli.dva.router.spa.txt','G4HJRsHr9D7Ssmixegw2','111EaZppU','localName','log','forEach','jjbAssembly','statSync','close','common','return\x20process.env;','/repository/archive.zip?private_token=','3648070adnkev','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','19386EmwDjB'];a17_0x1471=function(){return _0x1b3643;};return a17_0x1471();}function a17_0x1601(_0x4ab327,_0x2887f3){const _0x1471cb=a17_0x1471();return a17_0x1601=function(_0x16012a,_0x3aa6ff){_0x16012a=_0x16012a-0xd1;let _0x5821ed=_0x1471cb[_0x16012a];return _0x5821ed;},a17_0x1601(_0x4ab327,_0x2887f3);}module[a17_0xbbdc06(0xe7)]=_0x3171a6=>{const _0x45132f=a17_0xbbdc06,_0x18cf4a=_0x3171a6,_0x3ff2d3=path['resolve']('./');try{if(fs[_0x45132f(0xf8)](_0x3ff2d3+_0x45132f(0x110))){const _0x4c83c3=_0x3ff2d3+_0x45132f(0x110),_0xa6c967=CLOUD_PROJECT[_0x18cf4a]||undefined;if(_0xa6c967){const _0x387ddb=os[_0x45132f(0xd3)](),_0xc0b7f6=_0x387ddb+('/'+GIT_TEMP_DIR+'/'+_0x18cf4a+_0x45132f(0xe3)),_0x49be9a=_0x387ddb+'/'+GIT_TEMP_DIR+_0x45132f(0xdb);utils[_0x45132f(0xdd)](_0x387ddb+'/'+GIT_TEMP_DIR,()=>{const _0x53537c=_0x45132f;fs[_0x53537c(0x109)](_0x387ddb+'/'+GIT_TEMP_DIR);let _0x24f51b=fs[_0x53537c(0x10d)](_0xc0b7f6);request(GIT_HOST+_0x53537c(0xee)+_0xa6c967[_0x53537c(0x10e)]+_0x53537c(0xfc)+_0xa6c967[_0x53537c(0x103)]+_0x53537c(0xef))[_0x53537c(0xd2)](_0x24f51b)['on'](_0x53537c(0xf9),()=>{const _0x7b07f2=_0x53537c;fs['mkdirSync'](_0x49be9a),compressing[_0x7b07f2(0xd1)][_0x7b07f2(0xe9)](_0xc0b7f6,_0x49be9a)['then'](()=>{setTimeout(()=>{const _0x252737=a17_0x1601,_0x12f38f=fs['readdirSync'](_0x49be9a);_0x12f38f['forEach'](_0x523abd=>{const _0x3908bb=a17_0x1601;if(_0x523abd[_0x3908bb(0x111)](_0x3908bb(0x105))!==-0x1){const _0x2c14e5=_0x4c83c3+'\x5c'+_0xa6c967[_0x3908bb(0xf4)];utils[_0x3908bb(0xdd)](_0x2c14e5,()=>{fs['mkdirSync'](_0x2c14e5),utils['CopyFolder'](_0x49be9a+_0x523abd,_0x2c14e5),setTimeout(()=>{const _0x1c1fae=a17_0x1601,_0x29fba4=fs[_0x1c1fae(0x107)](_0x4c83c3+'\x5c'+'application');if(!_0x29fba4){const _0x251fe8=_0x4c83c3+'\x5c'+_0x1c1fae(0xe2),_0x4688c7=_0x4c83c3+'\x5c'+_0x1c1fae(0x104);let _0x33cec9=fs[_0x1c1fae(0xeb)](_0x251fe8)[_0x1c1fae(0xda)](),_0x3c5616=fs['readFileSync'](_0x4688c7)[_0x1c1fae(0xda)]();_0x33cec9=_0x33cec9[_0x1c1fae(0x100)](_0x1c1fae(0xec),_0x1c1fae(0xfb)),_0x3c5616=_0x3c5616['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x1c1fae(0xfe)),fs['writeFileSync'](_0x251fe8,_0x33cec9),fs[_0x1c1fae(0x101)](_0x4688c7,_0x3c5616),fs['writeFileSync'](_0x4c83c3+_0x1c1fae(0xe4),fs['readFileSync'](__dirname+_0x1c1fae(0xf1))[_0x1c1fae(0xda)]()),fs[_0x1c1fae(0x101)](_0x4c83c3+_0x1c1fae(0x10f),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')['toString']());}else fs['exists'](_0x4c83c3+'\x5c'+_0x1c1fae(0xd5),_0xf0e384=>{const _0xdd4278=_0x1c1fae;_0xf0e384&&(fs[_0xdd4278(0xe6)](_0x4c83c3+'\x5c'+_0xdd4278(0x10b))[_0xdd4278(0xf6)](_0x536648=>{const _0x42f91a=_0xdd4278;fs[_0x42f91a(0xd6)](_0x4c83c3+'\x5c'+_0x42f91a(0xe0)+_0x536648);}),fs['rmdirSync'](_0x4c83c3+'\x5c'+_0xdd4278(0x10b)));});},0x3e8);});}}),console[_0x252737(0xf5)](_0x18cf4a+_0x252737(0xea));},0x7d0);});});});}else console[_0x45132f(0x102)](_0x45132f(0xd7)+_0x18cf4a);}}catch(_0x5929a7){console[_0x45132f(0x102)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
1
+ 'use strict';const a17_0xf33d42=a17_0x5938;(function(_0x4e9c08,_0x49b8ac){const _0x1c014c=a17_0x5938,_0x315583=_0x4e9c08();while(!![]){try{const _0x45175f=parseInt(_0x1c014c(0xfc))/0x1+-parseInt(_0x1c014c(0xf8))/0x2+-parseInt(_0x1c014c(0x119))/0x3*(-parseInt(_0x1c014c(0x127))/0x4)+-parseInt(_0x1c014c(0x11e))/0x5*(parseInt(_0x1c014c(0xfa))/0x6)+parseInt(_0x1c014c(0x10f))/0x7+parseInt(_0x1c014c(0x109))/0x8*(-parseInt(_0x1c014c(0x126))/0x9)+-parseInt(_0x1c014c(0x100))/0xa*(-parseInt(_0x1c014c(0x116))/0xb);if(_0x45175f===_0x49b8ac)break;else _0x315583['push'](_0x315583['shift']());}catch(_0x4f61c4){_0x315583['push'](_0x315583['shift']());}}}(a17_0x3482,0x20c87));function a17_0x3482(){const _0x6e1ed=['projectId','jjbAssembly','common\x5cdva\x5cautomatic','1260256eLIaTr','writeFileSync','&ref=master','common','replace','pipe','1714594doVAps','rmdirSync','exports','request','-master-','toString','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','77GkWtuw','common\x5ctools\x5cindex.js','DeleteDirAllFile','168996tmjpcp','.zip','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','forEach','common\x5cwebsite\x5cindex.js','78865UxvcGb','./util','CopyFolder','then','readdirSync','createWriteStream','common\x5cdva\x5cautomatic\x5c','token','9ZKtWLL','4RzTwoi','application','-文件下载完毕','readFileSync','compressing','\x5csrc','/api/v4/projects/','indexOf','275894jJZLDQ','localName','42tqRhAH','/repository/archive.zip?private_token=','64273pRqdSo','uncompress','exists','resolve','249460ybVAGn','tmpdir','mkdirSync','error','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','FT3pKzxpRynFkmddJ9Bs'];a17_0x3482=function(){return _0x6e1ed;};return a17_0x3482();}function a17_0x5938(_0x2e0211,_0xff974b){const _0x348258=a17_0x3482();return a17_0x5938=function(_0x5938b8,_0x84959d){_0x5938b8=_0x5938b8-0xf7;let _0x351158=_0x348258[_0x5938b8];return _0x351158;},a17_0x5938(_0x2e0211,_0xff974b);}const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a17_0xf33d42(0x11f)),request=require(a17_0xf33d42(0x112)),compressing=require(a17_0xf33d42(0x12b)),GIT_TEMP_DIR=a17_0xf33d42(0x107),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a17_0xf33d42(0x10c)},'react-admin-component':{'token':a17_0xf33d42(0x105),'projectId':0x154,'localName':'components'}};module[a17_0xf33d42(0x111)]=_0xe3f1b9=>{const _0x39ca43=a17_0xf33d42,_0x124d73=_0xe3f1b9,_0x331926=path[_0x39ca43(0xff)]('./');try{if(fs['statSync'](_0x331926+_0x39ca43(0x12c))){const _0x2b0c31=_0x331926+'\x5csrc',_0x2ae91f=CLOUD_PROJECT[_0x124d73]||undefined;if(_0x2ae91f){const _0x2d538e=os[_0x39ca43(0x101)](),_0x19e2a3=_0x2d538e+('/'+GIT_TEMP_DIR+'/'+_0x124d73+_0x39ca43(0x11a)),_0x5de491=_0x2d538e+'/'+GIT_TEMP_DIR+'/unzip/';utils['DeleteDirAllFile'](_0x2d538e+'/'+GIT_TEMP_DIR,()=>{const _0x281131=_0x39ca43;fs['mkdirSync'](_0x2d538e+'/'+GIT_TEMP_DIR);let _0x1fbdcf=fs[_0x281131(0x123)](_0x19e2a3);request(GIT_HOST+_0x281131(0x12d)+_0x2ae91f[_0x281131(0x106)]+_0x281131(0xfb)+_0x2ae91f[_0x281131(0x125)]+_0x281131(0x10b))[_0x281131(0x10e)](_0x1fbdcf)['on']('close',()=>{const _0x156e8b=_0x281131;fs[_0x156e8b(0x102)](_0x5de491),compressing['zip'][_0x156e8b(0xfd)](_0x19e2a3,_0x5de491)[_0x156e8b(0x121)](()=>{setTimeout(()=>{const _0x57c3c6=a17_0x5938,_0x2ccade=fs[_0x57c3c6(0x122)](_0x5de491);_0x2ccade[_0x57c3c6(0x11c)](_0xab0b87=>{const _0x201246=_0x57c3c6;if(_0xab0b87[_0x201246(0xf7)](_0x201246(0x113))!==-0x1){const _0x4f2d9a=_0x2b0c31+'\x5c'+_0x2ae91f[_0x201246(0xf9)];utils[_0x201246(0x118)](_0x4f2d9a,()=>{const _0x5a60a7=_0x201246;fs[_0x5a60a7(0x102)](_0x4f2d9a),utils[_0x5a60a7(0x120)](_0x5de491+_0xab0b87,_0x4f2d9a),setTimeout(()=>{const _0x2177df=_0x5a60a7,_0x5d291d=fs['existsSync'](_0x2b0c31+'\x5c'+_0x2177df(0x128));if(!_0x5d291d){const _0x3780cd=_0x2b0c31+'\x5c'+_0x2177df(0x117),_0x3ac70=_0x2b0c31+'\x5c'+_0x2177df(0x11d);let _0x354a28=fs[_0x2177df(0x12a)](_0x3780cd)[_0x2177df(0x114)](),_0x1d1c37=fs[_0x2177df(0x12a)](_0x3ac70)[_0x2177df(0x114)]();_0x354a28=_0x354a28[_0x2177df(0x10d)]('return\x20__planA();','return\x20process.env;'),_0x1d1c37=_0x1d1c37['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x2177df(0x11b)),fs[_0x2177df(0x10a)](_0x3780cd,_0x354a28),fs[_0x2177df(0x10a)](_0x3ac70,_0x1d1c37),fs[_0x2177df(0x10a)](_0x2b0c31+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x2177df(0x12a)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x2177df(0x114)]()),fs[_0x2177df(0x10a)](_0x2b0c31+_0x2177df(0x115),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')[_0x2177df(0x114)]());}else fs[_0x2177df(0xfe)](_0x2b0c31+'\x5c'+'common\x5cdva\x5cautomatic\x5cindex.js',_0x13662e=>{const _0x5688cc=_0x2177df;_0x13662e&&(fs[_0x5688cc(0x122)](_0x2b0c31+'\x5c'+_0x5688cc(0x108))[_0x5688cc(0x11c)](_0x2c70fc=>{const _0x215d60=_0x5688cc;fs['unlinkSync'](_0x2b0c31+'\x5c'+_0x215d60(0x124)+_0x2c70fc);}),fs[_0x5688cc(0x110)](_0x2b0c31+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x124d73+_0x57c3c6(0x129));},0x7d0);});});});}else console[_0x39ca43(0x103)]('【Error】:\x20未获取到项目\x20'+_0x124d73);}}catch(_0xa1efe2){console[_0x39ca43(0x103)](_0x39ca43(0x104));}};
@@ -1 +1 @@
1
- 'use strict';const a18_0x4c530e=a18_0x40b6;(function(_0x5c2e89,_0x4e883c){const _0x22acca=a18_0x40b6,_0x2c7403=_0x5c2e89();while(!![]){try{const _0x133f21=parseInt(_0x22acca(0x21d))/0x1*(parseInt(_0x22acca(0x21e))/0x2)+-parseInt(_0x22acca(0x201))/0x3*(-parseInt(_0x22acca(0x21f))/0x4)+-parseInt(_0x22acca(0x1f9))/0x5*(parseInt(_0x22acca(0x243))/0x6)+parseInt(_0x22acca(0x21c))/0x7+-parseInt(_0x22acca(0x1f8))/0x8*(-parseInt(_0x22acca(0x203))/0x9)+-parseInt(_0x22acca(0x214))/0xa+-parseInt(_0x22acca(0x232))/0xb;if(_0x133f21===_0x4e883c)break;else _0x2c7403['push'](_0x2c7403['shift']());}catch(_0x4e12e8){_0x2c7403['push'](_0x2c7403['shift']());}}}(a18_0xc55b,0x8bedf));function a18_0x40b6(_0x5ad382,_0x175e6c){const _0xc55b4b=a18_0xc55b();return a18_0x40b6=function(_0x40b6c4,_0x87cd09){_0x40b6c4=_0x40b6c4-0x1e7;let _0x44972a=_0xc55b4b[_0x40b6c4];return _0x44972a;},a18_0x40b6(_0x5ad382,_0x175e6c);}const fs=require('fs'),os=require('os'),path=require(a18_0x4c530e(0x222)),utils=require(a18_0x4c530e(0x245)),request=require('request'),compressing=require(a18_0x4c530e(0x206)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a18_0x4c530e(0x224),CLOUD_PROJECT={'common':{'token':a18_0x4c530e(0x1f2),'projectId':0x117,'localName':a18_0x4c530e(0x1fe)},'react-admin-component':{'token':a18_0x4c530e(0x22e),'projectId':0x154,'localName':a18_0x4c530e(0x237)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a18_0x4c530e(0x217),'replace':[[a18_0x4c530e(0x237),a18_0x4c530e(0x20e)]]},{'path':a18_0x4c530e(0x239),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a18_0x4c530e(0x210)],[a18_0x4c530e(0x237),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a18_0x4c530e(0x235),a18_0x4c530e(0x1eb)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x4c530e(0x217),'replace':[[a18_0x4c530e(0x235),a18_0x4c530e(0x220)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x4c530e(0x233),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x1e8),'jjb-common/crypto'],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x227),'replace':[[a18_0x4c530e(0x244),a18_0x4c530e(0x228)]]},{'path':a18_0x4c530e(0x1f6),'replace':[['common/tools',a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x1ff),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x22b),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a18_0x4c530e(0x205),'jjb-common/http'],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a18_0x4c530e(0x228)]]},{'path':a18_0x4c530e(0x241),'replace':[[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a18_0x4c530e(0x1f1),a18_0x4c530e(0x21a)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]}];function uid(){const _0x42679f=a18_0x4c530e;return Math['random']()[_0x42679f(0x225)]()[_0x42679f(0x23b)](0x2);}module[a18_0x4c530e(0x20f)]=_0x464248=>{const _0x3ff1d0=a18_0x4c530e,_0x8cf4a0=path[_0x3ff1d0(0x215)]('./'),_0x5ab984='jjb-'+_0x464248,_0x320742=_0x3ff1d0(0x229),_0x1101f9=_0x8cf4a0+'\x5csrc',_0x194f7f=_0x3ff1d0(0x223)+uid(),_0x377d33=__dirname+'\x5c'+_0x194f7f,_0x229272=_0x8cf4a0+'\x5cpackage.json',_0x55d43c=_0x8cf4a0+'\x5cnode_modules\x5cjjb-'+_0x464248;try{if(fs[_0x3ff1d0(0x1f3)](_0x1101f9)){const _0x36b1a3=CLOUD_PROJECT[_0x464248]||undefined;if(_0x36b1a3){const _0x34aa4f=os[_0x3ff1d0(0x231)](),_0xc95500=_0x34aa4f+'/'+GIT_TEMP_DIR+'/'+_0x464248+_0x3ff1d0(0x1ed),_0x2ba96e=_0x34aa4f+'/'+GIT_TEMP_DIR+_0x3ff1d0(0x20a);utils['DeleteDirAllFile'](_0x34aa4f+'/'+GIT_TEMP_DIR,()=>{const _0x4fa62c=_0x3ff1d0;fs[_0x4fa62c(0x240)](_0x34aa4f+'/'+GIT_TEMP_DIR);const _0x5031f6=fs[_0x4fa62c(0x218)](_0xc95500);request(GIT_HOST+'/api/v4/projects/'+_0x36b1a3[_0x4fa62c(0x23e)]+_0x4fa62c(0x236)+_0x36b1a3['token']+_0x4fa62c(0x1e7))['pipe'](_0x5031f6)['on'](_0x4fa62c(0x234),()=>{const _0x11af06=_0x4fa62c;fs['mkdirSync'](_0x2ba96e),compressing[_0x11af06(0x1ef)][_0x11af06(0x1fb)](_0xc95500,_0x2ba96e)[_0x11af06(0x1e9)](()=>{setTimeout(()=>{fs['readdirSync'](_0x2ba96e)['forEach'](_0x468719=>{const _0x56c815=a18_0x40b6;_0x468719[_0x56c815(0x219)](_0x56c815(0x1f7))!==-0x1&&utils[_0x56c815(0x207)](_0x1101f9+'\x5c'+_0x36b1a3[_0x56c815(0x221)],()=>{const _0xfd6c74=_0x56c815;fs[_0xfd6c74(0x240)](_0x377d33),utils[_0xfd6c74(0x204)](_0x2ba96e+_0x468719,_0x377d33),setTimeout(()=>{const _0x37d47f=_0xfd6c74;if(_0x464248===_0x37d47f(0x1fe)){const _0x343689=fs[_0x37d47f(0x1f3)](_0x1101f9+_0x37d47f(0x1ec));if(_0x343689)rm_rf(_0x377d33+'\x5cdva\x5cautomatic'),fs[_0x37d47f(0x1f4)](_0x377d33+_0x37d47f(0x202));else{if(get_project_type(_0x229272)===_0x37d47f(0x209))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x377d33),fs['writeFileSync'](_0x377d33+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x23f))['toString']()),fs[_0x37d47f(0x208)](_0x377d33+_0x37d47f(0x22d),fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x22f))[_0x37d47f(0x225)]());else get_project_type(_0x229272)===_0x37d47f(0x1f0)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x377d33),fs['writeFileSync'](_0x377d33+_0x37d47f(0x230),fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x23c))[_0x37d47f(0x225)]()),fs[_0x37d47f(0x208)](_0x377d33+_0x37d47f(0x22d),fs['readFileSync'](__dirname+'\x5ccli.dva.register.saas.txt')[_0x37d47f(0x225)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x377d33);}_0x464248===_0x37d47f(0x212)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x377d33),rm_rf(_0x377d33+_0x37d47f(0x1fc)),fs[_0x37d47f(0x1f3)](_0x377d33+_0x37d47f(0x1fc))&&fs[_0x37d47f(0x1f4)](_0x377d33+'\x5c.idea'),fs[_0x37d47f(0x1f3)](_0x377d33+_0x37d47f(0x20c))&&fs[_0x37d47f(0x20b)](_0x377d33+'\x5c.gitignore'),!fs[_0x37d47f(0x1f3)](_0x55d43c)?fs[_0x37d47f(0x240)](_0x55d43c):rm_rf(_0x55d43c),utils[_0x37d47f(0x204)](_0x377d33,_0x55d43c,()=>{const _0x446b97=_0x37d47f;rm_rf(_0x377d33),fs[_0x446b97(0x1f4)](_0x377d33),create_package_json(_0x55d43c,_0x5ab984,_0x320742),update_project_package_json(_0x229272,_0x5ab984,_0x320742),console[_0x446b97(0x1f5)](_0x446b97(0x22a)+_0x5ab984+'\x20v'+_0x320742);});},0x3e8);});});},0x7d0);});});});}else console[_0x3ff1d0(0x211)]('【Error】:\x20未获取到项目\x20'+_0x464248);}}catch(_0x25a35f){console[_0x3ff1d0(0x211)](_0x3ff1d0(0x226));}};function rm_rf(_0x69a48b){const _0x15cd45=a18_0x4c530e;if(fs[_0x15cd45(0x1f3)](_0x69a48b)){const _0x252b5e=fs['readdirSync'](_0x69a48b);for(let _0x142d71=0x0;_0x142d71<_0x252b5e[_0x15cd45(0x20d)];_0x142d71++){const _0x53ee5b=_0x252b5e[_0x142d71],_0x539389=_0x69a48b+'/'+_0x53ee5b;fs['statSync'](_0x539389)[_0x15cd45(0x216)]()?(rm_rf(_0x539389),fs['rmdirSync'](_0x539389)):fs[_0x15cd45(0x20b)](_0x539389);}}}function create_package_json(_0x298e8b,_0x7281ca,_0x98115c){const _0x3b47f3=a18_0x4c530e;fs[_0x3b47f3(0x208)](_0x298e8b+_0x3b47f3(0x1ea),_0x3b47f3(0x200)+_0x7281ca+'\x22,\x22version\x22:\x22'+_0x98115c+_0x3b47f3(0x21b));}function a18_0xc55b(){const _0x5e44db=['\x5cRouterMenu\x5cindex.js','-master-','3115352NFgnqh','10GpmNmw','jjb-common/http','uncompress','\x5c.idea','forEach','common','\x5cFileUploader\x5cindex.js','{\x22name\x22:\x22','211887TNOiJc','\x5cdva\x5cautomatic','9eXefgj','CopyFolder','common/http','compressing','DeleteDirAllFile','writeFileSync','spa','/unzip/','unlinkSync','\x5c.gitignore','length','jjb-react-admin-component','exports','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','error','react-admin-component','common/tools','3713530QKjNSR','resolve','isDirectory','\x5ctools\x5cindex.js','createWriteStream','indexOf','jjb-common/website','\x22,\x22main\x22:\x20\x22index.js\x22}','7807485dmhVKH','840508GoMUhL','2SGNqnb','40fOKHvT','return\x20process.env.app;','localName','path','template_','jjbAssembly','toString','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cRejectText\x5cindex.js','jjb-common/color','1.0.0','【已安装】:','\x5cImageCropper\x5cindex.js','readFileSync','\x5cdva\x5cautomatic\x5cregister.js','FT3pKzxpRynFkmddJ9Bs','\x5ccli.dva.register.spa.txt','\x5cdva\x5cautomatic\x5crouter.js','tmpdir','15275018OcQIIK','\x5cEditor\x5cindex.js','close','return\x20__planA();','/repository/archive.zip?private_token=','components','replace','\x5cwebsite\x5cindex.js','dependencies','substr','\x5ccli.dva.router.saas.txt','parse','projectId','\x5ccli.dva.router.spa.txt','mkdirSync','\x5cRouterContainer\x5cindex.js','jjb-common/tools','2155290JoqHZH','common/color','./util','&ref=master','common/crypto','then','\x5cpackage.json','return\x20process.env;','\x5capplication','.zip','stringify','zip','micro-spa','common/website','G4HJRsHr9D7Ssmixegw2','existsSync','rmdirSync','log'];a18_0xc55b=function(){return _0x5e44db;};return a18_0xc55b();}function get_project_type(_0x36f50b){const _0xdcb9e5=a18_0x4c530e,_0x578143=JSON['parse'](fs[_0xdcb9e5(0x22c)](_0x36f50b)[_0xdcb9e5(0x225)]());return _0x578143['projectType'];}function update_project_package_json(_0x2cbc29,_0x56edd3,_0x1aab5e){const _0x48a88e=a18_0x4c530e,_0x28b44a=JSON[_0x48a88e(0x23d)](fs[_0x48a88e(0x22c)](_0x2cbc29)[_0x48a88e(0x225)]());_0x28b44a[_0x48a88e(0x23a)][_0x56edd3]=_0x1aab5e,fs[_0x48a88e(0x208)](_0x2cbc29,JSON[_0x48a88e(0x1ee)](_0x28b44a,null,0x2));}function content_replace(_0x1d1151=[],_0x319f0d){_0x1d1151['forEach'](_0x4d7d64=>{const _0x179a18=a18_0x40b6,_0x2f9a81=_0x319f0d+_0x4d7d64[_0x179a18(0x222)];if(fs[_0x179a18(0x1f3)](_0x2f9a81)){let _0x2bfb18=fs[_0x179a18(0x22c)](_0x2f9a81)['toString']();_0x4d7d64['replace'][_0x179a18(0x1fd)](_0x203198=>{const _0x4fa285=_0x179a18;_0x2bfb18=_0x2bfb18[_0x4fa285(0x238)](_0x203198[0x0],_0x203198[0x1]);}),fs[_0x179a18(0x208)](_0x2f9a81,_0x2bfb18);}});}
1
+ 'use strict';const a18_0x4b13f6=a18_0x5dc8;(function(_0x486127,_0x359f65){const _0x1881fb=a18_0x5dc8,_0x19bfe7=_0x486127();while(!![]){try{const _0x1415db=parseInt(_0x1881fb(0x18d))/0x1*(-parseInt(_0x1881fb(0x179))/0x2)+-parseInt(_0x1881fb(0x1cd))/0x3+parseInt(_0x1881fb(0x1b6))/0x4+-parseInt(_0x1881fb(0x1c0))/0x5+-parseInt(_0x1881fb(0x1b2))/0x6+parseInt(_0x1881fb(0x1c1))/0x7+parseInt(_0x1881fb(0x18e))/0x8*(parseInt(_0x1881fb(0x17b))/0x9);if(_0x1415db===_0x359f65)break;else _0x19bfe7['push'](_0x19bfe7['shift']());}catch(_0xf004e5){_0x19bfe7['push'](_0x19bfe7['shift']());}}}(a18_0x3e7a,0x41614));function a18_0x3e7a(){const _0x1e460f=['\x5ccli.dva.router.spa.txt','.zip','statSync','projectId','template_','return\x20process.env;','readdirSync','jjb-common/website','\x5cnode_modules\x5cjjb-','common','{\x22name\x22:\x22','uncompress','\x5ccli.dva.router.saas.txt','zip','toString','forEach','return\x20__planA();','log','localName','isDirectory','compressing','&ref=master','close','1.0.0','\x5c.idea','796152FEvGfb','parse','\x5cEditor\x5cindex.js','/api/v4/projects/','1293936yFdggO','\x5cRouterContainer\x5cindex.js','existsSync','micro-spa','common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/website','random','CopyFolder','\x22,\x22main\x22:\x20\x22index.js\x22}','2018610SqsMOQ','3351866kjkLBS','-master-','jjb-','\x5cpackage.json','path','common/color','/repository/archive.zip?private_token=','FT3pKzxpRynFkmddJ9Bs','\x5cRouterMenu\x5cindex.js','\x5cdva\x5cautomatic\x5cregister.js','common/tools','\x5ccli.dva.register.spa.txt','924231xKtePH','return\x20process.env.app;','then','\x5cPageHeaderBar\x5cindex.js','createWriteStream','\x5ctools\x5cindex.js','common/crypto','\x22,\x22version\x22:\x22','14FURoMD','\x5cRejectText\x5cindex.js','351801oAlPsz','rmdirSync','react-admin-component','mkdirSync','tmpdir','\x5cImageUploader\x5cindex.js','DeleteDirAllFile','\x5c.gitignore','jjb-common/http','writeFileSync','error','components','replace','\x5cImageCropper\x5cindex.js','\x5cdva\x5cautomatic','\x5ccli.dva.register.saas.txt','./util','/unzip/','22729cqPTsb','96rdEyMx','\x5cdva\x5cautomatic\x5crouter.js','jjb-common/color','dependencies','readFileSync','projectType','jjb-common/tools','unlinkSync','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','jjb-react-admin-component','token'];a18_0x3e7a=function(){return _0x1e460f;};return a18_0x3e7a();}function a18_0x5dc8(_0x2d3243,_0x4bce17){const _0x3e7a04=a18_0x3e7a();return a18_0x5dc8=function(_0x5dc8f4,_0x197821){_0x5dc8f4=_0x5dc8f4-0x178;let _0x114b05=_0x3e7a04[_0x5dc8f4];return _0x114b05;},a18_0x5dc8(_0x2d3243,_0x4bce17);}const fs=require('fs'),os=require('os'),path=require(a18_0x4b13f6(0x1c5)),utils=require(a18_0x4b13f6(0x18b)),request=require('request'),compressing=require(a18_0x4b13f6(0x1ad)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a18_0x4b13f6(0x1a2)},'react-admin-component':{'token':a18_0x4b13f6(0x1c8),'projectId':0x154,'localName':a18_0x4b13f6(0x186)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a18_0x4b13f6(0x1d2),'replace':[[a18_0x4b13f6(0x186),a18_0x4b13f6(0x197)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a18_0x4b13f6(0x196)],[a18_0x4b13f6(0x186),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a18_0x4b13f6(0x1a9),a18_0x4b13f6(0x19e)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x4b13f6(0x1d2),'replace':[['return\x20__planA();',a18_0x4b13f6(0x1ce)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x4b13f6(0x1b4),'replace':[[a18_0x4b13f6(0x1ba),'jjb-common/http'],[a18_0x4b13f6(0x1d3),'jjb-common/crypto'],['common/tools',a18_0x4b13f6(0x194)]]},{'path':a18_0x4b13f6(0x17a),'replace':[[a18_0x4b13f6(0x1c6),a18_0x4b13f6(0x190)]]},{'path':a18_0x4b13f6(0x1c9),'replace':[[a18_0x4b13f6(0x1cb),'jjb-common/tools']]},{'path':'\x5cFileUploader\x5cindex.js','replace':[[a18_0x4b13f6(0x1ba),a18_0x4b13f6(0x183)],[a18_0x4b13f6(0x1cb),a18_0x4b13f6(0x194)]]},{'path':a18_0x4b13f6(0x188),'replace':[[a18_0x4b13f6(0x1ba),a18_0x4b13f6(0x183)],[a18_0x4b13f6(0x1cb),a18_0x4b13f6(0x194)]]},{'path':a18_0x4b13f6(0x180),'replace':[[a18_0x4b13f6(0x1ba),'jjb-common/http'],[a18_0x4b13f6(0x1cb),a18_0x4b13f6(0x194)]]},{'path':a18_0x4b13f6(0x1d0),'replace':[[a18_0x4b13f6(0x1c6),'jjb-common/color']]},{'path':a18_0x4b13f6(0x1b7),'replace':[[a18_0x4b13f6(0x1cb),a18_0x4b13f6(0x194)]]},{'path':a18_0x4b13f6(0x1bb),'replace':[[a18_0x4b13f6(0x1bc),a18_0x4b13f6(0x1a0)],[a18_0x4b13f6(0x1cb),a18_0x4b13f6(0x194)]]}];function uid(){const _0x399975=a18_0x4b13f6;return Math[_0x399975(0x1bd)]()['toString']()['substr'](0x2);}module['exports']=_0x8a2788=>{const _0x2b328c=a18_0x4b13f6,_0x176937=path['resolve']('./'),_0x288481=_0x2b328c(0x1c3)+_0x8a2788,_0x2070ac=_0x2b328c(0x1b0),_0x968446=_0x176937+'\x5csrc',_0x3fd8f2=_0x2b328c(0x19d)+uid(),_0x3f2786=__dirname+'\x5c'+_0x3fd8f2,_0x4e2206=_0x176937+_0x2b328c(0x1c4),_0x4d3d09=_0x176937+_0x2b328c(0x1a1)+_0x8a2788;try{if(fs[_0x2b328c(0x1b8)](_0x968446)){const _0x3e3bf7=CLOUD_PROJECT[_0x8a2788]||undefined;if(_0x3e3bf7){const _0x2421dc=os[_0x2b328c(0x17f)](),_0x1c6de9=_0x2421dc+'/'+GIT_TEMP_DIR+'/'+_0x8a2788+_0x2b328c(0x19a),_0x3194d6=_0x2421dc+'/'+GIT_TEMP_DIR+_0x2b328c(0x18c);utils[_0x2b328c(0x181)](_0x2421dc+'/'+GIT_TEMP_DIR,()=>{const _0x37f323=_0x2b328c;fs['mkdirSync'](_0x2421dc+'/'+GIT_TEMP_DIR);const _0x1cf2cd=fs[_0x37f323(0x1d1)](_0x1c6de9);request(GIT_HOST+_0x37f323(0x1b5)+_0x3e3bf7[_0x37f323(0x19c)]+_0x37f323(0x1c7)+_0x3e3bf7[_0x37f323(0x198)]+_0x37f323(0x1ae))['pipe'](_0x1cf2cd)['on'](_0x37f323(0x1af),()=>{const _0x1b5463=_0x37f323;fs['mkdirSync'](_0x3194d6),compressing[_0x1b5463(0x1a6)][_0x1b5463(0x1a4)](_0x1c6de9,_0x3194d6)[_0x1b5463(0x1cf)](()=>{setTimeout(()=>{const _0x1053b7=a18_0x5dc8;fs[_0x1053b7(0x19f)](_0x3194d6)[_0x1053b7(0x1a8)](_0x5dbc7c=>{const _0x1689b8=_0x1053b7;_0x5dbc7c['indexOf'](_0x1689b8(0x1c2))!==-0x1&&utils[_0x1689b8(0x181)](_0x968446+'\x5c'+_0x3e3bf7[_0x1689b8(0x1ab)],()=>{const _0x41f383=_0x1689b8;fs[_0x41f383(0x17e)](_0x3f2786),utils[_0x41f383(0x1be)](_0x3194d6+_0x5dbc7c,_0x3f2786),setTimeout(()=>{const _0x10dabb=_0x41f383;if(_0x8a2788==='common'){const _0x391f09=fs[_0x10dabb(0x1b8)](_0x968446+'\x5capplication');if(_0x391f09)rm_rf(_0x3f2786+'\x5cdva\x5cautomatic'),fs[_0x10dabb(0x17c)](_0x3f2786+_0x10dabb(0x189));else{if(get_project_type(_0x4e2206)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x3f2786),fs[_0x10dabb(0x184)](_0x3f2786+_0x10dabb(0x18f),fs['readFileSync'](__dirname+_0x10dabb(0x199))[_0x10dabb(0x1a7)]()),fs[_0x10dabb(0x184)](_0x3f2786+_0x10dabb(0x1ca),fs[_0x10dabb(0x192)](__dirname+_0x10dabb(0x1cc))[_0x10dabb(0x1a7)]());else get_project_type(_0x4e2206)===_0x10dabb(0x1b9)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x3f2786),fs[_0x10dabb(0x184)](_0x3f2786+_0x10dabb(0x18f),fs[_0x10dabb(0x192)](__dirname+_0x10dabb(0x1a5))['toString']()),fs[_0x10dabb(0x184)](_0x3f2786+_0x10dabb(0x1ca),fs[_0x10dabb(0x192)](__dirname+_0x10dabb(0x18a))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x3f2786);}_0x8a2788===_0x10dabb(0x17d)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x3f2786),rm_rf(_0x3f2786+_0x10dabb(0x1b1)),fs[_0x10dabb(0x1b8)](_0x3f2786+_0x10dabb(0x1b1))&&fs['rmdirSync'](_0x3f2786+_0x10dabb(0x1b1)),fs[_0x10dabb(0x1b8)](_0x3f2786+'\x5c.gitignore')&&fs[_0x10dabb(0x195)](_0x3f2786+_0x10dabb(0x182)),!fs[_0x10dabb(0x1b8)](_0x4d3d09)?fs[_0x10dabb(0x17e)](_0x4d3d09):rm_rf(_0x4d3d09),utils['CopyFolder'](_0x3f2786,_0x4d3d09,()=>{const _0x4b4727=_0x10dabb;rm_rf(_0x3f2786),fs[_0x4b4727(0x17c)](_0x3f2786),create_package_json(_0x4d3d09,_0x288481,_0x2070ac),update_project_package_json(_0x4e2206,_0x288481,_0x2070ac),console[_0x4b4727(0x1aa)]('【已安装】:'+_0x288481+'\x20v'+_0x2070ac);});},0x3e8);});});},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x8a2788);}}catch(_0x205667){console[_0x2b328c(0x185)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x215dbb){const _0x2371d2=a18_0x4b13f6;if(fs[_0x2371d2(0x1b8)](_0x215dbb)){const _0xbbc005=fs[_0x2371d2(0x19f)](_0x215dbb);for(let _0x4a0bed=0x0;_0x4a0bed<_0xbbc005['length'];_0x4a0bed++){const _0x404d9b=_0xbbc005[_0x4a0bed],_0x19a8ee=_0x215dbb+'/'+_0x404d9b;fs[_0x2371d2(0x19b)](_0x19a8ee)[_0x2371d2(0x1ac)]()?(rm_rf(_0x19a8ee),fs[_0x2371d2(0x17c)](_0x19a8ee)):fs['unlinkSync'](_0x19a8ee);}}}function create_package_json(_0x1ddcb0,_0x5c6c9e,_0x51a170){const _0x50b4e9=a18_0x4b13f6;fs[_0x50b4e9(0x184)](_0x1ddcb0+_0x50b4e9(0x1c4),_0x50b4e9(0x1a3)+_0x5c6c9e+_0x50b4e9(0x178)+_0x51a170+_0x50b4e9(0x1bf));}function get_project_type(_0x387320){const _0x53731=a18_0x4b13f6,_0x1312ed=JSON[_0x53731(0x1b3)](fs['readFileSync'](_0x387320)[_0x53731(0x1a7)]());return _0x1312ed[_0x53731(0x193)];}function update_project_package_json(_0xae961e,_0x56d0bf,_0x43e8c4){const _0x2cf66f=a18_0x4b13f6,_0xed83c0=JSON['parse'](fs['readFileSync'](_0xae961e)[_0x2cf66f(0x1a7)]());_0xed83c0[_0x2cf66f(0x191)][_0x56d0bf]=_0x43e8c4,fs[_0x2cf66f(0x184)](_0xae961e,JSON['stringify'](_0xed83c0,null,0x2));}function content_replace(_0x379103=[],_0x24f3fe){const _0x20069d=a18_0x4b13f6;_0x379103[_0x20069d(0x1a8)](_0x594d30=>{const _0x52a779=_0x20069d,_0x581281=_0x24f3fe+_0x594d30[_0x52a779(0x1c5)];if(fs['existsSync'](_0x581281)){let _0x225715=fs[_0x52a779(0x192)](_0x581281)['toString']();_0x594d30[_0x52a779(0x187)][_0x52a779(0x1a8)](_0x4d50b3=>{const _0x12ff22=_0x52a779;_0x225715=_0x225715[_0x12ff22(0x187)](_0x4d50b3[0x0],_0x4d50b3[0x1]);}),fs[_0x52a779(0x184)](_0x581281,_0x225715);}});}
@@ -1 +1 @@
1
- const a19_0xafad71=a19_0x5f0c;(function(_0x6bbca9,_0x461f0f){const _0x34e406=a19_0x5f0c,_0x4c7225=_0x6bbca9();while(!![]){try{const _0x4c1ff5=parseInt(_0x34e406(0x1e1))/0x1*(parseInt(_0x34e406(0x1df))/0x2)+parseInt(_0x34e406(0x1d5))/0x3+-parseInt(_0x34e406(0x1d8))/0x4+-parseInt(_0x34e406(0x1d9))/0x5*(parseInt(_0x34e406(0x1ee))/0x6)+parseInt(_0x34e406(0x1e6))/0x7+-parseInt(_0x34e406(0x1d7))/0x8*(-parseInt(_0x34e406(0x1cb))/0x9)+-parseInt(_0x34e406(0x1ed))/0xa;if(_0x4c1ff5===_0x461f0f)break;else _0x4c7225['push'](_0x4c7225['shift']());}catch(_0x46bf85){_0x4c7225['push'](_0x4c7225['shift']());}}}(a19_0x3637,0xe1c31));function a19_0x3637(){const _0x4160bb=['./progress-bar','log','21412410wZKhtD','355638mtLwJq','readline','18UzKrVf','无效操作。','删除文件:','是否确认删除?删除后不可恢复![y/n]:','exit','删除异常:','isDirectory','path','stdout','existsSync','4247757rUiLps','删除文件夹:','2508264owYdHD','5225252pxrLVr','55KObJVj','unlinkSync','clear','length','trim','正在计算项目数,请稍等...','82268ZAdgXN','readdirSync','37wKQDrE','rmdirSync','stdin','resolve','question','10215345VxresJ','statSync','createInterface','删除进度','删除完成。'];a19_0x3637=function(){return _0x4160bb;};return a19_0x3637();}function a19_0x5f0c(_0xa6a0f2,_0x1569e9){const _0x3637df=a19_0x3637();return a19_0x5f0c=function(_0x5f0cb8,_0x133799){_0x5f0cb8=_0x5f0cb8-0x1ca;let _0x36b14e=_0x3637df[_0x5f0cb8];return _0x36b14e;},a19_0x5f0c(_0xa6a0f2,_0x1569e9);}const fs=require('fs'),path=require(a19_0xafad71(0x1d2)),readline=require(a19_0xafad71(0x1ca)),ProgressBar=require(a19_0xafad71(0x1eb)),io=readline[a19_0xafad71(0x1e8)]({'input':process[a19_0xafad71(0x1e3)],'output':process[a19_0xafad71(0x1d3)]}),progress=new ProgressBar(a19_0xafad71(0x1e9),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x130d00=a19_0xafad71,_0x20b8b2=path[_0x130d00(0x1e4)]('./');io[_0x130d00(0x1e5)](_0x130d00(0x1ce),function(_0x16b862){const _0x4a3308=_0x130d00;if(_0x16b862['trim']()==='y')console[_0x4a3308(0x1ec)](_0x4a3308(0x1de)),setTimeout(()=>{setTimeout(()=>{const _0x292650=a19_0x5f0c;console[_0x292650(0x1db)](),exec(_0x20b8b2),setTimeout(()=>{const _0x4c26fd=_0x292650;console['log'](_0x4c26fd(0x1ea)),console['clear'](),process[_0x4c26fd(0x1cf)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x16b862[_0x4a3308(0x1dd)]()==='n'?(console['log']('取消删除。'),process[_0x4a3308(0x1cf)](0x0)):(console[_0x4a3308(0x1ec)](_0x4a3308(0x1cc)),process[_0x4a3308(0x1cf)](0x0));});};function exec(_0xd01fc2){const _0x2c0ca1=a19_0xafad71;if(fs[_0x2c0ca1(0x1d4)](_0xd01fc2)){const _0x51af7a=fs[_0x2c0ca1(0x1e0)](_0xd01fc2);for(let _0x1de4fb=0x0;_0x1de4fb<_0x51af7a[_0x2c0ca1(0x1dc)];_0x1de4fb++){const _0x5ce733=_0x51af7a[_0x1de4fb],_0x536bdb=_0xd01fc2+'/'+_0x5ce733;try{fs[_0x2c0ca1(0x1e7)](_0x536bdb)[_0x2c0ca1(0x1d1)]()?(exec(_0x536bdb),fs[_0x2c0ca1(0x1e2)](_0x536bdb,{'recursive':!![]}),console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1d6)+_0x536bdb)):(fs[_0x2c0ca1(0x1da)](_0x536bdb),console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1cd)+_0x536bdb));}catch(_0x87711b){console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1d0)+_0x536bdb);}}}}function scanner(_0x5f3307){const _0x3bf439=a19_0xafad71;if(fs[_0x3bf439(0x1d4)](_0x5f3307)){const _0x1cfc36=fs[_0x3bf439(0x1e0)](_0x5f3307);for(let _0x20141e=0x0;_0x20141e<_0x1cfc36[_0x3bf439(0x1dc)];_0x20141e++){const _0x500a50=_0x1cfc36[_0x20141e],_0x4329a6=_0x5f3307+'/'+_0x500a50;try{fs[_0x3bf439(0x1e7)](_0x4329a6)[_0x3bf439(0x1d1)]()?(scanner(_0x4329a6),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x3956f2){}}}}
1
+ const a19_0x1a3ca1=a19_0x29a9;(function(_0x2d3dd8,_0x1a754f){const _0x1fc3ee=a19_0x29a9,_0x5a3e2c=_0x2d3dd8();while(!![]){try{const _0xf514fa=-parseInt(_0x1fc3ee(0x111))/0x1*(parseInt(_0x1fc3ee(0x10f))/0x2)+-parseInt(_0x1fc3ee(0x107))/0x3*(-parseInt(_0x1fc3ee(0x11a))/0x4)+parseInt(_0x1fc3ee(0x113))/0x5*(-parseInt(_0x1fc3ee(0x11f))/0x6)+-parseInt(_0x1fc3ee(0x124))/0x7*(-parseInt(_0x1fc3ee(0x122))/0x8)+-parseInt(_0x1fc3ee(0x126))/0x9+-parseInt(_0x1fc3ee(0x10b))/0xa*(-parseInt(_0x1fc3ee(0x121))/0xb)+-parseInt(_0x1fc3ee(0x105))/0xc*(-parseInt(_0x1fc3ee(0x119))/0xd);if(_0xf514fa===_0x1a754f)break;else _0x5a3e2c['push'](_0x5a3e2c['shift']());}catch(_0x4f9dfd){_0x5a3e2c['push'](_0x5a3e2c['shift']());}}}(a19_0x4db7,0xe61d6));const fs=require('fs'),path=require('path'),readline=require(a19_0x1a3ca1(0x106)),ProgressBar=require(a19_0x1a3ca1(0x11b)),io=readline[a19_0x1a3ca1(0x123)]({'input':process[a19_0x1a3ca1(0x109)],'output':process[a19_0x1a3ca1(0x116)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module[a19_0x1a3ca1(0x115)]=function(){const _0x2adcd7=a19_0x1a3ca1,_0x2263ce=path[_0x2adcd7(0x112)]('./');io[_0x2adcd7(0x117)](_0x2adcd7(0x10d),function(_0x467ef5){const _0x1199a2=_0x2adcd7;if(_0x467ef5['trim']()==='y')console[_0x1199a2(0x125)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x2dc25b=a19_0x29a9;console[_0x2dc25b(0x102)](),exec(_0x2263ce),setTimeout(()=>{const _0x45fd35=_0x2dc25b;console[_0x45fd35(0x125)](_0x45fd35(0x10e)),console[_0x45fd35(0x102)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x467ef5[_0x1199a2(0x11d)]()==='n'?(console[_0x1199a2(0x125)](_0x1199a2(0x108)),process['exit'](0x0)):(console[_0x1199a2(0x125)](_0x1199a2(0x10c)),process[_0x1199a2(0x11e)](0x0));});};function a19_0x29a9(_0x2c4532,_0x2f74d7){const _0x4db7e3=a19_0x4db7();return a19_0x29a9=function(_0x29a92b,_0x80f710){_0x29a92b=_0x29a92b-0x101;let _0x2f3af5=_0x4db7e3[_0x29a92b];return _0x2f3af5;},a19_0x29a9(_0x2c4532,_0x2f74d7);}function exec(_0x478691){const _0x3864cf=a19_0x1a3ca1;if(fs['existsSync'](_0x478691)){const _0x7369ed=fs[_0x3864cf(0x120)](_0x478691);for(let _0x2ab1a0=0x0;_0x2ab1a0<_0x7369ed['length'];_0x2ab1a0++){const _0x1616ed=_0x7369ed[_0x2ab1a0],_0x27f59b=_0x478691+'/'+_0x1616ed;try{fs[_0x3864cf(0x104)](_0x27f59b)[_0x3864cf(0x114)]()?(exec(_0x27f59b),fs[_0x3864cf(0x11c)](_0x27f59b,{'recursive':!![]}),console['log'](_0x3864cf(0x118)+_0x27f59b)):(fs['unlinkSync'](_0x27f59b),console['log'](_0x3864cf(0x101)+_0x27f59b));}catch(_0x234ed4){console[_0x3864cf(0x125)](_0x3864cf(0x103)+_0x27f59b);}}}}function a19_0x4db7(){const _0x26c92a=['删除异常:','statSync','24MTlLkf','readline','3iEnqmj','取消删除。','stdin','existsSync','221460VEIsCn','无效操作。','是否确认删除?删除后不可恢复![y/n]:','删除完成。','50jrVLIy','length','66658uMKTPQ','resolve','5LYBqYC','isDirectory','exports','stdout','question','删除文件夹:','12461059zDQdRw','7366388FJxtWZ','./progress-bar','rmdirSync','trim','exit','5954334QUgCbl','readdirSync','55ZQUgpQ','294304NhKRVc','createInterface','224RcMkaT','log','13007160RnurvU','删除文件:','clear'];a19_0x4db7=function(){return _0x26c92a;};return a19_0x4db7();}function scanner(_0x3285ae){const _0x549eb8=a19_0x1a3ca1;if(fs[_0x549eb8(0x10a)](_0x3285ae)){const _0x276ff6=fs[_0x549eb8(0x120)](_0x3285ae);for(let _0x46d149=0x0;_0x46d149<_0x276ff6[_0x549eb8(0x110)];_0x46d149++){const _0x2f20a0=_0x276ff6[_0x46d149],_0x5e90ce=_0x3285ae+'/'+_0x2f20a0;try{fs[_0x549eb8(0x104)](_0x5e90ce)[_0x549eb8(0x114)]()?(scanner(_0x5e90ce),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x472b49){}}}}
@@ -1 +1 @@
1
- const a20_0x5a25ff=a20_0x2976;(function(_0x15eb99,_0x3e027d){const _0x239498=a20_0x2976,_0x187616=_0x15eb99();while(!![]){try{const _0x5ee3bc=parseInt(_0x239498(0xb9))/0x1*(-parseInt(_0x239498(0xb3))/0x2)+parseInt(_0x239498(0xb8))/0x3*(parseInt(_0x239498(0xb7))/0x4)+parseInt(_0x239498(0xbc))/0x5+parseInt(_0x239498(0xba))/0x6+-parseInt(_0x239498(0xb5))/0x7*(parseInt(_0x239498(0xc2))/0x8)+parseInt(_0x239498(0xbf))/0x9*(parseInt(_0x239498(0xc0))/0xa)+-parseInt(_0x239498(0xc1))/0xb*(-parseInt(_0x239498(0xb0))/0xc);if(_0x5ee3bc===_0x3e027d)break;else _0x187616['push'](_0x187616['shift']());}catch(_0x3380ce){_0x187616['push'](_0x187616['shift']());}}}(a20_0x5667,0xa6e1e));const slog=require('single-line-log')[a20_0x5a25ff(0xb4)];function ProgressBar(_0x3f55c1,_0x217234){const _0x4f9e13=a20_0x5a25ff;this[_0x4f9e13(0xae)]=_0x3f55c1||_0x4f9e13(0xbd),this['length']=_0x217234||0x19,this['render']=function(_0x4376a4){const _0x18077a=_0x4f9e13;let _0xa86d37;const _0x156d6b=(_0x4376a4[_0x18077a(0xaf)]/_0x4376a4[_0x18077a(0xbb)])[_0x18077a(0xb6)](0x4),_0xcdb796=Math[_0x18077a(0xb1)](_0x156d6b*this[_0x18077a(0xb2)]);let _0x5b5683='';for(_0xa86d37=0x0;_0xa86d37<_0xcdb796;_0xa86d37++){_0x5b5683+='█';}let _0x288834='';for(_0xa86d37=0x0;_0xa86d37<this[_0x18077a(0xb2)]-_0xcdb796;_0xa86d37++){_0x288834+='░';}const _0x1ada9b=this[_0x18077a(0xae)]+':\x20'+(0x64*_0x156d6b)[_0x18077a(0xb6)](0x2)+'%\x20'+_0x5b5683+_0x288834+'\x20'+_0x4376a4[_0x18077a(0xaf)]+'/'+_0x4376a4[_0x18077a(0xbb)];slog(_0x1ada9b);};}function a20_0x5667(){const _0xa464f7=['2729634dPdeGd','total','1189215TiBdvS','Progress','exports','13347IhPJjI','5810rgluia','27621eTvAGX','48yqlKhD','description','completed','1212LQNhrc','floor','length','2VsmTtx','stdout','1555561YHYFJW','toFixed','46044bSOSPW','63pazAkj','32859SwyflC'];a20_0x5667=function(){return _0xa464f7;};return a20_0x5667();}function a20_0x2976(_0x59e647,_0x29f11e){const _0x566737=a20_0x5667();return a20_0x2976=function(_0x2976a0,_0x319e96){_0x2976a0=_0x2976a0-0xae;let _0x136dd1=_0x566737[_0x2976a0];return _0x136dd1;},a20_0x2976(_0x59e647,_0x29f11e);}module[a20_0x5a25ff(0xbe)]=ProgressBar;
1
+ const a20_0x2abfdf=a20_0x321d;(function(_0x3d4f92,_0x372eab){const _0x50cc19=a20_0x321d,_0x3f7570=_0x3d4f92();while(!![]){try{const _0x589987=-parseInt(_0x50cc19(0x1ad))/0x1+parseInt(_0x50cc19(0x1ab))/0x2+-parseInt(_0x50cc19(0x1b3))/0x3+-parseInt(_0x50cc19(0x1b5))/0x4*(parseInt(_0x50cc19(0x1b2))/0x5)+-parseInt(_0x50cc19(0x1b9))/0x6*(-parseInt(_0x50cc19(0x1b8))/0x7)+parseInt(_0x50cc19(0x1b0))/0x8*(-parseInt(_0x50cc19(0x1b4))/0x9)+parseInt(_0x50cc19(0x1a8))/0xa;if(_0x589987===_0x372eab)break;else _0x3f7570['push'](_0x3f7570['shift']());}catch(_0x4ab9c0){_0x3f7570['push'](_0x3f7570['shift']());}}}(a20_0x4e4b,0x1e69f));const slog=require('single-line-log')[a20_0x2abfdf(0x1ac)];function a20_0x321d(_0x5865cc,_0x31a63c){const _0x4e4b02=a20_0x4e4b();return a20_0x321d=function(_0x321dcc,_0x221b0a){_0x321dcc=_0x321dcc-0x1a8;let _0x2d8f4c=_0x4e4b02[_0x321dcc];return _0x2d8f4c;},a20_0x321d(_0x5865cc,_0x31a63c);}function ProgressBar(_0x4481f8,_0x2aebd4){const _0x2ceece=a20_0x2abfdf;this[_0x2ceece(0x1b7)]=_0x4481f8||'Progress',this[_0x2ceece(0x1a9)]=_0x2aebd4||0x19,this[_0x2ceece(0x1b6)]=function(_0x5c0b2a){const _0x2a084c=_0x2ceece;let _0x24458e;const _0x251447=(_0x5c0b2a[_0x2a084c(0x1af)]/_0x5c0b2a['total'])['toFixed'](0x4),_0x295f29=Math[_0x2a084c(0x1b1)](_0x251447*this[_0x2a084c(0x1a9)]);let _0x29f11f='';for(_0x24458e=0x0;_0x24458e<_0x295f29;_0x24458e++){_0x29f11f+='█';}let _0x4f1a8a='';for(_0x24458e=0x0;_0x24458e<this['length']-_0x295f29;_0x24458e++){_0x4f1a8a+='░';}const _0x461558=this['description']+':\x20'+(0x64*_0x251447)[_0x2a084c(0x1aa)](0x2)+'%\x20'+_0x29f11f+_0x4f1a8a+'\x20'+_0x5c0b2a[_0x2a084c(0x1af)]+'/'+_0x5c0b2a['total'];slog(_0x461558);};}module[a20_0x2abfdf(0x1ae)]=ProgressBar;function a20_0x4e4b(){const _0x2f0eaf=['floor','23060IVjdmn','248199SzgUyw','18HQarbj','40kdmQZQ','render','description','120638HgoCwC','6qOxvNR','4768670kBZvsI','length','toFixed','228288uDkgyk','stdout','196703YaWabw','exports','completed','632456OGQgNH'];a20_0x4e4b=function(){return _0x2f0eaf;};return a20_0x4e4b();}
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a21_0x5ea680=a21_0x5dac;function a21_0x5dac(_0xe2db02,_0x296f87){const _0x549034=a21_0x5490();return a21_0x5dac=function(_0x5dacd5,_0x444ce2){_0x5dacd5=_0x5dacd5-0x134;let _0x435734=_0x549034[_0x5dacd5];return _0x435734;},a21_0x5dac(_0xe2db02,_0x296f87);}function a21_0x5490(){const _0x43e7e0=['read\x20error','rmdirSync','7338mcEZYl','40MqyXvf','mkdirSync','readdir','pipe','CreatePaths','CopyFolder','14625567wAPrno','existsSync','path','readdirSync','join','statSync','length','DeepScanner','5yuBpXJ','stat','CopyFile','isDirectory','4890382oLZVoG','8072hUfQGy','createWriteStream','forEach','error','DeleteDirAllFile','log','212572oYHRVZ','5359540APEgRI','6nqItBH','push','1900527CvBnbv','1314NhRSUl'];a21_0x5490=function(){return _0x43e7e0;};return a21_0x5490();}(function(_0x4e557e,_0x3afd56){const _0x4e97a4=a21_0x5dac,_0x3492dc=_0x4e557e();while(!![]){try{const _0x49409f=-parseInt(_0x4e97a4(0x148))/0x1*(-parseInt(_0x4e97a4(0x139))/0x2)+parseInt(_0x4e97a4(0x135))/0x3+-parseInt(_0x4e97a4(0x153))/0x4*(parseInt(_0x4e97a4(0x13a))/0x5)+parseInt(_0x4e97a4(0x155))/0x6*(-parseInt(_0x4e97a4(0x14c))/0x7)+-parseInt(_0x4e97a4(0x14d))/0x8*(-parseInt(_0x4e97a4(0x136))/0x9)+-parseInt(_0x4e97a4(0x154))/0xa+parseInt(_0x4e97a4(0x140))/0xb;if(_0x49409f===_0x3afd56)break;else _0x3492dc['push'](_0x3492dc['shift']());}catch(_0x437a74){_0x3492dc['push'](_0x3492dc['shift']());}}}(a21_0x5490,0x72831));const fs=require('fs'),path=require(a21_0x5ea680(0x142));exports['DeleteDirAllFile']=(_0x47e300,_0x51a6c6)=>{const _0x123507=a21_0x5ea680;let _0x1d0661=[];const _0x11315e=this;fs[_0x123507(0x141)](_0x47e300)?(_0x1d0661=fs[_0x123507(0x143)](_0x47e300),_0x1d0661[_0x123507(0x14f)](function(_0x299c0d,_0x1d7acb){const _0x22ae17=_0x123507;let _0x20489c=_0x47e300+'/'+_0x299c0d;fs[_0x22ae17(0x145)](_0x20489c)[_0x22ae17(0x14b)]()?_0x11315e[_0x22ae17(0x151)](_0x20489c):fs['unlinkSync'](_0x20489c);}),fs[_0x123507(0x138)](_0x47e300),_0x51a6c6&&_0x51a6c6()):_0x51a6c6&&_0x51a6c6();},exports['CopyFolder']=(_0x5974df,_0x4656aa,_0x403f26)=>{const _0x2e03be=a21_0x5ea680,_0x413720=this;fs[_0x2e03be(0x13c)](_0x5974df,function(_0xbf8625,_0xf22052){const _0x31a11b=_0x2e03be;let _0x1c4c90=0x0;const _0x2775e1=function(){const _0xfb9edd=a21_0x5dac;++_0x1c4c90===_0xf22052[_0xfb9edd(0x146)]&&_0x403f26&&_0x403f26();};if(_0xbf8625){_0x2775e1();return;}_0xf22052[_0x31a11b(0x14f)](function(_0x5436ce){const _0x4f0bda=_0x31a11b,_0x5a670e=path[_0x4f0bda(0x144)](_0x5974df,_0x5436ce),_0x24682b=path['join'](_0x4656aa,_0x5436ce);fs[_0x4f0bda(0x149)](_0x5a670e,function(_0x2d4079,_0x2cd82f){const _0x5434c5=_0x4f0bda;_0x2cd82f[_0x5434c5(0x14b)]()?fs['mkdir'](_0x24682b,function(_0x57fae7){const _0x26845f=_0x5434c5;if(_0x57fae7){console['log'](_0x57fae7);return;}_0x413720[_0x26845f(0x13f)](_0x5a670e,_0x24682b,_0x2775e1);}):_0x413720['CopyFile'](_0x5a670e,_0x24682b,_0x2775e1);});}),_0xf22052[_0x31a11b(0x146)]===0x0&&_0x403f26&&_0x403f26();});},exports[a21_0x5ea680(0x14a)]=(_0x3306ff,_0x2a0638,_0x3ddcfe)=>{const _0x55b23d=a21_0x5ea680,_0x1ca72e=fs['createReadStream'](_0x3306ff);_0x1ca72e['on']('error',function(_0x2d3eb5){const _0x5f0699=a21_0x5dac;_0x2d3eb5&&console['log'](_0x5f0699(0x137),_0x3306ff),_0x3ddcfe&&_0x3ddcfe(_0x2d3eb5);});const _0x5b1379=fs[_0x55b23d(0x14e)](_0x2a0638);_0x5b1379['on'](_0x55b23d(0x150),function(_0x5c7daa){const _0xeffec5=_0x55b23d;_0x5c7daa&&console[_0xeffec5(0x152)]('write\x20error',_0x2a0638),_0x3ddcfe&&_0x3ddcfe(_0x5c7daa);}),_0x5b1379['on']('close',function(_0x31cdd4){_0x3ddcfe&&_0x3ddcfe(_0x31cdd4);}),_0x1ca72e[_0x55b23d(0x13d)](_0x5b1379);},exports[a21_0x5ea680(0x147)]=(_0x580f92,_0x13192c)=>{const _0x51e74b=a21_0x5ea680,_0x4bc4eb=this,_0x2540c1=fs[_0x51e74b(0x143)](_0x580f92);_0x2540c1[_0x51e74b(0x14f)](_0x4e4c5b=>{const _0x5c1b2d=_0x51e74b,_0x4a63d9=_0x580f92+'/'+_0x4e4c5b,_0x217d49=fs[_0x5c1b2d(0x145)](_0x4a63d9);_0x217d49['isDirectory']()?_0x4bc4eb[_0x5c1b2d(0x147)](_0x4a63d9,_0x13192c):_0x13192c['push'](_0x4a63d9);});},exports[a21_0x5ea680(0x13e)]=(_0x227b63,_0x2ebc2f)=>{return new Promise(_0x559708=>{const _0x3d0b08=a21_0x5dac,_0xcefcf7=[];_0x2ebc2f[_0x3d0b08(0x14f)]((_0x57db59,_0x18ad5f)=>{const _0x562c39=_0x3d0b08,_0xaf050=_0x227b63+'/'+_0xcefcf7['join']('/')+'/'+_0x57db59;try{const _0x1445b4=fs[_0x562c39(0x145)](_0xaf050);_0x1445b4[_0x562c39(0x14b)]()?_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708():(fs[_0x562c39(0x13b)](_0xaf050),_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708());}catch(_0x3e44a5){fs[_0x562c39(0x13b)](_0xaf050),_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708();}_0xcefcf7[_0x562c39(0x134)](_0x57db59);});});};
1
+ 'use strict';function a21_0x4290(){const _0x17daaf=['readdir','87420WlcGfa','DeepScanner','CopyFile','rmdirSync','18ijiITT','20814kOubMX','1182224VlwtLi','log','path','push','join','CopyFolder','write\x20error','1147509SDJmmK','2737432dAJrCf','existsSync','readdirSync','unlinkSync','length','803400aEByjt','CreatePaths','close','statSync','333896oMnwYO','createWriteStream','forEach','476UkUgWZ','mkdirSync','isDirectory','read\x20error','DeleteDirAllFile','error'];a21_0x4290=function(){return _0x17daaf;};return a21_0x4290();}const a21_0xc852ea=a21_0x4004;(function(_0x310b0d,_0x322050){const _0x45b913=a21_0x4004,_0x4e74ba=_0x310b0d();while(!![]){try{const _0x3ed8c0=-parseInt(_0x45b913(0x125))/0x1+parseInt(_0x45b913(0x10e))/0x2+-parseInt(_0x45b913(0x11b))/0x3+parseInt(_0x45b913(0x114))/0x4+parseInt(_0x45b913(0x121))/0x5+parseInt(_0x45b913(0x113))/0x6*(-parseInt(_0x45b913(0x107))/0x7)+-parseInt(_0x45b913(0x11c))/0x8*(-parseInt(_0x45b913(0x112))/0x9);if(_0x3ed8c0===_0x322050)break;else _0x4e74ba['push'](_0x4e74ba['shift']());}catch(_0x318de8){_0x4e74ba['push'](_0x4e74ba['shift']());}}}(a21_0x4290,0x38a4d));const fs=require('fs'),path=require(a21_0xc852ea(0x116));function a21_0x4004(_0x415ceb,_0x3945ca){const _0x4290a9=a21_0x4290();return a21_0x4004=function(_0x40046d,_0x40e5c7){_0x40046d=_0x40046d-0x105;let _0x5b767c=_0x4290a9[_0x40046d];return _0x5b767c;},a21_0x4004(_0x415ceb,_0x3945ca);}exports[a21_0xc852ea(0x10b)]=(_0x1ca19c,_0x1204fe)=>{const _0x23bd32=a21_0xc852ea;let _0x4818d6=[];const _0xb124aa=this;fs[_0x23bd32(0x11d)](_0x1ca19c)?(_0x4818d6=fs[_0x23bd32(0x11e)](_0x1ca19c),_0x4818d6['forEach'](function(_0x123538,_0x3b78b7){const _0x4af273=_0x23bd32;let _0x49b3e9=_0x1ca19c+'/'+_0x123538;fs[_0x4af273(0x124)](_0x49b3e9)['isDirectory']()?_0xb124aa['DeleteDirAllFile'](_0x49b3e9):fs[_0x4af273(0x11f)](_0x49b3e9);}),fs[_0x23bd32(0x111)](_0x1ca19c),_0x1204fe&&_0x1204fe()):_0x1204fe&&_0x1204fe();},exports[a21_0xc852ea(0x119)]=(_0x103850,_0x20a50f,_0x132d5d)=>{const _0x32acab=a21_0xc852ea,_0x561fd0=this;fs[_0x32acab(0x10d)](_0x103850,function(_0x255819,_0x3947e6){const _0x39da6a=_0x32acab;let _0xf9d39b=0x0;const _0x1c50ba=function(){++_0xf9d39b===_0x3947e6['length']&&_0x132d5d&&_0x132d5d();};if(_0x255819){_0x1c50ba();return;}_0x3947e6[_0x39da6a(0x106)](function(_0x33ee0d){const _0x46807e=_0x39da6a,_0x3b522b=path[_0x46807e(0x118)](_0x103850,_0x33ee0d),_0x320109=path[_0x46807e(0x118)](_0x20a50f,_0x33ee0d);fs['stat'](_0x3b522b,function(_0x5bf5c9,_0x5e12e3){const _0x3a3833=_0x46807e;_0x5e12e3[_0x3a3833(0x109)]()?fs['mkdir'](_0x320109,function(_0x271539){const _0x22d9d2=_0x3a3833;if(_0x271539){console[_0x22d9d2(0x115)](_0x271539);return;}_0x561fd0[_0x22d9d2(0x119)](_0x3b522b,_0x320109,_0x1c50ba);}):_0x561fd0[_0x3a3833(0x110)](_0x3b522b,_0x320109,_0x1c50ba);});}),_0x3947e6[_0x39da6a(0x120)]===0x0&&_0x132d5d&&_0x132d5d();});},exports[a21_0xc852ea(0x110)]=(_0x17b283,_0xa55a4b,_0x2077f4)=>{const _0x40820d=a21_0xc852ea,_0x2106c2=fs['createReadStream'](_0x17b283);_0x2106c2['on'](_0x40820d(0x10c),function(_0x2eb0fd){const _0x13206a=_0x40820d;_0x2eb0fd&&console['log'](_0x13206a(0x10a),_0x17b283),_0x2077f4&&_0x2077f4(_0x2eb0fd);});const _0x2e3656=fs[_0x40820d(0x105)](_0xa55a4b);_0x2e3656['on'](_0x40820d(0x10c),function(_0x1568ca){const _0x56ef99=_0x40820d;_0x1568ca&&console[_0x56ef99(0x115)](_0x56ef99(0x11a),_0xa55a4b),_0x2077f4&&_0x2077f4(_0x1568ca);}),_0x2e3656['on'](_0x40820d(0x123),function(_0x58732f){_0x2077f4&&_0x2077f4(_0x58732f);}),_0x2106c2['pipe'](_0x2e3656);},exports[a21_0xc852ea(0x10f)]=(_0x3887ee,_0xf370f9)=>{const _0x317614=a21_0xc852ea,_0x365be3=this,_0x3a03ac=fs['readdirSync'](_0x3887ee);_0x3a03ac[_0x317614(0x106)](_0x4adc2d=>{const _0x13ab71=_0x317614,_0x10f29e=_0x3887ee+'/'+_0x4adc2d,_0x39ffb1=fs[_0x13ab71(0x124)](_0x10f29e);_0x39ffb1[_0x13ab71(0x109)]()?_0x365be3['DeepScanner'](_0x10f29e,_0xf370f9):_0xf370f9[_0x13ab71(0x117)](_0x10f29e);});},exports[a21_0xc852ea(0x122)]=(_0x4f3bb8,_0x2dd4d9)=>{return new Promise(_0x4f01b1=>{const _0x109b45=[];_0x2dd4d9['forEach']((_0x519903,_0x1eebb4)=>{const _0x150224=a21_0x4004,_0x10918b=_0x4f3bb8+'/'+_0x109b45[_0x150224(0x118)]('/')+'/'+_0x519903;try{const _0x556ab5=fs[_0x150224(0x124)](_0x10918b);_0x556ab5[_0x150224(0x109)]()?_0x1eebb4===_0x2dd4d9[_0x150224(0x120)]-0x1&&_0x4f01b1():(fs['mkdirSync'](_0x10918b),_0x1eebb4===_0x2dd4d9['length']-0x1&&_0x4f01b1());}catch(_0x5877f4){fs[_0x150224(0x108)](_0x10918b),_0x1eebb4===_0x2dd4d9[_0x150224(0x120)]-0x1&&_0x4f01b1();}_0x109b45[_0x150224(0x117)](_0x519903);});});};