jjb-cmd 2.1.19 → 2.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.21</p>
6
+ <div>修复已知问题</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.20</p>
10
+ <div>增加publish命令,最新完善push组件体系</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.19</p>
6
14
  <div>增加动态版本查询,增加应用refresh可刷新package</div>
package/bin/command.js CHANGED
@@ -6,7 +6,7 @@ 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(() => {
9
+ commander.command('v').description('-- 查看版本').action(() => {
10
10
  const package_json_file = JSON.parse(fs.readFileSync(path.join(__dirname, '../package.json')).toString());
11
11
  const {
12
12
  version
@@ -67,6 +67,10 @@ commander.command('auth [args]').description('-- 授权').action(args => {
67
67
  require('../src/new/cmd.auth/index.js')(process.argv.splice(3));
68
68
  });
69
69
 
70
+ commander.command('publish [args]').description('-- 发布包').action(args => {
71
+ require('../src/new/cmd.publish/index.js')(args);
72
+ });
73
+
70
74
  // publish 命令
71
75
  commander.command('push [args]').description('-- 发布包').action(args => {
72
76
  if (args) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.19",
4
+ "version": "2.1.21",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
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
+ function a0_0x49c7(){const _0x478e78=['575250kXmQfU','log','1822044jlfHBo','post','unlinkSync','512844iWloLG','30SxbOQA','64gpagkE','Auth\x20NetWork\x20Fail!','../../../.auth','14ZBmHOy','539bQuscL','writeFileSync','axios','Auth\x20Fail!','../cmd.install/config','1289550YatODg','/api/auth','data','401886YGYdyf','then','join','Auth\x20Success!','exports','7652PFkgWN','630718GpPnqu','1mOQgjZ'];a0_0x49c7=function(){return _0x478e78;};return a0_0x49c7();}const a0_0x40c341=a0_0xd03b;(function(_0x5c945a,_0x4c3ba1){const _0x7cdba6=a0_0xd03b,_0x393ff4=_0x5c945a();while(!![]){try{const _0x1e3465=parseInt(_0x7cdba6(0x117))/0x1*(-parseInt(_0x7cdba6(0x116))/0x2)+-parseInt(_0x7cdba6(0x11a))/0x3+parseInt(_0x7cdba6(0x115))/0x4*(parseInt(_0x7cdba6(0x11e))/0x5)+parseInt(_0x7cdba6(0x128))/0x6*(-parseInt(_0x7cdba6(0x122))/0x7)+-parseInt(_0x7cdba6(0x11f))/0x8*(parseInt(_0x7cdba6(0x12b))/0x9)+-parseInt(_0x7cdba6(0x118))/0xa+-parseInt(_0x7cdba6(0x123))/0xb*(-parseInt(_0x7cdba6(0x11d))/0xc);if(_0x1e3465===_0x4c3ba1)break;else _0x393ff4['push'](_0x393ff4['shift']());}catch(_0x1abf22){_0x393ff4['push'](_0x393ff4['shift']());}}}(a0_0x49c7,0x52965));function a0_0xd03b(_0x2dc931,_0xa036f5){const _0x49c74e=a0_0x49c7();return a0_0xd03b=function(_0xd03b32,_0x332acf){_0xd03b32=_0xd03b32-0x111;let _0x335c7f=_0x49c74e[_0xd03b32];return _0x335c7f;},a0_0xd03b(_0x2dc931,_0xa036f5);}const axios=require(a0_0x40c341(0x125)),fs=require('fs'),path=require('path'),{API_HOST}=require(a0_0x40c341(0x127));module[a0_0x40c341(0x114)]=_0x91d864=>{const _0x506901=a0_0x40c341;console[_0x506901(0x119)](_0x91d864);const [_0x4743bd,_0xa4aa7d]=_0x91d864;axios[_0x506901(0x11b)](API_HOST+_0x506901(0x129),{'username':_0x4743bd,'password':_0xa4aa7d})[_0x506901(0x111)](_0x4d55a2=>{const _0x2a0ea6=_0x506901,_0x122193=path[_0x2a0ea6(0x112)](__dirname,_0x2a0ea6(0x121));_0x4d55a2[_0x2a0ea6(0x12a)]['status']?(console[_0x2a0ea6(0x119)](_0x2a0ea6(0x113)),fs[_0x2a0ea6(0x124)](_0x122193,_0x4743bd+'/'+_0xa4aa7d)):(console[_0x2a0ea6(0x119)](_0x2a0ea6(0x126)),fs['existsSync'](_0x122193)&&fs[_0x2a0ea6(0x11c)](_0x122193));})['catch'](_0x4d3469=>{const _0x27502f=_0x506901;console[_0x27502f(0x119)](_0x27502f(0x120));});};
@@ -1 +1 @@
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
+ function a1_0x484e(){const _0x5ca4e0=['tmpdir','.zip','exit','forEach','path','-master-','log','1468696xASXEu','then','初始化完成?请选择安装方式![yarn/npm]:','exports','../cmd.install/config','6565vpYsFv','247894sWQzUB','21wYtluY','npm','readdirSync','93980XMZDaI','24bHAvpz','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','安装完成,祝您愉快编码!','zip','createWriteStream','child_process','yarn','indexOf','&ref=master','trim','6OsgPlf','createInterface','5428104EuBcGv','close','144pozroM','stdin','mkdirSync','72356RQcPZn','安装中,请耐心等待...','/api/v4/projects/','87432SmxUZj','execSync','token'];a1_0x484e=function(){return _0x5ca4e0;};return a1_0x484e();}const a1_0x16f682=a1_0x1607;function a1_0x1607(_0x5bd05f,_0x1b3684){const _0x484ecf=a1_0x484e();return a1_0x1607=function(_0x160745,_0x4809c2){_0x160745=_0x160745-0x117;let _0x506949=_0x484ecf[_0x160745];return _0x506949;},a1_0x1607(_0x5bd05f,_0x1b3684);}(function(_0x442992,_0x4cd523){const _0x2d8a28=a1_0x1607,_0x5739a8=_0x442992();while(!![]){try{const _0x115f33=-parseInt(_0x2d8a28(0x12d))/0x1+parseInt(_0x2d8a28(0x117))/0x2*(parseInt(_0x2d8a28(0x126))/0x3)+-parseInt(_0x2d8a28(0x11c))/0x4*(-parseInt(_0x2d8a28(0x13f))/0x5)+-parseInt(_0x2d8a28(0x130))/0x6*(parseInt(_0x2d8a28(0x118))/0x7)+-parseInt(_0x2d8a28(0x13a))/0x8+parseInt(_0x2d8a28(0x12a))/0x9*(-parseInt(_0x2d8a28(0x11b))/0xa)+parseInt(_0x2d8a28(0x128))/0xb;if(_0x115f33===_0x4cd523)break;else _0x5739a8['push'](_0x5739a8['shift']());}catch(_0x14e31d){_0x5739a8['push'](_0x5739a8['shift']());}}}(a1_0x484e,0x490c9));const fs=require('fs'),os=require('os'),path=require(a1_0x16f682(0x137)),request=require('request'),utils=require('../../old/util'),compressing=require('compressing'),readline=require('readline'),io=readline[a1_0x16f682(0x127)]({'input':process[a1_0x16f682(0x12b)],'output':process['stdout']}),child_process=require(a1_0x16f682(0x121)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x16f682(0x13e));module[a1_0x16f682(0x13d)]=_0x4c7795=>{const _0x1f3c14=a1_0x16f682,_0x33a387=path['resolve']('./'),_0x5ead92=CLOUD_PROJECT[_0x4c7795]||undefined;if(_0x5ead92){const _0x294a4c=os[_0x1f3c14(0x133)](),_0xc9f60a=_0x294a4c+'/'+GIT_TEMP_DIR+'/'+_0x4c7795+_0x1f3c14(0x134),_0x4957a4=_0x294a4c+'/'+GIT_TEMP_DIR+'/unzip/';utils['DeleteDirAllFile'](_0x294a4c+'/'+GIT_TEMP_DIR,()=>{const _0x5aa81c=_0x1f3c14;fs[_0x5aa81c(0x12c)](_0x294a4c+'/'+GIT_TEMP_DIR);let _0x2cb704=fs[_0x5aa81c(0x120)](_0xc9f60a);request(GIT_HOST+_0x5aa81c(0x12f)+_0x5ead92['projectId']+'/repository/archive.zip?private_token='+_0x5ead92[_0x5aa81c(0x132)]+_0x5aa81c(0x124))['pipe'](_0x2cb704)['on'](_0x5aa81c(0x129),()=>{const _0x47c3ea=_0x5aa81c;fs[_0x47c3ea(0x12c)](_0x4957a4),compressing[_0x47c3ea(0x11f)]['uncompress'](_0xc9f60a,_0x4957a4)[_0x47c3ea(0x13b)](()=>{setTimeout(()=>{const _0x3d7014=a1_0x1607;fs[_0x3d7014(0x11a)](_0x4957a4)[_0x3d7014(0x136)](_0x3ed191=>{const _0x2e2b86=_0x3d7014;_0x3ed191[_0x2e2b86(0x123)](_0x2e2b86(0x138))!==-0x1&&utils['CopyFolder'](_0x4957a4+_0x3ed191,_0x33a387,()=>{const _0xa09e93=_0x2e2b86;io['question'](_0xa09e93(0x13c),function(_0x1328d3){const _0x2c6331=_0xa09e93;[_0x2c6331(0x122),_0x2c6331(0x119)]['includes'](_0x1328d3[_0x2c6331(0x125)]())?(console['log'](_0x2c6331(0x12e)),child_process[_0x2c6331(0x131)]('jjb-cmd\x20install.app\x20'+_0x1328d3[_0x2c6331(0x125)](),{'cwd':_0x33a387}),console[_0x2c6331(0x139)](_0x2c6331(0x11e)),process['exit'](0x0)):(console[_0x2c6331(0x139)](_0x2c6331(0x11d)),process[_0x2c6331(0x135)](0x0));});});});},0x7d0);});});});}else console[_0x1f3c14(0x139)]('【Error】:初始化失败,'+_0x4c7795+'不存在。');};
@@ -1 +1 @@
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
+ function a2_0x4240(_0x2c5f93,_0x25756a){const _0x1d35fc=a2_0x1d35();return a2_0x4240=function(_0x4240b7,_0x14369e){_0x4240b7=_0x4240b7-0xbf;let _0x56d6d3=_0x1d35fc[_0x4240b7];return _0x56d6d3;},a2_0x4240(_0x2c5f93,_0x25756a);}const a2_0x4fe3c4=a2_0x4240;(function(_0x57fd15,_0x436b19){const _0xfdc1d8=a2_0x4240,_0x27a107=_0x57fd15();while(!![]){try{const _0x5a26ba=parseInt(_0xfdc1d8(0xc9))/0x1*(-parseInt(_0xfdc1d8(0xc8))/0x2)+parseInt(_0xfdc1d8(0xc3))/0x3+-parseInt(_0xfdc1d8(0xd3))/0x4*(-parseInt(_0xfdc1d8(0xdb))/0x5)+-parseInt(_0xfdc1d8(0xc5))/0x6*(parseInt(_0xfdc1d8(0xd9))/0x7)+-parseInt(_0xfdc1d8(0xc1))/0x8+-parseInt(_0xfdc1d8(0xbf))/0x9+parseInt(_0xfdc1d8(0xda))/0xa;if(_0x5a26ba===_0x436b19)break;else _0x27a107['push'](_0x27a107['shift']());}catch(_0x4229cf){_0x27a107['push'](_0x27a107['shift']());}}}(a2_0x1d35,0x850ff));const os=require('os');function a2_0x1d35(){const _0x3e6b23=['dev','ywPtT3xCG6b_vAxp6sTj','CONFIG_FILE_HOST','7V-YUxhmh51Mdhgx4rq4','GIT_JAVA_ENV_JSON','tmpdir','TEMPLATE_FOLDER','1084QqsXiV','G4HJRsHr9D7Ssmixegw2','d4wQ7dzEjYPsgVbKnYei','CLOUD_PROJECT','test','e9njpBd1nS_LREN8GFpR','383509mVamYu','12206100mpIMTC','17730FJKrgq','hLqARY89CN6fUD3yg4NL','http://192.168.1.242:10985','GIT_TEMP_DIR','6124005VbwcIC','http://120.26.210.58:8088','6441448EJsxuT','GIT_TEMP_JAVA','2837508LsCuFH','FqNrmFAgrxasMrbbjvq9','72cwBKGe','https://cdn.cqjjb.cn/jjb-cloud-config','gPSit8aJsLVmNzuQ5Cy4','11122GJHAZk','79DwHmLU','snBxJ2i5kYarGGcsojhY','API_HOST'];a2_0x1d35=function(){return _0x3e6b23;};return a2_0x1d35();}exports[a2_0x4fe3c4(0xce)]=a2_0x4fe3c4(0xc6),exports[a2_0x4fe3c4(0xcb)]=a2_0x4fe3c4(0xc0),exports['GIT_HOST']=a2_0x4fe3c4(0xdd),exports[a2_0x4fe3c4(0xde)]='jjb-assembly-'+Date['now'](),exports[a2_0x4fe3c4(0xc2)]='jjb-assembly-java',exports[a2_0x4fe3c4(0xd0)]={'development':a2_0x4fe3c4(0xcc),'production':'prod','test':a2_0x4fe3c4(0xd7)},exports[a2_0x4fe3c4(0xd6)]={'common':{'token':a2_0x4fe3c4(0xd4),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a2_0x4fe3c4(0xdc),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x4fe3c4(0xd8),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x4fe3c4(0xc7),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x4fe3c4(0xd5),'projectId':0x153},'react-component':{'token':a2_0x4fe3c4(0xca),'projectId':0x33f},'micro-app-ts':{'token':a2_0x4fe3c4(0xcf),'projectId':0x33e},'micro-app':{'token':a2_0x4fe3c4(0xc4),'projectId':0x33d},'lib':{'token':a2_0x4fe3c4(0xcd),'projectId':0x33c}},exports[a2_0x4fe3c4(0xd2)]=os[a2_0x4fe3c4(0xd1)]()+'\x5c'+exports[a2_0x4fe3c4(0xde)];
@@ -1 +1 @@
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
+ const a3_0x456e2e=a3_0x2377;(function(_0x16f037,_0x3dbb51){const _0x527186=a3_0x2377,_0x13e116=_0x16f037();while(!![]){try{const _0x547a2e=parseInt(_0x527186(0xef))/0x1+-parseInt(_0x527186(0xee))/0x2*(-parseInt(_0x527186(0xfe))/0x3)+-parseInt(_0x527186(0xf6))/0x4+parseInt(_0x527186(0x100))/0x5+parseInt(_0x527186(0xec))/0x6+-parseInt(_0x527186(0xe3))/0x7*(parseInt(_0x527186(0xe1))/0x8)+-parseInt(_0x527186(0xe4))/0x9;if(_0x547a2e===_0x3dbb51)break;else _0x13e116['push'](_0x13e116['shift']());}catch(_0x85c02e){_0x13e116['push'](_0x13e116['shift']());}}}(a3_0x3a6f,0xd8525));function a3_0x3a6f(){const _0x1deaff=['includes','filter','exit','./config','createWriteStream','【Error】:安装失败,node_modules目录不存在。','2864HzeSEO','importList','9254LDIdGt','37425168DKoOwt','node_modules','【jjb-cmd】:install命令执行完成,用时','readdirSync','src','compress','push','unlinkSync','9590940vRflzZ','src\x5c','3144598RABziA','787544ztUUmP','mkdirSync','index.js','installResources','uncompress','pure_name','installTarget','663124zUuZzi','rmdirSync','length','jjb-common-lib','existsSync','replace','package.json','log','3vBMqms','name','8625645hfRRep','.idea','join','path','pipe','map','close','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','resolve','forEach','_zip','now'];a3_0x3a6f=function(){return _0x1deaff;};return a3_0x3a6f();}function a3_0x2377(_0x4b8963,_0x2986ff){const _0x3a6f78=a3_0x3a6f();return a3_0x2377=function(_0x23777d,_0x4f807f){_0x23777d=_0x23777d-0xdc;let _0x5d2e4c=_0x3a6f78[_0x23777d];return _0x5d2e4c;},a3_0x2377(_0x4b8963,_0x2986ff);}const fs=require('fs'),path=require(a3_0x456e2e(0x103)),request=require('request'),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER}=require(a3_0x456e2e(0xde)),start_time=Date[a3_0x456e2e(0x10b)]();module['exports']=()=>{const _0x5279e1=a3_0x456e2e,_0x1ae174=path[_0x5279e1(0x108)]('./'),_0x15b916=[_0x1ae174,_0x5279e1(0xed)][_0x5279e1(0x102)]('\x5c'),_0xddd1e2=[_0x1ae174,_0x5279e1(0xe5)]['join']('\x5c'),_0x3d4368=[_0x1ae174,_0x5279e1(0xfc)]['join']('\x5c');if(f_scan_jjb_config_json(_0x1ae174)){const _0x16055d=f_scan_jjb_config_json_rules(_0x1ae174);_0x16055d['installTarget']===_0x5279e1(0xe5)?!fs[_0x5279e1(0xfa)](_0xddd1e2)?(console[_0x5279e1(0xfd)](_0x5279e1(0xe0)),process[_0x5279e1(0xdd)](0x0)):console[_0x5279e1(0xfd)](_0x5279e1(0x107)):!fs[_0x5279e1(0xfa)](_0x15b916)&&(console['log']('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x5279e1(0xf0)](TEMPLATE_FOLDER),f_pull_git_repository(_0x16055d[_0x5279e1(0xf2)])['map'](_0x3c89e1=>{const _0x18f970=_0x5279e1,_0x1506ed=fs[_0x18f970(0xdf)](_0x3c89e1['path']);request(_0x3c89e1['repository'])[_0x18f970(0x104)](_0x1506ed)['on'](_0x18f970(0x106),()=>{const _0x48f88e=_0x18f970;fs['mkdirSync'](_0x3c89e1[_0x48f88e(0xe9)]),compressing['zip'][_0x48f88e(0xf3)](_0x3c89e1[_0x48f88e(0x103)],_0x3c89e1[_0x48f88e(0xe9)]);});});const _0x1b0d4b=setInterval(()=>{const _0x1928c0=_0x5279e1,_0x57e905=fs[_0x1928c0(0xe7)](TEMPLATE_FOLDER),_0x4f17f2=_0x57e905[_0x1928c0(0xdc)](_0x135c72=>_0x16055d[_0x1928c0(0xf2)][_0x1928c0(0x105)](_0x277692=>_0x277692[_0x1928c0(0xff)]+_0x1928c0(0x10a))[_0x1928c0(0x10c)](_0x135c72));if(_0x4f17f2[_0x1928c0(0xf8)]===_0x16055d[_0x1928c0(0xf2)][_0x1928c0(0xf8)]){clearInterval(_0x1b0d4b);const _0x370c6c=[];_0x4f17f2[_0x1928c0(0x109)](_0x80c248=>{const _0x12fed1=_0x1928c0,_0x3f3208=[TEMPLATE_FOLDER,_0x80c248]['join']('\x5c');fs['readdirSync'](_0x3f3208)[_0x12fed1(0x109)](_0xdd426b=>_0x370c6c[_0x12fed1(0xea)]({'name':_0x80c248,'path':[_0x3f3208,_0xdd426b][_0x12fed1(0x102)]('\x5c'),'pure_name':_0x80c248[_0x12fed1(0xfb)](/_zip$/,''),'import_list':_0x16055d[_0x12fed1(0xf2)]['find'](_0x30e347=>_0x30e347['name']+'_zip'===_0x80c248)[_0x12fed1(0xe2)]}));}),_0x370c6c[_0x1928c0(0x109)](_0x460f32=>{const _0x4de315=_0x1928c0,_0x27ba4c=_0x460f32[_0x4de315(0xf4)],_0x18ebb6=_0x460f32['import_list'],_0x4cab60=[_0x460f32[_0x4de315(0x103)],_0x4de315(0x101)][_0x4de315(0x102)]('//'),_0x3a2477=[_0x460f32[_0x4de315(0x103)],'.gitignore']['join']('//');fs[_0x4de315(0xfa)](_0x4cab60)&&(f_rm_rf(_0x4cab60),fs['rmdirSync'](_0x4cab60));fs[_0x4de315(0xfa)](_0x3a2477)&&fs[_0x4de315(0xeb)](_0x3a2477);_0x18ebb6[_0x4de315(0xf8)]&&fs[_0x4de315(0xe7)](_0x460f32[_0x4de315(0x103)])['filter'](_0x2e10cf=>!_0x18ebb6[_0x4de315(0x10c)](_0x2e10cf)&&_0x2e10cf!==_0x4de315(0xf1)&&_0x2e10cf!=='setting.json')[_0x4de315(0x109)](_0x48d155=>{const _0x6a5e82=_0x4de315,_0x3ccace=_0x460f32[_0x6a5e82(0x103)]+'\x5c'+_0x48d155;f_rm_rf(_0x3ccace),fs[_0x6a5e82(0xf7)](_0x3ccace);});if(_0x16055d[_0x4de315(0xf5)]===_0x4de315(0xe5)){const _0x210d95=_0x27ba4c;fs['existsSync'](_0xddd1e2+'\x5c'+_0x210d95)?f_rm_rf(_0xddd1e2+'\x5c'+_0x210d95):fs[_0x4de315(0xf0)](_0xddd1e2+'\x5c'+_0x210d95),_0x210d95!==_0x4de315(0xf9)?(f_file_copy(_0x460f32[_0x4de315(0x103)],_0xddd1e2+'\x5c'+_0x210d95),f_create_package_json(_0xddd1e2+'\x5c'+_0x210d95,_0x210d95,'1.0.0')):f_file_copy(_0x460f32[_0x4de315(0x103)]+'\x5ctypes',_0xddd1e2+'\x5c'+_0x210d95),f_update_project_package_json(_0x3d4368,_0x210d95,'1.0.0');}else _0x16055d[_0x4de315(0xf5)]===_0x4de315(0xe8)&&(fs[_0x4de315(0xfa)](_0x15b916+_0x27ba4c)?f_rm_rf(_0x15b916+_0x27ba4c):fs[_0x4de315(0xf0)](_0x15b916+_0x27ba4c),f_file_copy(_0x460f32[_0x4de315(0x103)],_0x15b916+_0x27ba4c));}),setTimeout(()=>{const _0x74b508=_0x1928c0;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x83ddb8=Date[_0x74b508(0x10b)]();console[_0x74b508(0xfd)](_0x74b508(0xe6)+(_0x83ddb8-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5279e1(0xfd)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
@@ -1 +1 @@
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
+ const a4_0x181768=a4_0x15df;(function(_0x587a40,_0x160315){const _0xd56c9=a4_0x15df,_0x367591=_0x587a40();while(!![]){try{const _0x34515e=parseInt(_0xd56c9(0xbd))/0x1+parseInt(_0xd56c9(0xd4))/0x2*(parseInt(_0xd56c9(0xfe))/0x3)+parseInt(_0xd56c9(0xd1))/0x4+-parseInt(_0xd56c9(0xe1))/0x5+parseInt(_0xd56c9(0xf7))/0x6+parseInt(_0xd56c9(0xd7))/0x7*(-parseInt(_0xd56c9(0xf9))/0x8)+-parseInt(_0xd56c9(0xe9))/0x9;if(_0x34515e===_0x160315)break;else _0x367591['push'](_0x367591['shift']());}catch(_0x4f81a1){_0x367591['push'](_0x367591['shift']());}}}(a4_0xe216,0xd5b3d));function a4_0x15df(_0x37dcb7,_0x119afa){const _0xe216f7=a4_0xe216();return a4_0x15df=function(_0x15dfd2,_0x4b26d5){_0x15dfd2=_0x15dfd2-0xb8;let _0x156fed=_0xe216f7[_0x15dfd2];return _0x156fed;},a4_0x15df(_0x37dcb7,_0x119afa);}function a4_0xe216(){const _0x4df448=['isDirectory','\x5cpackage.json','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-dva-runtime','push','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','f_create_package_json','installTarget','f_scan_jjb_config_json','1405940WFWPVw','installResources','f_content_replace','48010uYxeRx','【Error】:[jjb.config.json.projectType]类型是一个string。','projectId','5521649rXfhnw','isArray','node_modules','readFileSync','\x5cjjb.config.json','rmdirSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','string','log','3655125HCqzFX','【Error】:[jjb.config.json.installResources]无资源。','jjb-common-lib','{\x22name\x22:\x22','f_rm_rf','f_file_copy','unlinkSync','f_update_project_package_json','1511046rtsQnW','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','_zip','【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>。','toString','&ref=master','includes','name','length','projectType','replace','forEach','/api/v4/projects/','350478neeXtl','map','16ddFNVb','.zip','path','f_resolve_install_resources','【Error】:[jjb.config.json.installTarget]类型是一个string。','177opOesB','existsSync','f_pull_git_repository','micro-spa','jjb-common-decorator','tmpdir','1525665QwBSor','multi','vue-unisass-component','jjb-common','filter','exit','./config','writeFileSync','/repository/archive.zip?private_token=','readdirSync','parse'];a4_0xe216=function(){return _0x4df448;};return a4_0xe216();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x181768(0xc3));exports[a4_0x181768(0xe5)]=function(_0x56acc1){const _0x51e23e=a4_0x181768;if(fs[_0x51e23e(0xb8)](_0x56acc1)){const _0x7cf748=fs[_0x51e23e(0xc6)](_0x56acc1);for(let _0x415161=0x0;_0x415161<_0x7cf748[_0x51e23e(0xf2)];_0x415161++){const _0x4f3e01=_0x7cf748[_0x415161],_0x382c8c=_0x56acc1+'/'+_0x4f3e01;fs['statSync'](_0x382c8c)[_0x51e23e(0xc8)]()?(exports[_0x51e23e(0xe5)](_0x382c8c),fs[_0x51e23e(0xdc)](_0x382c8c)):fs[_0x51e23e(0xe7)](_0x382c8c);}}},exports[a4_0x181768(0xb9)]=function(_0x30b8ac=[]){const _0x2914b5=a4_0x181768;return _0x30b8ac[_0x2914b5(0xf8)](_0x18dbf3=>{const _0xb085a1=_0x2914b5,_0x48da0d=CLOUD_PROJECT[_0x18dbf3[_0xb085a1(0xf1)]]||undefined,_0x84f746=os[_0xb085a1(0xbc)]();return{'path':_0x84f746+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x18dbf3[_0xb085a1(0xf1)]+_0xb085a1(0xfa),'compress':_0x84f746+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x18dbf3['name']+_0xb085a1(0xec),'repository':GIT_HOST+_0xb085a1(0xf6)+_0x48da0d[_0xb085a1(0xd6)]+_0xb085a1(0xc5)+_0x48da0d['token']+_0xb085a1(0xef)};});},exports[a4_0x181768(0xd0)]=function(_0x32a994){return fs['existsSync'](_0x32a994+'\x5cjjb.config.json');},exports['f_scan_jjb_config_json_rules']=function(_0x314cdf){const _0x580887=a4_0x181768;let _0x57fdb6={};try{_0x57fdb6=JSON[_0x580887(0xc7)](fs[_0x580887(0xda)](_0x314cdf+_0x580887(0xdb))[_0x580887(0xee)]());}catch(_0x4ac4ac){console['log'](_0x580887(0xeb)),process[_0x580887(0xc2)](0x0);}!(_0x580887(0xf3)in _0x57fdb6)&&(console['log']('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process['exit'](0x0));!(_0x580887(0xcf)in _0x57fdb6)&&(console[_0x580887(0xe0)](_0x580887(0xca)),process[_0x580887(0xc2)](0x0));!(_0x580887(0xd2)in _0x57fdb6)&&(console[_0x580887(0xe0)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x580887(0xc2)](0x0));typeof _0x57fdb6[_0x580887(0xf3)]!==_0x580887(0xdf)&&(console[_0x580887(0xe0)](_0x580887(0xd5)),process[_0x580887(0xc2)](0x0));![_0x580887(0xbe),'spa','uniapp',_0x580887(0xba)][_0x580887(0xf0)](_0x57fdb6[_0x580887(0xf3)])&&(console['log'](_0x580887(0xde)),process[_0x580887(0xc2)](0x0));typeof _0x57fdb6[_0x580887(0xcf)]!==_0x580887(0xdf)&&(console[_0x580887(0xe0)](_0x580887(0xfd)),process[_0x580887(0xc2)](0x0));![_0x580887(0xd9),'src'][_0x580887(0xf0)](_0x57fdb6[_0x580887(0xcf)])&&(console[_0x580887(0xe0)](_0x580887(0xcd)),process[_0x580887(0xc2)](0x0));!Array['isArray'](_0x57fdb6[_0x580887(0xd2)])&&(console[_0x580887(0xe0)](_0x580887(0xdd)),process['exit'](0x0));_0x57fdb6['installResources'][_0x580887(0xf2)]===0x0&&(console['log'](_0x580887(0xe2)),process[_0x580887(0xc2)](0x0));const _0x37f40f=exports[_0x580887(0xfc)](_0x57fdb6[_0x580887(0xd2)]);return _0x37f40f[_0x580887(0xf8)](_0x1bc0f8=>_0x1bc0f8[_0x580887(0xf1)])[_0x580887(0xc1)](_0x2c94fc=>![_0x580887(0xc0),_0x580887(0xcb),_0x580887(0xe3),_0x580887(0xbb),'react-admin-component',_0x580887(0xbf)]['includes'](_0x2c94fc))[_0x580887(0xf2)]!==0x0&&(console[_0x580887(0xe0)](_0x580887(0xed)),process[_0x580887(0xc2)](0x0)),_0x57fdb6[_0x580887(0xd2)]=_0x37f40f,_0x57fdb6;},exports[a4_0x181768(0xce)]=function(_0x2392c8,_0x316bb0,_0x255ae9){const _0x9fa9e0=a4_0x181768;fs['writeFileSync'](_0x2392c8+_0x9fa9e0(0xc9),_0x9fa9e0(0xe4)+_0x316bb0+'\x22,\x22version\x22:\x22'+_0x255ae9+_0x9fa9e0(0xea));},exports[a4_0x181768(0xfc)]=function(_0x1f1a60=[]){const _0x385cd9=a4_0x181768,_0x1a6328=[];return Array['isArray'](_0x1f1a60)&&_0x1f1a60[_0x385cd9(0xf5)](_0x84a52c=>{const _0x49be4c=_0x385cd9;if(Array[_0x49be4c(0xd8)](_0x84a52c)){const [_0x37086b,_0x146914=[]]=_0x84a52c;_0x1a6328[_0x49be4c(0xcc)]({'name':_0x37086b,'importList':_0x146914});}else _0x1a6328[_0x49be4c(0xcc)]({'name':_0x84a52c,'importList':[]});}),_0x1a6328;},exports[a4_0x181768(0xe8)]=function(_0x50572e,_0x3e4016,_0x12ef96){const _0x36e31f=a4_0x181768,_0x9f7231=JSON[_0x36e31f(0xc7)](fs[_0x36e31f(0xda)](_0x50572e)[_0x36e31f(0xee)]());_0x9f7231['dependencies'][_0x3e4016]=_0x12ef96,fs[_0x36e31f(0xc4)](_0x50572e,JSON['stringify'](_0x9f7231,null,0x2));},exports[a4_0x181768(0xe6)]=function(_0x5ef595,_0x4c6a6c){const _0x1b81ea=a4_0x181768;fs['readdirSync'](_0x5ef595)[_0x1b81ea(0xf5)](_0x269a5f=>{const _0x1c3496=_0x1b81ea,_0x63fcb4=_0x5ef595+'\x5c'+_0x269a5f,_0xba3c3d=_0x4c6a6c+'\x5c'+_0x269a5f;fs['statSync'](_0x63fcb4)[_0x1c3496(0xc8)]()?(fs['mkdirSync'](_0xba3c3d),exports[_0x1c3496(0xe6)](_0x63fcb4,_0xba3c3d)):fs[_0x1c3496(0xc4)](_0xba3c3d,fs[_0x1c3496(0xda)](_0x63fcb4)[_0x1c3496(0xee)]());});},exports[a4_0x181768(0xd3)]=function(_0x4d8a16=[],_0x1e20f6){const _0x4a80f2=a4_0x181768;_0x4d8a16[_0x4a80f2(0xf5)](_0x2d0d94=>{const _0x3a4ace=_0x4a80f2,_0x220b9e=_0x1e20f6+_0x2d0d94[_0x3a4ace(0xfb)];if(fs['existsSync'](_0x220b9e)){let _0x292445=fs[_0x3a4ace(0xda)](_0x220b9e)[_0x3a4ace(0xee)]();_0x2d0d94[_0x3a4ace(0xf4)][_0x3a4ace(0xf5)](_0x4fa96b=>{const _0x4ca0fd=_0x3a4ace;_0x292445=_0x292445[_0x4ca0fd(0xf4)](_0x4fa96b[0x0],_0x4fa96b[0x1]);}),fs[_0x3a4ace(0xc4)](_0x220b9e,_0x292445);}});};
@@ -1 +1 @@
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
+ const a5_0x48f1f9=a5_0x5434;(function(_0x47507f,_0x45cd31){const _0x3047c6=a5_0x5434,_0x5412c9=_0x47507f();while(!![]){try{const _0x3cfbd2=parseInt(_0x3047c6(0x1ac))/0x1*(parseInt(_0x3047c6(0x1b3))/0x2)+parseInt(_0x3047c6(0x1b6))/0x3*(parseInt(_0x3047c6(0x1c4))/0x4)+parseInt(_0x3047c6(0x1bc))/0x5+parseInt(_0x3047c6(0x1b8))/0x6*(-parseInt(_0x3047c6(0x1c1))/0x7)+parseInt(_0x3047c6(0x1b7))/0x8*(parseInt(_0x3047c6(0x1c5))/0x9)+-parseInt(_0x3047c6(0x1ad))/0xa+-parseInt(_0x3047c6(0x1bf))/0xb*(-parseInt(_0x3047c6(0x1bd))/0xc);if(_0x3cfbd2===_0x45cd31)break;else _0x5412c9['push'](_0x5412c9['shift']());}catch(_0x4434dd){_0x5412c9['push'](_0x5412c9['shift']());}}}(a5_0x2854,0xc6504));function a5_0x5434(_0x274da0,_0x447834){const _0x285468=a5_0x2854();return a5_0x5434=function(_0x5434ee,_0x3171d1){_0x5434ee=_0x5434ee-0x1aa;let _0x208789=_0x285468[_0x5434ee];return _0x208789;},a5_0x5434(_0x274da0,_0x447834);}const child_process=require(a5_0x48f1f9(0x1af)),path=require(a5_0x48f1f9(0x1c0)),fs=require('fs');function a5_0x2854(){const _0x501233=['resolve','13kOoMRq','9175570MiyiAU','git\x20init','child_process','install\x20modules\x20please\x20wait....','existsSync','includes','35026FGBqnn','execSync','npm\x20install','381TFHSMz','2823752tRBvdL','240LzSVBQ','npm','npx\x20husky\x20install','log','7335hXXzSB','11247168AvCMPL','Finish!','11runMJF','path','137956jnzufH','/.git','yarn','9224zPdZPr','27FvhoPh','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'];a5_0x2854=function(){return _0x501233;};return a5_0x2854();}module['exports']=_0x25e14a=>{const _0x5dc862=a5_0x48f1f9;![_0x5dc862(0x1b9),_0x5dc862(0x1c3)][_0x5dc862(0x1b2)](_0x25e14a)&&(console[_0x5dc862(0x1bb)](_0x5dc862(0x1aa)),process['exit'](0x0));const _0x2b56a8=path[_0x5dc862(0x1ab)]('./');console[_0x5dc862(0x1bb)](_0x5dc862(0x1b0)),child_process['execSync'](_0x25e14a===_0x5dc862(0x1c3)?_0x5dc862(0x1c3):_0x5dc862(0x1b5),{'cwd':_0x2b56a8}),!fs[_0x5dc862(0x1b1)](_0x2b56a8+_0x5dc862(0x1c2))&&(console[_0x5dc862(0x1bb)]('git\x20init\x20please\x20wait....'),child_process[_0x5dc862(0x1b4)](_0x5dc862(0x1ae),{'cwd':_0x2b56a8})),console[_0x5dc862(0x1bb)]('install\x20husky\x20please\x20wait....'),child_process['execSync'](_0x5dc862(0x1ba),{'cwd':_0x2b56a8}),console[_0x5dc862(0x1bb)](_0x5dc862(0x1be));};
@@ -0,0 +1 @@
1
+ const a6_0x444c82=a6_0xa9c5;function a6_0xa9c5(_0x2bc5fa,_0x1043f6){const _0x56bd0a=a6_0x56bd();return a6_0xa9c5=function(_0xa9c579,_0x2a4e02){_0xa9c579=_0xa9c579-0x179;let _0x5b4c03=_0x56bd0a[_0xa9c579];return _0x5b4c03;},a6_0xa9c5(_0x2bc5fa,_0x1043f6);}(function(_0xddea55,_0x2e929e){const _0x39f8ea=a6_0xa9c5,_0x24f225=_0xddea55();while(!![]){try{const _0x1ccc3b=-parseInt(_0x39f8ea(0x17e))/0x1*(-parseInt(_0x39f8ea(0x18f))/0x2)+parseInt(_0x39f8ea(0x18e))/0x3+-parseInt(_0x39f8ea(0x1b3))/0x4+parseInt(_0x39f8ea(0x189))/0x5*(-parseInt(_0x39f8ea(0x19d))/0x6)+-parseInt(_0x39f8ea(0x1a1))/0x7+-parseInt(_0x39f8ea(0x183))/0x8*(parseInt(_0x39f8ea(0x194))/0x9)+parseInt(_0x39f8ea(0x1ac))/0xa*(parseInt(_0x39f8ea(0x1a5))/0xb);if(_0x1ccc3b===_0x2e929e)break;else _0x24f225['push'](_0x24f225['shift']());}catch(_0x1491ed){_0x24f225['push'](_0x24f225['shift']());}}}(a6_0x56bd,0x6ac1b));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a6_0x444c82(0x198)),readline=require('readline'),io=readline[a6_0x444c82(0x182)]({'input':process[a6_0x444c82(0x188)],'output':process[a6_0x444c82(0x185)]}),child_process=require(a6_0x444c82(0x184)),{API_HOST}=require(a6_0x444c82(0x17f));function a6_0x56bd(){const _0x33303f=['\x5cdist\x5cindex.js','hostname','exports','Please\x20wait,\x20build\x20...','\x5cpackage.json','\x5ccomponent.config.json','868404foRMDU','package_content','existsSync','post','readFileSync','execSync','2vxGofD','../cmd.install/config','readme_content','platform','createInterface','6632mqHFxd','child_process','stdout','yarn\x20build:production','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','stdin','45IOGuNU','网络异常。','package_version','../../../package.json','Auth\x20Fail!','1015689QhEEvh','448298xWjMQS','【Error】:请必须包含README.md说明文件','message','data','catch','8847rnsyrd','exit','../../../.auth','/api/auth','axios','join','npm\x20run\x20build:production','发布失败!根目录缺少‘package.json’文件,无法完成发布。','\x5cREADME.md','294678DQulMs','resolve','log','push','1848462KFBqRR','/api/file/publish','toString','status','11qQDULF','parse','Auth\x20NetWork\x20Fail!','then','question','【Error】:no\x20auth\x20login','/yarn.lock','13885050FFZwSf'];a6_0x56bd=function(){return _0x33303f;};return a6_0x56bd();}module[a6_0x444c82(0x1af)]=_0x44466f=>{const _0x19ac3d=a6_0x444c82,_0x51be96=path[_0x19ac3d(0x199)](__dirname,_0x19ac3d(0x196));!fs[_0x19ac3d(0x17a)](_0x51be96)&&(console[_0x19ac3d(0x19f)](_0x19ac3d(0x1aa)),process[_0x19ac3d(0x195)](0x0));const [_0x1a22d6,_0x5ddd7a]=fs[_0x19ac3d(0x17c)](_0x51be96)['toString']()['split']('/');axios[_0x19ac3d(0x17b)](API_HOST+_0x19ac3d(0x197),{'username':_0x1a22d6,'password':_0x5ddd7a})[_0x19ac3d(0x1a8)](_0x3010cd=>{const _0x2a38e4=_0x19ac3d;if(_0x3010cd[_0x2a38e4(0x192)][_0x2a38e4(0x1a4)]){const _0x16978b=path[_0x2a38e4(0x19e)]('./');console[_0x2a38e4(0x19f)](_0x2a38e4(0x1b0));fs[_0x2a38e4(0x17a)](_0x16978b+_0x2a38e4(0x1ab))?child_process[_0x2a38e4(0x17d)](_0x2a38e4(0x186),{'cwd':_0x16978b}):child_process['execSync'](_0x2a38e4(0x19a),{'cwd':_0x16978b});const _0x588d15=_0x16978b+_0x2a38e4(0x1ad),_0x22b6f6=_0x16978b+_0x2a38e4(0x1b1),_0x4c69c0=_0x16978b+_0x2a38e4(0x19c),_0x5e0d9b=_0x16978b+_0x2a38e4(0x1b2),_0x59609d=[os[_0x2a38e4(0x1ae)](),os[_0x2a38e4(0x181)](),os['arch'](),new Date()[_0x2a38e4(0x1a3)]()],_0x30afd0=JSON[_0x2a38e4(0x1a6)](fs[_0x2a38e4(0x17c)](path[_0x2a38e4(0x199)](__dirname,_0x2a38e4(0x18c)))[_0x2a38e4(0x1a3)]()),{version:_0x1d8208}=_0x30afd0,_0x2f01db={'username':_0x1a22d6,'cmd_version':_0x1d8208,'hostname':os['hostname'](),'platform':os['platform']()};if(fs['existsSync'](_0x22b6f6)){if(fs[_0x2a38e4(0x17a)](_0x588d15)){const _0x4a5378=JSON[_0x2a38e4(0x1a6)](fs[_0x2a38e4(0x17c)](_0x22b6f6)[_0x2a38e4(0x1a3)]()),{name:_0x398b99,version:_0x4fccc3}=_0x4a5378;_0x59609d[_0x2a38e4(0x1a0)](JSON['stringify'](_0x4a5378)),_0x2f01db['package_name']=_0x398b99,_0x2f01db[_0x2a38e4(0x18b)]=_0x44466f?_0x44466f:_0x4fccc3,_0x2f01db[_0x2a38e4(0x179)]=fs[_0x2a38e4(0x17c)](_0x588d15)[_0x2a38e4(0x1a3)](),fs[_0x2a38e4(0x17a)](_0x4c69c0)?_0x2f01db[_0x2a38e4(0x180)]=fs[_0x2a38e4(0x17c)](_0x4c69c0)[_0x2a38e4(0x1a3)]():(console[_0x2a38e4(0x19f)](_0x2a38e4(0x190)),process[_0x2a38e4(0x195)](0x0)),fs[_0x2a38e4(0x17a)](_0x5e0d9b)?_0x2f01db['component_config_content']=fs[_0x2a38e4(0x17c)](_0x5e0d9b)[_0x2a38e4(0x1a3)]():(console[_0x2a38e4(0x19f)]('【Error】:请必须包含component.config.json组件配置文件'),process[_0x2a38e4(0x195)](0x0)),io[_0x2a38e4(0x1a9)]('请输入此次提交信息,按Enter确认:',function(_0x1c0e4d){const _0x271a50=_0x2a38e4;_0x2f01db[_0x271a50(0x191)]=_0x1c0e4d||'no\x20message',axios[_0x271a50(0x17b)](API_HOST+_0x271a50(0x1a2),_0x2f01db)[_0x271a50(0x1a8)](_0x31ee8a=>{const _0x411b2c=_0x271a50;console[_0x411b2c(0x19f)](_0x31ee8a[_0x411b2c(0x192)][_0x411b2c(0x191)]),process[_0x411b2c(0x195)](0x0);})['catch'](_0x16e203=>{const _0x42944c=_0x271a50;console[_0x42944c(0x19f)](_0x16e203),console[_0x42944c(0x19f)](_0x42944c(0x18a)),process['exit'](0x0);});});}else console['log'](_0x2a38e4(0x187)),process[_0x2a38e4(0x195)](0x0);}else console['log'](_0x2a38e4(0x19b)),process['exit'](0x0);}else console['log'](_0x2a38e4(0x18d));})[_0x19ac3d(0x193)](_0x119a8e=>{const _0x6bd819=_0x19ac3d;console['log'](_0x119a8e),console[_0x6bd819(0x19f)](_0x6bd819(0x1a7));});};
@@ -1 +1 @@
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
+ const a7_0x2db693=a7_0x505e;function a7_0x503e(){const _0xf8da7a=['../cmd.install/config','2029218YfQBfu','发布失败!根目录缺少‘package.json’文件,无法完成发布。','网络异常。','33wUMBdA','hostname','8Roqqhk','332689uLfdyK','arch','post','push','42XhiDSy','Auth\x20Fail!','exit','parse','platform','log','exports','existsSync','path','message','axios','\x5cpackage.json','data','status','5089230VbsASS','35ssQhCR','resolve','834770WpvNgA','Auth\x20NetWork\x20Fail!','split','5468967eMNJPR','2777757UiVuAk','catch','join','toString','then','networkInterfaces','178036WbIOwV','/api/auth','/api/file/push','\x5cdist\x5cindex.js','../../../.auth','readFileSync','【Error】:no\x20auth\x20login'];a7_0x503e=function(){return _0xf8da7a;};return a7_0x503e();}(function(_0x3b2acf,_0x31da10){const _0x22854e=a7_0x505e,_0x51ded1=_0x3b2acf();while(!![]){try{const _0x2350d0=parseInt(_0x22854e(0x171))/0x1+parseInt(_0x22854e(0x156))/0x2+parseInt(_0x22854e(0x175))/0x3+parseInt(_0x22854e(0x14e))/0x4*(-parseInt(_0x22854e(0x16f))/0x5)+-parseInt(_0x22854e(0x160))/0x6*(-parseInt(_0x22854e(0x15c))/0x7)+parseInt(_0x22854e(0x15b))/0x8*(-parseInt(_0x22854e(0x174))/0x9)+parseInt(_0x22854e(0x16e))/0xa*(-parseInt(_0x22854e(0x159))/0xb);if(_0x2350d0===_0x31da10)break;else _0x51ded1['push'](_0x51ded1['shift']());}catch(_0x31407b){_0x51ded1['push'](_0x51ded1['shift']());}}}(a7_0x503e,0xa19e8));const path=require(a7_0x2db693(0x168)),fs=require('fs'),os=require('os'),axios=require(a7_0x2db693(0x16a)),{API_HOST}=require(a7_0x2db693(0x155));function a7_0x505e(_0x257426,_0x4bd018){const _0x503e70=a7_0x503e();return a7_0x505e=function(_0x505ee6,_0x3ae648){_0x505ee6=_0x505ee6-0x14c;let _0x2b5c11=_0x503e70[_0x505ee6];return _0x2b5c11;},a7_0x505e(_0x257426,_0x4bd018);}module[a7_0x2db693(0x166)]=_0x445d0e=>{const _0xdd96bc=a7_0x2db693,_0x4a7df0=path[_0xdd96bc(0x177)](__dirname,_0xdd96bc(0x152));!fs[_0xdd96bc(0x167)](_0x4a7df0)&&(console['log'](_0xdd96bc(0x154)),process[_0xdd96bc(0x162)](0x0));const [_0x139b16,_0xf9fe29]=fs[_0xdd96bc(0x153)](_0x4a7df0)['toString']()[_0xdd96bc(0x173)]('/');axios[_0xdd96bc(0x15e)](API_HOST+_0xdd96bc(0x14f),{'username':_0x139b16,'password':_0xf9fe29})['then'](_0x239d46=>{const _0x40ce31=_0xdd96bc;if(_0x239d46['data'][_0x40ce31(0x16d)]){const _0x340b8b=path[_0x40ce31(0x170)]('./'),_0x1fb4b4=_0x340b8b+_0x40ce31(0x151),_0x3e7449=_0x340b8b+_0x40ce31(0x16b),_0x326e7c=[os[_0x40ce31(0x15a)](),os[_0x40ce31(0x164)](),os[_0x40ce31(0x15d)](),new Date()[_0x40ce31(0x178)](),JSON['stringify'](os[_0x40ce31(0x14d)](),null,'\x09')];if(fs[_0x40ce31(0x167)](_0x3e7449)){if(fs['existsSync'](_0x1fb4b4)){const _0x55eddb=JSON[_0x40ce31(0x163)](fs[_0x40ce31(0x153)](_0x3e7449)[_0x40ce31(0x178)]()),{name:_0x1e5c14,version:_0x58dfdb}=_0x55eddb;_0x326e7c[_0x40ce31(0x15f)](JSON['stringify'](_0x55eddb)),axios[_0x40ce31(0x15e)](API_HOST+_0x40ce31(0x150),{'username':_0x139b16,'log_text':_0x326e7c['join']('\x0a'),'package_name':_0x1e5c14,'package_version':_0x445d0e?_0x445d0e:_0x58dfdb,'package_content':fs[_0x40ce31(0x153)](_0x1fb4b4)[_0x40ce31(0x178)]()})[_0x40ce31(0x14c)](_0x22a238=>{const _0xbbbc65=_0x40ce31;console[_0xbbbc65(0x165)](_0x22a238[_0xbbbc65(0x16c)][_0xbbbc65(0x169)]),process[_0xbbbc65(0x162)](0x0);})[_0x40ce31(0x176)](_0x9c1dca=>{const _0x533f5c=_0x40ce31;console['log'](_0x9c1dca),console['log'](_0x533f5c(0x158)),process[_0x533f5c(0x162)](0x0);});}else console[_0x40ce31(0x165)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x40ce31(0x162)](0x0);}else console[_0x40ce31(0x165)](_0x40ce31(0x157)),process[_0x40ce31(0x162)](0x0);}else console[_0x40ce31(0x165)](_0x40ce31(0x161));})[_0xdd96bc(0x176)](_0x3031ee=>{const _0xee813d=_0xdd96bc;console['log'](_0xee813d(0x172));});};
@@ -1 +1 @@
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
+ const a8_0x568576=a8_0x21aa;function a8_0x21aa(_0x28dff7,_0x360566){const _0x430585=a8_0x4305();return a8_0x21aa=function(_0x21aa7e,_0x5a1fd1){_0x21aa7e=_0x21aa7e-0x1ed;let _0x392813=_0x430585[_0x21aa7e];return _0x392813;},a8_0x21aa(_0x28dff7,_0x360566);}function a8_0x4305(){const _0x51b442=['status','execSync','git\x20push\x20-f','【warning】:no\x20commit,git\x20push,please\x20wait...',',please\x20wait...','log','join','Git\x20Push\x20Done!','yarn','Git\x20Add\x20Done,git\x20commit,please\x20wait...','yarn\x20build:','parse','\x5cdist','6638515AVKudS','1173948EsGXVr','Project\x20build\x20Done,copy\x20project,please\x20wait...','catch','35UnMwmJ','【Error】:no\x20setting\x20gitName','2733758DQItyr','no\x20message','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','then','existsSync','803752SKLdsl','git\x20add\x20.','\x5cjjb.config.json','resolve','../../../.auth','mkdirSync','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git\x20clone\x20','Auth\x20NetWork\x20Fail!','../cmd.install/config','post','path','gitName','git\x20pull','git','/api/auth','toString','8635404hmcytV','exit','Auth\x20Fail!','639sNmVFj','exports','1452JxaUpY','【Error】:参数传递错误','【Error】:打包失败,没有dist目录!','【Error】:no\x20auth\x20login','【Error】:no\x20setting\x20git','Git\x20Commit\x20Done,git\x20push,please\x20wait...','450610PuhqFX','length','5444cacICA','tmpdir','/src/main/resources/templates/'];a8_0x4305=function(){return _0x51b442;};return a8_0x4305();}(function(_0x4766d8,_0x2effbc){const _0x823b39=a8_0x21aa,_0x3e5547=_0x4766d8();while(!![]){try{const _0x4ab363=-parseInt(_0x823b39(0x1f5))/0x1+parseInt(_0x823b39(0x1fa))/0x2+-parseInt(_0x823b39(0x215))/0x3*(-parseInt(_0x823b39(0x21d))/0x4)+-parseInt(_0x823b39(0x1f4))/0x5+-parseInt(_0x823b39(0x210))/0x6+-parseInt(_0x823b39(0x1f8))/0x7*(parseInt(_0x823b39(0x1ff))/0x8)+parseInt(_0x823b39(0x213))/0x9*(parseInt(_0x823b39(0x21b))/0xa);if(_0x4ab363===_0x2effbc)break;else _0x3e5547['push'](_0x3e5547['shift']());}catch(_0x31e00f){_0x3e5547['push'](_0x3e5547['shift']());}}}(a8_0x4305,0xbed88));const fs=require('fs'),os=require('os'),path=require(a8_0x568576(0x20a)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x568576(0x208)),axios=require('axios');module[a8_0x568576(0x214)]=arguments=>{const _0x5c06ee=a8_0x568576,_0x39ff51=path[_0x5c06ee(0x1ed)](__dirname,_0x5c06ee(0x203));!fs[_0x5c06ee(0x1fe)](_0x39ff51)&&(console[_0x5c06ee(0x225)](_0x5c06ee(0x218)),process['exit'](0x0));const _0x3f2a35=arguments[0x1],_0x2d0837=arguments[0x2]||_0x5c06ee(0x1fb),_0x44c6f5=path[_0x5c06ee(0x202)]('./'),_0xb1cb9a=_0x44c6f5+_0x5c06ee(0x201),_0xb21f6e=_0x44c6f5+_0x5c06ee(0x1f3),_0x4636b1=os[_0x5c06ee(0x21e)](),[_0x4ac669,_0x4cfaf6]=fs['readFileSync'](_0x39ff51)[_0x5c06ee(0x20f)]()['split']('/');axios[_0x5c06ee(0x209)](API_HOST+_0x5c06ee(0x20e),{'username':_0x4ac669,'password':_0x4cfaf6})[_0x5c06ee(0x1fd)](_0x2c31b5=>{const _0x2b0e30=_0x5c06ee;if(_0x2c31b5['data'][_0x2b0e30(0x220)]){if(fs[_0x2b0e30(0x1fe)](_0xb1cb9a)){const _0x3c68c5=JSON[_0x2b0e30(0x1f2)](fs['readFileSync'](_0xb1cb9a)[_0x2b0e30(0x20f)]());if(_0x3c68c5['git']){const _0x41776a=_0x4636b1+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x41776a)&&(fs[_0x2b0e30(0x204)](_0x41776a),child_process[_0x2b0e30(0x221)](_0x2b0e30(0x206)+_0x3c68c5[_0x2b0e30(0x20d)],{'cwd':_0x41776a})),_0x189f54(_0x41776a,_0x3c68c5);}else console[_0x2b0e30(0x225)](_0x2b0e30(0x219));}}else console[_0x2b0e30(0x225)](_0x2b0e30(0x212));})[_0x5c06ee(0x1f7)](_0x335e3e=>{const _0x22af40=_0x5c06ee;console[_0x22af40(0x225)](_0x22af40(0x207));});arguments[_0x5c06ee(0x21c)]<0x2&&(console[_0x5c06ee(0x225)](_0x5c06ee(0x216)),process[_0x5c06ee(0x211)](0x0));function _0x189f54(_0x43ef65,_0x40cff8){const _0x4438ff=_0x5c06ee,_0x1b749b=_0x43ef65+'/'+_0x40cff8[_0x4438ff(0x20b)];!fs[_0x4438ff(0x1fe)](_0x1b749b)&&(console[_0x4438ff(0x225)](_0x4438ff(0x1f9)),process[_0x4438ff(0x211)](0x0));child_process[_0x4438ff(0x221)](_0x4438ff(0x20c),{'cwd':_0x1b749b});!fs[_0x4438ff(0x1fe)](_0x44c6f5+'/node_modules')?(console[_0x4438ff(0x225)](_0x4438ff(0x1fc)),child_process['execSync'](_0x4438ff(0x1ef),{'cwd':_0x44c6f5}),console['log']('yarn\x20install\x20Done!')):console[_0x4438ff(0x225)]('Git\x20Pull\x20Done,yarn\x20build:'+_0x3f2a35+_0x4438ff(0x224));child_process[_0x4438ff(0x221)](_0x4438ff(0x1f1)+_0x3f2a35,{'cwd':_0x44c6f5}),console['log'](_0x4438ff(0x1f6));if(fs[_0x4438ff(0x1fe)](_0xb21f6e)){const _0x53b6f4=_0x1b749b+_0x4438ff(0x21f)+GIT_JAVA_ENV_JSON[_0x3f2a35];DeleteDirAllFile(_0x53b6f4,()=>{const _0x3a67bc=_0x4438ff;fs[_0x3a67bc(0x204)](_0x53b6f4),CopyFolder(_0xb21f6e,_0x53b6f4,()=>{const _0x4b08e9=_0x3a67bc;console[_0x4b08e9(0x225)](_0x4b08e9(0x205)),setTimeout(()=>{const _0x2c567b=_0x4b08e9;child_process['execSync'](_0x2c567b(0x200),{'cwd':_0x1b749b}),console[_0x2c567b(0x225)](_0x2c567b(0x1f0));try{child_process[_0x2c567b(0x221)]('git\x20commit\x20-m\x20'+_0x2d0837+'\x20--no-verify',{'cwd':_0x1b749b}),console['log'](_0x2c567b(0x21a));}catch(_0x34983f){console[_0x2c567b(0x225)](_0x2c567b(0x223));}child_process[_0x2c567b(0x221)](_0x2c567b(0x222),{'cwd':_0x1b749b}),console[_0x2c567b(0x225)](_0x2c567b(0x1ee));},0x3e8);});});}else console[_0x4438ff(0x225)](_0x4438ff(0x217));}};
@@ -1 +1 @@
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
+ function a9_0x15c1(_0x597a04,_0x4db869){const _0x20cd69=a9_0x20cd();return a9_0x15c1=function(_0x15c1ca,_0x31b086){_0x15c1ca=_0x15c1ca-0xca;let _0x571d3f=_0x20cd69[_0x15c1ca];return _0x571d3f;},a9_0x15c1(_0x597a04,_0x4db869);}const a9_0xd30697=a9_0x15c1;(function(_0x220e60,_0x572423){const _0x22ff70=a9_0x15c1,_0x5bc99f=_0x220e60();while(!![]){try{const _0x29e02c=-parseInt(_0x22ff70(0xd0))/0x1*(parseInt(_0x22ff70(0xf0))/0x2)+parseInt(_0x22ff70(0xe8))/0x3*(-parseInt(_0x22ff70(0xdc))/0x4)+parseInt(_0x22ff70(0xf2))/0x5*(-parseInt(_0x22ff70(0xd3))/0x6)+-parseInt(_0x22ff70(0xe3))/0x7*(-parseInt(_0x22ff70(0xed))/0x8)+-parseInt(_0x22ff70(0xd2))/0x9*(-parseInt(_0x22ff70(0xda))/0xa)+-parseInt(_0x22ff70(0xd8))/0xb+parseInt(_0x22ff70(0xf3))/0xc*(parseInt(_0x22ff70(0xd1))/0xd);if(_0x29e02c===_0x572423)break;else _0x5bc99f['push'](_0x5bc99f['shift']());}catch(_0x4b25d3){_0x5bc99f['push'](_0x5bc99f['shift']());}}}(a9_0x20cd,0x45203));function a9_0x20cd(){const _0x2742f5=['../cmd.install/config','\x20file\x20Success!','join','229092iHnUrx','26vWneIl','9bFWfHd','6JUvruv','jjb.script','All\x20Finish!','?v=','exit','5440941uKIKnR','exports','3393010BGvEJC','data','4Ksmygc','path','remoteDir','writeFileSync','files','https','server.js','127295HdFbFx','prettier','get','babel','.babelrc','545079PdlRSh','\x20file,\x20available:[','includes','config.js','eslint','8xIZoCZ','build.js','getTime','2ywjGtP','http\x20error\x20','991625MNXtfU','6176364OmqBJT','package.json','.eslintignore','end','.prettierignore','micro.app.package.json','length','log','keys'];a9_0x20cd=function(){return _0x2742f5;};return a9_0x20cd();}const https=require(a9_0xd30697(0xe1)),fs=require('fs'),path=require(a9_0xd30697(0xdd)),{CONFIG_FILE_HOST}=require(a9_0xd30697(0xcd)),REGISTRY={'eslint':{'remoteDir':a9_0xd30697(0xec),'files':['.eslintrc.js',a9_0xd30697(0xf5)]},'prettier':{'remoteDir':a9_0xd30697(0xe4),'files':['.prettierrc.js',a9_0xd30697(0xf7)]},'jjb_script':{'remoteDir':a9_0xd30697(0xd4),'localDir':'jjb.script','files':[a9_0xd30697(0xee),a9_0xd30697(0xeb),'proxy.js',a9_0xd30697(0xe2),'utils.js']},'babel':{'remoteDir':a9_0xd30697(0xe6),'files':[a9_0xd30697(0xe7)]},'microAppPackage':{'remoteDir':a9_0xd30697(0xf8),'files':[a9_0xd30697(0xf4)]}},root_path=path['resolve']('./');function recursion(_0x5ce87f,_0x5b1c3,_0x421c91){const _0x3ab238=a9_0xd30697,_0x3202d2=_0x5ce87f[_0x3ab238(0xe0)][_0x5b1c3];https[_0x3ab238(0xe5)](CONFIG_FILE_HOST+'/'+(_0x5ce87f[_0x3ab238(0xde)]?_0x5ce87f[_0x3ab238(0xde)]+'/':'')+_0x3202d2+_0x3ab238(0xd6)+new Date()[_0x3ab238(0xef)](),_0x36409b=>{const _0x2b800e=_0x3ab238;let _0x4a5a69='';_0x36409b['on'](_0x2b800e(0xdb),_0x41f9c3=>{_0x4a5a69+=_0x41f9c3;}),_0x36409b['on'](_0x2b800e(0xf6),()=>{const _0x347c6c=_0x2b800e;_0x4a5a69&&(fs[_0x347c6c(0xdf)](root_path+'/'+(_0x5ce87f['localDir']?_0x5ce87f['localDir']+'/':'')+_0x3202d2,_0x4a5a69),console['log'](_0x3202d2+_0x347c6c(0xce)),_0x5b1c3<_0x5ce87f['files'][_0x347c6c(0xca)]-0x1?(_0x5b1c3++,recursion(_0x5ce87f,_0x5b1c3,_0x421c91)):(console[_0x347c6c(0xcb)](_0x347c6c(0xd5)),_0x421c91&&_0x421c91()));})['on']('error',_0x32e7d0=>{const _0x244be9=_0x2b800e;console[_0x244be9(0xcb)](_0x244be9(0xf1),_0x32e7d0);});});}module[a9_0xd30697(0xd9)]=_0x35eb53=>{const _0x4aa425=a9_0xd30697;!Object[_0x4aa425(0xcc)](REGISTRY)[_0x4aa425(0xea)](_0x35eb53)&&(console['log']('【Error】:no\x20'+_0x35eb53+_0x4aa425(0xe9)+Object['keys'](REGISTRY)[_0x4aa425(0xcf)]('/')+']'),process[_0x4aa425(0xd7)](0x0)),recursion(REGISTRY[_0x35eb53],0x0);};
@@ -1 +1 @@
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
+ const a10_0x581dd8=a10_0x4675;(function(_0x1cb003,_0x5b0752){const _0x9d88a9=a10_0x4675,_0x3beb6e=_0x1cb003();while(!![]){try{const _0x3927f2=parseInt(_0x9d88a9(0x91))/0x1*(-parseInt(_0x9d88a9(0x9f))/0x2)+-parseInt(_0x9d88a9(0x9a))/0x3*(parseInt(_0x9d88a9(0x9d))/0x4)+parseInt(_0x9d88a9(0x8f))/0x5+-parseInt(_0x9d88a9(0x90))/0x6*(-parseInt(_0x9d88a9(0x96))/0x7)+parseInt(_0x9d88a9(0x93))/0x8+parseInt(_0x9d88a9(0x8e))/0x9+-parseInt(_0x9d88a9(0x98))/0xa;if(_0x3927f2===_0x5b0752)break;else _0x3beb6e['push'](_0x3beb6e['shift']());}catch(_0x3dd329){_0x3beb6e['push'](_0x3beb6e['shift']());}}}(a10_0x405d,0x1d360));const axios=require(a10_0x581dd8(0xa0));function a10_0x405d(){const _0x4be8d8=['host','1988190FLhSaw','642360JksSgU','6NmcZXJ','24793MPzguI','http://120.26.210.58:8088/api/file/config','1463952evCsOs','post','exit','14448Dmrhya','exports','2060060eLrxBl','catch','15663VXbwXm','components','log','8AGBrAt','data','16SfbNtw','axios','status','message','port','then'];a10_0x405d=function(){return _0x4be8d8;};return a10_0x405d();}function a10_0x4675(_0x53dc66,_0x2d42a4){const _0x405d16=a10_0x405d();return a10_0x4675=function(_0x467532,_0x84103a){_0x467532=_0x467532-0x8a;let _0x300b65=_0x405d16[_0x467532];return _0x300b65;},a10_0x4675(_0x53dc66,_0x2d42a4);}module[a10_0x581dd8(0x97)]=_0x325a04=>{const _0x40ded5=a10_0x581dd8;axios[_0x40ded5(0x94)](_0x40ded5(0x92))[_0x40ded5(0x8c)](_0x52a840=>{const _0x2fb0f9=_0x40ded5;if(_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0xa1)]){const _0x3ae316=_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0x9e)];_0x325a04==='server'&&(console['log'](_0x3ae316[_0x2fb0f9(0x8d)]),console[_0x2fb0f9(0x9c)](_0x3ae316[_0x2fb0f9(0x8b)])),_0x325a04===_0x2fb0f9(0x9b)&&console['log'](_0x3ae316[_0x2fb0f9(0x9b)]);}else console['log'](_0x52a840[_0x2fb0f9(0x9e)][_0x2fb0f9(0x8a)]);process[_0x2fb0f9(0x95)](0x0);})[_0x40ded5(0x99)](()=>{const _0x73d975=_0x40ded5;console[_0x73d975(0x9c)]('网络异常。'),process[_0x73d975(0x95)](0x0);});};
@@ -1 +1 @@
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
+ const a11_0x32e971=a11_0xe1b0;function a11_0xe1b0(_0x46a43f,_0x5b2ee4){const _0x53b062=a11_0x53b0();return a11_0xe1b0=function(_0xe1b0f2,_0x5168b6){_0xe1b0f2=_0xe1b0f2-0x17d;let _0x1f7b18=_0x53b062[_0xe1b0f2];return _0x1f7b18;},a11_0xe1b0(_0x46a43f,_0x5b2ee4);}(function(_0x5601cd,_0x25d148){const _0x15415b=a11_0xe1b0,_0x3cb81d=_0x5601cd();while(!![]){try{const _0x47fea0=parseInt(_0x15415b(0x186))/0x1*(parseInt(_0x15415b(0x188))/0x2)+parseInt(_0x15415b(0x19a))/0x3*(parseInt(_0x15415b(0x190))/0x4)+parseInt(_0x15415b(0x199))/0x5*(parseInt(_0x15415b(0x187))/0x6)+-parseInt(_0x15415b(0x18a))/0x7+-parseInt(_0x15415b(0x18b))/0x8*(parseInt(_0x15415b(0x194))/0x9)+-parseInt(_0x15415b(0x18e))/0xa*(-parseInt(_0x15415b(0x1a0))/0xb)+-parseInt(_0x15415b(0x1a1))/0xc*(parseInt(_0x15415b(0x182))/0xd);if(_0x47fea0===_0x25d148)break;else _0x3cb81d['push'](_0x3cb81d['shift']());}catch(_0x338902){_0x3cb81d['push'](_0x3cb81d['shift']());}}}(a11_0x53b0,0xe61a5));const fs=require('fs'),path=require(a11_0x32e971(0x18f)),readline=require(a11_0x32e971(0x189)),io=readline[a11_0x32e971(0x180)]({'input':process[a11_0x32e971(0x192)],'output':process[a11_0x32e971(0x193)]});let f_total=0x0;module['exports']=function(){const _0xb4bd47=a11_0x32e971,_0x4bdfb3=path[_0xb4bd47(0x184)]('./');io[_0xb4bd47(0x191)](_0xb4bd47(0x197),function(_0x5e7514){const _0x53f098=_0xb4bd47;if(_0x5e7514['trim']()==='y')console['log']('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x555e2b=a11_0xe1b0;console[_0x555e2b(0x181)](),exec(_0x4bdfb3),setTimeout(()=>{const _0x54af77=_0x555e2b;console[_0x54af77(0x19b)]('删除完成。'),console['clear'](),process[_0x54af77(0x195)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x5e7514[_0x53f098(0x19f)]()==='n'?(console[_0x53f098(0x19b)](_0x53f098(0x19d)),process['exit'](0x0)):(console[_0x53f098(0x19b)](_0x53f098(0x19e)),process[_0x53f098(0x195)](0x0));});};function exec(_0x2e1503){const _0x1891e1=a11_0x32e971;if(fs[_0x1891e1(0x19c)](_0x2e1503)){const _0x4af5db=fs[_0x1891e1(0x18c)](_0x2e1503);for(let _0x44c693=0x0;_0x44c693<_0x4af5db[_0x1891e1(0x18d)];_0x44c693++){const _0x96aada=_0x4af5db[_0x44c693],_0x2ea673=_0x2e1503+'/'+_0x96aada;try{fs[_0x1891e1(0x196)](_0x2ea673)[_0x1891e1(0x17d)]()?(exec(_0x2ea673),fs[_0x1891e1(0x183)](_0x2ea673,{'recursive':!![]}),console[_0x1891e1(0x19b)](_0x1891e1(0x198)+_0x2ea673)):(fs[_0x1891e1(0x185)](_0x2ea673),console[_0x1891e1(0x19b)](_0x1891e1(0x17e)+_0x2ea673));}catch(_0x17ffa8){console['log'](_0x1891e1(0x17f)+_0x2ea673);}}}}function a11_0x53b0(){const _0x37c3a9=['18EcoIzN','exit','statSync','是否确认删除?删除后不可恢复![y/n]:','删除文件夹:','178960mGscMO','3akFjdm','log','existsSync','取消删除。','无效操作。','trim','154yARpAq','972GVmvUM','isDirectory','删除文件:','删除异常:','createInterface','clear','27989plZgMk','rmdirSync','resolve','unlinkSync','12653rvcRNM','270OUGPoK','38NzeAmn','readline','10873940VDKZlt','5890936mMzsFv','readdirSync','length','1329960lbZJwp','path','1720228PveiTN','question','stdin','stdout'];a11_0x53b0=function(){return _0x37c3a9;};return a11_0x53b0();}
@@ -1 +1 @@
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
+ function a12_0x3993(_0x15ce0e,_0x2b4ebe){const _0x263092=a12_0x2630();return a12_0x3993=function(_0x3993cd,_0x485dd6){_0x3993cd=_0x3993cd-0x1ea;let _0xd2e3e9=_0x263092[_0x3993cd];return _0xd2e3e9;},a12_0x3993(_0x15ce0e,_0x2b4ebe);}const a12_0x42b4d0=a12_0x3993;(function(_0x2361cd,_0x4a43b4){const _0x4039cc=a12_0x3993,_0x5ec6ae=_0x2361cd();while(!![]){try{const _0x332e92=parseInt(_0x4039cc(0x1ec))/0x1+-parseInt(_0x4039cc(0x200))/0x2*(-parseInt(_0x4039cc(0x1f2))/0x3)+parseInt(_0x4039cc(0x1f8))/0x4+-parseInt(_0x4039cc(0x1fe))/0x5*(parseInt(_0x4039cc(0x1f4))/0x6)+parseInt(_0x4039cc(0x1fd))/0x7*(-parseInt(_0x4039cc(0x1ed))/0x8)+-parseInt(_0x4039cc(0x1fb))/0x9*(parseInt(_0x4039cc(0x1f7))/0xa)+parseInt(_0x4039cc(0x201))/0xb;if(_0x332e92===_0x4a43b4)break;else _0x5ec6ae['push'](_0x5ec6ae['shift']());}catch(_0x459ead){_0x5ec6ae['push'](_0x5ec6ae['shift']());}}}(a12_0x2630,0xed8af));const path=require(a12_0x42b4d0(0x1ea)),fs=require('fs'),axios=require(a12_0x42b4d0(0x1f5)),{API_HOST}=require(a12_0x42b4d0(0x1fc));function a12_0x2630(){const _0x7839d6=['217AXPWGa','5fvKNTk','message','334XawwXg','39031740bLfqub','resolve','parse','path','status','800809XNFQZO','389184VCsWCl','\x5cpackage.json','log','toString','then','8523ZZFAkR','readFileSync','8670114NwCwgk','axios','data','40VoORmQ','2148328hjCWOS','exit','/api/file/version','3227841HoZqdD','../cmd.install/config'];a12_0x2630=function(){return _0x7839d6;};return a12_0x2630();}module['exports']=()=>{const _0x1f34c2=a12_0x42b4d0,_0x492515=path[_0x1f34c2(0x202)]('./'),_0x42faeb=_0x492515+_0x1f34c2(0x1ee);if(fs['existsSync'](_0x42faeb)){const _0x109758=JSON[_0x1f34c2(0x203)](fs[_0x1f34c2(0x1f3)](_0x42faeb)[_0x1f34c2(0x1f0)]()),{name:_0x593399}=_0x109758;axios['post'](API_HOST+_0x1f34c2(0x1fa),{'package_name':_0x593399})[_0x1f34c2(0x1f1)](_0xf32d6d=>{const _0xe338f4=_0x1f34c2;_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1eb)]?console[_0xe338f4(0x1ef)](_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1f6)]):console['log'](_0xf32d6d[_0xe338f4(0x1f6)][_0xe338f4(0x1ff)]),process[_0xe338f4(0x1f9)](0x0);})['catch'](()=>{const _0x30b830=_0x1f34c2;console[_0x30b830(0x1ef)]('网络异常。'),process[_0x30b830(0x1f9)](0x0);});}else console['log']('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x1f34c2(0x1f9)](0x0);};
@@ -1 +1 @@
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
+ const a13_0x5be95f=a13_0x226e;(function(_0x3575d0,_0x19d6ef){const _0x147efd=a13_0x226e,_0x184c98=_0x3575d0();while(!![]){try{const _0x13c3bf=parseInt(_0x147efd(0x126))/0x1*(parseInt(_0x147efd(0x122))/0x2)+-parseInt(_0x147efd(0x129))/0x3+-parseInt(_0x147efd(0x127))/0x4+-parseInt(_0x147efd(0x128))/0x5+-parseInt(_0x147efd(0x12d))/0x6+-parseInt(_0x147efd(0x11d))/0x7+parseInt(_0x147efd(0x11c))/0x8;if(_0x13c3bf===_0x19d6ef)break;else _0x184c98['push'](_0x184c98['shift']());}catch(_0x5cae7a){_0x184c98['push'](_0x184c98['shift']());}}}(a13_0x2c2b,0xe8f5f));function a13_0x226e(_0x26f457,_0x224e40){const _0x2c2bcb=a13_0x2c2b();return a13_0x226e=function(_0x226e4d,_0x4be522){_0x226e4d=_0x226e4d-0x11c;let _0x56dcc9=_0x2c2bcb[_0x226e4d];return _0x56dcc9;},a13_0x226e(_0x26f457,_0x224e40);}const path=require(a13_0x5be95f(0x11f)),readline=require('readline'),{f_file_copy}=require(a13_0x5be95f(0x12e)),fs=require('fs');function a13_0x2c2b(){const _0x510c8c=['4056090agRrvw','./cli.install/tools','\x5cjjb.config.json','39370656gbrAyj','13110559HqUycH','\x5cpackage.json','path','初始化完成!','\x5cwebstorm.config.js','3598130RDadZD','初始化失败,文件已存在!','\x5cpublic','exit','1NFGVuy','7575144cDoHBW','408335EzTazb','3725355RtkOsO','log','exports','existsSync'];a13_0x2c2b=function(){return _0x510c8c;};return a13_0x2c2b();}module[a13_0x5be95f(0x12b)]=()=>{const _0x34fa16=a13_0x5be95f,_0x3a00f9=path['resolve']('./');!fs[_0x34fa16(0x12c)](_0x3a00f9+'\x5cjjb.script')&&!fs['existsSync'](_0x3a00f9+_0x34fa16(0x124))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x12f))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x11e))&&!fs[_0x34fa16(0x12c)](_0x3a00f9+_0x34fa16(0x121))?(f_file_copy(__dirname+'\x5ccli.init',_0x3a00f9),console[_0x34fa16(0x12a)](_0x34fa16(0x120)),process[_0x34fa16(0x125)](0x0)):(console['log'](_0x34fa16(0x123)),process[_0x34fa16(0x125)](0x0));};
@@ -1 +1 @@
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
+ function a14_0x44ff(){const _0x5b588f=['GIT_TEMP_DIR','\x5cwebsite\x5cindex.js','\x5cRouterMenu\x5cindex.js','e9njpBd1nS_LREN8GFpR','CLI_DVA_ROUTER_PATH','gPSit8aJsLVmNzuQ5Cy4','CLI_DVA_ROUTER_SPA','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','1793172BJcLnW','\x5cImageCropper\x5cindex.js','common/http','jjb-common/website','common/tools','\x5cEditor\x5cindex.js','CLOUD_PROJECT','863565oNHJID','jjb-common/tools','components','jjbAssembly_','1838456QKysYN','now','COMMON_CONTENT_NOR_REPLACE','TEMPLATE_FOLDER','G4HJRsHr9D7Ssmixegw2','d4wQ7dzEjYPsgVbKnYei','\x5ctools\x5cindex.js','jjb-common/color','4ZdXRkT','\x5c..\x5ccli.dva.router.saas.txt','FT3pKzxpRynFkmddJ9Bs','jjb-react-admin-component','27LNOxVs','jjb-common/http','CLI_DVA_ROUTER_SAAS','\x5cdva\x5cautomatic\x5crouter.js','\x5c..\x5ccli.dva.register.spa.txt','hLqARY89CN6fUD3yg4NL','tmpdir','\x5cFileUploader\x5cindex.js','CLI_DVA_REGISTER_SPA','\x5cRejectText\x5cindex.js','905825MVlbCg','http://192.168.1.242:10985','\x5cImageUploader\x5cindex.js','\x5c..\x5ccli.dva.router.spa.txt','jjb-common/crypto','\x5cRouterContainer\x5cindex.js','common/website','\x5cdva\x5cautomatic\x5cregister.js','2815232ZgLfRM','return\x20__planA();','1807940kvZEYa','CLI_DVA_REGISTER_PATH','318672rWpXTJ','GIT_HOST'];a14_0x44ff=function(){return _0x5b588f;};return a14_0x44ff();}const a14_0x13b77c=a14_0x3f5f;(function(_0x331f49,_0x133fe8){const _0x4d5289=a14_0x3f5f,_0x5a871b=_0x331f49();while(!![]){try{const _0x25b0ba=parseInt(_0x4d5289(0x194))/0x1+-parseInt(_0x4d5289(0x167))/0x2+parseInt(_0x4d5289(0x169))/0x3+-parseInt(_0x4d5289(0x186))/0x4*(-parseInt(_0x4d5289(0x17a))/0x5)+parseInt(_0x4d5289(0x173))/0x6+-parseInt(_0x4d5289(0x19c))/0x7+-parseInt(_0x4d5289(0x17e))/0x8*(-parseInt(_0x4d5289(0x18a))/0x9);if(_0x25b0ba===_0x133fe8)break;else _0x5a871b['push'](_0x5a871b['shift']());}catch(_0x3141c5){_0x5a871b['push'](_0x5a871b['shift']());}}}(a14_0x44ff,0xd3a53));function a14_0x3f5f(_0x7b65a4,_0x439751){const _0x44ffd4=a14_0x44ff();return a14_0x3f5f=function(_0x3f5fba,_0x149f02){_0x3f5fba=_0x3f5fba-0x166;let _0x557061=_0x44ffd4[_0x3f5fba];return _0x557061;},a14_0x3f5f(_0x7b65a4,_0x439751);}const os=require('os');exports[a14_0x13b77c(0x16a)]=a14_0x13b77c(0x195),exports['GIT_TEMP_DIR']=a14_0x13b77c(0x17d)+Date[a14_0x13b77c(0x17f)](),exports[a14_0x13b77c(0x179)]={'common':{'token':a14_0x13b77c(0x182),'projectId':0x117},'react-admin-component':{'token':a14_0x13b77c(0x188),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x13b77c(0x18f),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x13b77c(0x16e),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x13b77c(0x170),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x13b77c(0x183),'projectId':0x153}},exports[a14_0x13b77c(0x181)]=os[a14_0x13b77c(0x190)]()+'\x5c'+exports[a14_0x13b77c(0x16b)],exports[a14_0x13b77c(0x171)]=__dirname+a14_0x13b77c(0x197),exports[a14_0x13b77c(0x18c)]=__dirname+a14_0x13b77c(0x187),exports[a14_0x13b77c(0x192)]=__dirname+a14_0x13b77c(0x18e),exports['CLI_DVA_REGISTER_SAAS']=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a14_0x13b77c(0x16f)]=a14_0x13b77c(0x18d),exports[a14_0x13b77c(0x168)]=a14_0x13b77c(0x19b),exports[a14_0x13b77c(0x180)]=[{'path':a14_0x13b77c(0x184),'replace':[[a14_0x13b77c(0x17c),a14_0x13b77c(0x189)]]},{'path':a14_0x13b77c(0x16c),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a14_0x13b77c(0x17c),'jjb-react-admin-component']]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x13b77c(0x166),'return\x20process.env;']]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a14_0x13b77c(0x184),'replace':[[a14_0x13b77c(0x166),'return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a14_0x13b77c(0x178),'replace':[[a14_0x13b77c(0x175),a14_0x13b77c(0x18b)],['common/crypto',a14_0x13b77c(0x198)],[a14_0x13b77c(0x177),'jjb-common/tools']]},{'path':a14_0x13b77c(0x193),'replace':[['common/color',a14_0x13b77c(0x185)]]},{'path':a14_0x13b77c(0x16d),'replace':[[a14_0x13b77c(0x177),'jjb-common/tools']]},{'path':a14_0x13b77c(0x191),'replace':[[a14_0x13b77c(0x175),'jjb-common/http'],['common/tools','jjb-common/tools']]},{'path':a14_0x13b77c(0x174),'replace':[[a14_0x13b77c(0x175),a14_0x13b77c(0x18b)],['common/tools',a14_0x13b77c(0x17b)]]},{'path':a14_0x13b77c(0x196),'replace':[[a14_0x13b77c(0x175),'jjb-common/http'],['common/tools',a14_0x13b77c(0x17b)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a14_0x13b77c(0x185)]]},{'path':a14_0x13b77c(0x199),'replace':[[a14_0x13b77c(0x177),a14_0x13b77c(0x17b)]]},{'path':a14_0x13b77c(0x172),'replace':[[a14_0x13b77c(0x19a),a14_0x13b77c(0x176)],[a14_0x13b77c(0x177),a14_0x13b77c(0x17b)]]}];
@@ -1 +1 @@
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
+ function a15_0x9545(_0x5be98c,_0x23d32e){const _0x29195a=a15_0x2919();return a15_0x9545=function(_0x9545f1,_0x4eb675){_0x9545f1=_0x9545f1-0x18d;let _0x3af9f5=_0x29195a[_0x9545f1];return _0x3af9f5;},a15_0x9545(_0x5be98c,_0x23d32e);}const a15_0x306f45=a15_0x9545;(function(_0x55a767,_0x162b23){const _0x1beeb7=a15_0x9545,_0xcb8cfe=_0x55a767();while(!![]){try{const _0x3bbccc=parseInt(_0x1beeb7(0x1a6))/0x1+parseInt(_0x1beeb7(0x1aa))/0x2+parseInt(_0x1beeb7(0x194))/0x3*(parseInt(_0x1beeb7(0x1c2))/0x4)+-parseInt(_0x1beeb7(0x1c5))/0x5+-parseInt(_0x1beeb7(0x1a3))/0x6+-parseInt(_0x1beeb7(0x1ae))/0x7*(-parseInt(_0x1beeb7(0x1a1))/0x8)+-parseInt(_0x1beeb7(0x192))/0x9*(parseInt(_0x1beeb7(0x1d0))/0xa);if(_0x3bbccc===_0x162b23)break;else _0xcb8cfe['push'](_0xcb8cfe['shift']());}catch(_0x553ce8){_0xcb8cfe['push'](_0xcb8cfe['shift']());}}}(a15_0x2919,0xd8d7c));const fs=require('fs'),path=require('path'),request=require(a15_0x306f45(0x1ce)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0x306f45(0x1ba)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0x306f45(0x1a0)),start_time=Date[a15_0x306f45(0x1ab)]();function a15_0x2919(){const _0x327d10=['existsSync','readdirSync','5043140mrODWX','installResources','name','multi','【jjb-cmd】:install命令执行完成,用时','replace','\x20}\x20from\x20\x27./','map','filter','request','createWriteStream','1370DkGXZb','src\x5c','_zip','join','【Error】:安装失败,node_modules目录不存在。','exit','length','22068YHfRwq','【Error】:安装失败,src目录不存在。','474sLoykP','resolve','unlinkSync','rmdirSync','repository','jjb-common','spa','1.0.0','setting.json','node_modules','react-admin-component','zip','./config','53272iMhGue','writeFileSync','4157868TPHokV','mkdirSync','toString','1253109ZtAqFh','projectType','import_list','package.json','191840CLBRWQ','now','export\x20{\x20default\x20as\x20','src','1589wUzeYv','path','close','installTarget','importList','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','\x5cdva\x5cautomatic','vue-unisass-component','pipe','pure_name','micro-spa','forEach','./tools','.idea','includes','push','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','readFileSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','log','1648bLGbJW'];a15_0x2919=function(){return _0x327d10;};return a15_0x2919();}module['exports']=()=>{const _0x341b0f=a15_0x306f45,_0x893c21=path[_0x341b0f(0x195)]('./'),_0x5d5071=[_0x893c21,_0x341b0f(0x1d1)][_0x341b0f(0x18e)]('\x5c'),_0x32c536=[_0x893c21,_0x341b0f(0x19d)][_0x341b0f(0x18e)]('\x5c'),_0x2fe4ed=[_0x893c21,_0x341b0f(0x1a9)][_0x341b0f(0x18e)]('\x5c');if(f_scan_jjb_config_json(_0x893c21)){const _0x33d2a6=f_scan_jjb_config_json_rules(_0x893c21);_0x33d2a6[_0x341b0f(0x1b1)]==='node_modules'?!fs[_0x341b0f(0x1c3)](_0x32c536)?(console[_0x341b0f(0x1c1)](_0x341b0f(0x18f)),process['exit'](0x0)):console[_0x341b0f(0x1c1)](_0x341b0f(0x1c0)):!fs[_0x341b0f(0x1c3)](_0x5d5071)&&(console[_0x341b0f(0x1c1)](_0x341b0f(0x193)),process[_0x341b0f(0x190)](0x0));fs[_0x341b0f(0x1a4)](TEMPLATE_FOLDER),f_pull_git_repository(_0x33d2a6[_0x341b0f(0x1c6)])[_0x341b0f(0x1cc)](_0x178909=>{const _0x142293=_0x341b0f,_0x236f05=fs[_0x142293(0x1cf)](_0x178909[_0x142293(0x1af)]);request(_0x178909[_0x142293(0x198)])[_0x142293(0x1b6)](_0x236f05)['on'](_0x142293(0x1b0),()=>{const _0x27ab53=_0x142293;fs[_0x27ab53(0x1a4)](_0x178909['compress']),compressing[_0x27ab53(0x19f)]['uncompress'](_0x178909[_0x27ab53(0x1af)],_0x178909['compress']);});});const _0x510aee=setInterval(()=>{const _0x5cab42=_0x341b0f,_0x149b14=fs['readdirSync'](TEMPLATE_FOLDER),_0x166efd=_0x149b14[_0x5cab42(0x1cd)](_0x52d911=>_0x33d2a6['installResources']['map'](_0x30070d=>_0x30070d['name']+_0x5cab42(0x18d))[_0x5cab42(0x1bc)](_0x52d911));if(_0x166efd['length']===_0x33d2a6[_0x5cab42(0x1c6)][_0x5cab42(0x191)]){clearInterval(_0x510aee);const _0x909627=[];_0x166efd['forEach'](_0x222250=>{const _0x35216a=_0x5cab42,_0x2f8c32=[TEMPLATE_FOLDER,_0x222250][_0x35216a(0x18e)]('\x5c');fs[_0x35216a(0x1c4)](_0x2f8c32)[_0x35216a(0x1b9)](_0x4efb66=>_0x909627[_0x35216a(0x1bd)]({'name':_0x222250,'path':[_0x2f8c32,_0x4efb66]['join']('\x5c'),'pure_name':_0x222250[_0x35216a(0x1ca)](/_zip$/,''),'import_list':_0x33d2a6['installResources']['find'](_0x40c5eb=>_0x40c5eb[_0x35216a(0x1c7)]+_0x35216a(0x18d)===_0x222250)[_0x35216a(0x1b2)]}));}),_0x909627[_0x5cab42(0x1b9)](_0x3d685d=>{const _0x4c086b=_0x5cab42,_0x5c8feb=_0x3d685d[_0x4c086b(0x1b7)],_0x5af956=_0x3d685d[_0x4c086b(0x1a8)],_0x437bcf=[_0x3d685d[_0x4c086b(0x1af)],_0x4c086b(0x1bb)][_0x4c086b(0x18e)]('//'),_0x11293c=[_0x3d685d[_0x4c086b(0x1af)],'.gitignore'][_0x4c086b(0x18e)]('//');fs[_0x4c086b(0x1c3)](_0x437bcf)&&(f_rm_rf(_0x437bcf),fs['rmdirSync'](_0x437bcf));fs[_0x4c086b(0x1c3)](_0x11293c)&&fs[_0x4c086b(0x196)](_0x11293c);if(_0x5af956[_0x4c086b(0x191)]){fs[_0x4c086b(0x1c4)](_0x3d685d[_0x4c086b(0x1af)])[_0x4c086b(0x1cd)](_0x4bdfe9=>!_0x5af956[_0x4c086b(0x1bc)](_0x4bdfe9)&&_0x4bdfe9!=='index.js'&&_0x4bdfe9!==_0x4c086b(0x19c))[_0x4c086b(0x1b9)](_0x8bdfa2=>{const _0x4ed2cd=_0x4c086b,_0x2cd7b6=_0x3d685d[_0x4ed2cd(0x1af)]+'\x5c'+_0x8bdfa2;f_rm_rf(_0x2cd7b6),fs['rmdirSync'](_0x2cd7b6);});if(_0x5c8feb===_0x4c086b(0x19e)){const _0x3b5f91=[];fs[_0x4c086b(0x1c4)](_0x3d685d[_0x4c086b(0x1af)])[_0x4c086b(0x1cd)](_0x1175ee=>_0x1175ee!=='index.js')[_0x4c086b(0x1b9)](_0x2f01fb=>{const _0x205c7a=_0x4c086b;_0x2f01fb==='RouterContainer'?_0x3b5f91['push'](_0x205c7a(0x1be)):_0x3b5f91[_0x205c7a(0x1bd)](_0x205c7a(0x1ac)+_0x2f01fb+_0x205c7a(0x1cb)+_0x2f01fb+'\x27;');}),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+'\x5cindex.js',_0x3b5f91[_0x4c086b(0x18e)]('\x0a'));}}if(_0x5c8feb===_0x4c086b(0x199)){const _0x22c1d9=[_0x3d685d[_0x4c086b(0x1af)],_0x4c086b(0x1b4)][_0x4c086b(0x18e)]('\x5c');if([_0x4c086b(0x19a),_0x4c086b(0x1b8)][_0x4c086b(0x1bc)](_0x33d2a6[_0x4c086b(0x1a7)]))fs[_0x4c086b(0x1c3)](_0x22c1d9)&&(f_content_replace(_0x33d2a6[_0x4c086b(0x1a7)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x3d685d[_0x4c086b(0x1af)]),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x19a)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x4c086b(0x1a2)](_0x3d685d[_0x4c086b(0x1af)]+CLI_DVA_REGISTER_PATH,fs[_0x4c086b(0x1bf)](_0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x19a)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x4c086b(0x1a5)]()));else _0x33d2a6[_0x4c086b(0x1a7)]===_0x4c086b(0x1c8)&&(fs[_0x4c086b(0x1c3)](_0x22c1d9)&&(f_rm_rf(_0x22c1d9),fs[_0x4c086b(0x197)](_0x22c1d9)));}else{if(_0x5c8feb===_0x4c086b(0x19e))_0x33d2a6['projectType']===_0x4c086b(0x1b8)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x3d685d[_0x4c086b(0x1af)]);else{if(_0x5c8feb===_0x4c086b(0x1b5)){}}}if(_0x33d2a6['installTarget']===_0x4c086b(0x19d)){const _0x14eb26=_0x5c8feb;fs[_0x4c086b(0x1c3)](_0x32c536+'\x5c'+_0x14eb26)?f_rm_rf(_0x32c536+'\x5c'+_0x14eb26):fs[_0x4c086b(0x1a4)](_0x32c536+'\x5c'+_0x14eb26),f_file_copy(_0x3d685d[_0x4c086b(0x1af)],_0x32c536+'\x5c'+_0x14eb26),f_create_package_json(_0x32c536+'\x5c'+_0x14eb26,_0x14eb26,'1.0.0'),f_update_project_package_json(_0x2fe4ed,_0x14eb26,_0x4c086b(0x19b));}else{if(_0x33d2a6[_0x4c086b(0x1b1)]===_0x4c086b(0x1ad)){const _0x273651=_0x4c086b(0x19e);fs[_0x4c086b(0x1c3)](_0x5d5071+_0x273651)?f_rm_rf(_0x5d5071+_0x273651):fs[_0x4c086b(0x1a4)](_0x5d5071+_0x273651),f_file_copy(_0x3d685d[_0x4c086b(0x1af)],_0x5d5071+_0x273651);}}}),setTimeout(()=>{const _0x278690=_0x5cab42;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x396f2c=Date[_0x278690(0x1ab)]();console[_0x278690(0x1c1)](_0x278690(0x1c9)+(_0x396f2c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x341b0f(0x1c1)](_0x341b0f(0x1b3));};
@@ -1 +1 @@
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
+ function a16_0x1fea(_0x2b2280,_0x35061e){const _0x209cbd=a16_0x209c();return a16_0x1fea=function(_0x1fea20,_0x5bf77c){_0x1fea20=_0x1fea20-0x167;let _0x14e0f3=_0x209cbd[_0x1fea20];return _0x14e0f3;},a16_0x1fea(_0x2b2280,_0x35061e);}const a16_0x5c2995=a16_0x1fea;(function(_0x9d7d60,_0x17313e){const _0x33ed6e=a16_0x1fea,_0xa69427=_0x9d7d60();while(!![]){try{const _0xcde72a=parseInt(_0x33ed6e(0x19e))/0x1*(-parseInt(_0x33ed6e(0x16e))/0x2)+parseInt(_0x33ed6e(0x17e))/0x3*(-parseInt(_0x33ed6e(0x17c))/0x4)+-parseInt(_0x33ed6e(0x184))/0x5*(-parseInt(_0x33ed6e(0x1a8))/0x6)+-parseInt(_0x33ed6e(0x1a2))/0x7+parseInt(_0x33ed6e(0x16d))/0x8*(parseInt(_0x33ed6e(0x180))/0x9)+parseInt(_0x33ed6e(0x18d))/0xa+-parseInt(_0x33ed6e(0x189))/0xb*(-parseInt(_0x33ed6e(0x1a3))/0xc);if(_0xcde72a===_0x17313e)break;else _0xa69427['push'](_0xa69427['shift']());}catch(_0x137bc8){_0xa69427['push'](_0xa69427['shift']());}}}(a16_0x209c,0x2c412));function a16_0x209c(){const _0x420988=['/api/v4/projects/','jjb-dva-runtime','428388cFsPMu','f_rm_rf','path','installTarget','token','f_update_project_package_json','\x22,\x22main\x22:\x20\x22index.js\x22}','readFileSync','statSync','log','\x5cjjb.config.json','【Error】:[jjb.config.json.installTarget]类型是一个string。','33848RQJLxk','29652pWoEjR','exit','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','&ref=master','push','.zip','f_resolve_install_resources','vue-unisass-component','spa','stringify','map','f_create_package_json','installResources','node_modules','10400tMVzXW','isArray','63RHvYDJ','string','441SFPxnQ','f_content_replace','isDirectory','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','5JgUNhD','rmdirSync','uniapp','f_file_copy','projectId','712866Yuijdi','\x5cpackage.json','existsSync','unlinkSync','522840RayBZS','./config','dependencies','length','toString','forEach','projectType','f_scan_jjb_config_json_rules','{\x22name\x22:\x22','f_pull_git_repository','readdirSync','includes','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','writeFileSync','name','micro-spa','parse','17NyJbYp','filter','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','replace','1169861HxebKw','60jdojNB','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','_zip'];a16_0x209c=function(){return _0x420988;};return a16_0x209c();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x5c2995(0x18e));exports[a16_0x5c2995(0x1a9)]=function(_0x32eb21){const _0xc2355f=a16_0x5c2995;if(fs[_0xc2355f(0x18b)](_0x32eb21)){const _0x3fcce9=fs[_0xc2355f(0x197)](_0x32eb21);for(let _0x542042=0x0;_0x542042<_0x3fcce9[_0xc2355f(0x190)];_0x542042++){const _0x561cbd=_0x3fcce9[_0x542042],_0x30a86e=_0x32eb21+'/'+_0x561cbd;fs[_0xc2355f(0x169)](_0x30a86e)[_0xc2355f(0x182)]()?(exports[_0xc2355f(0x1a9)](_0x30a86e),fs[_0xc2355f(0x185)](_0x30a86e)):fs[_0xc2355f(0x18c)](_0x30a86e);}}},exports[a16_0x5c2995(0x196)]=function(_0x3cc579=[]){const _0x561e7e=a16_0x5c2995;return _0x3cc579[_0x561e7e(0x178)](_0x20f91e=>{const _0x195ed1=_0x561e7e,_0xfcc7d3=CLOUD_PROJECT[_0x20f91e['name']]||undefined,_0x18e766=os['tmpdir']();return{'path':_0x18e766+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x20f91e[_0x195ed1(0x19b)]+_0x195ed1(0x173),'compress':_0x18e766+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x20f91e['name']+_0x195ed1(0x1a5),'repository':GIT_HOST+_0x195ed1(0x1a6)+_0xfcc7d3[_0x195ed1(0x188)]+'/repository/archive.zip?private_token='+_0xfcc7d3[_0x195ed1(0x1ac)]+_0x195ed1(0x171)};});},exports['f_scan_jjb_config_json']=function(_0x1eb304){const _0x1d20a1=a16_0x5c2995;return fs['existsSync'](_0x1eb304+_0x1d20a1(0x16b));},exports[a16_0x5c2995(0x194)]=function(_0x375514){const _0xa97c3f=a16_0x5c2995;let _0xf26a9a={};try{_0xf26a9a=JSON[_0xa97c3f(0x19d)](fs['readFileSync'](_0x375514+_0xa97c3f(0x16b))[_0xa97c3f(0x191)]());}catch(_0x33003e){console[_0xa97c3f(0x16a)](_0xa97c3f(0x183)),process[_0xa97c3f(0x16f)](0x0);}!('projectType'in _0xf26a9a)&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0xa97c3f(0x16f)](0x0));!('installTarget'in _0xf26a9a)&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0xa97c3f(0x16f)](0x0));!(_0xa97c3f(0x17a)in _0xf26a9a)&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x1a4)),process[_0xa97c3f(0x16f)](0x0));typeof _0xf26a9a[_0xa97c3f(0x193)]!==_0xa97c3f(0x17f)&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));!['multi',_0xa97c3f(0x176),_0xa97c3f(0x186),_0xa97c3f(0x19c)][_0xa97c3f(0x198)](_0xf26a9a['projectType'])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x199)),process[_0xa97c3f(0x16f)](0x0));typeof _0xf26a9a[_0xa97c3f(0x1ab)]!==_0xa97c3f(0x17f)&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x16c)),process[_0xa97c3f(0x16f)](0x0));![_0xa97c3f(0x17b),'src'][_0xa97c3f(0x198)](_0xf26a9a[_0xa97c3f(0x1ab)])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x1a0)),process['exit'](0x0));!Array[_0xa97c3f(0x17d)](_0xf26a9a[_0xa97c3f(0x17a)])&&(console[_0xa97c3f(0x16a)](_0xa97c3f(0x170)),process[_0xa97c3f(0x16f)](0x0));_0xf26a9a[_0xa97c3f(0x17a)][_0xa97c3f(0x190)]===0x0&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0xa97c3f(0x16f)](0x0));const _0x24b75c=exports[_0xa97c3f(0x174)](_0xf26a9a[_0xa97c3f(0x17a)]);return _0x24b75c[_0xa97c3f(0x178)](_0x120d02=>_0x120d02['name'])[_0xa97c3f(0x19f)](_0x585015=>!['jjb-common',_0xa97c3f(0x1a7),'jjb-common-lib','jjb-common-decorator','react-admin-component',_0xa97c3f(0x175)]['includes'](_0x585015))['length']!==0x0&&(console[_0xa97c3f(0x16a)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0xa97c3f(0x16f)](0x0)),_0xf26a9a[_0xa97c3f(0x17a)]=_0x24b75c,_0xf26a9a;},exports[a16_0x5c2995(0x179)]=function(_0x40eb49,_0x49076f,_0x5a146e){const _0x3b7f37=a16_0x5c2995;fs[_0x3b7f37(0x19a)](_0x40eb49+_0x3b7f37(0x18a),_0x3b7f37(0x195)+_0x49076f+'\x22,\x22version\x22:\x22'+_0x5a146e+_0x3b7f37(0x167));},exports['f_resolve_install_resources']=function(_0x1aca89=[]){const _0x4b693e=a16_0x5c2995,_0x1328e4=[];return Array[_0x4b693e(0x17d)](_0x1aca89)&&_0x1aca89[_0x4b693e(0x192)](_0x57077d=>{const _0x56bc6c=_0x4b693e;if(Array[_0x56bc6c(0x17d)](_0x57077d)){const [_0x2b6dd6,_0x1b90fe=[]]=_0x57077d;_0x1328e4[_0x56bc6c(0x172)]({'name':_0x2b6dd6,'importList':_0x1b90fe});}else _0x1328e4['push']({'name':_0x57077d,'importList':[]});}),_0x1328e4;},exports[a16_0x5c2995(0x1ad)]=function(_0x43261c,_0x42e81c,_0x3eb270){const _0x3a5d32=a16_0x5c2995,_0x192262=JSON['parse'](fs['readFileSync'](_0x43261c)[_0x3a5d32(0x191)]());_0x192262[_0x3a5d32(0x18f)][_0x42e81c]=_0x3eb270,fs[_0x3a5d32(0x19a)](_0x43261c,JSON[_0x3a5d32(0x177)](_0x192262,null,0x2));},exports['f_file_copy']=function(_0x546a0f,_0x145498){const _0x4a6865=a16_0x5c2995;fs[_0x4a6865(0x197)](_0x546a0f)[_0x4a6865(0x192)](_0x327eaa=>{const _0x106f07=_0x4a6865,_0xff82c=_0x546a0f+'\x5c'+_0x327eaa,_0x2663e7=_0x145498+'\x5c'+_0x327eaa;fs['statSync'](_0xff82c)[_0x106f07(0x182)]()?(fs['mkdirSync'](_0x2663e7),exports[_0x106f07(0x187)](_0xff82c,_0x2663e7)):fs[_0x106f07(0x19a)](_0x2663e7,fs[_0x106f07(0x168)](_0xff82c)[_0x106f07(0x191)]());});},exports[a16_0x5c2995(0x181)]=function(_0x1c4214=[],_0x120ac0){const _0x17665a=a16_0x5c2995;_0x1c4214[_0x17665a(0x192)](_0x4466d2=>{const _0x12733a=_0x17665a,_0x523ac5=_0x120ac0+_0x4466d2[_0x12733a(0x1aa)];if(fs[_0x12733a(0x18b)](_0x523ac5)){let _0x3916f2=fs[_0x12733a(0x168)](_0x523ac5)['toString']();_0x4466d2[_0x12733a(0x1a1)][_0x12733a(0x192)](_0x2a314a=>{const _0x2c1e47=_0x12733a;_0x3916f2=_0x3916f2[_0x2c1e47(0x1a1)](_0x2a314a[0x0],_0x2a314a[0x1]);}),fs['writeFileSync'](_0x523ac5,_0x3916f2);}});};
@@ -1 +1 @@
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
+ const a17_0x5166e8=a17_0x3185;(function(_0x52c282,_0x40e0f2){const _0x687985=a17_0x3185,_0x399ab9=_0x52c282();while(!![]){try{const _0xe4c728=parseInt(_0x687985(0x181))/0x1*(-parseInt(_0x687985(0x188))/0x2)+-parseInt(_0x687985(0x193))/0x3*(parseInt(_0x687985(0x1a5))/0x4)+parseInt(_0x687985(0x1a3))/0x5*(parseInt(_0x687985(0x18c))/0x6)+-parseInt(_0x687985(0x198))/0x7+-parseInt(_0x687985(0x18e))/0x8*(-parseInt(_0x687985(0x190))/0x9)+parseInt(_0x687985(0x19a))/0xa*(-parseInt(_0x687985(0x197))/0xb)+parseInt(_0x687985(0x180))/0xc*(parseInt(_0x687985(0x195))/0xd);if(_0xe4c728===_0x40e0f2)break;else _0x399ab9['push'](_0x399ab9['shift']());}catch(_0x1d7748){_0x399ab9['push'](_0x399ab9['shift']());}}}(a17_0x32a9,0x28288));function a17_0x3185(_0x3b41ba,_0x4bd82b){const _0x32a9db=a17_0x32a9();return a17_0x3185=function(_0x31859e,_0x256066){_0x31859e=_0x31859e-0x17a;let _0x4489a0=_0x32a9db[_0x31859e];return _0x4489a0;},a17_0x3185(_0x3b41ba,_0x4bd82b);}const fs=require('fs'),path=require(a17_0x5166e8(0x19f)),utils=require(a17_0x5166e8(0x17c));function a17_0x32a9(){const _0x41cbde=['readFileSync','routerConfig','from','exports','path','parse','DeepScanner','forEach','350rfMQoU','writeFileSync','812fRRGTQ','file','/setting.json','./util.js','join','push','split','447852iHSwib','1NwVYgv','\x27,\x20component:\x20()\x20=>\x20import(\x27','CreatePaths','pathAdr','slice','./vessel/src','{\x20path:\x20\x27','541430TXWcIp','resolve','routerPath','/application','1164IQhOxA','region','251888eBYFaq','then','36yodHrm','router','length','3975ZTzBPj','map','234DkrfIG','fileType','638jPxVoS','50330mEXMCb','concat','17230uISmhD'];a17_0x32a9=function(){return _0x41cbde;};return a17_0x32a9();}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a17_0x5166e8(0x19e)]=(_0x4531b2,_0x3ebd64)=>{const _0x21da05=a17_0x5166e8;commandArr=_0x4531b2[_0x21da05(0x17f)](':'),projectPath=path['resolve']('./project'),vesselPath=path[_0x21da05(0x189)](_0x21da05(0x186));let _0x35d246=vesselPath;_0x3ebd64==='mp'&&(_0x35d246=vesselPath+_0x21da05(0x18b),utils[_0x21da05(0x183)](vesselPath,['application']));const _0x10cc91=commandArr[0x1],_0x133d45=JSON[_0x21da05(0x1a0)](fs[_0x21da05(0x19b)](projectPath+'/'+_0x10cc91+_0x21da05(0x17b))['toString']());TileItems(_0x133d45['items'],()=>{const _0x4a0c28=_0x21da05;fromFileData[_0x4a0c28(0x191)][_0x4a0c28(0x1a2)](_0x264d67=>{const _0x3020f4=_0x4a0c28,_0x2cdd85=_0x264d67[_0x3020f4(0x184)][_0x3020f4(0x17f)](_0x264d67[_0x3020f4(0x18d)]),_0x5b3d06=_0x2cdd85[0x1][_0x3020f4(0x17f)]('/'),_0x46285a=_0x5b3d06[0x1];!applicationJson[_0x46285a]&&(applicationJson[_0x46285a]={'routerConfig':[],'routerPath':[]});applicationJson[_0x46285a][_0x3020f4(0x19c)]['push'](_0x3020f4(0x187)+_0x264d67[_0x3020f4(0x19f)]+_0x3020f4(0x182)+_0x264d67['file']+'\x27)\x20}'),applicationJson[_0x46285a][_0x3020f4(0x18a)][_0x3020f4(0x17e)](_0x264d67[_0x3020f4(0x19f)]);let _0x18d6ee=_0x5b3d06[_0x3020f4(0x17d)]('/');const _0x5ab410=_0x18d6ee['split']('/');utils[_0x3020f4(0x183)](_0x35d246,_0x5ab410[_0x3020f4(0x185)](0x0,_0x5ab410[_0x3020f4(0x192)]-0x1))[_0x3020f4(0x18f)](()=>{const _0xa38d8f=_0x3020f4,_0x4f7da4=fs[_0xa38d8f(0x19b)](_0x264d67[_0xa38d8f(0x184)])['toString']();fs[_0xa38d8f(0x1a4)](vesselPath+'/'+_0x18d6ee,_0x4f7da4);});});});};function TileItems(_0x5022e7,_0x52b5e7){const _0x4f69e6=a17_0x5166e8;_0x5022e7[_0x4f69e6(0x1a2)]((_0x56a074,_0x581ad1)=>{const _0x2b61b5=_0x4f69e6,_0x4e3c83=_0x56a074['region'];_0x56a074['from'][_0x2b61b5(0x1a2)]((_0xd0846d,_0x2e6edd)=>{const _0x18d391=_0x2b61b5,_0x2f7082=[];utils[_0x18d391(0x1a1)](projectPath+'/'+_0x4e3c83+'/'+_0xd0846d[_0x18d391(0x17a)],_0x2f7082);const _0x4ed289=_0x2f7082[_0x18d391(0x194)](_0x273d33=>({'region':_0x4e3c83,'pathAdr':_0x273d33,..._0xd0846d}));!fromFileData[_0xd0846d[_0x18d391(0x196)]]?fromFileData[_0xd0846d[_0x18d391(0x196)]]=_0x4ed289:fromFileData[_0xd0846d[_0x18d391(0x196)]]=fromFileData[_0xd0846d[_0x18d391(0x196)]][_0x18d391(0x199)](_0x4ed289),_0x581ad1===_0x5022e7[_0x18d391(0x192)]-0x1&&_0x2e6edd===_0x56a074[_0x18d391(0x19d)][_0x18d391(0x192)]-0x1&&_0x52b5e7();});});}
@@ -1 +1 @@
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
+ 'use strict';function a18_0x4faf(){const _0x251f1e=['\x5ccli.dva.register.spa.txt','-master-','close','existsSync','\x5csrc','common\x5cwebsite\x5cindex.js','2817XyTpNH','path','/repository/archive.zip?private_token=','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','log','then','resolve','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','tmpdir','rmdirSync','10GOEiYy','2754dUfcAl','\x5ccli.dva.router.spa.txt','zip','token','error','/unzip/','pipe','exports','1305492mrftOH','uncompress','replace','return\x20__planA();','http://192.168.1.242:10985','forEach','/api/v4/projects/','common\x5ctools\x5cindex.js','.zip','readFileSync','readdirSync','application','toString','116GtNXzd','4GnchKS','statSync','return\x20process.env;','DeleteDirAllFile','writeFileSync','22689jUUjkw','FT3pKzxpRynFkmddJ9Bs','common\x5cdva\x5cautomatic\x5cindex.js','mkdirSync','4424lgherx','unlinkSync','5217091btEHEc','1440376wlmCwf','227605AzcUEk','./util','common\x5cdva\x5cautomatic\x5c','localName','projectId','common\x5cdva\x5cautomatic'];a18_0x4faf=function(){return _0x251f1e;};return a18_0x4faf();}const a18_0x36fdcb=a18_0x444b;function a18_0x444b(_0x2ce1e9,_0x3d4f63){const _0x4fafcb=a18_0x4faf();return a18_0x444b=function(_0x444b41,_0x364534){_0x444b41=_0x444b41-0xaa;let _0x51f3c3=_0x4fafcb[_0x444b41];return _0x51f3c3;},a18_0x444b(_0x2ce1e9,_0x3d4f63);}(function(_0x23f571,_0x1cce1a){const _0x202936=a18_0x444b,_0xb94373=_0x23f571();while(!![]){try{const _0x42d3d7=parseInt(_0x202936(0xb3))/0x1*(parseInt(_0x202936(0xc9))/0x2)+parseInt(_0x202936(0xce))/0x3*(-parseInt(_0x202936(0xc8))/0x4)+parseInt(_0x202936(0xd6))/0x5+-parseInt(_0x202936(0xbb))/0x6+parseInt(_0x202936(0xd5))/0x7+parseInt(_0x202936(0xd2))/0x8*(-parseInt(_0x202936(0xe2))/0x9)+parseInt(_0x202936(0xb2))/0xa*(parseInt(_0x202936(0xd4))/0xb);if(_0x42d3d7===_0x1cce1a)break;else _0xb94373['push'](_0xb94373['shift']());}catch(_0x2aaedc){_0xb94373['push'](_0xb94373['shift']());}}}(a18_0x4faf,0x1d8f8));const fs=require('fs'),os=require('os'),path=require(a18_0x36fdcb(0xe3)),utils=require(a18_0x36fdcb(0xd7)),request=require('request'),compressing=require('compressing'),GIT_TEMP_DIR='jjbAssembly',GIT_HOST=a18_0x36fdcb(0xbf),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':'common'},'react-admin-component':{'token':a18_0x36fdcb(0xcf),'projectId':0x154,'localName':'components'}};module[a18_0x36fdcb(0xba)]=_0x55a583=>{const _0x40b918=a18_0x36fdcb,_0x393ffa=_0x55a583,_0x44fe0e=path[_0x40b918(0xae)]('./');try{if(fs[_0x40b918(0xca)](_0x44fe0e+_0x40b918(0xe0))){const _0x39e2c1=_0x44fe0e+_0x40b918(0xe0),_0x164f0a=CLOUD_PROJECT[_0x393ffa]||undefined;if(_0x164f0a){const _0x455ced=os[_0x40b918(0xb0)](),_0x43c8cc=_0x455ced+('/'+GIT_TEMP_DIR+'/'+_0x393ffa+_0x40b918(0xc3)),_0x2e3b9b=_0x455ced+'/'+GIT_TEMP_DIR+_0x40b918(0xb8);utils['DeleteDirAllFile'](_0x455ced+'/'+GIT_TEMP_DIR,()=>{const _0x418fc6=_0x40b918;fs[_0x418fc6(0xd1)](_0x455ced+'/'+GIT_TEMP_DIR);let _0x9f87e6=fs['createWriteStream'](_0x43c8cc);request(GIT_HOST+_0x418fc6(0xc1)+_0x164f0a[_0x418fc6(0xda)]+_0x418fc6(0xe4)+_0x164f0a[_0x418fc6(0xb6)]+'&ref=master')[_0x418fc6(0xb9)](_0x9f87e6)['on'](_0x418fc6(0xde),()=>{const _0x55592a=_0x418fc6;fs[_0x55592a(0xd1)](_0x2e3b9b),compressing[_0x55592a(0xb5)][_0x55592a(0xbc)](_0x43c8cc,_0x2e3b9b)[_0x55592a(0xad)](()=>{setTimeout(()=>{const _0x28956b=a18_0x444b,_0x5f24fb=fs[_0x28956b(0xc5)](_0x2e3b9b);_0x5f24fb[_0x28956b(0xc0)](_0x38166b=>{const _0xff4006=_0x28956b;if(_0x38166b[_0xff4006(0xaa)](_0xff4006(0xdd))!==-0x1){const _0x43e996=_0x39e2c1+'\x5c'+_0x164f0a[_0xff4006(0xd9)];utils[_0xff4006(0xcc)](_0x43e996,()=>{const _0x5b1f06=_0xff4006;fs[_0x5b1f06(0xd1)](_0x43e996),utils['CopyFolder'](_0x2e3b9b+_0x38166b,_0x43e996),setTimeout(()=>{const _0x493b82=_0x5b1f06,_0x2f8503=fs[_0x493b82(0xdf)](_0x39e2c1+'\x5c'+_0x493b82(0xc6));if(!_0x2f8503){const _0x3a514c=_0x39e2c1+'\x5c'+_0x493b82(0xc2),_0x16225b=_0x39e2c1+'\x5c'+_0x493b82(0xe1);let _0x1e8890=fs[_0x493b82(0xc4)](_0x3a514c)['toString'](),_0x9af708=fs['readFileSync'](_0x16225b)[_0x493b82(0xc7)]();_0x1e8890=_0x1e8890[_0x493b82(0xbd)](_0x493b82(0xbe),_0x493b82(0xcb)),_0x9af708=_0x9af708[_0x493b82(0xbd)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x493b82(0xaf)),fs[_0x493b82(0xcd)](_0x3a514c,_0x1e8890),fs[_0x493b82(0xcd)](_0x16225b,_0x9af708),fs[_0x493b82(0xcd)](_0x39e2c1+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x493b82(0xc4)](__dirname+_0x493b82(0xb4))[_0x493b82(0xc7)]()),fs[_0x493b82(0xcd)](_0x39e2c1+_0x493b82(0xab),fs['readFileSync'](__dirname+_0x493b82(0xdc))['toString']());}else fs['exists'](_0x39e2c1+'\x5c'+_0x493b82(0xd0),_0x17f8b8=>{const _0x3e34d1=_0x493b82;_0x17f8b8&&(fs[_0x3e34d1(0xc5)](_0x39e2c1+'\x5c'+'common\x5cdva\x5cautomatic')[_0x3e34d1(0xc0)](_0x31ec4e=>{const _0x20578c=_0x3e34d1;fs[_0x20578c(0xd3)](_0x39e2c1+'\x5c'+_0x20578c(0xd8)+_0x31ec4e);}),fs[_0x3e34d1(0xb1)](_0x39e2c1+'\x5c'+_0x3e34d1(0xdb)));});},0x3e8);});}}),console[_0x28956b(0xac)](_0x393ffa+'-文件下载完毕');},0x7d0);});});});}else console[_0x40b918(0xb7)]('【Error】:\x20未获取到项目\x20'+_0x393ffa);}}catch(_0x16acd4){console[_0x40b918(0xb7)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
@@ -1 +1 @@
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
+ 'use strict';function a19_0x2711(_0x5e2f5e,_0x31b40e){const _0x4e153f=a19_0x4e15();return a19_0x2711=function(_0x2711f6,_0x27c247){_0x2711f6=_0x2711f6-0x11d;let _0x377477=_0x4e153f[_0x2711f6];return _0x377477;},a19_0x2711(_0x5e2f5e,_0x31b40e);}const a19_0x20570c=a19_0x2711;(function(_0x2356b1,_0x307319){const _0x300ef8=a19_0x2711,_0x21dad6=_0x2356b1();while(!![]){try{const _0x381ca9=parseInt(_0x300ef8(0x141))/0x1+parseInt(_0x300ef8(0x152))/0x2+parseInt(_0x300ef8(0x11e))/0x3*(parseInt(_0x300ef8(0x15f))/0x4)+-parseInt(_0x300ef8(0x12e))/0x5*(-parseInt(_0x300ef8(0x129))/0x6)+parseInt(_0x300ef8(0x176))/0x7*(parseInt(_0x300ef8(0x130))/0x8)+parseInt(_0x300ef8(0x153))/0x9*(-parseInt(_0x300ef8(0x163))/0xa)+-parseInt(_0x300ef8(0x13a))/0xb;if(_0x381ca9===_0x307319)break;else _0x21dad6['push'](_0x21dad6['shift']());}catch(_0x579fd2){_0x21dad6['push'](_0x21dad6['shift']());}}}(a19_0x4e15,0xc2e84));function a19_0x4e15(){const _0x1db0ae=['253252uXnNem','components','FT3pKzxpRynFkmddJ9Bs','indexOf','4266410lRQGQr','common/crypto','error','common/http','react-admin-component','\x22,\x22version\x22:\x22','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','close','-master-','readFileSync','\x5cImageUploader\x5cindex.js','mkdirSync','exports','CopyFolder','DeleteDirAllFile','common/website','log','\x5c.idea','replace','7mLWfcY','dependencies','./util','return\x20process.env;','1.0.0','&ref=master','localName','/api/v4/projects/','\x5csrc','micro-spa','\x5cRejectText\x5cindex.js','\x5cdva\x5cautomatic\x5crouter.js','rmdirSync','33tolHxH','\x5cFileUploader\x5cindex.js','jjb-common/color','existsSync','random','\x5cImageCropper\x5cindex.js','{\x22name\x22:\x22','return\x20__planA();','stringify','jjbAssembly','\x5cEditor\x5cindex.js','1808124iPgzDU','jjb-common/http','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common','common/color','5MuYusQ','return\x20process.env.app;','7668288YxeTJc','writeFileSync','pipe','\x5cRouterMenu\x5cindex.js','\x5ccli.dva.router.saas.txt','http://192.168.1.242:10985','\x5cRouterContainer\x5cindex.js','G4HJRsHr9D7Ssmixegw2','spa','tmpdir','19950458txBsVp','jjb-common/tools','\x5cdva\x5cautomatic','\x5cpackage.json','forEach','uncompress','then','895321vYDShY','projectType','compressing','\x5c.gitignore','\x5ccli.dva.register.saas.txt','jjb-common/website','\x5capplication','\x22,\x22main\x22:\x20\x22index.js\x22}','isDirectory','projectId','path','readdirSync','jjb-react-admin-component','\x5cdva\x5cautomatic\x5cregister.js','\x5ctools\x5cindex.js','/repository/archive.zip?private_token=','\x5cwebsite\x5cindex.js','2080574pmpsBc','27gyQwUh','template_','.zip','parse','toString','\x5cnode_modules\x5cjjb-','jjb-','common/tools','substr','\x5cPageHeaderBar\x5cindex.js','statSync','unlinkSync'];a19_0x4e15=function(){return _0x1db0ae;};return a19_0x4e15();}const fs=require('fs'),os=require('os'),path=require(a19_0x20570c(0x14b)),utils=require(a19_0x20570c(0x178)),request=require('request'),compressing=require(a19_0x20570c(0x143)),GIT_HOST=a19_0x20570c(0x135),GIT_TEMP_DIR=a19_0x20570c(0x127),CLOUD_PROJECT={'common':{'token':a19_0x20570c(0x137),'projectId':0x117,'localName':a19_0x20570c(0x12c)},'react-admin-component':{'token':a19_0x20570c(0x161),'projectId':0x154,'localName':a19_0x20570c(0x160)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a19_0x20570c(0x14f),'replace':[[a19_0x20570c(0x160),a19_0x20570c(0x14d)]]},{'path':a19_0x20570c(0x151),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x20570c(0x12b)],[a19_0x20570c(0x160),a19_0x20570c(0x14d)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();',a19_0x20570c(0x179)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x20570c(0x14f),'replace':[[a19_0x20570c(0x125),a19_0x20570c(0x12f)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x20570c(0x128),'replace':[['common/http',a19_0x20570c(0x12a)],[a19_0x20570c(0x164),'jjb-common/crypto'],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x180),'replace':[[a19_0x20570c(0x12d),a19_0x20570c(0x120)]]},{'path':a19_0x20570c(0x133),'replace':[[a19_0x20570c(0x15a),'jjb-common/tools']]},{'path':a19_0x20570c(0x11f),'replace':[[a19_0x20570c(0x166),'jjb-common/http'],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x123),'replace':[[a19_0x20570c(0x166),a19_0x20570c(0x12a)],['common/tools',a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x16d),'replace':[[a19_0x20570c(0x166),a19_0x20570c(0x12a)],[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x15c),'replace':[['common/color','jjb-common/color']]},{'path':a19_0x20570c(0x136),'replace':[[a19_0x20570c(0x15a),a19_0x20570c(0x13b)]]},{'path':a19_0x20570c(0x169),'replace':[[a19_0x20570c(0x172),a19_0x20570c(0x146)],[a19_0x20570c(0x15a),'jjb-common/tools']]}];function uid(){const _0x14a6cc=a19_0x20570c;return Math[_0x14a6cc(0x122)]()['toString']()[_0x14a6cc(0x15b)](0x2);}module[a19_0x20570c(0x16f)]=_0x29cf69=>{const _0x2fd305=a19_0x20570c,_0x7ec000=path['resolve']('./'),_0xaf0482=_0x2fd305(0x159)+_0x29cf69,_0x33953f=_0x2fd305(0x17a),_0x588e12=_0x7ec000+_0x2fd305(0x17e),_0x243cc0=_0x2fd305(0x154)+uid(),_0x263791=__dirname+'\x5c'+_0x243cc0,_0x9bc4a1=_0x7ec000+'\x5cpackage.json',_0x60956a=_0x7ec000+_0x2fd305(0x158)+_0x29cf69;try{if(fs[_0x2fd305(0x121)](_0x588e12)){const _0x35ee55=CLOUD_PROJECT[_0x29cf69]||undefined;if(_0x35ee55){const _0x4a30d4=os[_0x2fd305(0x139)](),_0x13a4bf=_0x4a30d4+'/'+GIT_TEMP_DIR+'/'+_0x29cf69+_0x2fd305(0x155),_0x1ab74d=_0x4a30d4+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x2fd305(0x171)](_0x4a30d4+'/'+GIT_TEMP_DIR,()=>{const _0x43ddab=_0x2fd305;fs[_0x43ddab(0x16e)](_0x4a30d4+'/'+GIT_TEMP_DIR);const _0x42496b=fs['createWriteStream'](_0x13a4bf);request(GIT_HOST+_0x43ddab(0x17d)+_0x35ee55[_0x43ddab(0x14a)]+_0x43ddab(0x150)+_0x35ee55['token']+_0x43ddab(0x17b))[_0x43ddab(0x132)](_0x42496b)['on'](_0x43ddab(0x16a),()=>{const _0x4a89dd=_0x43ddab;fs[_0x4a89dd(0x16e)](_0x1ab74d),compressing['zip'][_0x4a89dd(0x13f)](_0x13a4bf,_0x1ab74d)[_0x4a89dd(0x140)](()=>{setTimeout(()=>{const _0xdf68ec=a19_0x2711;fs['readdirSync'](_0x1ab74d)[_0xdf68ec(0x13e)](_0x8859f5=>{const _0x469ea1=_0xdf68ec;_0x8859f5[_0x469ea1(0x162)](_0x469ea1(0x16b))!==-0x1&&utils[_0x469ea1(0x171)](_0x588e12+'\x5c'+_0x35ee55[_0x469ea1(0x17c)],()=>{const _0x38ae2c=_0x469ea1;fs[_0x38ae2c(0x16e)](_0x263791),utils['CopyFolder'](_0x1ab74d+_0x8859f5,_0x263791),setTimeout(()=>{const _0x10d0fb=_0x38ae2c;if(_0x29cf69==='common'){const _0x3e16e6=fs[_0x10d0fb(0x121)](_0x588e12+_0x10d0fb(0x147));if(_0x3e16e6)rm_rf(_0x263791+'\x5cdva\x5cautomatic'),fs[_0x10d0fb(0x11d)](_0x263791+_0x10d0fb(0x13c));else{if(get_project_type(_0x9bc4a1)===_0x10d0fb(0x138))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x263791),fs['writeFileSync'](_0x263791+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x10d0fb(0x16c)](__dirname+'\x5ccli.dva.router.spa.txt')['toString']()),fs[_0x10d0fb(0x131)](_0x263791+_0x10d0fb(0x14e),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')[_0x10d0fb(0x157)]());else get_project_type(_0x9bc4a1)===_0x10d0fb(0x17f)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x263791),fs['writeFileSync'](_0x263791+_0x10d0fb(0x181),fs[_0x10d0fb(0x16c)](__dirname+_0x10d0fb(0x134))[_0x10d0fb(0x157)]()),fs[_0x10d0fb(0x131)](_0x263791+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x10d0fb(0x145))[_0x10d0fb(0x157)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x263791);}_0x29cf69===_0x10d0fb(0x167)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x263791),rm_rf(_0x263791+'\x5c.idea'),fs[_0x10d0fb(0x121)](_0x263791+_0x10d0fb(0x174))&&fs['rmdirSync'](_0x263791+_0x10d0fb(0x174)),fs[_0x10d0fb(0x121)](_0x263791+'\x5c.gitignore')&&fs[_0x10d0fb(0x15e)](_0x263791+_0x10d0fb(0x144)),!fs[_0x10d0fb(0x121)](_0x60956a)?fs[_0x10d0fb(0x16e)](_0x60956a):rm_rf(_0x60956a),utils[_0x10d0fb(0x170)](_0x263791,_0x60956a,()=>{const _0x142ad5=_0x10d0fb;rm_rf(_0x263791),fs[_0x142ad5(0x11d)](_0x263791),create_package_json(_0x60956a,_0xaf0482,_0x33953f),update_project_package_json(_0x9bc4a1,_0xaf0482,_0x33953f),console[_0x142ad5(0x173)]('【已安装】:'+_0xaf0482+'\x20v'+_0x33953f);});},0x3e8);});});},0x7d0);});});});}else console[_0x2fd305(0x165)]('【Error】:\x20未获取到项目\x20'+_0x29cf69);}}catch(_0x45fbca){console[_0x2fd305(0x165)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x521f42){const _0x21db81=a19_0x20570c;if(fs[_0x21db81(0x121)](_0x521f42)){const _0x2a98a7=fs[_0x21db81(0x14c)](_0x521f42);for(let _0x4715fe=0x0;_0x4715fe<_0x2a98a7['length'];_0x4715fe++){const _0x55e0d4=_0x2a98a7[_0x4715fe],_0x154745=_0x521f42+'/'+_0x55e0d4;fs[_0x21db81(0x15d)](_0x154745)[_0x21db81(0x149)]()?(rm_rf(_0x154745),fs['rmdirSync'](_0x154745)):fs[_0x21db81(0x15e)](_0x154745);}}}function create_package_json(_0x2c9fe3,_0x38d33f,_0x5bb2f3){const _0x12a8a3=a19_0x20570c;fs[_0x12a8a3(0x131)](_0x2c9fe3+_0x12a8a3(0x13d),_0x12a8a3(0x124)+_0x38d33f+_0x12a8a3(0x168)+_0x5bb2f3+_0x12a8a3(0x148));}function get_project_type(_0x47e78c){const _0x116301=a19_0x20570c,_0x532dd7=JSON[_0x116301(0x156)](fs['readFileSync'](_0x47e78c)[_0x116301(0x157)]());return _0x532dd7[_0x116301(0x142)];}function update_project_package_json(_0x20c9d5,_0x363af2,_0x382d5a){const _0x46ab6a=a19_0x20570c,_0x4bd5a0=JSON[_0x46ab6a(0x156)](fs['readFileSync'](_0x20c9d5)[_0x46ab6a(0x157)]());_0x4bd5a0[_0x46ab6a(0x177)][_0x363af2]=_0x382d5a,fs[_0x46ab6a(0x131)](_0x20c9d5,JSON[_0x46ab6a(0x126)](_0x4bd5a0,null,0x2));}function content_replace(_0x1b5625=[],_0x7c27a5){const _0x2c7970=a19_0x20570c;_0x1b5625[_0x2c7970(0x13e)](_0x1d2c5c=>{const _0x5353a4=_0x2c7970,_0xc8277f=_0x7c27a5+_0x1d2c5c[_0x5353a4(0x14b)];if(fs[_0x5353a4(0x121)](_0xc8277f)){let _0x13ab37=fs[_0x5353a4(0x16c)](_0xc8277f)[_0x5353a4(0x157)]();_0x1d2c5c[_0x5353a4(0x175)][_0x5353a4(0x13e)](_0x50711f=>{const _0x27e6e7=_0x5353a4;_0x13ab37=_0x13ab37[_0x27e6e7(0x175)](_0x50711f[0x0],_0x50711f[0x1]);}),fs['writeFileSync'](_0xc8277f,_0x13ab37);}});}
@@ -1 +1 @@
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
+ const a20_0x36c78c=a20_0x239c;(function(_0x54674c,_0x2ef88f){const _0x2e1530=a20_0x239c,_0x3e105e=_0x54674c();while(!![]){try{const _0x1722ba=-parseInt(_0x2e1530(0x1df))/0x1+parseInt(_0x2e1530(0x1ee))/0x2*(parseInt(_0x2e1530(0x1e1))/0x3)+parseInt(_0x2e1530(0x1e0))/0x4*(-parseInt(_0x2e1530(0x1d8))/0x5)+parseInt(_0x2e1530(0x1d9))/0x6+parseInt(_0x2e1530(0x1d3))/0x7+-parseInt(_0x2e1530(0x1e6))/0x8*(-parseInt(_0x2e1530(0x1db))/0x9)+parseInt(_0x2e1530(0x1dc))/0xa*(parseInt(_0x2e1530(0x1ce))/0xb);if(_0x1722ba===_0x2ef88f)break;else _0x3e105e['push'](_0x3e105e['shift']());}catch(_0x53207e){_0x3e105e['push'](_0x3e105e['shift']());}}}(a20_0x5538,0x7e616));function a20_0x5538(){const _0x1a74b1=['3XfflQk','readline','question','log','删除异常:','1833368qNjPBK','./progress-bar','path','stdout','createInterface','rmdirSync','existsSync','isDirectory','1974978zyRRuN','exit','unlinkSync','stdin','删除完成。','409519PUuzHS','clear','删除进度','删除文件夹:','无效操作。','420707FCJAaG','exports','statSync','正在计算项目数,请稍等...','trim','4212485ELwLQJ','1324308JWTxbY','length','9TYUuAA','100keAFDn','resolve','readdirSync','509618FNttHL','4DULZSS'];a20_0x5538=function(){return _0x1a74b1;};return a20_0x5538();}const fs=require('fs'),path=require(a20_0x36c78c(0x1e8)),readline=require(a20_0x36c78c(0x1e2)),ProgressBar=require(a20_0x36c78c(0x1e7)),io=readline[a20_0x36c78c(0x1ea)]({'input':process[a20_0x36c78c(0x1cc)],'output':process[a20_0x36c78c(0x1e9)]}),progress=new ProgressBar(a20_0x36c78c(0x1d0),0x32);let f_total=0x0,f_number=0x0;module[a20_0x36c78c(0x1d4)]=function(){const _0x5bf8b7=a20_0x36c78c,_0x3dda1d=path[_0x5bf8b7(0x1dd)]('./');io[_0x5bf8b7(0x1e3)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x19c126){const _0x36a1e4=_0x5bf8b7;if(_0x19c126[_0x36a1e4(0x1d7)]()==='y')console[_0x36a1e4(0x1e4)](_0x36a1e4(0x1d6)),setTimeout(()=>{setTimeout(()=>{const _0x278c7e=a20_0x239c;console[_0x278c7e(0x1cf)](),exec(_0x3dda1d),setTimeout(()=>{const _0x26231d=_0x278c7e;console[_0x26231d(0x1e4)](_0x26231d(0x1cd)),console[_0x26231d(0x1cf)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x19c126[_0x36a1e4(0x1d7)]()==='n'?(console[_0x36a1e4(0x1e4)]('取消删除。'),process['exit'](0x0)):(console['log'](_0x36a1e4(0x1d2)),process[_0x36a1e4(0x1ef)](0x0));});};function exec(_0x333d5d){const _0x515998=a20_0x36c78c;if(fs[_0x515998(0x1ec)](_0x333d5d)){const _0x542b6c=fs[_0x515998(0x1de)](_0x333d5d);for(let _0x1af3f9=0x0;_0x1af3f9<_0x542b6c[_0x515998(0x1da)];_0x1af3f9++){const _0x22dabd=_0x542b6c[_0x1af3f9],_0x5cb96e=_0x333d5d+'/'+_0x22dabd;try{fs[_0x515998(0x1d5)](_0x5cb96e)[_0x515998(0x1ed)]()?(exec(_0x5cb96e),fs[_0x515998(0x1eb)](_0x5cb96e,{'recursive':!![]}),console['log'](_0x515998(0x1d1)+_0x5cb96e)):(fs[_0x515998(0x1cb)](_0x5cb96e),console[_0x515998(0x1e4)]('删除文件:'+_0x5cb96e));}catch(_0x17ebdc){console[_0x515998(0x1e4)](_0x515998(0x1e5)+_0x5cb96e);}}}}function a20_0x239c(_0x575016,_0x45c4a0){const _0x55386d=a20_0x5538();return a20_0x239c=function(_0x239cd3,_0x3b953a){_0x239cd3=_0x239cd3-0x1cb;let _0x1ad01e=_0x55386d[_0x239cd3];return _0x1ad01e;},a20_0x239c(_0x575016,_0x45c4a0);}function scanner(_0xd91b58){const _0x2fcaae=a20_0x36c78c;if(fs['existsSync'](_0xd91b58)){const _0x39c37d=fs[_0x2fcaae(0x1de)](_0xd91b58);for(let _0x40e1a0=0x0;_0x40e1a0<_0x39c37d[_0x2fcaae(0x1da)];_0x40e1a0++){const _0x516bf4=_0x39c37d[_0x40e1a0],_0x1f9d03=_0xd91b58+'/'+_0x516bf4;try{fs[_0x2fcaae(0x1d5)](_0x1f9d03)[_0x2fcaae(0x1ed)]()?(scanner(_0x1f9d03),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x2fa8bc){}}}}
@@ -1 +1 @@
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();}
1
+ const a21_0xcd147e=a21_0x20de;(function(_0x3cb581,_0x44655a){const _0x549a1e=a21_0x20de,_0x2c0c58=_0x3cb581();while(!![]){try{const _0x197fef=-parseInt(_0x549a1e(0x133))/0x1*(-parseInt(_0x549a1e(0x12d))/0x2)+-parseInt(_0x549a1e(0x12c))/0x3*(-parseInt(_0x549a1e(0x137))/0x4)+parseInt(_0x549a1e(0x138))/0x5*(parseInt(_0x549a1e(0x13a))/0x6)+-parseInt(_0x549a1e(0x13b))/0x7*(-parseInt(_0x549a1e(0x12a))/0x8)+-parseInt(_0x549a1e(0x129))/0x9+-parseInt(_0x549a1e(0x139))/0xa+-parseInt(_0x549a1e(0x128))/0xb;if(_0x197fef===_0x44655a)break;else _0x2c0c58['push'](_0x2c0c58['shift']());}catch(_0x27678d){_0x2c0c58['push'](_0x2c0c58['shift']());}}}(a21_0x1049,0xd85c5));const slog=require(a21_0xcd147e(0x126))[a21_0xcd147e(0x131)];function ProgressBar(_0x6c8f71,_0x281f23){const _0x21dd16=a21_0xcd147e;this[_0x21dd16(0x132)]=_0x6c8f71||_0x21dd16(0x127),this[_0x21dd16(0x136)]=_0x281f23||0x19,this[_0x21dd16(0x12e)]=function(_0xd69041){const _0x4a4d8c=_0x21dd16;let _0x3ae91f;const _0x3111a8=(_0xd69041[_0x4a4d8c(0x12f)]/_0xd69041[_0x4a4d8c(0x134)])[_0x4a4d8c(0x135)](0x4),_0x2a0ebc=Math[_0x4a4d8c(0x130)](_0x3111a8*this[_0x4a4d8c(0x136)]);let _0x1b5ac4='';for(_0x3ae91f=0x0;_0x3ae91f<_0x2a0ebc;_0x3ae91f++){_0x1b5ac4+='█';}let _0x138283='';for(_0x3ae91f=0x0;_0x3ae91f<this['length']-_0x2a0ebc;_0x3ae91f++){_0x138283+='░';}const _0x4a8836=this[_0x4a4d8c(0x132)]+':\x20'+(0x64*_0x3111a8)[_0x4a4d8c(0x135)](0x2)+'%\x20'+_0x1b5ac4+_0x138283+'\x20'+_0xd69041[_0x4a4d8c(0x12f)]+'/'+_0xd69041[_0x4a4d8c(0x134)];slog(_0x4a8836);};}function a21_0x1049(){const _0x34e6df=['4030780KYUxGY','4488BetLHp','15659yGihzQ','single-line-log','Progress','14071277lbdDLn','1208880xhTZwM','1112HfEVdq','exports','3UIhyVz','2GNUIgv','render','completed','floor','stdout','description','1708008VAzZyS','total','toFixed','length','2059276rTXwQV','1130heaZrU'];a21_0x1049=function(){return _0x34e6df;};return a21_0x1049();}function a21_0x20de(_0x33ef42,_0x1b5797){const _0x10499c=a21_0x1049();return a21_0x20de=function(_0x20de93,_0x37246a){_0x20de93=_0x20de93-0x126;let _0x27b588=_0x10499c[_0x20de93];return _0x27b588;},a21_0x20de(_0x33ef42,_0x1b5797);}module[a21_0xcd147e(0x12b)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
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);});});};
1
+ 'use strict';const a22_0x3262ea=a22_0x4e82;(function(_0x1ff117,_0x3f1e8a){const _0x16a49c=a22_0x4e82,_0x210a15=_0x1ff117();while(!![]){try{const _0xee0387=-parseInt(_0x16a49c(0x198))/0x1*(parseInt(_0x16a49c(0x191))/0x2)+-parseInt(_0x16a49c(0x19e))/0x3+parseInt(_0x16a49c(0x181))/0x4+-parseInt(_0x16a49c(0x18d))/0x5+-parseInt(_0x16a49c(0x196))/0x6+-parseInt(_0x16a49c(0x1a0))/0x7*(-parseInt(_0x16a49c(0x18c))/0x8)+parseInt(_0x16a49c(0x182))/0x9;if(_0xee0387===_0x3f1e8a)break;else _0x210a15['push'](_0x210a15['shift']());}catch(_0x5f3748){_0x210a15['push'](_0x210a15['shift']());}}}(a22_0x1687,0xc6121));function a22_0x4e82(_0x17b147,_0x833288){const _0x1687ad=a22_0x1687();return a22_0x4e82=function(_0x4e8293,_0x5be898){_0x4e8293=_0x4e8293-0x181;let _0x41a9d7=_0x1687ad[_0x4e8293];return _0x41a9d7;},a22_0x4e82(_0x17b147,_0x833288);}const fs=require('fs'),path=require(a22_0x3262ea(0x1a2));function a22_0x1687(){const _0x2ac21a=['statSync','stat','rmdirSync','DeepScanner','3809430ceaIOa','CopyFile','1BZNBRP','mkdir','CreatePaths','isDirectory','readdirSync','log','2295642cxxFoY','existsSync','43575KxjCsO','createReadStream','path','6056720GHTXlr','7547832YwzWpi','mkdirSync','readdir','createWriteStream','CopyFolder','forEach','close','DeleteDirAllFile','error','read\x20error','816uqhcIl','2546780GSFjhS','join','length','unlinkSync','534012CyEZTp'];a22_0x1687=function(){return _0x2ac21a;};return a22_0x1687();}exports[a22_0x3262ea(0x189)]=(_0x5d5bf9,_0x415697)=>{const _0x21e448=a22_0x3262ea;let _0x3157ae=[];const _0x5eec84=this;fs[_0x21e448(0x19f)](_0x5d5bf9)?(_0x3157ae=fs[_0x21e448(0x19c)](_0x5d5bf9),_0x3157ae[_0x21e448(0x187)](function(_0x5947b1,_0x1a6b32){const _0x5e26d2=_0x21e448;let _0x5fe9d=_0x5d5bf9+'/'+_0x5947b1;fs[_0x5e26d2(0x192)](_0x5fe9d)[_0x5e26d2(0x19b)]()?_0x5eec84[_0x5e26d2(0x189)](_0x5fe9d):fs[_0x5e26d2(0x190)](_0x5fe9d);}),fs[_0x21e448(0x194)](_0x5d5bf9),_0x415697&&_0x415697()):_0x415697&&_0x415697();},exports[a22_0x3262ea(0x186)]=(_0x9903d,_0x57f0c2,_0x2070fd)=>{const _0x52ad5e=a22_0x3262ea,_0x4e6610=this;fs[_0x52ad5e(0x184)](_0x9903d,function(_0xa45c95,_0x561708){const _0x48fee3=_0x52ad5e;let _0x1897f8=0x0;const _0x5f107b=function(){const _0x3492cb=a22_0x4e82;++_0x1897f8===_0x561708[_0x3492cb(0x18f)]&&_0x2070fd&&_0x2070fd();};if(_0xa45c95){_0x5f107b();return;}_0x561708[_0x48fee3(0x187)](function(_0x7ee5f9){const _0x460880=_0x48fee3,_0x37fa90=path[_0x460880(0x18e)](_0x9903d,_0x7ee5f9),_0x458982=path[_0x460880(0x18e)](_0x57f0c2,_0x7ee5f9);fs[_0x460880(0x193)](_0x37fa90,function(_0x41f749,_0x2b0116){const _0x2d9f54=_0x460880;_0x2b0116[_0x2d9f54(0x19b)]()?fs[_0x2d9f54(0x199)](_0x458982,function(_0x27a5d7){const _0x462fd5=_0x2d9f54;if(_0x27a5d7){console[_0x462fd5(0x19d)](_0x27a5d7);return;}_0x4e6610['CopyFolder'](_0x37fa90,_0x458982,_0x5f107b);}):_0x4e6610[_0x2d9f54(0x197)](_0x37fa90,_0x458982,_0x5f107b);});}),_0x561708[_0x48fee3(0x18f)]===0x0&&_0x2070fd&&_0x2070fd();});},exports[a22_0x3262ea(0x197)]=(_0x5e2b71,_0x41485f,_0x33c259)=>{const _0x12efd1=a22_0x3262ea,_0x12d66a=fs[_0x12efd1(0x1a1)](_0x5e2b71);_0x12d66a['on'](_0x12efd1(0x18a),function(_0x44b245){const _0x22b661=_0x12efd1;_0x44b245&&console[_0x22b661(0x19d)](_0x22b661(0x18b),_0x5e2b71),_0x33c259&&_0x33c259(_0x44b245);});const _0x4441f6=fs[_0x12efd1(0x185)](_0x41485f);_0x4441f6['on'](_0x12efd1(0x18a),function(_0x1c373e){_0x1c373e&&console['log']('write\x20error',_0x41485f),_0x33c259&&_0x33c259(_0x1c373e);}),_0x4441f6['on'](_0x12efd1(0x188),function(_0xa72810){_0x33c259&&_0x33c259(_0xa72810);}),_0x12d66a['pipe'](_0x4441f6);},exports['DeepScanner']=(_0x3043ab,_0x29d2f6)=>{const _0xd86ef=a22_0x3262ea,_0x1afddc=this,_0xedf5dd=fs[_0xd86ef(0x19c)](_0x3043ab);_0xedf5dd[_0xd86ef(0x187)](_0x7343ff=>{const _0x4cb9ce=_0xd86ef,_0xac9e=_0x3043ab+'/'+_0x7343ff,_0x5d9493=fs[_0x4cb9ce(0x192)](_0xac9e);_0x5d9493['isDirectory']()?_0x1afddc[_0x4cb9ce(0x195)](_0xac9e,_0x29d2f6):_0x29d2f6['push'](_0xac9e);});},exports[a22_0x3262ea(0x19a)]=(_0x45b4a4,_0x549a2f)=>{return new Promise(_0x17c739=>{const _0x30cc49=[];_0x549a2f['forEach']((_0x2bb8ed,_0x1409b9)=>{const _0x104211=a22_0x4e82,_0x3e5b5d=_0x45b4a4+'/'+_0x30cc49[_0x104211(0x18e)]('/')+'/'+_0x2bb8ed;try{const _0x48a471=fs[_0x104211(0x192)](_0x3e5b5d);_0x48a471['isDirectory']()?_0x1409b9===_0x549a2f[_0x104211(0x18f)]-0x1&&_0x17c739():(fs['mkdirSync'](_0x3e5b5d),_0x1409b9===_0x549a2f[_0x104211(0x18f)]-0x1&&_0x17c739());}catch(_0x45a7db){fs[_0x104211(0x183)](_0x3e5b5d),_0x1409b9===_0x549a2f['length']-0x1&&_0x17c739();}_0x30cc49['push'](_0x2bb8ed);});});};