jjb-cmd 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.3</p>
6
+ <div>push指令增加打包到java容器,参数java test(环境) 更新文案(版本描述)</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.2</p>
6
10
  <div>修改提交npm代码整体结构</div>
package/bin/command.js CHANGED
@@ -83,6 +83,8 @@ commander.command('push [args]').description('-- 发布包').action(args => {
83
83
  if ([ 'latest' ].includes(args)) {
84
84
  require('../src/new/cmd.push/index.js')('latest');
85
85
  }
86
+ } else if (['java'].includes(args)) {
87
+ require('../src/new/cmd.push/java.js')(process.argv.splice(3));
86
88
  } else {
87
89
  console.log(`无效的选项‘${args}’。`);
88
90
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "jjb脚手架工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +1 @@
1
- function a0_0x1a00(_0x3886a1,_0x357c07){const _0x27dcfb=a0_0x27dc();return a0_0x1a00=function(_0x1a0097,_0x4d00bd){_0x1a0097=_0x1a0097-0xee;let _0x552a9e=_0x27dcfb[_0x1a0097];return _0x552a9e;},a0_0x1a00(_0x3886a1,_0x357c07);}const a0_0x3be92d=a0_0x1a00;(function(_0x7ca323,_0x20edb0){const _0x3cdad0=a0_0x1a00,_0x3bebfa=_0x7ca323();while(!![]){try{const _0xa8b22e=-parseInt(_0x3cdad0(0xf7))/0x1+-parseInt(_0x3cdad0(0xf1))/0x2+-parseInt(_0x3cdad0(0x101))/0x3*(parseInt(_0x3cdad0(0x109))/0x4)+parseInt(_0x3cdad0(0x106))/0x5+parseInt(_0x3cdad0(0x102))/0x6*(parseInt(_0x3cdad0(0x114))/0x7)+parseInt(_0x3cdad0(0xf5))/0x8*(-parseInt(_0x3cdad0(0x112))/0x9)+parseInt(_0x3cdad0(0x107))/0xa*(parseInt(_0x3cdad0(0xff))/0xb);if(_0xa8b22e===_0x20edb0)break;else _0x3bebfa['push'](_0x3bebfa['shift']());}catch(_0x3a8eb3){_0x3bebfa['push'](_0x3bebfa['shift']());}}}(a0_0x27dc,0x65455));const path=require(a0_0x3be92d(0x10b)),{f_file_copy}=require(a0_0x3be92d(0xfa)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a0_0x3be92d(0x108)),fs=require('fs'),os=require('os'),utils=require(a0_0x3be92d(0x113)),request=require(a0_0x3be92d(0xf4)),compressing=require(a0_0x3be92d(0x10f));module[a0_0x3be92d(0x10c)]=_0x2cb2fd=>{const _0x68b760=a0_0x3be92d,_0x51e3e1=path[_0x68b760(0xfe)]('./'),_0x2f0499=CLOUD_PROJECT[_0x2cb2fd]||undefined;if(_0x2f0499){const _0x3ca723=os[_0x68b760(0xf6)](),_0x4d1a60=_0x3ca723+'/'+GIT_TEMP_DIR+'/'+_0x2cb2fd+_0x68b760(0xf3),_0x26a051=_0x3ca723+'/'+GIT_TEMP_DIR+'/unzip/';utils['DeleteDirAllFile'](_0x3ca723+'/'+GIT_TEMP_DIR,()=>{const _0x1353cc=_0x68b760;fs[_0x1353cc(0x10e)](_0x3ca723+'/'+GIT_TEMP_DIR);let _0x184fd9=fs[_0x1353cc(0xf2)](_0x4d1a60);request(GIT_HOST+_0x1353cc(0x104)+_0x2f0499[_0x1353cc(0x105)]+_0x1353cc(0xfd)+_0x2f0499[_0x1353cc(0x116)]+_0x1353cc(0x100))[_0x1353cc(0x110)](_0x184fd9)['on'](_0x1353cc(0x103),()=>{const _0x534b55=_0x1353cc;fs['mkdirSync'](_0x26a051),compressing[_0x534b55(0xfc)][_0x534b55(0x10a)](_0x4d1a60,_0x26a051)[_0x534b55(0xee)](()=>{setTimeout(()=>{const _0x5815ee=a0_0x1a00;fs[_0x5815ee(0xf8)](_0x26a051)[_0x5815ee(0xfb)](_0x5f229d=>{const _0x40429f=_0x5815ee;_0x5f229d[_0x40429f(0xef)](_0x40429f(0x10d))!==-0x1&&utils['CopyFolder'](_0x26a051+_0x5f229d,_0x51e3e1,()=>{const _0x1cc3f9=_0x40429f;console[_0x1cc3f9(0x115)](_0x1cc3f9(0xf9)),process[_0x1cc3f9(0x111)](0x0);});});},0x7d0);});});});}else console[_0x68b760(0x115)]('【Error】:初始化失败,'+_0x2cb2fd+_0x68b760(0xf0));};function a0_0x27dc(){const _0x58a026=['20TgIUQM','../cmd.install/config','204236vYDZxy','uncompress','path','exports','-master-','mkdirSync','compressing','pipe','exit','9EcETDp','../../old/util','1631JIVTFm','log','token','then','indexOf','不存在。','569406NwTMqG','createWriteStream','.zip','request','1983480gxSLVT','tmpdir','99769LrZcBt','readdirSync','初始化完成!','../cmd.install/tools','forEach','zip','/repository/archive.zip?private_token=','resolve','45166bpAZVL','&ref=master','27wWRVlL','20802rdZVBg','close','/api/v4/projects/','projectId','3453600RtPJTg'];a0_0x27dc=function(){return _0x58a026;};return a0_0x27dc();}
1
+ const a0_0x46aaca=a0_0x5bf8;(function(_0xf96aad,_0x2c4da5){const _0x2ca7da=a0_0x5bf8,_0x5722ab=_0xf96aad();while(!![]){try{const _0x3f210c=-parseInt(_0x2ca7da(0x177))/0x1+parseInt(_0x2ca7da(0x173))/0x2*(-parseInt(_0x2ca7da(0x18c))/0x3)+-parseInt(_0x2ca7da(0x170))/0x4+parseInt(_0x2ca7da(0x17e))/0x5+-parseInt(_0x2ca7da(0x172))/0x6+-parseInt(_0x2ca7da(0x171))/0x7*(-parseInt(_0x2ca7da(0x188))/0x8)+parseInt(_0x2ca7da(0x181))/0x9;if(_0x3f210c===_0x2c4da5)break;else _0x5722ab['push'](_0x5722ab['shift']());}catch(_0x3402c4){_0x5722ab['push'](_0x5722ab['shift']());}}}(a0_0x7b95,0x2bace));const path=require(a0_0x46aaca(0x175)),{f_file_copy}=require(a0_0x46aaca(0x186)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a0_0x46aaca(0x18b)),request=require(a0_0x46aaca(0x17a)),compressing=require('compressing');function a0_0x7b95(){const _0x53d228=['log','.zip','../cmd.install/tools','forEach','7304ugJTKX','/api/v4/projects/','/repository/archive.zip?private_token=','../../old/util','78INgYQA','zip','then','token','mkdirSync','1307928DqMULf','1442lsYqeW','1650810CfObsc','7674vJyBJW','CopyFolder','path','createWriteStream','65838BrdBqO','readdirSync','resolve','request','/unzip/','close','不存在。','185405Qqkecj','projectId','初始化完成!','6493068ViUkXV','indexOf','pipe'];a0_0x7b95=function(){return _0x53d228;};return a0_0x7b95();}function a0_0x5bf8(_0x9a0b3d,_0x333e71){const _0x7b951=a0_0x7b95();return a0_0x5bf8=function(_0x5bf830,_0x369e0b){_0x5bf830=_0x5bf830-0x16e;let _0x247fc8=_0x7b951[_0x5bf830];return _0x247fc8;},a0_0x5bf8(_0x9a0b3d,_0x333e71);}module['exports']=_0xe6de66=>{const _0x438482=a0_0x46aaca,_0x45a31f=path[_0x438482(0x179)]('./'),_0x4a57f4=CLOUD_PROJECT[_0xe6de66]||undefined;if(_0x4a57f4){const _0x18914b=os['tmpdir'](),_0x2529bf=_0x18914b+'/'+GIT_TEMP_DIR+'/'+_0xe6de66+_0x438482(0x185),_0x768b97=_0x18914b+'/'+GIT_TEMP_DIR+_0x438482(0x17b);utils['DeleteDirAllFile'](_0x18914b+'/'+GIT_TEMP_DIR,()=>{const _0x240783=_0x438482;fs[_0x240783(0x16f)](_0x18914b+'/'+GIT_TEMP_DIR);let _0xe8be58=fs[_0x240783(0x176)](_0x2529bf);request(GIT_HOST+_0x240783(0x189)+_0x4a57f4[_0x240783(0x17f)]+_0x240783(0x18a)+_0x4a57f4[_0x240783(0x16e)]+'&ref=master')[_0x240783(0x183)](_0xe8be58)['on'](_0x240783(0x17c),()=>{const _0x1a2d50=_0x240783;fs[_0x1a2d50(0x16f)](_0x768b97),compressing[_0x1a2d50(0x18d)]['uncompress'](_0x2529bf,_0x768b97)[_0x1a2d50(0x18e)](()=>{setTimeout(()=>{const _0x5329ad=a0_0x5bf8;fs[_0x5329ad(0x178)](_0x768b97)[_0x5329ad(0x187)](_0x344150=>{const _0x2412e8=_0x5329ad;_0x344150[_0x2412e8(0x182)]('-master-')!==-0x1&&utils[_0x2412e8(0x174)](_0x768b97+_0x344150,_0x45a31f,()=>{const _0x1fc5b9=_0x2412e8;console['log'](_0x1fc5b9(0x180)),process['exit'](0x0);});});},0x7d0);});});});}else console[_0x438482(0x184)]('【Error】:初始化失败,'+_0xe6de66+_0x438482(0x17d));};
@@ -1 +1 @@
1
- const a1_0x4a6ee2=a1_0x6bfd;(function(_0x441716,_0x330123){const _0x86ca06=a1_0x6bfd,_0x133a99=_0x441716();while(!![]){try{const _0x549d0e=-parseInt(_0x86ca06(0x156))/0x1+-parseInt(_0x86ca06(0x15e))/0x2*(-parseInt(_0x86ca06(0x14b))/0x3)+-parseInt(_0x86ca06(0x14c))/0x4+-parseInt(_0x86ca06(0x153))/0x5+parseInt(_0x86ca06(0x14a))/0x6*(parseInt(_0x86ca06(0x160))/0x7)+-parseInt(_0x86ca06(0x15d))/0x8+-parseInt(_0x86ca06(0x157))/0x9*(-parseInt(_0x86ca06(0x159))/0xa);if(_0x549d0e===_0x330123)break;else _0x133a99['push'](_0x133a99['shift']());}catch(_0xc94d01){_0x133a99['push'](_0x133a99['shift']());}}}(a1_0x2918,0xcbf5f));const os=require('os');function a1_0x6bfd(_0x32a018,_0x31f0d3){const _0x29183c=a1_0x2918();return a1_0x6bfd=function(_0x6bfde9,_0xcad70e){_0x6bfde9=_0x6bfde9-0x14a;let _0x186a98=_0x29183c[_0x6bfde9];return _0x186a98;},a1_0x6bfd(_0x32a018,_0x31f0d3);}exports[a1_0x4a6ee2(0x14d)]=a1_0x4a6ee2(0x154),exports[a1_0x4a6ee2(0x151)]='jjbAssembly_'+Date['now'](),exports[a1_0x4a6ee2(0x14f)]={'common':{'token':a1_0x4a6ee2(0x15b),'projectId':0x117},'react-admin-component':{'token':a1_0x4a6ee2(0x155),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x4a6ee2(0x158),'projectId':0x23b},'jjb-common-lib':{'token':a1_0x4a6ee2(0x15f),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a1_0x4a6ee2(0x14e),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a1_0x4a6ee2(0x152),'projectId':0x33e},'micro-app':{'token':a1_0x4a6ee2(0x150),'projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a1_0x4a6ee2(0x15a)]=os[a1_0x4a6ee2(0x15c)]()+'\x5c'+exports[a1_0x4a6ee2(0x151)];function a1_0x2918(){const _0x5d64d4=['hLqARY89CN6fUD3yg4NL','550udCxUV','TEMPLATE_FOLDER','G4HJRsHr9D7Ssmixegw2','tmpdir','2273360lAkKqe','2182hVShab','e9njpBd1nS_LREN8GFpR','4854059mhpKYL','6RdBEtV','1812wkGsQf','5225712gkZcoN','GIT_HOST','d4wQ7dzEjYPsgVbKnYei','CLOUD_PROJECT','FqNrmFAgrxasMrbbjvq9','GIT_TEMP_DIR','7V-YUxhmh51Mdhgx4rq4','995450XkZnLj','http://192.168.1.242:10985','FT3pKzxpRynFkmddJ9Bs','1060445GupDfX','381789WTNOqj'];a1_0x2918=function(){return _0x5d64d4;};return a1_0x2918();}
1
+ const a1_0x2eef6f=a1_0xe66c;function a1_0xed51(){const _0x32ace3=['1270623IJVnnz','331045psKLSv','CLOUD_PROJECT','1818207OPTOAC','609715OUivRk','jjb-assembly-','snBxJ2i5kYarGGcsojhY','GIT_TEMP_DIR','1063828dVUlJO','16lSEuHE','TEMPLATE_FOLDER','7V-YUxhmh51Mdhgx4rq4','GIT_JAVA_ENV_JSON','prod','1344847aaRetP','test','6kCvgzN','FT3pKzxpRynFkmddJ9Bs','FqNrmFAgrxasMrbbjvq9','now','d4wQ7dzEjYPsgVbKnYei','880YOqJXE','dev','tmpdir','12MOriZW','jjb-assembly-java','hLqARY89CN6fUD3yg4NL','278608yOKGhu','http://192.168.1.242:10985','ywPtT3xCG6b_vAxp6sTj','G4HJRsHr9D7Ssmixegw2'];a1_0xed51=function(){return _0x32ace3;};return a1_0xed51();}(function(_0x10364f,_0x2d4101){const _0x5ac5e2=a1_0xe66c,_0x5be5a8=_0x10364f();while(!![]){try{const _0x489a9d=-parseInt(_0x5ac5e2(0x139))/0x1+-parseInt(_0x5ac5e2(0x140))/0x2+-parseInt(_0x5ac5e2(0x138))/0x3+-parseInt(_0x5ac5e2(0x131))/0x4*(parseInt(_0x5ac5e2(0x13c))/0x5)+parseInt(_0x5ac5e2(0x129))/0x6*(parseInt(_0x5ac5e2(0x127))/0x7)+-parseInt(_0x5ac5e2(0x141))/0x8*(parseInt(_0x5ac5e2(0x13b))/0x9)+parseInt(_0x5ac5e2(0x12e))/0xa*(parseInt(_0x5ac5e2(0x134))/0xb);if(_0x489a9d===_0x2d4101)break;else _0x5be5a8['push'](_0x5be5a8['shift']());}catch(_0x3cb1ee){_0x5be5a8['push'](_0x5be5a8['shift']());}}}(a1_0xed51,0x59042));const os=require('os');function a1_0xe66c(_0x1af9ec,_0x1f7b9e){const _0xed51f6=a1_0xed51();return a1_0xe66c=function(_0xe66c6b,_0x1de578){_0xe66c6b=_0xe66c6b-0x127;let _0x23192d=_0xed51f6[_0xe66c6b];return _0x23192d;},a1_0xe66c(_0x1af9ec,_0x1f7b9e);}exports['GIT_HOST']=a1_0x2eef6f(0x135),exports[a1_0x2eef6f(0x13f)]=a1_0x2eef6f(0x13d)+Date[a1_0x2eef6f(0x12c)](),exports['GIT_TEMP_JAVA']=a1_0x2eef6f(0x132),exports[a1_0x2eef6f(0x144)]={'development':a1_0x2eef6f(0x12f),'production':a1_0x2eef6f(0x145),'test':a1_0x2eef6f(0x128)},exports[a1_0x2eef6f(0x13a)]={'common':{'token':a1_0x2eef6f(0x137),'projectId':0x117},'react-admin-component':{'token':a1_0x2eef6f(0x12a),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x2eef6f(0x133),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a1_0x2eef6f(0x12d),'projectId':0x153},'react-component':{'token':a1_0x2eef6f(0x13e),'projectId':0x33f},'micro-app-ts':{'token':a1_0x2eef6f(0x143),'projectId':0x33e},'micro-app':{'token':a1_0x2eef6f(0x12b),'projectId':0x33d},'lib':{'token':a1_0x2eef6f(0x136),'projectId':0x33c}},exports[a1_0x2eef6f(0x142)]=os[a1_0x2eef6f(0x130)]()+'\x5c'+exports[a1_0x2eef6f(0x13f)];
@@ -1 +1 @@
1
- const a2_0x562bee=a2_0x559e;function a2_0x4a8d(){const _0x4180fa=['1.0.0','close','exit','path','11224hUceTZ','111375zHppHY','.idea','importList','find','filter','676053jIIqhY','【Error】:安装失败,node_modules目录不存在。','zip','package.json','includes','existsSync','now','replace','readdirSync','uncompress','log','61542OfgRqR','push','1202610llqAOb','【Error】:安装失败,src目录不存在。','461069MmWAtW','forEach','290982YFqdQJ','name','import_list','.gitignore','resolve','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','_zip','node_modules','24CoFMdP','src','compressing','request','pipe','installTarget','repository','installResources','rmdirSync','355aOpKlu','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','compress','join','\x5ctypes','unlinkSync','length','src\x5c','mkdirSync'];a2_0x4a8d=function(){return _0x4180fa;};return a2_0x4a8d();}(function(_0x492ca8,_0x53afd7){const _0x2f4501=a2_0x559e,_0x442e11=_0x492ca8();while(!![]){try{const _0x12b973=parseInt(_0x2f4501(0x90))/0x1+parseInt(_0x2f4501(0xa6))/0x2+-parseInt(_0x2f4501(0xa0))/0x3+-parseInt(_0x2f4501(0x8f))/0x4*(-parseInt(_0x2f4501(0xb7))/0x5)+-parseInt(_0x2f4501(0xa2))/0x6+parseInt(_0x2f4501(0xa4))/0x7*(-parseInt(_0x2f4501(0xae))/0x8)+parseInt(_0x2f4501(0x95))/0x9;if(_0x12b973===_0x53afd7)break;else _0x442e11['push'](_0x442e11['shift']());}catch(_0x4dcc1d){_0x442e11['push'](_0x442e11['shift']());}}}(a2_0x4a8d,0x1b813));const fs=require('fs'),path=require('path'),request=require(a2_0x562bee(0xb1)),compressing=require(a2_0x562bee(0xb0)),{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('./config'),start_time=Date[a2_0x562bee(0x9b)]();function a2_0x559e(_0x819278,_0x2b806e){const _0x4a8de7=a2_0x4a8d();return a2_0x559e=function(_0x559e69,_0x41a135){_0x559e69=_0x559e69-0x8f;let _0x2efdd5=_0x4a8de7[_0x559e69];return _0x2efdd5;},a2_0x559e(_0x819278,_0x2b806e);}module['exports']=()=>{const _0x1ebc94=a2_0x562bee,_0x11cfed=path[_0x1ebc94(0xaa)]('./'),_0x35cc4b=[_0x11cfed,_0x1ebc94(0xbe)]['join']('\x5c'),_0x1aca96=[_0x11cfed,_0x1ebc94(0xad)][_0x1ebc94(0xba)]('\x5c'),_0x472c19=[_0x11cfed,_0x1ebc94(0x98)][_0x1ebc94(0xba)]('\x5c');if(f_scan_jjb_config_json(_0x11cfed)){const _0x6e2563=f_scan_jjb_config_json_rules(_0x11cfed);_0x6e2563[_0x1ebc94(0xb3)]===_0x1ebc94(0xad)?!fs[_0x1ebc94(0x9a)](_0x1aca96)?(console[_0x1ebc94(0x9f)](_0x1ebc94(0x96)),process[_0x1ebc94(0xc2)](0x0)):console[_0x1ebc94(0x9f)](_0x1ebc94(0xb8)):!fs['existsSync'](_0x35cc4b)&&(console[_0x1ebc94(0x9f)](_0x1ebc94(0xa3)),process[_0x1ebc94(0xc2)](0x0));fs[_0x1ebc94(0xbf)](TEMPLATE_FOLDER),f_pull_git_repository(_0x6e2563[_0x1ebc94(0xb5)])['map'](_0x1f38e1=>{const _0x1df4b1=_0x1ebc94,_0x213c29=fs['createWriteStream'](_0x1f38e1[_0x1df4b1(0xc3)]);request(_0x1f38e1[_0x1df4b1(0xb4)])[_0x1df4b1(0xb2)](_0x213c29)['on'](_0x1df4b1(0xc1),()=>{const _0x222e62=_0x1df4b1;fs[_0x222e62(0xbf)](_0x1f38e1[_0x222e62(0xb9)]),compressing[_0x222e62(0x97)][_0x222e62(0x9e)](_0x1f38e1['path'],_0x1f38e1['compress']);});});const _0x4f60e9=setInterval(()=>{const _0x281e00=_0x1ebc94,_0x1e51b2=fs[_0x281e00(0x9d)](TEMPLATE_FOLDER),_0x3602d9=_0x1e51b2[_0x281e00(0x94)](_0x4e47b3=>_0x6e2563[_0x281e00(0xb5)]['map'](_0x37c4bd=>_0x37c4bd[_0x281e00(0xa7)]+_0x281e00(0xac))[_0x281e00(0x99)](_0x4e47b3));if(_0x3602d9['length']===_0x6e2563[_0x281e00(0xb5)][_0x281e00(0xbd)]){clearInterval(_0x4f60e9);const _0x474c2d=[];_0x3602d9[_0x281e00(0xa5)](_0x47dfe6=>{const _0x17a189=_0x281e00,_0x4150f7=[TEMPLATE_FOLDER,_0x47dfe6][_0x17a189(0xba)]('\x5c');fs[_0x17a189(0x9d)](_0x4150f7)[_0x17a189(0xa5)](_0x14bdaa=>_0x474c2d[_0x17a189(0xa1)]({'name':_0x47dfe6,'path':[_0x4150f7,_0x14bdaa][_0x17a189(0xba)]('\x5c'),'pure_name':_0x47dfe6[_0x17a189(0x9c)](/_zip$/,''),'import_list':_0x6e2563[_0x17a189(0xb5)][_0x17a189(0x93)](_0x5b1128=>_0x5b1128[_0x17a189(0xa7)]+_0x17a189(0xac)===_0x47dfe6)[_0x17a189(0x92)]}));}),_0x474c2d[_0x281e00(0xa5)](_0x5e8430=>{const _0x1dde4a=_0x281e00,_0x385dca=_0x5e8430['pure_name'],_0x3e0aeb=_0x5e8430[_0x1dde4a(0xa8)],_0x1e825=[_0x5e8430[_0x1dde4a(0xc3)],_0x1dde4a(0x91)][_0x1dde4a(0xba)]('//'),_0x46d6b9=[_0x5e8430[_0x1dde4a(0xc3)],_0x1dde4a(0xa9)][_0x1dde4a(0xba)]('//');fs[_0x1dde4a(0x9a)](_0x1e825)&&(f_rm_rf(_0x1e825),fs[_0x1dde4a(0xb6)](_0x1e825));fs['existsSync'](_0x46d6b9)&&fs[_0x1dde4a(0xbc)](_0x46d6b9);_0x3e0aeb[_0x1dde4a(0xbd)]&&fs['readdirSync'](_0x5e8430[_0x1dde4a(0xc3)])[_0x1dde4a(0x94)](_0x5bdcc8=>!_0x3e0aeb[_0x1dde4a(0x99)](_0x5bdcc8)&&_0x5bdcc8!=='index.js'&&_0x5bdcc8!=='setting.json')['forEach'](_0x726a1f=>{const _0x54fc6c=_0x1dde4a,_0x5345ea=_0x5e8430[_0x54fc6c(0xc3)]+'\x5c'+_0x726a1f;f_rm_rf(_0x5345ea),fs[_0x54fc6c(0xb6)](_0x5345ea);});if(_0x6e2563[_0x1dde4a(0xb3)]===_0x1dde4a(0xad)){const _0x2dd855=_0x385dca;fs[_0x1dde4a(0x9a)](_0x1aca96+'\x5c'+_0x2dd855)?f_rm_rf(_0x1aca96+'\x5c'+_0x2dd855):fs[_0x1dde4a(0xbf)](_0x1aca96+'\x5c'+_0x2dd855),_0x2dd855!=='jjb-common-lib'?(f_file_copy(_0x5e8430[_0x1dde4a(0xc3)],_0x1aca96+'\x5c'+_0x2dd855),f_create_package_json(_0x1aca96+'\x5c'+_0x2dd855,_0x2dd855,_0x1dde4a(0xc0))):f_file_copy(_0x5e8430[_0x1dde4a(0xc3)]+_0x1dde4a(0xbb),_0x1aca96+'\x5c'+_0x2dd855),f_update_project_package_json(_0x472c19,_0x2dd855,'1.0.0');}else _0x6e2563[_0x1dde4a(0xb3)]===_0x1dde4a(0xaf)&&(fs[_0x1dde4a(0x9a)](_0x35cc4b+_0x385dca)?f_rm_rf(_0x35cc4b+_0x385dca):fs[_0x1dde4a(0xbf)](_0x35cc4b+_0x385dca),f_file_copy(_0x5e8430[_0x1dde4a(0xc3)],_0x35cc4b+_0x385dca));}),setTimeout(()=>{const _0x2f769d=_0x281e00;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2f769d(0xb6)](TEMPLATE_FOLDER);const _0x180276=Date[_0x2f769d(0x9b)]();console[_0x2f769d(0x9f)]('【jjb-cmd】:install命令执行完成,用时'+(_0x180276-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x1ebc94(0xab));};
1
+ const a2_0x57d3b3=a2_0x1220;(function(_0x5c69ef,_0x20f4ab){const _0x333f6c=a2_0x1220,_0x59e58b=_0x5c69ef();while(!![]){try{const _0x4dbd77=-parseInt(_0x333f6c(0x1bd))/0x1*(parseInt(_0x333f6c(0x1b9))/0x2)+parseInt(_0x333f6c(0x19e))/0x3+-parseInt(_0x333f6c(0x1a3))/0x4+-parseInt(_0x333f6c(0x1cc))/0x5*(-parseInt(_0x333f6c(0x1d2))/0x6)+-parseInt(_0x333f6c(0x1b7))/0x7*(parseInt(_0x333f6c(0x1be))/0x8)+parseInt(_0x333f6c(0x1bb))/0x9*(-parseInt(_0x333f6c(0x1cb))/0xa)+parseInt(_0x333f6c(0x1c8))/0xb*(parseInt(_0x333f6c(0x1ad))/0xc);if(_0x4dbd77===_0x20f4ab)break;else _0x59e58b['push'](_0x59e58b['shift']());}catch(_0xd5e05d){_0x59e58b['push'](_0x59e58b['shift']());}}}(a2_0x55b4,0x55c3c));function a2_0x55b4(){const _0x1b1088=['907536gIIbSQ','name','_zip','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','node_modules','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','installTarget','replace','existsSync','createWriteStream','483996DJaljT','unlinkSync','import_list','importList','map','log','src','find','includes','index.js','133kLmupc','mkdirSync','28722GeSbYX','src\x5c','1741014KwOjAa','uncompress','38DGnErs','94024sygOon','path','setting.json','jjb-common-lib','length','pipe','./config','rmdirSync','installResources','./tools','297ZGfBbu','join','exports','20wJRWsQ','5kWYegS','request','1.0.0','now','filter','readdirSync','2369784IeRkKr','forEach','\x5ctypes','pure_name','【jjb-cmd】:install命令执行完成,用时','750414VNlOKa','exit','【Error】:安装失败,node_modules目录不存在。','push','close'];a2_0x55b4=function(){return _0x1b1088;};return a2_0x55b4();}function a2_0x1220(_0x5b397c,_0x164c20){const _0x55b466=a2_0x55b4();return a2_0x1220=function(_0x1220a6,_0xcb4566){_0x1220a6=_0x1220a6-0x19a;let _0xda24e4=_0x55b466[_0x1220a6];return _0xda24e4;},a2_0x1220(_0x5b397c,_0x164c20);}const fs=require('fs'),path=require(a2_0x57d3b3(0x1bf)),request=require(a2_0x57d3b3(0x1cd)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a2_0x57d3b3(0x1c7)),{TEMPLATE_FOLDER}=require(a2_0x57d3b3(0x1c4)),start_time=Date['now']();module[a2_0x57d3b3(0x1ca)]=()=>{const _0x4db44b=a2_0x57d3b3,_0x465c17=path['resolve']('./'),_0x258a22=[_0x465c17,_0x4db44b(0x1ba)][_0x4db44b(0x1c9)]('\x5c'),_0x46eb78=[_0x465c17,_0x4db44b(0x1a7)][_0x4db44b(0x1c9)]('\x5c'),_0x21042f=[_0x465c17,'package.json'][_0x4db44b(0x1c9)]('\x5c');if(f_scan_jjb_config_json(_0x465c17)){const _0x599c8f=f_scan_jjb_config_json_rules(_0x465c17);_0x599c8f[_0x4db44b(0x1a9)]===_0x4db44b(0x1a7)?!fs[_0x4db44b(0x1ab)](_0x46eb78)?(console[_0x4db44b(0x1b2)](_0x4db44b(0x1a0)),process[_0x4db44b(0x19f)](0x0)):console['log'](_0x4db44b(0x1a8)):!fs[_0x4db44b(0x1ab)](_0x258a22)&&(console[_0x4db44b(0x1b2)]('【Error】:安装失败,src目录不存在。'),process[_0x4db44b(0x19f)](0x0));fs[_0x4db44b(0x1b8)](TEMPLATE_FOLDER),f_pull_git_repository(_0x599c8f[_0x4db44b(0x1c6)])[_0x4db44b(0x1b1)](_0x1bcb33=>{const _0x69eec4=_0x4db44b,_0x1e9b40=fs[_0x69eec4(0x1ac)](_0x1bcb33[_0x69eec4(0x1bf)]);request(_0x1bcb33['repository'])[_0x69eec4(0x1c3)](_0x1e9b40)['on'](_0x69eec4(0x1a2),()=>{const _0x5a468f=_0x69eec4;fs[_0x5a468f(0x1b8)](_0x1bcb33['compress']),compressing['zip'][_0x5a468f(0x1bc)](_0x1bcb33[_0x5a468f(0x1bf)],_0x1bcb33['compress']);});});const _0x1fad10=setInterval(()=>{const _0x72be26=_0x4db44b,_0x44e11e=fs['readdirSync'](TEMPLATE_FOLDER),_0x36150b=_0x44e11e['filter'](_0xa61770=>_0x599c8f[_0x72be26(0x1c6)][_0x72be26(0x1b1)](_0x3c3747=>_0x3c3747[_0x72be26(0x1a4)]+_0x72be26(0x1a5))[_0x72be26(0x1b5)](_0xa61770));if(_0x36150b[_0x72be26(0x1c2)]===_0x599c8f[_0x72be26(0x1c6)][_0x72be26(0x1c2)]){clearInterval(_0x1fad10);const _0x57ba5f=[];_0x36150b[_0x72be26(0x19a)](_0x2f00a6=>{const _0x37ccb7=_0x72be26,_0x390e9e=[TEMPLATE_FOLDER,_0x2f00a6][_0x37ccb7(0x1c9)]('\x5c');fs[_0x37ccb7(0x1d1)](_0x390e9e)['forEach'](_0x3807fb=>_0x57ba5f[_0x37ccb7(0x1a1)]({'name':_0x2f00a6,'path':[_0x390e9e,_0x3807fb][_0x37ccb7(0x1c9)]('\x5c'),'pure_name':_0x2f00a6[_0x37ccb7(0x1aa)](/_zip$/,''),'import_list':_0x599c8f['installResources'][_0x37ccb7(0x1b4)](_0xf2e263=>_0xf2e263['name']+_0x37ccb7(0x1a5)===_0x2f00a6)[_0x37ccb7(0x1b0)]}));}),_0x57ba5f[_0x72be26(0x19a)](_0x105e59=>{const _0x17a28c=_0x72be26,_0x38913c=_0x105e59[_0x17a28c(0x19c)],_0x1389c3=_0x105e59[_0x17a28c(0x1af)],_0x5d59f6=[_0x105e59[_0x17a28c(0x1bf)],'.idea'][_0x17a28c(0x1c9)]('//'),_0x3fa438=[_0x105e59[_0x17a28c(0x1bf)],'.gitignore'][_0x17a28c(0x1c9)]('//');fs[_0x17a28c(0x1ab)](_0x5d59f6)&&(f_rm_rf(_0x5d59f6),fs[_0x17a28c(0x1c5)](_0x5d59f6));fs['existsSync'](_0x3fa438)&&fs[_0x17a28c(0x1ae)](_0x3fa438);_0x1389c3[_0x17a28c(0x1c2)]&&fs['readdirSync'](_0x105e59['path'])[_0x17a28c(0x1d0)](_0x224219=>!_0x1389c3[_0x17a28c(0x1b5)](_0x224219)&&_0x224219!==_0x17a28c(0x1b6)&&_0x224219!==_0x17a28c(0x1c0))['forEach'](_0x43314b=>{const _0x44001a=_0x17a28c,_0x1a62ae=_0x105e59['path']+'\x5c'+_0x43314b;f_rm_rf(_0x1a62ae),fs[_0x44001a(0x1c5)](_0x1a62ae);});if(_0x599c8f[_0x17a28c(0x1a9)]==='node_modules'){const _0x43264f=_0x38913c;fs[_0x17a28c(0x1ab)](_0x46eb78+'\x5c'+_0x43264f)?f_rm_rf(_0x46eb78+'\x5c'+_0x43264f):fs[_0x17a28c(0x1b8)](_0x46eb78+'\x5c'+_0x43264f),_0x43264f!==_0x17a28c(0x1c1)?(f_file_copy(_0x105e59['path'],_0x46eb78+'\x5c'+_0x43264f),f_create_package_json(_0x46eb78+'\x5c'+_0x43264f,_0x43264f,_0x17a28c(0x1ce))):f_file_copy(_0x105e59[_0x17a28c(0x1bf)]+_0x17a28c(0x19b),_0x46eb78+'\x5c'+_0x43264f),f_update_project_package_json(_0x21042f,_0x43264f,_0x17a28c(0x1ce));}else _0x599c8f[_0x17a28c(0x1a9)]===_0x17a28c(0x1b3)&&(fs[_0x17a28c(0x1ab)](_0x258a22+_0x38913c)?f_rm_rf(_0x258a22+_0x38913c):fs[_0x17a28c(0x1b8)](_0x258a22+_0x38913c),f_file_copy(_0x105e59[_0x17a28c(0x1bf)],_0x258a22+_0x38913c));}),setTimeout(()=>{const _0x59dabe=_0x72be26;f_rm_rf(TEMPLATE_FOLDER),fs[_0x59dabe(0x1c5)](TEMPLATE_FOLDER);const _0x1193d0=Date[_0x59dabe(0x1cf)]();console['log'](_0x59dabe(0x19d)+(_0x1193d0-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4db44b(0x1b2)](_0x4db44b(0x1a6));};
@@ -1 +1 @@
1
- const a3_0x256448=a3_0x1189;(function(_0x2a0601,_0x165c9a){const _0x4a8dfa=a3_0x1189,_0x4f6a3b=_0x2a0601();while(!![]){try{const _0x53176a=parseInt(_0x4a8dfa(0x1de))/0x1*(parseInt(_0x4a8dfa(0x1bf))/0x2)+parseInt(_0x4a8dfa(0x1aa))/0x3+parseInt(_0x4a8dfa(0x1b5))/0x4+parseInt(_0x4a8dfa(0x1c0))/0x5*(-parseInt(_0x4a8dfa(0x1b8))/0x6)+-parseInt(_0x4a8dfa(0x1a3))/0x7+parseInt(_0x4a8dfa(0x1d1))/0x8*(parseInt(_0x4a8dfa(0x1c9))/0x9)+parseInt(_0x4a8dfa(0x1ab))/0xa*(-parseInt(_0x4a8dfa(0x1cd))/0xb);if(_0x53176a===_0x165c9a)break;else _0x4f6a3b['push'](_0x4f6a3b['shift']());}catch(_0x55d7c1){_0x4f6a3b['push'](_0x4f6a3b['shift']());}}}(a3_0x3ac5,0x74ef5));function a3_0x3ac5(){const _0x3ca75c=['2113515fpLXPS','10eTgwEN','replace','length','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','src','isDirectory','jjb-common','jjb-dva-runtime','_zip','toString','1337500rwptZH','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','6uxYXxM','uniapp','node_modules','f_resolve_install_resources','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_scan_jjb_config_json_rules','unlinkSync','18472dKuIfW','1856805stnKxK','existsSync','readdirSync','log','includes','/api/v4/projects/','【Error】:[jjb.config.json.installTarget]类型是一个string。','f_scan_jjb_config_json','writeFileSync','1017wFxsiq','parse','push','.zip','3350754OJqVEj','installResources','react-admin-component','forEach','36280RcSrWj','\x5cjjb.config.json','f_create_package_json','multi','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json.installResources]无资源。','isArray','/repository/archive.zip?private_token=','./config','\x22,\x22version\x22:\x22','jjb-common-lib','installTarget','vue-unisass-component','23WwEgJN','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','exit','mkdirSync','f_rm_rf','readFileSync','spa','projectType','map','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','4261761MSYqhh','rmdirSync','micro-spa','{\x22name\x22:\x22','name','f_file_copy','statSync'];a3_0x3ac5=function(){return _0x3ca75c;};return a3_0x3ac5();}function a3_0x1189(_0x5588f7,_0x203ff8){const _0x3ac556=a3_0x3ac5();return a3_0x1189=function(_0x11890f,_0x46055e){_0x11890f=_0x11890f-0x1a2;let _0x365cdc=_0x3ac556[_0x11890f];return _0x365cdc;},a3_0x1189(_0x5588f7,_0x203ff8);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x256448(0x1d9));exports[a3_0x256448(0x1e2)]=function(_0x45dd5d){const _0x3092fe=a3_0x256448;if(fs[_0x3092fe(0x1c1)](_0x45dd5d)){const _0x23568f=fs[_0x3092fe(0x1c2)](_0x45dd5d);for(let _0x10f075=0x0;_0x10f075<_0x23568f[_0x3092fe(0x1ad)];_0x10f075++){const _0x29dd61=_0x23568f[_0x10f075],_0x227058=_0x45dd5d+'/'+_0x29dd61;fs[_0x3092fe(0x1a9)](_0x227058)[_0x3092fe(0x1b0)]()?(exports[_0x3092fe(0x1e2)](_0x227058),fs[_0x3092fe(0x1a4)](_0x227058)):fs[_0x3092fe(0x1be)](_0x227058);}}},exports['f_pull_git_repository']=function(_0x331ad9=[]){const _0x4cbf8d=a3_0x256448;return _0x331ad9[_0x4cbf8d(0x1e6)](_0xd510a8=>{const _0xb8861d=_0x4cbf8d,_0x56db92=CLOUD_PROJECT[_0xd510a8['name']]||undefined,_0x3dca5e=os['tmpdir']();return{'path':_0x3dca5e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xd510a8['name']+_0xb8861d(0x1cc),'compress':_0x3dca5e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xd510a8[_0xb8861d(0x1a7)]+_0xb8861d(0x1b3),'repository':GIT_HOST+_0xb8861d(0x1c5)+_0x56db92['projectId']+_0xb8861d(0x1d8)+_0x56db92['token']+'&ref=master'};});},exports[a3_0x256448(0x1c7)]=function(_0x46a4fc){const _0x2bb97a=a3_0x256448;return fs[_0x2bb97a(0x1c1)](_0x46a4fc+_0x2bb97a(0x1d2));},exports[a3_0x256448(0x1bd)]=function(_0x2438e1){const _0x19a1da=a3_0x256448;let _0x5b69ca={};try{_0x5b69ca=JSON[_0x19a1da(0x1ca)](fs[_0x19a1da(0x1e3)](_0x2438e1+_0x19a1da(0x1d2))[_0x19a1da(0x1b4)]());}catch(_0x276045){console[_0x19a1da(0x1c3)](_0x19a1da(0x1b7)),process[_0x19a1da(0x1e0)](0x0);}!(_0x19a1da(0x1e5)in _0x5b69ca)&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1bc)),process['exit'](0x0));!('installTarget'in _0x5b69ca)&&(console[_0x19a1da(0x1c3)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x19a1da(0x1e0)](0x0));!(_0x19a1da(0x1ce)in _0x5b69ca)&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1a2)),process['exit'](0x0));typeof _0x5b69ca[_0x19a1da(0x1e5)]!=='string'&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1d5)),process[_0x19a1da(0x1e0)](0x0));![_0x19a1da(0x1d4),_0x19a1da(0x1e4),_0x19a1da(0x1b9),_0x19a1da(0x1a5)]['includes'](_0x5b69ca[_0x19a1da(0x1e5)])&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1b6)),process[_0x19a1da(0x1e0)](0x0));typeof _0x5b69ca[_0x19a1da(0x1dc)]!=='string'&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1c6)),process[_0x19a1da(0x1e0)](0x0));![_0x19a1da(0x1ba),_0x19a1da(0x1af)][_0x19a1da(0x1c4)](_0x5b69ca[_0x19a1da(0x1dc)])&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1df)),process[_0x19a1da(0x1e0)](0x0));!Array[_0x19a1da(0x1d7)](_0x5b69ca['installResources'])&&(console[_0x19a1da(0x1c3)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x5b69ca[_0x19a1da(0x1ce)]['length']===0x0&&(console['log'](_0x19a1da(0x1d6)),process['exit'](0x0));const _0x5ef803=exports[_0x19a1da(0x1bb)](_0x5b69ca[_0x19a1da(0x1ce)]);return _0x5ef803[_0x19a1da(0x1e6)](_0x13e8ab=>_0x13e8ab[_0x19a1da(0x1a7)])['filter'](_0x1b9a5e=>![_0x19a1da(0x1b1),_0x19a1da(0x1b2),_0x19a1da(0x1db),'jjb-common-decorator',_0x19a1da(0x1cf),_0x19a1da(0x1dd)]['includes'](_0x1b9a5e))[_0x19a1da(0x1ad)]!==0x0&&(console[_0x19a1da(0x1c3)](_0x19a1da(0x1ae)),process[_0x19a1da(0x1e0)](0x0)),_0x5b69ca[_0x19a1da(0x1ce)]=_0x5ef803,_0x5b69ca;},exports[a3_0x256448(0x1d3)]=function(_0x51e439,_0x36b359,_0x18ae01){const _0x39e22b=a3_0x256448;fs['writeFileSync'](_0x51e439+'\x5cpackage.json',_0x39e22b(0x1a6)+_0x36b359+_0x39e22b(0x1da)+_0x18ae01+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports['f_resolve_install_resources']=function(_0x2c537f=[]){const _0x45652f=a3_0x256448,_0x4cdca2=[];return Array[_0x45652f(0x1d7)](_0x2c537f)&&_0x2c537f[_0x45652f(0x1d0)](_0x4603a8=>{const _0x124ea3=_0x45652f;if(Array[_0x124ea3(0x1d7)](_0x4603a8)){const [_0x2c7f6b,_0x3c42ca=[]]=_0x4603a8;_0x4cdca2[_0x124ea3(0x1cb)]({'name':_0x2c7f6b,'importList':_0x3c42ca});}else _0x4cdca2[_0x124ea3(0x1cb)]({'name':_0x4603a8,'importList':[]});}),_0x4cdca2;},exports['f_update_project_package_json']=function(_0x7ed7ab,_0x322951,_0xf416f6){const _0x14d085=a3_0x256448,_0x13543c=JSON['parse'](fs[_0x14d085(0x1e3)](_0x7ed7ab)[_0x14d085(0x1b4)]());_0x13543c['dependencies'][_0x322951]=_0xf416f6,fs[_0x14d085(0x1c8)](_0x7ed7ab,JSON['stringify'](_0x13543c,null,0x2));},exports[a3_0x256448(0x1a8)]=function(_0x1f84ea,_0x52246f){const _0x4a6e76=a3_0x256448;fs[_0x4a6e76(0x1c2)](_0x1f84ea)[_0x4a6e76(0x1d0)](_0x16c1aa=>{const _0x29b036=_0x4a6e76,_0x24348c=_0x1f84ea+'\x5c'+_0x16c1aa,_0x1ab11b=_0x52246f+'\x5c'+_0x16c1aa;fs[_0x29b036(0x1a9)](_0x24348c)[_0x29b036(0x1b0)]()?(fs[_0x29b036(0x1e1)](_0x1ab11b),exports[_0x29b036(0x1a8)](_0x24348c,_0x1ab11b)):fs[_0x29b036(0x1c8)](_0x1ab11b,fs[_0x29b036(0x1e3)](_0x24348c)[_0x29b036(0x1b4)]());});},exports['f_content_replace']=function(_0x2f20c4=[],_0x3e9a5c){const _0x557161=a3_0x256448;_0x2f20c4[_0x557161(0x1d0)](_0x392570=>{const _0x4272f2=_0x557161,_0x45df24=_0x3e9a5c+_0x392570['path'];if(fs[_0x4272f2(0x1c1)](_0x45df24)){let _0xa5504e=fs['readFileSync'](_0x45df24)['toString']();_0x392570[_0x4272f2(0x1ac)][_0x4272f2(0x1d0)](_0x6626fc=>{_0xa5504e=_0xa5504e['replace'](_0x6626fc[0x0],_0x6626fc[0x1]);}),fs['writeFileSync'](_0x45df24,_0xa5504e);}});};
1
+ const a3_0x29e5c0=a3_0x45bf;function a3_0x284d(){const _0x46093b=['f_file_copy','6012050kVQcZA','filter','node_modules','string','jjb-common','【Error】:[jjb.config.json.installResources]无资源。','forEach','jjb-common-decorator','isArray','【Error】:[jjb.config.json.projectType]类型是一个string。','\x22,\x22version\x22:\x22','micro-spa','/repository/archive.zip?private_token=','【Error】:[jjb.config.json.installTarget]类型是一个string。','\x5cjjb.config.json','multi','3288775bHVbpi','2478420uZuYYj','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','{\x22name\x22:\x22','length','tmpdir','mkdirSync','path','\x5cpackage.json','map','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','unlinkSync','f_pull_git_repository','/api/v4/projects/','readdirSync','push','5340592woFoLz','replace','.zip','3mexxLP','projectType','src','installTarget','readFileSync','spa','parse','\x22,\x22main\x22:\x20\x22index.js\x22}','name','toString','./config','log','projectId','2124862hVoHqY','exit','f_scan_jjb_config_json','installResources','writeFileSync','f_scan_jjb_config_json_rules','3213656VJucyB','react-admin-component','includes','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','jjb-dva-runtime','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','dependencies','existsSync','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','statSync','f_content_replace','695961gwVdAJ','_zip','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','isDirectory'];a3_0x284d=function(){return _0x46093b;};return a3_0x284d();}(function(_0x2a058a,_0x221a16){const _0x1bf1c5=a3_0x45bf,_0x19a89e=_0x2a058a();while(!![]){try{const _0x40c69e=parseInt(_0x1bf1c5(0x192))/0x1+-parseInt(_0x1bf1c5(0x181))/0x2+parseInt(_0x1bf1c5(0x174))/0x3*(parseInt(_0x1bf1c5(0x187))/0x4)+-parseInt(_0x1bf1c5(0x197))/0x5+parseInt(_0x1bf1c5(0x1a8))/0x6+parseInt(_0x1bf1c5(0x1a7))/0x7+parseInt(_0x1bf1c5(0x171))/0x8;if(_0x40c69e===_0x221a16)break;else _0x19a89e['push'](_0x19a89e['shift']());}catch(_0x425857){_0x19a89e['push'](_0x19a89e['shift']());}}}(a3_0x284d,0xbfa6b));function a3_0x45bf(_0x2a9382,_0x26c8e3){const _0x284d96=a3_0x284d();return a3_0x45bf=function(_0x45bf82,_0x54e4ad){_0x45bf82=_0x45bf82-0x169;let _0x73a59c=_0x284d96[_0x45bf82];return _0x73a59c;},a3_0x45bf(_0x2a9382,_0x26c8e3);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a3_0x29e5c0(0x17e));exports['f_rm_rf']=function(_0x5f10fb){const _0x15ae91=a3_0x29e5c0;if(fs[_0x15ae91(0x18e)](_0x5f10fb)){const _0x2c5a93=fs[_0x15ae91(0x16f)](_0x5f10fb);for(let _0x25021e=0x0;_0x25021e<_0x2c5a93[_0x15ae91(0x1ac)];_0x25021e++){const _0x26df2b=_0x2c5a93[_0x25021e],_0x1c7b26=_0x5f10fb+'/'+_0x26df2b;fs['statSync'](_0x1c7b26)[_0x15ae91(0x195)]()?(exports['f_rm_rf'](_0x1c7b26),fs['rmdirSync'](_0x1c7b26)):fs[_0x15ae91(0x16c)](_0x1c7b26);}}},exports[a3_0x29e5c0(0x16d)]=function(_0x265f43=[]){return _0x265f43['map'](_0x667b6e=>{const _0x4d470a=a3_0x45bf,_0x2d92fc=CLOUD_PROJECT[_0x667b6e[_0x4d470a(0x17c)]]||undefined,_0x146ea1=os[_0x4d470a(0x1ad)]();return{'path':_0x146ea1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x667b6e['name']+_0x4d470a(0x173),'compress':_0x146ea1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x667b6e['name']+_0x4d470a(0x193),'repository':GIT_HOST+_0x4d470a(0x16e)+_0x2d92fc[_0x4d470a(0x180)]+_0x4d470a(0x1a3)+_0x2d92fc['token']+'&ref=master'};});},exports[a3_0x29e5c0(0x183)]=function(_0xd35c0a){const _0x488034=a3_0x29e5c0;return fs[_0x488034(0x18e)](_0xd35c0a+'\x5cjjb.config.json');},exports[a3_0x29e5c0(0x186)]=function(_0x2b8909){const _0xc3222a=a3_0x29e5c0;let _0xc25d1e={};try{_0xc25d1e=JSON['parse'](fs[_0xc3222a(0x178)](_0x2b8909+_0xc3222a(0x1a5))[_0xc3222a(0x17d)]());}catch(_0x1a75fa){console['log'](_0xc3222a(0x18c)),process[_0xc3222a(0x182)](0x0);}!(_0xc3222a(0x175)in _0xc25d1e)&&(console['log'](_0xc3222a(0x1aa)),process[_0xc3222a(0x182)](0x0));!(_0xc3222a(0x177)in _0xc25d1e)&&(console[_0xc3222a(0x17f)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0xc3222a(0x182)](0x0));!(_0xc3222a(0x184)in _0xc25d1e)&&(console['log'](_0xc3222a(0x194)),process['exit'](0x0));typeof _0xc25d1e['projectType']!==_0xc3222a(0x19a)&&(console[_0xc3222a(0x17f)](_0xc3222a(0x1a0)),process[_0xc3222a(0x182)](0x0));![_0xc3222a(0x1a6),_0xc3222a(0x179),'uniapp',_0xc3222a(0x1a2)][_0xc3222a(0x189)](_0xc25d1e[_0xc3222a(0x175)])&&(console[_0xc3222a(0x17f)](_0xc3222a(0x18f)),process[_0xc3222a(0x182)](0x0));typeof _0xc25d1e[_0xc3222a(0x177)]!==_0xc3222a(0x19a)&&(console[_0xc3222a(0x17f)](_0xc3222a(0x1a4)),process['exit'](0x0));![_0xc3222a(0x199),_0xc3222a(0x176)][_0xc3222a(0x189)](_0xc25d1e[_0xc3222a(0x177)])&&(console[_0xc3222a(0x17f)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0xc3222a(0x182)](0x0));!Array['isArray'](_0xc25d1e[_0xc3222a(0x184)])&&(console[_0xc3222a(0x17f)](_0xc3222a(0x18a)),process[_0xc3222a(0x182)](0x0));_0xc25d1e[_0xc3222a(0x184)][_0xc3222a(0x1ac)]===0x0&&(console[_0xc3222a(0x17f)](_0xc3222a(0x19c)),process[_0xc3222a(0x182)](0x0));const _0x3cc6d5=exports['f_resolve_install_resources'](_0xc25d1e[_0xc3222a(0x184)]);return _0x3cc6d5[_0xc3222a(0x16a)](_0x5953a8=>_0x5953a8[_0xc3222a(0x17c)])[_0xc3222a(0x198)](_0x34c522=>![_0xc3222a(0x19b),_0xc3222a(0x18b),'jjb-common-lib',_0xc3222a(0x19e),_0xc3222a(0x188),_0xc3222a(0x1a9)][_0xc3222a(0x189)](_0x34c522))['length']!==0x0&&(console['log'](_0xc3222a(0x16b)),process['exit'](0x0)),_0xc25d1e[_0xc3222a(0x184)]=_0x3cc6d5,_0xc25d1e;},exports['f_create_package_json']=function(_0x4246ea,_0x3b58dc,_0x201607){const _0x539113=a3_0x29e5c0;fs[_0x539113(0x185)](_0x4246ea+_0x539113(0x169),_0x539113(0x1ab)+_0x3b58dc+_0x539113(0x1a1)+_0x201607+_0x539113(0x17b));},exports['f_resolve_install_resources']=function(_0x223f93=[]){const _0x1a5735=a3_0x29e5c0,_0x48b6fb=[];return Array[_0x1a5735(0x19f)](_0x223f93)&&_0x223f93['forEach'](_0xb9884=>{const _0x4d4cb6=_0x1a5735;if(Array[_0x4d4cb6(0x19f)](_0xb9884)){const [_0x215302,_0x5221c5=[]]=_0xb9884;_0x48b6fb['push']({'name':_0x215302,'importList':_0x5221c5});}else _0x48b6fb[_0x4d4cb6(0x170)]({'name':_0xb9884,'importList':[]});}),_0x48b6fb;},exports['f_update_project_package_json']=function(_0x3bbd5f,_0x4895ec,_0x350e9e){const _0x8e5a7=a3_0x29e5c0,_0x648369=JSON[_0x8e5a7(0x17a)](fs[_0x8e5a7(0x178)](_0x3bbd5f)[_0x8e5a7(0x17d)]());_0x648369[_0x8e5a7(0x18d)][_0x4895ec]=_0x350e9e,fs[_0x8e5a7(0x185)](_0x3bbd5f,JSON['stringify'](_0x648369,null,0x2));},exports[a3_0x29e5c0(0x196)]=function(_0x27f28f,_0x12c18b){fs['readdirSync'](_0x27f28f)['forEach'](_0x5ed95f=>{const _0x4505eb=a3_0x45bf,_0x187b16=_0x27f28f+'\x5c'+_0x5ed95f,_0x186a9e=_0x12c18b+'\x5c'+_0x5ed95f;fs[_0x4505eb(0x190)](_0x187b16)['isDirectory']()?(fs[_0x4505eb(0x1ae)](_0x186a9e),exports['f_file_copy'](_0x187b16,_0x186a9e)):fs[_0x4505eb(0x185)](_0x186a9e,fs['readFileSync'](_0x187b16)[_0x4505eb(0x17d)]());});},exports[a3_0x29e5c0(0x191)]=function(_0x55c2ce=[],_0x2e46b2){const _0x4fd55d=a3_0x29e5c0;_0x55c2ce[_0x4fd55d(0x19d)](_0x58200c=>{const _0x3fc187=_0x4fd55d,_0x3feb00=_0x2e46b2+_0x58200c[_0x3fc187(0x1af)];if(fs[_0x3fc187(0x18e)](_0x3feb00)){let _0x269f19=fs[_0x3fc187(0x178)](_0x3feb00)[_0x3fc187(0x17d)]();_0x58200c[_0x3fc187(0x172)][_0x3fc187(0x19d)](_0xc706c8=>{const _0xe7966e=_0x3fc187;_0x269f19=_0x269f19[_0xe7966e(0x172)](_0xc706c8[0x0],_0xc706c8[0x1]);}),fs['writeFileSync'](_0x3feb00,_0x269f19);}});};
@@ -1 +1 @@
1
- const a4_0x3e2020=a4_0x1d10;function a4_0x1d10(_0xc5f54e,_0x5b8814){const _0x9859a8=a4_0x9859();return a4_0x1d10=function(_0x1d10f0,_0x4b0f12){_0x1d10f0=_0x1d10f0-0x84;let _0x50bbcc=_0x9859a8[_0x1d10f0];return _0x50bbcc;},a4_0x1d10(_0xc5f54e,_0x5b8814);}(function(_0x42409e,_0x4ae42a){const _0x4cbf50=a4_0x1d10,_0x277665=_0x42409e();while(!![]){try{const _0x451566=-parseInt(_0x4cbf50(0x86))/0x1*(parseInt(_0x4cbf50(0x85))/0x2)+-parseInt(_0x4cbf50(0x8d))/0x3*(parseInt(_0x4cbf50(0x9a))/0x4)+parseInt(_0x4cbf50(0x8f))/0x5*(parseInt(_0x4cbf50(0x93))/0x6)+-parseInt(_0x4cbf50(0x97))/0x7+-parseInt(_0x4cbf50(0x87))/0x8*(parseInt(_0x4cbf50(0x8e))/0x9)+-parseInt(_0x4cbf50(0x95))/0xa*(parseInt(_0x4cbf50(0x89))/0xb)+parseInt(_0x4cbf50(0x90))/0xc*(parseInt(_0x4cbf50(0xa4))/0xd);if(_0x451566===_0x4ae42a)break;else _0x277665['push'](_0x277665['shift']());}catch(_0x131a1c){_0x277665['push'](_0x277665['shift']());}}}(a4_0x9859,0xbc136));function a4_0x9859(){const _0xa25583=['36AvshKX','5TCwfkF','24132NbLUdD','parse','发布失败!根目录缺少‘package.json’文件,无法完成发布。','2121774niGNdf','platform','10jPgNXL','网络异常。','689241XwBoAN','networkInterfaces','log','893964nEPhKa','join','exports','arch','path','catch','existsSync','readFileSync','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','post','22009jLjTGy','axios','52MrQseM','11306MswbkD','2568592GIgMKz','data','7047766eVnhwn','resolve','exit','http://120.26.210.58:8088/api/file/push','9cYButM'];a4_0x9859=function(){return _0xa25583;};return a4_0x9859();}const path=require(a4_0x3e2020(0x9e)),fs=require('fs'),os=require('os'),axios=require(a4_0x3e2020(0x84));module[a4_0x3e2020(0x9c)]=_0xda2713=>{const _0x1c2db4=a4_0x3e2020,_0x4033f5=path[_0x1c2db4(0x8a)]('./'),_0x464c61=_0x4033f5+'\x5cdist\x5cindex.js',_0x3958da=_0x4033f5+'\x5cpackage.json',_0x53c2f9=[os['hostname'](),os[_0x1c2db4(0x94)](),os[_0x1c2db4(0x9d)](),new Date()['toString'](),JSON['stringify'](os[_0x1c2db4(0x98)](),null,'\x09')][_0x1c2db4(0x9b)]('\x0a');if(fs[_0x1c2db4(0xa0)](_0x3958da)){if(fs[_0x1c2db4(0xa0)](_0x464c61)){const _0x1b3a10=JSON[_0x1c2db4(0x91)](fs[_0x1c2db4(0xa1)](_0x3958da)['toString']()),{name:_0x12bb0f,version:_0x32d83c}=_0x1b3a10;axios[_0x1c2db4(0xa3)](_0x1c2db4(0x8c),{'log_text':_0x53c2f9,'package_name':_0x12bb0f,'package_version':_0xda2713?_0xda2713:_0x32d83c,'package_content':fs[_0x1c2db4(0xa1)](_0x464c61)['toString']()})['then'](_0x150ecf=>{const _0xd9f346=_0x1c2db4;console[_0xd9f346(0x99)](_0x150ecf[_0xd9f346(0x88)]['message']),process[_0xd9f346(0x8b)](0x0);})[_0x1c2db4(0x9f)](_0x1b3d2b=>{const _0x5f55b9=_0x1c2db4;console[_0x5f55b9(0x99)](_0x1b3d2b),console[_0x5f55b9(0x99)](_0x5f55b9(0x96)),process[_0x5f55b9(0x8b)](0x0);});}else console[_0x1c2db4(0x99)](_0x1c2db4(0xa2)),process[_0x1c2db4(0x8b)](0x0);}else console['log'](_0x1c2db4(0x92)),process[_0x1c2db4(0x8b)](0x0);};
1
+ const a4_0x137fe8=a4_0x2f21;function a4_0x2f21(_0x2cea16,_0xacfd9b){const _0x27d027=a4_0x27d0();return a4_0x2f21=function(_0x2f21c7,_0xf247d2){_0x2f21c7=_0x2f21c7-0xe6;let _0x20de1=_0x27d027[_0x2f21c7];return _0x20de1;},a4_0x2f21(_0x2cea16,_0xacfd9b);}(function(_0x66e366,_0x3e52da){const _0x5437f4=a4_0x2f21,_0x836879=_0x66e366();while(!![]){try{const _0x47cc47=-parseInt(_0x5437f4(0xe8))/0x1+-parseInt(_0x5437f4(0xf3))/0x2*(parseInt(_0x5437f4(0xea))/0x3)+parseInt(_0x5437f4(0xf0))/0x4*(parseInt(_0x5437f4(0xe7))/0x5)+-parseInt(_0x5437f4(0xfe))/0x6*(-parseInt(_0x5437f4(0x105))/0x7)+-parseInt(_0x5437f4(0xe6))/0x8+parseInt(_0x5437f4(0xff))/0x9*(-parseInt(_0x5437f4(0x103))/0xa)+-parseInt(_0x5437f4(0x107))/0xb*(-parseInt(_0x5437f4(0xfc))/0xc);if(_0x47cc47===_0x3e52da)break;else _0x836879['push'](_0x836879['shift']());}catch(_0x3d8ea4){_0x836879['push'](_0x836879['shift']());}}}(a4_0x27d0,0xec71d));function a4_0x27d0(){const _0x583ff6=['data','1983620TmSkOL','log','72023CCVfnj','发布失败!根目录缺少‘package.json’文件,无法完成发布。','33JuKPvj','3798920lCDPdd','80NeacGM','1325183uPUcBb','arch','41937UbXVot','catch','post','toString','hostname','readFileSync','198964PdfhDK','message','exit','132GpCieW','exports','网络异常。','parse','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','join','axios','stringify','platform','5707308sAlXew','http://120.26.210.58:8088/api/file/push','972kqkoWa','9JcdFzi','\x5cpackage.json','then'];a4_0x27d0=function(){return _0x583ff6;};return a4_0x27d0();}const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a4_0x137fe8(0xf9));module[a4_0x137fe8(0xf4)]=_0x356147=>{const _0x542c32=a4_0x137fe8,_0x23e799=path['resolve']('./'),_0x4f01ab=_0x23e799+'\x5cdist\x5cindex.js',_0x52c547=_0x23e799+_0x542c32(0x100),_0x37566b=[os[_0x542c32(0xee)](),os[_0x542c32(0xfb)](),os[_0x542c32(0xe9)](),new Date()[_0x542c32(0xed)](),JSON[_0x542c32(0xfa)](os['networkInterfaces'](),null,'\x09')][_0x542c32(0xf8)]('\x0a');if(fs['existsSync'](_0x52c547)){if(fs['existsSync'](_0x4f01ab)){const _0x48f10a=JSON[_0x542c32(0xf6)](fs['readFileSync'](_0x52c547)[_0x542c32(0xed)]()),{name:_0x24658c,version:_0x3cae15}=_0x48f10a;axios[_0x542c32(0xec)](_0x542c32(0xfd),{'log_text':_0x37566b,'package_name':_0x24658c,'package_version':_0x356147?_0x356147:_0x3cae15,'package_content':fs[_0x542c32(0xef)](_0x4f01ab)[_0x542c32(0xed)]()})[_0x542c32(0x101)](_0x183a0a=>{const _0x5e1089=_0x542c32;console[_0x5e1089(0x104)](_0x183a0a[_0x5e1089(0x102)][_0x5e1089(0xf1)]),process[_0x5e1089(0xf2)](0x0);})[_0x542c32(0xeb)](_0x1d26d3=>{const _0x1f555c=_0x542c32;console['log'](_0x1d26d3),console[_0x1f555c(0x104)](_0x1f555c(0xf5)),process[_0x1f555c(0xf2)](0x0);});}else console['log'](_0x542c32(0xf7)),process[_0x542c32(0xf2)](0x0);}else console[_0x542c32(0x104)](_0x542c32(0x106)),process[_0x542c32(0xf2)](0x0);};
@@ -0,0 +1 @@
1
+ const a5_0x4ee469=a5_0x3a0d;(function(_0x2086a3,_0x20b687){const _0x1c4523=a5_0x3a0d,_0x3061d8=_0x2086a3();while(!![]){try{const _0x427bc4=-parseInt(_0x1c4523(0x15f))/0x1+-parseInt(_0x1c4523(0x157))/0x2+parseInt(_0x1c4523(0x160))/0x3*(parseInt(_0x1c4523(0x168))/0x4)+parseInt(_0x1c4523(0x154))/0x5*(-parseInt(_0x1c4523(0x164))/0x6)+-parseInt(_0x1c4523(0x162))/0x7+parseInt(_0x1c4523(0x150))/0x8*(parseInt(_0x1c4523(0x15b))/0x9)+parseInt(_0x1c4523(0x166))/0xa;if(_0x427bc4===_0x20b687)break;else _0x3061d8['push'](_0x3061d8['shift']());}catch(_0x521eb2){_0x3061d8['push'](_0x3061d8['shift']());}}}(a5_0x1457,0x38662));function a5_0x1457(){const _0x3f82c5=['【warning】:no\x20commit,git\x20push,please\x20wait...','6030060gOxvHN','yarn','76rEOgCq','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','Git\x20Push\x20Done!','【Error】:打包失败,没有dist目录!','exit','Git\x20Add\x20Done,git\x20commit,please\x20wait...','log','\x20--no-verify','parse','../../old/util','git\x20push\x20-f','resolve','/node_modules','yarn\x20install\x20Done!','【Error】:参数传递错误','existsSync','\x5cdist','gitName','10152EpYxKc','git\x20pull','Git\x20Pull\x20Done,yarn\x20build:','../cmd.install/config','10ZfXkFN','toString','readFileSync','14034VCvfnV','path','child_process','execSync','2115cbqSFF','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','Git\x20Commit\x20Done,git\x20push,please\x20wait...','exports','415673TRhMCB','25179VTKizF','length','250306xzPVNp','git\x20add\x20.','1113690ARmPor'];a5_0x1457=function(){return _0x3f82c5;};return a5_0x1457();}const fs=require('fs'),os=require('os'),path=require(a5_0x4ee469(0x158)),child_process=require(a5_0x4ee469(0x159)),{CopyFolder,DeleteDirAllFile}=require(a5_0x4ee469(0x147)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x4ee469(0x153));function a5_0x3a0d(_0x33d0db,_0x3eabdf){const _0x1457d0=a5_0x1457();return a5_0x3a0d=function(_0x3a0d40,_0x3f89ff){_0x3a0d40=_0x3a0d40-0x140;let _0xee7f66=_0x1457d0[_0x3a0d40];return _0xee7f66;},a5_0x3a0d(_0x33d0db,_0x3eabdf);}module[a5_0x4ee469(0x15e)]=arguments=>{const _0x29fb20=a5_0x4ee469;arguments[_0x29fb20(0x161)]<0x2&&(console[_0x29fb20(0x144)](_0x29fb20(0x14c)),process[_0x29fb20(0x142)](0x0));const _0x22a01b=arguments[0x1],_0x3c75cb=arguments[0x2]||'no\x20message',_0x284e46=path[_0x29fb20(0x149)]('./'),_0x2a9fbd=_0x284e46+'\x5cjjb.config.json',_0x3a41f8=_0x284e46+_0x29fb20(0x14e),_0x4acecd=os['tmpdir']();if(fs[_0x29fb20(0x14d)](_0x2a9fbd)){const _0x35f4b9=JSON[_0x29fb20(0x146)](fs[_0x29fb20(0x156)](_0x2a9fbd)[_0x29fb20(0x155)]());if(_0x35f4b9['git']){const _0x2c346d=_0x4acecd+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x2c346d)&&(fs['mkdirSync'](_0x2c346d),child_process['execSync']('git\x20clone\x20http://192.168.1.242:10985/jjb/dragon/v1/web/base-app.git',{'cwd':_0x2c346d})),_0x34beb0(_0x2c346d,_0x35f4b9);}}function _0x34beb0(_0x35d5a3,_0x4c16e7){const _0x4762fe=_0x29fb20;child_process[_0x4762fe(0x15a)](_0x4762fe(0x151));!fs[_0x4762fe(0x14d)](_0x284e46+_0x4762fe(0x14a))?(console[_0x4762fe(0x144)](_0x4762fe(0x169)),child_process['execSync'](_0x4762fe(0x167),{'cwd':_0x284e46}),console[_0x4762fe(0x144)](_0x4762fe(0x14b))):console['log'](_0x4762fe(0x152)+_0x22a01b+',please\x20wait...');child_process[_0x4762fe(0x15a)]('yarn\x20build:'+_0x22a01b,{'cwd':_0x284e46}),console[_0x4762fe(0x144)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4762fe(0x14d)](_0x3a41f8)){const _0x1174c3=_0x35d5a3+'/'+_0x4c16e7[_0x4762fe(0x14f)],_0x265260=_0x1174c3+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x22a01b];DeleteDirAllFile(_0x265260,()=>{fs['mkdirSync'](_0x265260),CopyFolder(_0x3a41f8,_0x265260,()=>{const _0x4cb5dc=a5_0x3a0d;console[_0x4cb5dc(0x144)](_0x4cb5dc(0x15c)),setTimeout(()=>{const _0x5ce73d=_0x4cb5dc;child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x163),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x143));try{child_process['execSync']('git\x20commit\x20-m\x20'+_0x3c75cb+_0x5ce73d(0x145),{'cwd':_0x1174c3}),console['log'](_0x5ce73d(0x15d));}catch(_0x5051d8){console[_0x5ce73d(0x144)](_0x5ce73d(0x165));}child_process[_0x5ce73d(0x15a)](_0x5ce73d(0x148),{'cwd':_0x1174c3}),console[_0x5ce73d(0x144)](_0x5ce73d(0x140));},0x3e8);});});}else console[_0x4762fe(0x144)](_0x4762fe(0x141));}};
@@ -1 +1 @@
1
- const a5_0x2fcdca=a5_0x36aa;(function(_0x177b7b,_0x221981){const _0x26cd47=a5_0x36aa,_0x211561=_0x177b7b();while(!![]){try{const _0x4ab573=parseInt(_0x26cd47(0x1e0))/0x1+-parseInt(_0x26cd47(0x1d5))/0x2+parseInt(_0x26cd47(0x1de))/0x3+parseInt(_0x26cd47(0x1e3))/0x4*(-parseInt(_0x26cd47(0x1e8))/0x5)+parseInt(_0x26cd47(0x1db))/0x6*(-parseInt(_0x26cd47(0x1d2))/0x7)+parseInt(_0x26cd47(0x1da))/0x8*(-parseInt(_0x26cd47(0x1dc))/0x9)+parseInt(_0x26cd47(0x1dd))/0xa;if(_0x4ab573===_0x221981)break;else _0x211561['push'](_0x211561['shift']());}catch(_0x4cd6ab){_0x211561['push'](_0x211561['shift']());}}}(a5_0x3f70,0xa1329));const axios=require('axios');module[a5_0x2fcdca(0x1d8)]=_0x1f40a2=>{const _0x323419=a5_0x2fcdca;axios[_0x323419(0x1df)](_0x323419(0x1e7))[_0x323419(0x1e2)](_0x24803c=>{const _0x49369a=_0x323419;if(_0x24803c['data'][_0x49369a(0x1e6)]){const _0x648279=_0x24803c[_0x49369a(0x1d4)]['data'];_0x1f40a2==='server'&&(console[_0x49369a(0x1d6)](_0x648279['host']),console['log'](_0x648279[_0x49369a(0x1e4)])),_0x1f40a2===_0x49369a(0x1d7)&&console[_0x49369a(0x1d6)](_0x648279[_0x49369a(0x1d7)]);}else console['log'](_0x24803c[_0x49369a(0x1d4)][_0x49369a(0x1e1)]);process[_0x49369a(0x1e5)](0x0);})[_0x323419(0x1d3)](()=>{const _0xedadcb=_0x323419;console[_0xedadcb(0x1d6)](_0xedadcb(0x1d9)),process[_0xedadcb(0x1e5)](0x0);});};function a5_0x36aa(_0x1a861b,_0x30f546){const _0x3f70f5=a5_0x3f70();return a5_0x36aa=function(_0x36aa2d,_0xb7c057){_0x36aa2d=_0x36aa2d-0x1d2;let _0x54e722=_0x3f70f5[_0x36aa2d];return _0x54e722;},a5_0x36aa(_0x1a861b,_0x30f546);}function a5_0x3f70(){const _0x2e85e9=['catch','data','1742328QjPQbf','log','components','exports','网络异常。','56vEoXQe','7494FuAcoT','1201266fcnWQg','12887680ywXZcE','3575775ajtxgD','post','883885OdumZn','message','then','445044trYSiH','port','exit','status','http://120.26.210.58:8088/api/file/config','40cFYOYV','49tLmkJV'];a5_0x3f70=function(){return _0x2e85e9;};return a5_0x3f70();}
1
+ const a6_0x723cf=a6_0x70f0;function a6_0x12e3(){const _0x1205d3=['port','host','1224980Qvakrv','exit','147tuboFw','message','420bJFXzM','333376VeVPaa','then','components','22ciIRek','28403rNtwas','axios','12702070IClIwS','9364968WExZKJ','6312468IapcRV','exports','server','网络异常。','data','status','log','post','17256JZpmXD','catch'];a6_0x12e3=function(){return _0x1205d3;};return a6_0x12e3();}function a6_0x70f0(_0x1a8d5e,_0x9749dd){const _0x12e303=a6_0x12e3();return a6_0x70f0=function(_0x70f085,_0x245a3d){_0x70f085=_0x70f085-0xa2;let _0x197951=_0x12e303[_0x70f085];return _0x197951;},a6_0x70f0(_0x1a8d5e,_0x9749dd);}(function(_0x1cf698,_0x4f49d2){const _0x3e4a22=a6_0x70f0,_0x2bf757=_0x1cf698();while(!![]){try{const _0x318de5=parseInt(_0x3e4a22(0xb1))/0x1*(-parseInt(_0x3e4a22(0xb0))/0x2)+-parseInt(_0x3e4a22(0xac))/0x3*(-parseInt(_0x3e4a22(0xa4))/0x4)+parseInt(_0x3e4a22(0xa8))/0x5+-parseInt(_0x3e4a22(0xb5))/0x6+-parseInt(_0x3e4a22(0xaa))/0x7*(-parseInt(_0x3e4a22(0xad))/0x8)+-parseInt(_0x3e4a22(0xb4))/0x9+parseInt(_0x3e4a22(0xb3))/0xa;if(_0x318de5===_0x4f49d2)break;else _0x2bf757['push'](_0x2bf757['shift']());}catch(_0x4e20e7){_0x2bf757['push'](_0x2bf757['shift']());}}}(a6_0x12e3,0x8fd9c));const axios=require(a6_0x723cf(0xb2));module[a6_0x723cf(0xb6)]=_0x2eae73=>{const _0x286964=a6_0x723cf;axios[_0x286964(0xa3)]('http://120.26.210.58:8088/api/file/config')[_0x286964(0xae)](_0x2a2969=>{const _0x4f62f3=_0x286964;if(_0x2a2969['data'][_0x4f62f3(0xba)]){const _0x520899=_0x2a2969[_0x4f62f3(0xb9)][_0x4f62f3(0xb9)];_0x2eae73===_0x4f62f3(0xb7)&&(console[_0x4f62f3(0xa2)](_0x520899[_0x4f62f3(0xa7)]),console['log'](_0x520899[_0x4f62f3(0xa6)])),_0x2eae73==='components'&&console[_0x4f62f3(0xa2)](_0x520899[_0x4f62f3(0xaf)]);}else console['log'](_0x2a2969[_0x4f62f3(0xb9)][_0x4f62f3(0xab)]);process[_0x4f62f3(0xa9)](0x0);})[_0x286964(0xa5)](()=>{const _0x28a3f9=_0x286964;console[_0x28a3f9(0xa2)](_0x28a3f9(0xb8)),process[_0x28a3f9(0xa9)](0x0);});};
@@ -1 +1 @@
1
- const a6_0x148b49=a6_0x3db1;function a6_0x3db1(_0x5522b8,_0x483146){const _0x2d030f=a6_0x2d03();return a6_0x3db1=function(_0x3db1ac,_0x2bdb60){_0x3db1ac=_0x3db1ac-0x187;let _0x1d6826=_0x2d030f[_0x3db1ac];return _0x1d6826;},a6_0x3db1(_0x5522b8,_0x483146);}(function(_0x42a5d7,_0x4098b9){const _0x21283c=a6_0x3db1,_0x53ccbc=_0x42a5d7();while(!![]){try{const _0x2241c1=-parseInt(_0x21283c(0x187))/0x1*(-parseInt(_0x21283c(0x1a0))/0x2)+-parseInt(_0x21283c(0x195))/0x3*(parseInt(_0x21283c(0x19a))/0x4)+-parseInt(_0x21283c(0x18a))/0x5*(parseInt(_0x21283c(0x191))/0x6)+parseInt(_0x21283c(0x199))/0x7*(parseInt(_0x21283c(0x18c))/0x8)+parseInt(_0x21283c(0x198))/0x9+parseInt(_0x21283c(0x18d))/0xa*(-parseInt(_0x21283c(0x196))/0xb)+-parseInt(_0x21283c(0x19c))/0xc*(parseInt(_0x21283c(0x19f))/0xd);if(_0x2241c1===_0x4098b9)break;else _0x53ccbc['push'](_0x53ccbc['shift']());}catch(_0x56a60e){_0x53ccbc['push'](_0x53ccbc['shift']());}}}(a6_0x2d03,0x9879d));function a6_0x2d03(){const _0x18ec0e=['156sSOFCE','resolve','25320zirMxi','clear','path','3120TUOZxu','594842gJCjaL','readline','删除完成。','unlinkSync','正在计算项目数,请稍等...','stdin','length','question','2RfxbSP','statSync','删除文件:','134130eQMopB','isDirectory','40568ZdNxLj','70JwMzdY','取消删除。','existsSync','readdirSync','66qsYRpZ','exit','无效操作。','trim','9189NRzkZp','430694SFLfAC','log','10383534bQDDUs','98oyoEjy'];a6_0x2d03=function(){return _0x18ec0e;};return a6_0x2d03();}const fs=require('fs'),path=require(a6_0x148b49(0x19e)),readline=require(a6_0x148b49(0x1a1)),io=readline['createInterface']({'input':process[a6_0x148b49(0x1a5)],'output':process['stdout']});let f_total=0x0;module['exports']=function(){const _0x13e0ae=a6_0x148b49,_0x578fd9=path[_0x13e0ae(0x19b)]('./');io[_0x13e0ae(0x1a7)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x43866d){const _0x18185f=_0x13e0ae;if(_0x43866d[_0x18185f(0x194)]()==='y')console[_0x18185f(0x197)](_0x18185f(0x1a4)),setTimeout(()=>{setTimeout(()=>{const _0x4140b6=a6_0x3db1;console[_0x4140b6(0x19d)](),exec(_0x578fd9),setTimeout(()=>{const _0x138681=_0x4140b6;console[_0x138681(0x197)](_0x138681(0x1a2)),console[_0x138681(0x19d)](),process[_0x138681(0x192)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x43866d['trim']()==='n'?(console[_0x18185f(0x197)](_0x18185f(0x18e)),process['exit'](0x0)):(console['log'](_0x18185f(0x193)),process[_0x18185f(0x192)](0x0));});};function exec(_0x5b4727){const _0x91d69f=a6_0x148b49;if(fs[_0x91d69f(0x18f)](_0x5b4727)){const _0x42c4c3=fs[_0x91d69f(0x190)](_0x5b4727);for(let _0x578f00=0x0;_0x578f00<_0x42c4c3[_0x91d69f(0x1a6)];_0x578f00++){const _0x16160b=_0x42c4c3[_0x578f00],_0x3ea775=_0x5b4727+'/'+_0x16160b;try{fs[_0x91d69f(0x188)](_0x3ea775)[_0x91d69f(0x18b)]()?(exec(_0x3ea775),fs['rmdirSync'](_0x3ea775,{'recursive':!![]}),console['log']('删除文件夹:'+_0x3ea775)):(fs[_0x91d69f(0x1a3)](_0x3ea775),console[_0x91d69f(0x197)](_0x91d69f(0x189)+_0x3ea775));}catch(_0x465c0b){console[_0x91d69f(0x197)]('删除异常:'+_0x3ea775);}}}}
1
+ const a7_0x146269=a7_0x2daa;function a7_0x2daa(_0x2e79b8,_0x16d6a8){const _0x3e9954=a7_0x3e99();return a7_0x2daa=function(_0x2daacc,_0x425e97){_0x2daacc=_0x2daacc-0x185;let _0x35221b=_0x3e9954[_0x2daacc];return _0x35221b;},a7_0x2daa(_0x2e79b8,_0x16d6a8);}(function(_0x382ee5,_0x5e1c97){const _0x50062a=a7_0x2daa,_0xace656=_0x382ee5();while(!![]){try{const _0x2235a5=parseInt(_0x50062a(0x18a))/0x1*(-parseInt(_0x50062a(0x1a5))/0x2)+-parseInt(_0x50062a(0x195))/0x3+parseInt(_0x50062a(0x190))/0x4*(-parseInt(_0x50062a(0x197))/0x5)+parseInt(_0x50062a(0x18f))/0x6*(-parseInt(_0x50062a(0x198))/0x7)+parseInt(_0x50062a(0x19f))/0x8+parseInt(_0x50062a(0x196))/0x9*(parseInt(_0x50062a(0x18d))/0xa)+parseInt(_0x50062a(0x1a1))/0xb;if(_0x2235a5===_0x5e1c97)break;else _0xace656['push'](_0xace656['shift']());}catch(_0x4e1a79){_0xace656['push'](_0xace656['shift']());}}}(a7_0x3e99,0x65441));const fs=require('fs'),path=require(a7_0x146269(0x19e)),readline=require('readline'),io=readline['createInterface']({'input':process[a7_0x146269(0x18b)],'output':process[a7_0x146269(0x19d)]});let f_total=0x0;module[a7_0x146269(0x18e)]=function(){const _0x21ae77=a7_0x146269,_0x23464b=path[_0x21ae77(0x1a0)]('./');io[_0x21ae77(0x19c)](_0x21ae77(0x1a3),function(_0x585c2e){const _0x562320=_0x21ae77;if(_0x585c2e['trim']()==='y')console[_0x562320(0x189)](_0x562320(0x194)),setTimeout(()=>{setTimeout(()=>{const _0xda4ed4=a7_0x2daa;console[_0xda4ed4(0x187)](),exec(_0x23464b),setTimeout(()=>{const _0x5c0609=_0xda4ed4;console[_0x5c0609(0x189)]('删除完成。'),console['clear'](),process[_0x5c0609(0x186)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x585c2e[_0x562320(0x191)]()==='n'?(console[_0x562320(0x189)](_0x562320(0x1a4)),process['exit'](0x0)):(console[_0x562320(0x189)](_0x562320(0x185)),process['exit'](0x0));});};function a7_0x3e99(){const _0x3a576b=['clear','unlinkSync','log','1bBxWHe','stdin','rmdirSync','50cGhkIL','exports','6EqJZgb','180052XrleyV','trim','isDirectory','existsSync','正在计算项目数,请稍等...','1803432xaEhfX','172395tycXsO','55Fclton','1877897eLGrlF','删除文件:','删除异常:','statSync','question','stdout','path','3369328sdFzVU','resolve','21902683ShbOyg','length','是否确认删除?删除后不可恢复![y/n]:','取消删除。','1457502uXzgWV','删除文件夹:','无效操作。','exit'];a7_0x3e99=function(){return _0x3a576b;};return a7_0x3e99();}function exec(_0x35a6be){const _0x509d77=a7_0x146269;if(fs[_0x509d77(0x193)](_0x35a6be)){const _0xbfe98e=fs['readdirSync'](_0x35a6be);for(let _0x497a08=0x0;_0x497a08<_0xbfe98e[_0x509d77(0x1a2)];_0x497a08++){const _0x2bcddc=_0xbfe98e[_0x497a08],_0x4d4172=_0x35a6be+'/'+_0x2bcddc;try{fs[_0x509d77(0x19b)](_0x4d4172)[_0x509d77(0x192)]()?(exec(_0x4d4172),fs[_0x509d77(0x18c)](_0x4d4172,{'recursive':!![]}),console[_0x509d77(0x189)](_0x509d77(0x1a6)+_0x4d4172)):(fs[_0x509d77(0x188)](_0x4d4172),console[_0x509d77(0x189)](_0x509d77(0x199)+_0x4d4172));}catch(_0x40321a){console['log'](_0x509d77(0x19a)+_0x4d4172);}}}}
@@ -1 +1 @@
1
- const a7_0x99a883=a7_0x2085;(function(_0x534e5a,_0x12b850){const _0x1d1097=a7_0x2085,_0x152336=_0x534e5a();while(!![]){try{const _0x228dd3=parseInt(_0x1d1097(0x114))/0x1+-parseInt(_0x1d1097(0x103))/0x2*(-parseInt(_0x1d1097(0x113))/0x3)+parseInt(_0x1d1097(0x11e))/0x4+-parseInt(_0x1d1097(0x11c))/0x5+-parseInt(_0x1d1097(0x10f))/0x6+-parseInt(_0x1d1097(0x10e))/0x7*(parseInt(_0x1d1097(0x11b))/0x8)+-parseInt(_0x1d1097(0x116))/0x9*(-parseInt(_0x1d1097(0x102))/0xa);if(_0x228dd3===_0x12b850)break;else _0x152336['push'](_0x152336['shift']());}catch(_0x365576){_0x152336['push'](_0x152336['shift']());}}}(a7_0x4572,0xd3876));function a7_0x2085(_0x3458df,_0x4c18de){const _0x45726f=a7_0x4572();return a7_0x2085=function(_0x20857e,_0x45026d){_0x20857e=_0x20857e-0x101;let _0x48fc0a=_0x45726f[_0x20857e];return _0x48fc0a;},a7_0x2085(_0x3458df,_0x4c18de);}const path=require(a7_0x99a883(0x10a)),fs=require('fs'),axios=require(a7_0x99a883(0x106));module[a7_0x99a883(0x107)]=()=>{const _0x4f94b5=a7_0x99a883,_0x1c83d7=path[_0x4f94b5(0x105)]('./'),_0xbb17dc=_0x1c83d7+_0x4f94b5(0x104);if(fs[_0x4f94b5(0x115)](_0xbb17dc)){const _0xeb02d6=JSON[_0x4f94b5(0x112)](fs[_0x4f94b5(0x10c)](_0xbb17dc)[_0x4f94b5(0x11d)]()),{name:_0x1a7910}=_0xeb02d6;axios[_0x4f94b5(0x117)](_0x4f94b5(0x110),{'package_name':_0x1a7910})[_0x4f94b5(0x10b)](_0xf3df09=>{const _0x48f2c1=_0x4f94b5;_0xf3df09['data'][_0x48f2c1(0x118)]?console[_0x48f2c1(0x11a)](_0xf3df09[_0x48f2c1(0x109)][_0x48f2c1(0x109)]):console['log'](_0xf3df09[_0x48f2c1(0x109)][_0x48f2c1(0x108)]),process['exit'](0x0);})[_0x4f94b5(0x119)](()=>{const _0x12d455=_0x4f94b5;console['log'](_0x12d455(0x10d)),process[_0x12d455(0x111)](0x0);});}else console['log'](_0x4f94b5(0x101)),process[_0x4f94b5(0x111)](0x0);};function a7_0x4572(){const _0x22647c=['722HbkSnv','\x5cpackage.json','resolve','axios','exports','message','data','path','then','readFileSync','网络异常。','7BtEiwf','5133384XrOnKL','http://120.26.210.58:8088/api/file/version','exit','parse','2988oQlMXF','602487UcSVyg','existsSync','9HNDiVX','post','status','catch','log','6300184qCmmZO','3066020gHpQXw','toString','3006068IpJimT','查询失败!根目录缺少‘package.json’文件,无法完成查询。','14091530wwdrnp'];a7_0x4572=function(){return _0x22647c;};return a7_0x4572();}
1
+ function a8_0x434a(_0x1f81d1,_0x414158){const _0x42e146=a8_0x42e1();return a8_0x434a=function(_0x434a6a,_0x4f57b6){_0x434a6a=_0x434a6a-0x162;let _0x2b4fdf=_0x42e146[_0x434a6a];return _0x2b4fdf;},a8_0x434a(_0x1f81d1,_0x414158);}const a8_0x1f4e1d=a8_0x434a;(function(_0x176976,_0x66827c){const _0x1ca0be=a8_0x434a,_0x2cf018=_0x176976();while(!![]){try{const _0x59140f=-parseInt(_0x1ca0be(0x176))/0x1+-parseInt(_0x1ca0be(0x162))/0x2*(-parseInt(_0x1ca0be(0x179))/0x3)+parseInt(_0x1ca0be(0x173))/0x4+-parseInt(_0x1ca0be(0x16a))/0x5*(parseInt(_0x1ca0be(0x163))/0x6)+-parseInt(_0x1ca0be(0x166))/0x7+parseInt(_0x1ca0be(0x167))/0x8*(parseInt(_0x1ca0be(0x175))/0x9)+parseInt(_0x1ca0be(0x172))/0xa;if(_0x59140f===_0x66827c)break;else _0x2cf018['push'](_0x2cf018['shift']());}catch(_0x53b40d){_0x2cf018['push'](_0x2cf018['shift']());}}}(a8_0x42e1,0x3d880));const path=require(a8_0x1f4e1d(0x168)),fs=require('fs'),axios=require('axios');function a8_0x42e1(){const _0x2cd5d6=['2013809jnRtVN','32MMSWRb','path','exit','5Cbcdhh','message','existsSync','\x5cpackage.json','exports','toString','status','http://120.26.210.58:8088/api/file/version','8574930mCWUrN','933288XXWuTZ','data','324117ObWzPJ','413368kkcazp','查询失败!根目录缺少‘package.json’文件,无法完成查询。','catch','28491kofDre','log','14gsriPr','2089554lomXvJ','parse','post'];a8_0x42e1=function(){return _0x2cd5d6;};return a8_0x42e1();}module[a8_0x1f4e1d(0x16e)]=()=>{const _0x3e9971=a8_0x1f4e1d,_0x1225d9=path['resolve']('./'),_0x41eb7d=_0x1225d9+_0x3e9971(0x16d);if(fs[_0x3e9971(0x16c)](_0x41eb7d)){const _0x16aead=JSON[_0x3e9971(0x164)](fs['readFileSync'](_0x41eb7d)[_0x3e9971(0x16f)]()),{name:_0x25a333}=_0x16aead;axios[_0x3e9971(0x165)](_0x3e9971(0x171),{'package_name':_0x25a333})['then'](_0x3d894a=>{const _0x230929=_0x3e9971;_0x3d894a[_0x230929(0x174)][_0x230929(0x170)]?console[_0x230929(0x17a)](_0x3d894a[_0x230929(0x174)][_0x230929(0x174)]):console[_0x230929(0x17a)](_0x3d894a[_0x230929(0x174)][_0x230929(0x16b)]),process[_0x230929(0x169)](0x0);})[_0x3e9971(0x178)](()=>{const _0x97eade=_0x3e9971;console[_0x97eade(0x17a)]('网络异常。'),process[_0x97eade(0x169)](0x0);});}else console[_0x3e9971(0x17a)](_0x3e9971(0x177)),process[_0x3e9971(0x169)](0x0);};
@@ -1 +1 @@
1
- function a8_0xba5f(_0x185674,_0x29f0c5){const _0x4a7e43=a8_0x4a7e();return a8_0xba5f=function(_0xba5f15,_0x1c8f7c){_0xba5f15=_0xba5f15-0x19f;let _0x208f8e=_0x4a7e43[_0xba5f15];return _0x208f8e;},a8_0xba5f(_0x185674,_0x29f0c5);}const a8_0x29acfc=a8_0xba5f;(function(_0x58feac,_0x49031d){const _0x29b945=a8_0xba5f,_0x3fffaf=_0x58feac();while(!![]){try{const _0x4ddda9=parseInt(_0x29b945(0x1a2))/0x1*(parseInt(_0x29b945(0x1a8))/0x2)+parseInt(_0x29b945(0x1b2))/0x3*(-parseInt(_0x29b945(0x1a4))/0x4)+parseInt(_0x29b945(0x1a0))/0x5*(parseInt(_0x29b945(0x1b0))/0x6)+-parseInt(_0x29b945(0x1a6))/0x7+-parseInt(_0x29b945(0x1aa))/0x8+parseInt(_0x29b945(0x1a1))/0x9+parseInt(_0x29b945(0x1a9))/0xa;if(_0x4ddda9===_0x49031d)break;else _0x3fffaf['push'](_0x3fffaf['shift']());}catch(_0x410700){_0x3fffaf['push'](_0x3fffaf['shift']());}}}(a8_0x4a7e,0xbc0f5));function a8_0x4a7e(){const _0x1fc296=['初始化完成!','existsSync','readline','6UFylub','path','273852kAeoUq','\x5ccli.init','2124095AaKFmM','332235IhJqWi','34dvuWou','./cli.install/tools','4FxXGRU','log','7630546FFjzJe','resolve','68924gstmyA','16129620NKPewN','10357992zIskzW','exit','\x5cwebstorm.config.js'];a8_0x4a7e=function(){return _0x1fc296;};return a8_0x4a7e();}const path=require(a8_0x29acfc(0x1b1)),readline=require(a8_0x29acfc(0x1af)),{f_file_copy}=require(a8_0x29acfc(0x1a3)),fs=require('fs');module['exports']=()=>{const _0x46e665=a8_0x29acfc,_0x4c079b=path[_0x46e665(0x1a7)]('./');!fs[_0x46e665(0x1ae)](_0x4c079b+'\x5cjjb.script')&&!fs[_0x46e665(0x1ae)](_0x4c079b+'\x5cpublic')&&!fs['existsSync'](_0x4c079b+'\x5cjjb.config.json')&&!fs[_0x46e665(0x1ae)](_0x4c079b+'\x5cpackage.json')&&!fs['existsSync'](_0x4c079b+_0x46e665(0x1ac))?(f_file_copy(__dirname+_0x46e665(0x19f),_0x4c079b),console[_0x46e665(0x1a5)](_0x46e665(0x1ad)),process[_0x46e665(0x1ab)](0x0)):(console[_0x46e665(0x1a5)]('初始化失败,文件已存在!'),process[_0x46e665(0x1ab)](0x0));};
1
+ function a9_0x1f1d(_0x3ce0b8,_0x2a4a5c){const _0xe9cd39=a9_0xe9cd();return a9_0x1f1d=function(_0x1f1d70,_0x2384c4){_0x1f1d70=_0x1f1d70-0x177;let _0x589af2=_0xe9cd39[_0x1f1d70];return _0x589af2;},a9_0x1f1d(_0x3ce0b8,_0x2a4a5c);}const a9_0x19524c=a9_0x1f1d;(function(_0x3856a9,_0x46f324){const _0x11af8e=a9_0x1f1d,_0x397a20=_0x3856a9();while(!![]){try{const _0x48e223=parseInt(_0x11af8e(0x189))/0x1+parseInt(_0x11af8e(0x186))/0x2+-parseInt(_0x11af8e(0x18f))/0x3*(parseInt(_0x11af8e(0x190))/0x4)+-parseInt(_0x11af8e(0x17f))/0x5*(-parseInt(_0x11af8e(0x184))/0x6)+parseInt(_0x11af8e(0x17b))/0x7*(parseInt(_0x11af8e(0x177))/0x8)+-parseInt(_0x11af8e(0x18c))/0x9+parseInt(_0x11af8e(0x17c))/0xa*(-parseInt(_0x11af8e(0x183))/0xb);if(_0x48e223===_0x46f324)break;else _0x397a20['push'](_0x397a20['shift']());}catch(_0x181cfb){_0x397a20['push'](_0x397a20['shift']());}}}(a9_0xe9cd,0x3cd0d));const path=require(a9_0x19524c(0x185)),readline=require(a9_0x19524c(0x180)),{f_file_copy}=require(a9_0x19524c(0x18b)),fs=require('fs');function a9_0xe9cd(){const _0x380b23=['285963gYMLkC','8DGhDcF','2321912etsjmm','初始化失败,文件已存在!','\x5cwebstorm.config.js','resolve','7eZAnfH','320630UoomFM','\x5ccli.init','log','235mWIAqh','readline','\x5cpublic','初始化完成!','143kWWNgT','3498CiRkys','path','870004SKQyML','\x5cjjb.config.json','exports','182326dbddUj','\x5cjjb.script','./cli.install/tools','705654NfGMvF','existsSync','exit'];a9_0xe9cd=function(){return _0x380b23;};return a9_0xe9cd();}module[a9_0x19524c(0x188)]=()=>{const _0x4c6631=a9_0x19524c,_0x137be7=path[_0x4c6631(0x17a)]('./');!fs['existsSync'](_0x137be7+_0x4c6631(0x18a))&&!fs['existsSync'](_0x137be7+_0x4c6631(0x181))&&!fs[_0x4c6631(0x18d)](_0x137be7+_0x4c6631(0x187))&&!fs['existsSync'](_0x137be7+'\x5cpackage.json')&&!fs[_0x4c6631(0x18d)](_0x137be7+_0x4c6631(0x179))?(f_file_copy(__dirname+_0x4c6631(0x17d),_0x137be7),console[_0x4c6631(0x17e)](_0x4c6631(0x182)),process[_0x4c6631(0x18e)](0x0)):(console[_0x4c6631(0x17e)](_0x4c6631(0x178)),process[_0x4c6631(0x18e)](0x0));};
@@ -1 +1 @@
1
- function a9_0x4304(){const _0x2c9e2c=['1800469OZocOg','CLOUD_PROJECT','\x5cImageCropper\x5cindex.js','37215CvOOQV','e9njpBd1nS_LREN8GFpR','\x5c..\x5ccli.dva.register.spa.txt','CLI_DVA_REGISTER_PATH','jjb-react-admin-component','CLI_DVA_REGISTER_SPA','CLI_DVA_ROUTER_SAAS','\x5cEditor\x5cindex.js','jjb-common/color','964086GYYUYu','21ahSfIt','COMMON_CONTENT_NOR_REPLACE','http://192.168.1.242:10985','jjb-common/http','313203IZXnad','jjbAssembly_','gPSit8aJsLVmNzuQ5Cy4','CLI_DVA_REGISTER_SAAS','\x5cRouterContainer\x5cindex.js','691856Yqsulw','hLqARY89CN6fUD3yg4NL','20EnBFbI','common/crypto','948791GcTsUV','GIT_HOST','\x5ctools\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','168cXLCuH','COMMON_CONTENT_MICRO_REPLACE','\x5cPageHeaderBar\x5cindex.js','2270fmuvfW','jjb-common/tools','\x5c..\x5ccli.dva.register.saas.txt','\x5cdva\x5cautomatic\x5crouter.js','components','\x5cRouterMenu\x5cindex.js','tmpdir','\x5cwebsite\x5cindex.js','common/http','jjb-common/crypto','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','\x5c..\x5ccli.dva.router.saas.txt','common/tools','GIT_TEMP_DIR','562984IAsTHN','5OYEFoB','return\x20process.env;','G4HJRsHr9D7Ssmixegw2','FT3pKzxpRynFkmddJ9Bs','common/website','common/color'];a9_0x4304=function(){return _0x2c9e2c;};return a9_0x4304();}const a9_0x3362da=a9_0x5715;(function(_0xa8a743,_0x9d1e6a){const _0x55fd8b=a9_0x5715,_0x45b6a2=_0xa8a743();while(!![]){try{const _0x50410f=-parseInt(_0x55fd8b(0x10c))/0x1+parseInt(_0x55fd8b(0x108))/0x2+parseInt(_0x55fd8b(0x103))/0x3*(-parseInt(_0x55fd8b(0x10a))/0x4)+-parseInt(_0x55fd8b(0x123))/0x5*(-parseInt(_0x55fd8b(0xfe))/0x6)+-parseInt(_0x55fd8b(0xff))/0x7*(-parseInt(_0x55fd8b(0x122))/0x8)+parseInt(_0x55fd8b(0xf5))/0x9*(-parseInt(_0x55fd8b(0x113))/0xa)+-parseInt(_0x55fd8b(0x129))/0xb*(-parseInt(_0x55fd8b(0x110))/0xc);if(_0x50410f===_0x9d1e6a)break;else _0x45b6a2['push'](_0x45b6a2['shift']());}catch(_0x87be32){_0x45b6a2['push'](_0x45b6a2['shift']());}}}(a9_0x4304,0x926f1));const os=require('os');function a9_0x5715(_0x45a7b5,_0x4d99ac){const _0x430414=a9_0x4304();return a9_0x5715=function(_0x571591,_0x54508f){_0x571591=_0x571591-0xf4;let _0xb7585b=_0x430414[_0x571591];return _0xb7585b;},a9_0x5715(_0x45a7b5,_0x4d99ac);}exports[a9_0x3362da(0x10d)]=a9_0x3362da(0x101),exports[a9_0x3362da(0x121)]=a9_0x3362da(0x104)+Date['now'](),exports[a9_0x3362da(0x12a)]={'common':{'token':a9_0x3362da(0x125),'projectId':0x117},'react-admin-component':{'token':a9_0x3362da(0x126),'projectId':0x154},'jjb-dva-runtime':{'token':a9_0x3362da(0x109),'projectId':0x23b},'jjb-common-lib':{'token':a9_0x3362da(0xf6),'projectId':0x23c},'jjb-common-decorator':{'token':a9_0x3362da(0x105),'projectId':0x23e},'vue-unisass-component':{'token':a9_0x3362da(0x11e),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a9_0x3362da(0x119)]()+'\x5c'+exports[a9_0x3362da(0x121)],exports['CLI_DVA_ROUTER_SPA']=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a9_0x3362da(0xfb)]=__dirname+a9_0x3362da(0x11f),exports[a9_0x3362da(0xfa)]=__dirname+a9_0x3362da(0xf7),exports[a9_0x3362da(0x106)]=__dirname+a9_0x3362da(0x115),exports['CLI_DVA_ROUTER_PATH']=a9_0x3362da(0x116),exports[a9_0x3362da(0xf8)]='\x5cdva\x5cautomatic\x5cregister.js',exports[a9_0x3362da(0x100)]=[{'path':a9_0x3362da(0x10e),'replace':[['components',a9_0x3362da(0xf9)]]},{'path':a9_0x3362da(0x11a),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a9_0x3362da(0x10f)],[a9_0x3362da(0x117),a9_0x3362da(0xf9)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a9_0x3362da(0x10e),'replace':[['return\x20__planA();',a9_0x3362da(0x124)]]}],exports[a9_0x3362da(0x111)]=[{'path':a9_0x3362da(0x10e),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a9_0x3362da(0xfc),'replace':[[a9_0x3362da(0x11b),'jjb-common/http'],[a9_0x3362da(0x10b),a9_0x3362da(0x11c)],[a9_0x3362da(0x120),'jjb-common/tools']]},{'path':'\x5cRejectText\x5cindex.js','replace':[['common/color','jjb-common/color']]},{'path':a9_0x3362da(0x118),'replace':[[a9_0x3362da(0x120),'jjb-common/tools']]},{'path':'\x5cFileUploader\x5cindex.js','replace':[[a9_0x3362da(0x11b),'jjb-common/http'],[a9_0x3362da(0x120),'jjb-common/tools']]},{'path':a9_0x3362da(0xf4),'replace':[['common/http',a9_0x3362da(0x102)],[a9_0x3362da(0x120),a9_0x3362da(0x114)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[['common/http',a9_0x3362da(0x102)],['common/tools','jjb-common/tools']]},{'path':a9_0x3362da(0x112),'replace':[[a9_0x3362da(0x128),a9_0x3362da(0xfd)]]},{'path':a9_0x3362da(0x107),'replace':[['common/tools',a9_0x3362da(0x114)]]},{'path':a9_0x3362da(0x11d),'replace':[[a9_0x3362da(0x127),'jjb-common/website'],['common/tools',a9_0x3362da(0x114)]]}];
1
+ const a10_0x2a3be7=a10_0x14a8;function a10_0x3e06(){const _0x14f8c1=['\x5cRouterContainer\x5cindex.js','\x5cEditor\x5cindex.js','jjbAssembly_','27iEDvBM','155396OrnBfj','jjb-common/crypto','190eiZAMm','FT3pKzxpRynFkmddJ9Bs','87644oHtBWP','jjb-react-admin-component','\x5cFileUploader\x5cindex.js','CLI_DVA_REGISTER_PATH','jjb-common/http','hLqARY89CN6fUD3yg4NL','CLI_DVA_REGISTER_SAAS','tmpdir','\x5cdva\x5cautomatic\x5crouter.js','\x5cRejectText\x5cindex.js','jjb-common/tools','CLI_DVA_ROUTER_PATH','3891120llPRir','776440KTIONd','\x5cImageCropper\x5cindex.js','jjb-common/color','common/http','jjb-common/website','COMMON_CONTENT_MICRO_REPLACE','GIT_TEMP_DIR','\x5cImageUploader\x5cindex.js','common/color','CLI_DVA_ROUTER_SAAS','e9njpBd1nS_LREN8GFpR','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','COMMON_CONTENT_SPA_REPLACE','G4HJRsHr9D7Ssmixegw2','\x5ctools\x5cindex.js','common/website','209889SPXrMD','components','return\x20process.env;','94445wOQPGX','CLI_DVA_ROUTER_SPA','return\x20__planA();','now','common/tools','\x5cwebsite\x5cindex.js','\x5c..\x5ccli.dva.register.spa.txt','12tOoUqe','4717405VVBaxR','1aryHgU','d4wQ7dzEjYPsgVbKnYei','CLOUD_PROJECT','\x5cPageHeaderBar\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4'];a10_0x3e06=function(){return _0x14f8c1;};return a10_0x3e06();}(function(_0x22436e,_0x3bd2b4){const _0xaec144=a10_0x14a8,_0x56d501=_0x22436e();while(!![]){try{const _0xbf6d4d=parseInt(_0xaec144(0x193))/0x1*(-parseInt(_0xaec144(0x19c))/0x2)+parseInt(_0xaec144(0x19b))/0x3*(-parseInt(_0xaec144(0x1a0))/0x4)+-parseInt(_0xaec144(0x18a))/0x5*(parseInt(_0xaec144(0x191))/0x6)+parseInt(_0xaec144(0x177))/0x7+parseInt(_0xaec144(0x176))/0x8+-parseInt(_0xaec144(0x187))/0x9*(parseInt(_0xaec144(0x19e))/0xa)+parseInt(_0xaec144(0x192))/0xb;if(_0xbf6d4d===_0x3bd2b4)break;else _0x56d501['push'](_0x56d501['shift']());}catch(_0x24c9b9){_0x56d501['push'](_0x56d501['shift']());}}}(a10_0x3e06,0x42037));const os=require('os');function a10_0x14a8(_0x550681,_0xc3af75){const _0x3e0603=a10_0x3e06();return a10_0x14a8=function(_0x14a842,_0x4e7d9f){_0x14a842=_0x14a842-0x171;let _0x1741d7=_0x3e0603[_0x14a842];return _0x1741d7;},a10_0x14a8(_0x550681,_0xc3af75);}exports['GIT_HOST']='http://192.168.1.242:10985',exports[a10_0x2a3be7(0x17d)]=a10_0x2a3be7(0x19a)+Date[a10_0x2a3be7(0x18d)](),exports[a10_0x2a3be7(0x195)]={'common':{'token':a10_0x2a3be7(0x184),'projectId':0x117},'react-admin-component':{'token':a10_0x2a3be7(0x19f),'projectId':0x154},'jjb-dva-runtime':{'token':a10_0x2a3be7(0x1a5),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x2a3be7(0x181),'projectId':0x23c},'jjb-common-decorator':{'token':a10_0x2a3be7(0x197),'projectId':0x23e},'vue-unisass-component':{'token':a10_0x2a3be7(0x194),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a10_0x2a3be7(0x171)]()+'\x5c'+exports[a10_0x2a3be7(0x17d)],exports[a10_0x2a3be7(0x18b)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a10_0x2a3be7(0x180)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+a10_0x2a3be7(0x190),exports[a10_0x2a3be7(0x1a6)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a10_0x2a3be7(0x175)]=a10_0x2a3be7(0x172),exports[a10_0x2a3be7(0x1a3)]='\x5cdva\x5cautomatic\x5cregister.js',exports['COMMON_CONTENT_NOR_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a10_0x2a3be7(0x188),a10_0x2a3be7(0x1a1)]]},{'path':a10_0x2a3be7(0x18f),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],['components','jjb-react-admin-component']]}],exports[a10_0x2a3be7(0x183)]=[{'path':a10_0x2a3be7(0x185),'replace':[[a10_0x2a3be7(0x18c),a10_0x2a3be7(0x189)]]}],exports[a10_0x2a3be7(0x17c)]=[{'path':a10_0x2a3be7(0x185),'replace':[[a10_0x2a3be7(0x18c),'return\x20process.env.app;']]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a10_0x2a3be7(0x199),'replace':[[a10_0x2a3be7(0x17a),'jjb-common/http'],['common/crypto',a10_0x2a3be7(0x19d)],[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x173),'replace':[[a10_0x2a3be7(0x17f),a10_0x2a3be7(0x179)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x1a2),'replace':[['common/http',a10_0x2a3be7(0x1a4)],[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x178),'replace':[[a10_0x2a3be7(0x17a),a10_0x2a3be7(0x1a4)],[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x17e),'replace':[['common/http','jjb-common/http'],[a10_0x2a3be7(0x18e),'jjb-common/tools']]},{'path':a10_0x2a3be7(0x196),'replace':[[a10_0x2a3be7(0x17f),a10_0x2a3be7(0x179)]]},{'path':a10_0x2a3be7(0x198),'replace':[[a10_0x2a3be7(0x18e),a10_0x2a3be7(0x174)]]},{'path':a10_0x2a3be7(0x182),'replace':[[a10_0x2a3be7(0x186),a10_0x2a3be7(0x17b)],[a10_0x2a3be7(0x18e),'jjb-common/tools']]}];
@@ -1 +1 @@
1
- function a10_0xfbc2(){const _0x523701=['repository','117790PNyoFG','map','index.js','installResources','compress','readFileSync','forEach','installTarget','find','existsSync','exit','name','importList','src','【Error】:安装失败,src目录不存在。','log','push','./tools','9Lfzlnc','setting.json','842344pYenJq','209VIfWPT','1033910CbjgEz','micro-spa','788Gvschw','\x5cindex.js','replace','path','84uQPCQu','zip','【jjb-cmd】:install命令执行完成,用时','package.json','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','length','_zip','\x20}\x20from\x20\x27./','close','4467aoZWWD','filter','createWriteStream','includes','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','.idea','uncompress','node_modules','react-admin-component','writeFileSync','rmdirSync','2jWlodb','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','pipe','jjb-common','request','export\x20{\x20default\x20as\x20','\x5cdva\x5cautomatic','projectType','112872UMUhZx','spa','【Error】:安装失败,node_modules目录不存在。','98zwebmF','exports','65996xQoceb','RouterContainer','toString','join','1195363rvXTay','mkdirSync','readdirSync','multi'];a10_0xfbc2=function(){return _0x523701;};return a10_0xfbc2();}const a10_0x594bff=a10_0x4f24;(function(_0x5cf2a8,_0x458fc4){const _0x50cb4f=a10_0x4f24,_0x33e285=_0x5cf2a8();while(!![]){try{const _0x25181a=-parseInt(_0x50cb4f(0x15f))/0x1*(parseInt(_0x50cb4f(0x16c))/0x2)+parseInt(_0x50cb4f(0x154))/0x3*(-parseInt(_0x50cb4f(0x18d))/0x4)+-parseInt(_0x50cb4f(0x18b))/0x5+-parseInt(_0x50cb4f(0x167))/0x6*(-parseInt(_0x50cb4f(0x16a))/0x7)+-parseInt(_0x50cb4f(0x189))/0x8*(-parseInt(_0x50cb4f(0x187))/0x9)+parseInt(_0x50cb4f(0x175))/0xa*(-parseInt(_0x50cb4f(0x18a))/0xb)+parseInt(_0x50cb4f(0x191))/0xc*(parseInt(_0x50cb4f(0x170))/0xd);if(_0x25181a===_0x458fc4)break;else _0x33e285['push'](_0x33e285['shift']());}catch(_0x23bf00){_0x33e285['push'](_0x33e285['shift']());}}}(a10_0xfbc2,0x364c6));function a10_0x4f24(_0x25c5f2,_0x34c923){const _0xfbc24e=a10_0xfbc2();return a10_0x4f24=function(_0x4f24f9,_0x1939ea){_0x4f24f9=_0x4f24f9-0x154;let _0xcef42=_0xfbc24e[_0x4f24f9];return _0xcef42;},a10_0x4f24(_0x25c5f2,_0x34c923);}const fs=require('fs'),path=require(a10_0x594bff(0x190)),request=require(a10_0x594bff(0x163)),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(a10_0x594bff(0x186)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date['now']();module[a10_0x594bff(0x16b)]=()=>{const _0xfee13d=a10_0x594bff,_0xb0bd53=path['resolve']('./'),_0x4340bc=[_0xb0bd53,'src\x5c'][_0xfee13d(0x16f)]('\x5c'),_0x59a86f=[_0xb0bd53,_0xfee13d(0x15b)][_0xfee13d(0x16f)]('\x5c'),_0x3cfcbc=[_0xb0bd53,_0xfee13d(0x194)][_0xfee13d(0x16f)]('\x5c');if(f_scan_jjb_config_json(_0xb0bd53)){const _0x2f4419=f_scan_jjb_config_json_rules(_0xb0bd53);_0x2f4419['installTarget']===_0xfee13d(0x15b)?!fs[_0xfee13d(0x17e)](_0x59a86f)?(console[_0xfee13d(0x184)](_0xfee13d(0x169)),process[_0xfee13d(0x17f)](0x0)):console[_0xfee13d(0x184)](_0xfee13d(0x160)):!fs['existsSync'](_0x4340bc)&&(console[_0xfee13d(0x184)](_0xfee13d(0x183)),process[_0xfee13d(0x17f)](0x0));fs[_0xfee13d(0x171)](TEMPLATE_FOLDER),f_pull_git_repository(_0x2f4419[_0xfee13d(0x178)])[_0xfee13d(0x176)](_0x3e1488=>{const _0x383668=_0xfee13d,_0x57bb56=fs[_0x383668(0x156)](_0x3e1488[_0x383668(0x190)]);request(_0x3e1488[_0x383668(0x174)])[_0x383668(0x161)](_0x57bb56)['on'](_0x383668(0x199),()=>{const _0x335821=_0x383668;fs[_0x335821(0x171)](_0x3e1488[_0x335821(0x179)]),compressing[_0x335821(0x192)][_0x335821(0x15a)](_0x3e1488['path'],_0x3e1488['compress']);});});const _0x2139e1=setInterval(()=>{const _0x245b00=_0xfee13d,_0x2e61fb=fs[_0x245b00(0x172)](TEMPLATE_FOLDER),_0x23c650=_0x2e61fb[_0x245b00(0x155)](_0x561cb1=>_0x2f4419['installResources'][_0x245b00(0x176)](_0xe0aedf=>_0xe0aedf[_0x245b00(0x180)]+_0x245b00(0x197))[_0x245b00(0x157)](_0x561cb1));if(_0x23c650[_0x245b00(0x196)]===_0x2f4419[_0x245b00(0x178)]['length']){clearInterval(_0x2139e1);const _0x53cf34=[];_0x23c650['forEach'](_0x34a348=>{const _0x5e186c=_0x245b00,_0x114ab9=[TEMPLATE_FOLDER,_0x34a348][_0x5e186c(0x16f)]('\x5c');fs['readdirSync'](_0x114ab9)[_0x5e186c(0x17b)](_0x55c6a6=>_0x53cf34['push']({'name':_0x34a348,'path':[_0x114ab9,_0x55c6a6][_0x5e186c(0x16f)]('\x5c'),'pure_name':_0x34a348[_0x5e186c(0x18f)](/_zip$/,''),'import_list':_0x2f4419[_0x5e186c(0x178)][_0x5e186c(0x17d)](_0x42ea3e=>_0x42ea3e[_0x5e186c(0x180)]+'_zip'===_0x34a348)[_0x5e186c(0x181)]}));}),_0x53cf34[_0x245b00(0x17b)](_0x344ec9=>{const _0x2e4ffc=_0x245b00,_0x2196fd=_0x344ec9['pure_name'],_0x95f4bc=_0x344ec9['import_list'],_0x32a451=[_0x344ec9['path'],_0x2e4ffc(0x159)][_0x2e4ffc(0x16f)]('//'),_0x5cb2f2=[_0x344ec9['path'],'.gitignore'][_0x2e4ffc(0x16f)]('//');fs[_0x2e4ffc(0x17e)](_0x32a451)&&(f_rm_rf(_0x32a451),fs['rmdirSync'](_0x32a451));fs['existsSync'](_0x5cb2f2)&&fs['unlinkSync'](_0x5cb2f2);if(_0x95f4bc[_0x2e4ffc(0x196)]){fs[_0x2e4ffc(0x172)](_0x344ec9[_0x2e4ffc(0x190)])[_0x2e4ffc(0x155)](_0x42e740=>!_0x95f4bc[_0x2e4ffc(0x157)](_0x42e740)&&_0x42e740!==_0x2e4ffc(0x177)&&_0x42e740!==_0x2e4ffc(0x188))[_0x2e4ffc(0x17b)](_0x40c564=>{const _0x389d4d=_0x2e4ffc,_0x909dc9=_0x344ec9[_0x389d4d(0x190)]+'\x5c'+_0x40c564;f_rm_rf(_0x909dc9),fs[_0x389d4d(0x15e)](_0x909dc9);});if(_0x2196fd===_0x2e4ffc(0x15c)){const _0x3a72b7=[];fs[_0x2e4ffc(0x172)](_0x344ec9[_0x2e4ffc(0x190)])[_0x2e4ffc(0x155)](_0x45a4ba=>_0x45a4ba!=='index.js')['forEach'](_0x57fa81=>{const _0x49b567=_0x2e4ffc;_0x57fa81===_0x49b567(0x16d)?_0x3a72b7[_0x49b567(0x185)](_0x49b567(0x195)):_0x3a72b7[_0x49b567(0x185)](_0x49b567(0x164)+_0x57fa81+_0x49b567(0x198)+_0x57fa81+'\x27;');}),fs[_0x2e4ffc(0x15d)](_0x344ec9[_0x2e4ffc(0x190)]+_0x2e4ffc(0x18e),_0x3a72b7[_0x2e4ffc(0x16f)]('\x0a'));}}if(_0x2196fd===_0x2e4ffc(0x162)){const _0x533fab=[_0x344ec9[_0x2e4ffc(0x190)],_0x2e4ffc(0x165)][_0x2e4ffc(0x16f)]('\x5c');if([_0x2e4ffc(0x168),_0x2e4ffc(0x18c)][_0x2e4ffc(0x157)](_0x2f4419[_0x2e4ffc(0x166)]))fs[_0x2e4ffc(0x17e)](_0x533fab)&&(f_content_replace(_0x2f4419[_0x2e4ffc(0x166)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x344ec9[_0x2e4ffc(0x190)]),fs[_0x2e4ffc(0x15d)](_0x344ec9['path']+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x2f4419[_0x2e4ffc(0x166)]==='spa'?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x2e4ffc(0x16e)]()),fs[_0x2e4ffc(0x15d)](_0x344ec9[_0x2e4ffc(0x190)]+CLI_DVA_REGISTER_PATH,fs[_0x2e4ffc(0x17a)](_0x2f4419[_0x2e4ffc(0x166)]==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x2e4ffc(0x16e)]()));else _0x2f4419['projectType']===_0x2e4ffc(0x173)&&(fs['existsSync'](_0x533fab)&&(f_rm_rf(_0x533fab),fs['rmdirSync'](_0x533fab)));}else{if(_0x2196fd===_0x2e4ffc(0x15c))_0x2f4419[_0x2e4ffc(0x166)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x344ec9[_0x2e4ffc(0x190)]);else{if(_0x2196fd==='vue-unisass-component'){}}}if(_0x2f4419[_0x2e4ffc(0x17c)]===_0x2e4ffc(0x15b)){const _0x36598a=_0x2196fd;fs['existsSync'](_0x59a86f+'\x5c'+_0x36598a)?f_rm_rf(_0x59a86f+'\x5c'+_0x36598a):fs[_0x2e4ffc(0x171)](_0x59a86f+'\x5c'+_0x36598a),f_file_copy(_0x344ec9[_0x2e4ffc(0x190)],_0x59a86f+'\x5c'+_0x36598a),f_create_package_json(_0x59a86f+'\x5c'+_0x36598a,_0x36598a,'1.0.0'),f_update_project_package_json(_0x3cfcbc,_0x36598a,'1.0.0');}else{if(_0x2f4419[_0x2e4ffc(0x17c)]===_0x2e4ffc(0x182)){const _0xc227ac=_0x2e4ffc(0x15c);fs['existsSync'](_0x4340bc+_0xc227ac)?f_rm_rf(_0x4340bc+_0xc227ac):fs[_0x2e4ffc(0x171)](_0x4340bc+_0xc227ac),f_file_copy(_0x344ec9['path'],_0x4340bc+_0xc227ac);}}}),setTimeout(()=>{const _0x4a1c07=_0x245b00;f_rm_rf(TEMPLATE_FOLDER),fs[_0x4a1c07(0x15e)](TEMPLATE_FOLDER);const _0x67b6bf=Date['now']();console[_0x4a1c07(0x184)](_0x4a1c07(0x193)+(_0x67b6bf-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0xfee13d(0x158));};
1
+ const a11_0x36bb48=a11_0x28f1;(function(_0x557af0,_0x1f2aa4){const _0x5063a9=a11_0x28f1,_0x5a2676=_0x557af0();while(!![]){try{const _0x325649=parseInt(_0x5063a9(0x8a))/0x1*(parseInt(_0x5063a9(0xb3))/0x2)+parseInt(_0x5063a9(0x94))/0x3*(parseInt(_0x5063a9(0xa6))/0x4)+parseInt(_0x5063a9(0xb8))/0x5+parseInt(_0x5063a9(0x85))/0x6+-parseInt(_0x5063a9(0xbb))/0x7+-parseInt(_0x5063a9(0xb6))/0x8*(-parseInt(_0x5063a9(0x95))/0x9)+-parseInt(_0x5063a9(0x8f))/0xa*(parseInt(_0x5063a9(0xae))/0xb);if(_0x325649===_0x1f2aa4)break;else _0x5a2676['push'](_0x5a2676['shift']());}catch(_0x5880cf){_0x5a2676['push'](_0x5a2676['shift']());}}}(a11_0x3d8c,0x6ddd5));const fs=require('fs'),path=require(a11_0x36bb48(0xa0)),request=require(a11_0x36bb48(0x81)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a11_0x36bb48(0x7d)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date['now']();module[a11_0x36bb48(0x91)]=()=>{const _0x30556f=a11_0x36bb48,_0x357b37=path[_0x30556f(0xa7)]('./'),_0x53d098=[_0x357b37,'src\x5c'][_0x30556f(0xa8)]('\x5c'),_0x35c54e=[_0x357b37,_0x30556f(0x84)]['join']('\x5c'),_0x31c1ac=[_0x357b37,_0x30556f(0xba)][_0x30556f(0xa8)]('\x5c');if(f_scan_jjb_config_json(_0x357b37)){const _0x3a8c61=f_scan_jjb_config_json_rules(_0x357b37);_0x3a8c61[_0x30556f(0x87)]===_0x30556f(0x84)?!fs[_0x30556f(0x89)](_0x35c54e)?(console[_0x30556f(0x8c)](_0x30556f(0xb4)),process[_0x30556f(0xb7)](0x0)):console[_0x30556f(0x8c)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs[_0x30556f(0x89)](_0x53d098)&&(console[_0x30556f(0x8c)](_0x30556f(0x83)),process['exit'](0x0));fs[_0x30556f(0xa3)](TEMPLATE_FOLDER),f_pull_git_repository(_0x3a8c61[_0x30556f(0xa5)])[_0x30556f(0xbe)](_0x3c501f=>{const _0x11d886=_0x30556f,_0x529206=fs['createWriteStream'](_0x3c501f[_0x11d886(0xa0)]);request(_0x3c501f[_0x11d886(0x8b)])[_0x11d886(0x9f)](_0x529206)['on'](_0x11d886(0xa1),()=>{const _0x5d7fea=_0x11d886;fs['mkdirSync'](_0x3c501f[_0x5d7fea(0x7f)]),compressing[_0x5d7fea(0x88)]['uncompress'](_0x3c501f[_0x5d7fea(0xa0)],_0x3c501f[_0x5d7fea(0x7f)]);});});const _0x2df116=setInterval(()=>{const _0x520b78=_0x30556f,_0x2da153=fs[_0x520b78(0x8e)](TEMPLATE_FOLDER),_0xeb1db6=_0x2da153['filter'](_0x1641ed=>_0x3a8c61['installResources'][_0x520b78(0xbe)](_0x1d25c2=>_0x1d25c2[_0x520b78(0x90)]+_0x520b78(0xb5))[_0x520b78(0x97)](_0x1641ed));if(_0xeb1db6[_0x520b78(0xbc)]===_0x3a8c61[_0x520b78(0xa5)][_0x520b78(0xbc)]){clearInterval(_0x2df116);const _0x6f95f3=[];_0xeb1db6[_0x520b78(0xb9)](_0x20fa27=>{const _0x475f7c=_0x520b78,_0xb2f6e4=[TEMPLATE_FOLDER,_0x20fa27][_0x475f7c(0xa8)]('\x5c');fs[_0x475f7c(0x8e)](_0xb2f6e4)[_0x475f7c(0xb9)](_0x19eeff=>_0x6f95f3['push']({'name':_0x20fa27,'path':[_0xb2f6e4,_0x19eeff][_0x475f7c(0xa8)]('\x5c'),'pure_name':_0x20fa27[_0x475f7c(0x9a)](/_zip$/,''),'import_list':_0x3a8c61[_0x475f7c(0xa5)][_0x475f7c(0x8d)](_0x173888=>_0x173888[_0x475f7c(0x90)]+'_zip'===_0x20fa27)[_0x475f7c(0x80)]}));}),_0x6f95f3[_0x520b78(0xb9)](_0x327398=>{const _0x1f2b43=_0x520b78,_0x3e0f49=_0x327398[_0x1f2b43(0x9e)],_0x4f66b0=_0x327398[_0x1f2b43(0xb2)],_0x27fb11=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0x86)][_0x1f2b43(0xa8)]('//'),_0x5e3cef=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0x93)][_0x1f2b43(0xa8)]('//');fs[_0x1f2b43(0x89)](_0x27fb11)&&(f_rm_rf(_0x27fb11),fs[_0x1f2b43(0x9c)](_0x27fb11));fs[_0x1f2b43(0x89)](_0x5e3cef)&&fs[_0x1f2b43(0xad)](_0x5e3cef);if(_0x4f66b0[_0x1f2b43(0xbc)]){fs[_0x1f2b43(0x8e)](_0x327398['path'])[_0x1f2b43(0x96)](_0x32dbc2=>!_0x4f66b0[_0x1f2b43(0x97)](_0x32dbc2)&&_0x32dbc2!==_0x1f2b43(0x9d)&&_0x32dbc2!==_0x1f2b43(0x82))[_0x1f2b43(0xb9)](_0x14f02d=>{const _0x295508=_0x1f2b43,_0x415d01=_0x327398[_0x295508(0xa0)]+'\x5c'+_0x14f02d;f_rm_rf(_0x415d01),fs['rmdirSync'](_0x415d01);});if(_0x3e0f49===_0x1f2b43(0x7c)){const _0x9d81f0=[];fs['readdirSync'](_0x327398[_0x1f2b43(0xa0)])['filter'](_0x17511a=>_0x17511a!=='index.js')[_0x1f2b43(0xb9)](_0x5efaf7=>{const _0xc83ec3=_0x1f2b43;_0x5efaf7===_0xc83ec3(0xa2)?_0x9d81f0[_0xc83ec3(0xa9)](_0xc83ec3(0xaa)):_0x9d81f0['push'](_0xc83ec3(0xa4)+_0x5efaf7+'\x20}\x20from\x20\x27./'+_0x5efaf7+'\x27;');}),fs[_0x1f2b43(0xac)](_0x327398['path']+'\x5cindex.js',_0x9d81f0['join']('\x0a'));}}if(_0x3e0f49===_0x1f2b43(0x92)){const _0x2d85f2=[_0x327398[_0x1f2b43(0xa0)],_0x1f2b43(0xb1)][_0x1f2b43(0xa8)]('\x5c');if([_0x1f2b43(0x9b),'micro-spa']['includes'](_0x3a8c61[_0x1f2b43(0xbd)]))fs[_0x1f2b43(0x89)](_0x2d85f2)&&(f_content_replace(_0x3a8c61['projectType']===_0x1f2b43(0x9b)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x327398[_0x1f2b43(0xa0)]),fs[_0x1f2b43(0xac)](_0x327398[_0x1f2b43(0xa0)]+CLI_DVA_ROUTER_PATH,fs[_0x1f2b43(0xab)](_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x9b)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x1f2b43(0xaf)]()),fs[_0x1f2b43(0xac)](_0x327398[_0x1f2b43(0xa0)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x9b)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x1f2b43(0xaf)]()));else _0x3a8c61[_0x1f2b43(0xbd)]==='multi'&&(fs['existsSync'](_0x2d85f2)&&(f_rm_rf(_0x2d85f2),fs['rmdirSync'](_0x2d85f2)));}else{if(_0x3e0f49===_0x1f2b43(0x7c))_0x3a8c61[_0x1f2b43(0xbd)]===_0x1f2b43(0x7e)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x327398[_0x1f2b43(0xa0)]);else{if(_0x3e0f49===_0x1f2b43(0x98)){}}}if(_0x3a8c61['installTarget']===_0x1f2b43(0x84)){const _0x2a7eaf=_0x3e0f49;fs[_0x1f2b43(0x89)](_0x35c54e+'\x5c'+_0x2a7eaf)?f_rm_rf(_0x35c54e+'\x5c'+_0x2a7eaf):fs[_0x1f2b43(0xa3)](_0x35c54e+'\x5c'+_0x2a7eaf),f_file_copy(_0x327398[_0x1f2b43(0xa0)],_0x35c54e+'\x5c'+_0x2a7eaf),f_create_package_json(_0x35c54e+'\x5c'+_0x2a7eaf,_0x2a7eaf,'1.0.0'),f_update_project_package_json(_0x31c1ac,_0x2a7eaf,'1.0.0');}else{if(_0x3a8c61['installTarget']===_0x1f2b43(0x99)){const _0x2a0612=_0x1f2b43(0x7c);fs[_0x1f2b43(0x89)](_0x53d098+_0x2a0612)?f_rm_rf(_0x53d098+_0x2a0612):fs['mkdirSync'](_0x53d098+_0x2a0612),f_file_copy(_0x327398[_0x1f2b43(0xa0)],_0x53d098+_0x2a0612);}}}),setTimeout(()=>{const _0x133e1c=_0x520b78;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x203f3b=Date[_0x133e1c(0xb0)]();console[_0x133e1c(0x8c)]('【jjb-cmd】:install命令执行完成,用时'+(_0x203f3b-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x30556f(0x8c)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};function a11_0x28f1(_0x71ea10,_0x312fa0){const _0x3d8c8c=a11_0x3d8c();return a11_0x28f1=function(_0x28f1b3,_0x21fac6){_0x28f1b3=_0x28f1b3-0x7c;let _0x569ad7=_0x3d8c8c[_0x28f1b3];return _0x569ad7;},a11_0x28f1(_0x71ea10,_0x312fa0);}function a11_0x3d8c(){const _0x491780=['index.js','pure_name','pipe','path','close','RouterContainer','mkdirSync','export\x20{\x20default\x20as\x20','installResources','25328xiktMs','resolve','join','push','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','readFileSync','writeFileSync','unlinkSync','143dLiZGq','toString','now','\x5cdva\x5cautomatic','import_list','1007894tBkJYY','【Error】:安装失败,node_modules目录不存在。','_zip','370800sTOmfZ','exit','1510405sbZPAt','forEach','package.json','4150412OBXasz','length','projectType','map','react-admin-component','./tools','micro-spa','compress','importList','request','setting.json','【Error】:安装失败,src目录不存在。','node_modules','1933410knJpqA','.idea','installTarget','zip','existsSync','1uuscRl','repository','log','find','readdirSync','154880MyzMjZ','name','exports','jjb-common','.gitignore','33hKRgQp','9TbasdE','filter','includes','vue-unisass-component','src','replace','spa','rmdirSync'];a11_0x3d8c=function(){return _0x491780;};return a11_0x3d8c();}
@@ -1 +1 @@
1
- function a11_0x2b0b(){const _0x49ab76=['string','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','name','/repository/archive.zip?private_token=','isDirectory','projectId','\x22,\x22main\x22:\x20\x22index.js\x22}','f_pull_git_repository','f_update_project_package_json','dependencies','replace','135477NpceMw','isArray','existsSync','20ROgvZd','./config','readFileSync','5jdhDbz','102RFQzRG','424440LCiHsw','_zip','526735XyRznM','statSync','micro-spa','\x5cjjb.config.json','jjb-common-lib','push','&ref=master','vue-unisass-component','exit','jjb-common','projectType','uniapp','forEach','24pyUbdX','2590BFZTfn','2984WJMvum','f_file_copy','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','toString','map','rmdirSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','f_scan_jjb_config_json_rules','3235131yFoRar','writeFileSync','f_scan_jjb_config_json','f_resolve_install_resources','log','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','react-admin-component','unlinkSync','【Error】:[jjb.config.json.projectType]类型是一个string。','node_modules','3441300GjDEXf','stringify','\x5cpackage.json','/api/v4/projects/','filter','f_create_package_json','【Error】:[jjb.config.json.installResources]无资源。','installTarget','path','includes','3636zGfexw','parse','f_rm_rf','src','tmpdir','installResources','length','.zip','\x22,\x22version\x22:\x22','readdirSync','multi','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'];a11_0x2b0b=function(){return _0x49ab76;};return a11_0x2b0b();}const a11_0x16a2aa=a11_0x35e8;(function(_0x399f62,_0x274798){const _0x3ef899=a11_0x35e8,_0x367e4c=_0x399f62();while(!![]){try{const _0x3d9f25=-parseInt(_0x3ef899(0x220))/0x1+parseInt(_0x3ef899(0x228))/0x2+-parseInt(_0x3ef899(0x227))/0x3*(parseInt(_0x3ef899(0x208))/0x4)+parseInt(_0x3ef899(0x226))/0x5*(-parseInt(_0x3ef899(0x1fe))/0x6)+-parseInt(_0x3ef899(0x1eb))/0x7*(-parseInt(_0x3ef899(0x1ec))/0x8)+-parseInt(_0x3ef899(0x1f4))/0x9*(-parseInt(_0x3ef899(0x223))/0xa)+-parseInt(_0x3ef899(0x22a))/0xb*(-parseInt(_0x3ef899(0x237))/0xc);if(_0x3d9f25===_0x274798)break;else _0x367e4c['push'](_0x367e4c['shift']());}catch(_0x59b62b){_0x367e4c['push'](_0x367e4c['shift']());}}}(a11_0x2b0b,0x67c19));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a11_0x16a2aa(0x224));function a11_0x35e8(_0x24e183,_0x36c4e2){const _0x2b0baf=a11_0x2b0b();return a11_0x35e8=function(_0x35e857,_0x5131a3){_0x35e857=_0x35e857-0x1eb;let _0x2f48ea=_0x2b0baf[_0x35e857];return _0x2f48ea;},a11_0x35e8(_0x24e183,_0x36c4e2);}exports[a11_0x16a2aa(0x20a)]=function(_0xbb5ecf){const _0x75ace5=a11_0x16a2aa;if(fs[_0x75ace5(0x222)](_0xbb5ecf)){const _0x22ad1f=fs[_0x75ace5(0x211)](_0xbb5ecf);for(let _0x5c3ee9=0x0;_0x5c3ee9<_0x22ad1f[_0x75ace5(0x20e)];_0x5c3ee9++){const _0x27e44b=_0x22ad1f[_0x5c3ee9],_0x46a64b=_0xbb5ecf+'/'+_0x27e44b;fs[_0x75ace5(0x22b)](_0x46a64b)[_0x75ace5(0x219)]()?(exports[_0x75ace5(0x20a)](_0x46a64b),fs[_0x75ace5(0x1f1)](_0x46a64b)):fs[_0x75ace5(0x1fb)](_0x46a64b);}}},exports[a11_0x16a2aa(0x21c)]=function(_0x36715d=[]){const _0x573eca=a11_0x16a2aa;return _0x36715d[_0x573eca(0x1f0)](_0x3bb0de=>{const _0x55c091=_0x573eca,_0x5795e6=CLOUD_PROJECT[_0x3bb0de['name']]||undefined,_0x327d04=os[_0x55c091(0x20c)]();return{'path':_0x327d04+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x3bb0de[_0x55c091(0x217)]+_0x55c091(0x20f),'compress':_0x327d04+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x3bb0de['name']+_0x55c091(0x229),'repository':GIT_HOST+_0x55c091(0x201)+_0x5795e6[_0x55c091(0x21a)]+_0x55c091(0x218)+_0x5795e6['token']+_0x55c091(0x230)};});},exports[a11_0x16a2aa(0x1f6)]=function(_0x5d84be){return fs['existsSync'](_0x5d84be+'\x5cjjb.config.json');},exports[a11_0x16a2aa(0x1f3)]=function(_0x192271){const _0x209161=a11_0x16a2aa;let _0x53fe35={};try{_0x53fe35=JSON[_0x209161(0x209)](fs['readFileSync'](_0x192271+_0x209161(0x22d))[_0x209161(0x1ef)]());}catch(_0x264209){console[_0x209161(0x1f8)](_0x209161(0x216)),process[_0x209161(0x232)](0x0);}!('projectType'in _0x53fe35)&&(console[_0x209161(0x1f8)](_0x209161(0x213)),process['exit'](0x0));!(_0x209161(0x205)in _0x53fe35)&&(console[_0x209161(0x1f8)](_0x209161(0x1ee)),process['exit'](0x0));!(_0x209161(0x20d)in _0x53fe35)&&(console[_0x209161(0x1f8)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x209161(0x232)](0x0));typeof _0x53fe35[_0x209161(0x234)]!==_0x209161(0x214)&&(console[_0x209161(0x1f8)](_0x209161(0x1fc)),process['exit'](0x0));![_0x209161(0x212),'spa',_0x209161(0x235),_0x209161(0x22c)][_0x209161(0x207)](_0x53fe35[_0x209161(0x234)])&&(console['log'](_0x209161(0x215)),process[_0x209161(0x232)](0x0));typeof _0x53fe35[_0x209161(0x205)]!==_0x209161(0x214)&&(console[_0x209161(0x1f8)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x209161(0x232)](0x0));![_0x209161(0x1fd),_0x209161(0x20b)][_0x209161(0x207)](_0x53fe35['installTarget'])&&(console[_0x209161(0x1f8)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x209161(0x232)](0x0));!Array[_0x209161(0x221)](_0x53fe35[_0x209161(0x20d)])&&(console['log'](_0x209161(0x1f2)),process[_0x209161(0x232)](0x0));_0x53fe35[_0x209161(0x20d)][_0x209161(0x20e)]===0x0&&(console[_0x209161(0x1f8)](_0x209161(0x204)),process[_0x209161(0x232)](0x0));const _0x10aa8e=exports['f_resolve_install_resources'](_0x53fe35['installResources']);return _0x10aa8e[_0x209161(0x1f0)](_0x3f2e5f=>_0x3f2e5f[_0x209161(0x217)])[_0x209161(0x202)](_0x4c268f=>![_0x209161(0x233),'jjb-dva-runtime',_0x209161(0x22e),'jjb-common-decorator',_0x209161(0x1fa),_0x209161(0x231)][_0x209161(0x207)](_0x4c268f))[_0x209161(0x20e)]!==0x0&&(console[_0x209161(0x1f8)](_0x209161(0x1f9)),process[_0x209161(0x232)](0x0)),_0x53fe35[_0x209161(0x20d)]=_0x10aa8e,_0x53fe35;},exports[a11_0x16a2aa(0x203)]=function(_0xf49e9c,_0x36a2f6,_0x565059){const _0x57f732=a11_0x16a2aa;fs[_0x57f732(0x1f5)](_0xf49e9c+_0x57f732(0x200),'{\x22name\x22:\x22'+_0x36a2f6+_0x57f732(0x210)+_0x565059+_0x57f732(0x21b));},exports[a11_0x16a2aa(0x1f7)]=function(_0x5a4ead=[]){const _0x24df97=a11_0x16a2aa,_0x4f1004=[];return Array[_0x24df97(0x221)](_0x5a4ead)&&_0x5a4ead[_0x24df97(0x236)](_0x33b6e1=>{const _0x8cda32=_0x24df97;if(Array[_0x8cda32(0x221)](_0x33b6e1)){const [_0x49fa1c,_0x404aeb=[]]=_0x33b6e1;_0x4f1004[_0x8cda32(0x22f)]({'name':_0x49fa1c,'importList':_0x404aeb});}else _0x4f1004[_0x8cda32(0x22f)]({'name':_0x33b6e1,'importList':[]});}),_0x4f1004;},exports[a11_0x16a2aa(0x21d)]=function(_0x557e6b,_0x48a65b,_0x3e16b1){const _0x223c6d=a11_0x16a2aa,_0x5b5220=JSON[_0x223c6d(0x209)](fs[_0x223c6d(0x225)](_0x557e6b)[_0x223c6d(0x1ef)]());_0x5b5220[_0x223c6d(0x21e)][_0x48a65b]=_0x3e16b1,fs[_0x223c6d(0x1f5)](_0x557e6b,JSON[_0x223c6d(0x1ff)](_0x5b5220,null,0x2));},exports[a11_0x16a2aa(0x1ed)]=function(_0x382cbf,_0x1efe4a){fs['readdirSync'](_0x382cbf)['forEach'](_0x52c605=>{const _0x10548a=a11_0x35e8,_0x23cf5c=_0x382cbf+'\x5c'+_0x52c605,_0x4f2505=_0x1efe4a+'\x5c'+_0x52c605;fs[_0x10548a(0x22b)](_0x23cf5c)[_0x10548a(0x219)]()?(fs['mkdirSync'](_0x4f2505),exports['f_file_copy'](_0x23cf5c,_0x4f2505)):fs[_0x10548a(0x1f5)](_0x4f2505,fs[_0x10548a(0x225)](_0x23cf5c)[_0x10548a(0x1ef)]());});},exports['f_content_replace']=function(_0x21cac3=[],_0x4d2128){const _0x49230e=a11_0x16a2aa;_0x21cac3[_0x49230e(0x236)](_0x3ec3a1=>{const _0x256c68=_0x49230e,_0x88589c=_0x4d2128+_0x3ec3a1[_0x256c68(0x206)];if(fs['existsSync'](_0x88589c)){let _0x354ba0=fs[_0x256c68(0x225)](_0x88589c)[_0x256c68(0x1ef)]();_0x3ec3a1['replace']['forEach'](_0x310df0=>{const _0x2b5370=_0x256c68;_0x354ba0=_0x354ba0[_0x2b5370(0x21f)](_0x310df0[0x0],_0x310df0[0x1]);}),fs[_0x256c68(0x1f5)](_0x88589c,_0x354ba0);}});};
1
+ const a12_0x48583a=a12_0x57fd;function a12_0x57fd(_0x1d5f5a,_0x3c8ec5){const _0x55f55b=a12_0x55f5();return a12_0x57fd=function(_0x57fddb,_0xe6a084){_0x57fddb=_0x57fddb-0xf1;let _0x2ead88=_0x55f55b[_0x57fddb];return _0x2ead88;},a12_0x57fd(_0x1d5f5a,_0x3c8ec5);}(function(_0x5574ea,_0x94a871){const _0x19d8ed=a12_0x57fd,_0x51e787=_0x5574ea();while(!![]){try{const _0x4c5838=-parseInt(_0x19d8ed(0x11a))/0x1*(parseInt(_0x19d8ed(0xf8))/0x2)+parseInt(_0x19d8ed(0x137))/0x3*(parseInt(_0x19d8ed(0x12d))/0x4)+parseInt(_0x19d8ed(0x101))/0x5*(parseInt(_0x19d8ed(0x135))/0x6)+-parseInt(_0x19d8ed(0xf1))/0x7+parseInt(_0x19d8ed(0x11d))/0x8+-parseInt(_0x19d8ed(0xf9))/0x9*(parseInt(_0x19d8ed(0x134))/0xa)+-parseInt(_0x19d8ed(0x11c))/0xb;if(_0x4c5838===_0x94a871)break;else _0x51e787['push'](_0x51e787['shift']());}catch(_0x484dfb){_0x51e787['push'](_0x51e787['shift']());}}}(a12_0x55f5,0x85085));function a12_0x55f5(){const _0x12afda=['67707qySsDX','【Error】:[jjb.config.json.installTarget]类型是一个string。','forEach','react-admin-component','projectType','log','\x5cjjb.config.json','node_modules','1404215gCVJXq','string','_zip','projectId','{\x22name\x22:\x22','dependencies','f_scan_jjb_config_json','/repository/archive.zip?private_token=','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','toString','jjb-dva-runtime','.zip','installTarget','\x22,\x22version\x22:\x22','replace','vue-unisass-component','jjb-common','/api/v4/projects/','path','isDirectory','&ref=master','token','name','f_update_project_package_json','f_create_package_json','570491aKlurD','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','1157519USZmxA','1576056vCxXIf','src','map','readdirSync','jjb-common-lib','installResources','readFileSync','jjb-common-decorator','push','multi','length','mkdirSync','isArray','tmpdir','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','1440380uLJkwI','f_file_copy','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','exit','statSync','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','parse','320idwWUy','12ycSdSY','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','6lVwgUt','spa','./config','micro-spa','122682hottwB','unlinkSync','writeFileSync','\x22,\x22main\x22:\x20\x22index.js\x22}','f_rm_rf','f_resolve_install_resources','includes','2sXyVnX'];a12_0x55f5=function(){return _0x12afda;};return a12_0x55f5();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a12_0x48583a(0x139));exports[a12_0x48583a(0xf5)]=function(_0x1e4bab){const _0x14f3ac=a12_0x48583a;if(fs['existsSync'](_0x1e4bab)){const _0x47b22c=fs['readdirSync'](_0x1e4bab);for(let _0x25a9e9=0x0;_0x25a9e9<_0x47b22c['length'];_0x25a9e9++){const _0x2a66c9=_0x47b22c[_0x25a9e9],_0x26aaa9=_0x1e4bab+'/'+_0x2a66c9;fs[_0x14f3ac(0x131)](_0x26aaa9)[_0x14f3ac(0x114)]()?(exports[_0x14f3ac(0xf5)](_0x26aaa9),fs['rmdirSync'](_0x26aaa9)):fs[_0x14f3ac(0xf2)](_0x26aaa9);}}},exports['f_pull_git_repository']=function(_0x5e7403=[]){const _0x2e7080=a12_0x48583a;return _0x5e7403[_0x2e7080(0x11f)](_0xf450ac=>{const _0x1290bb=_0x2e7080,_0x2705cf=CLOUD_PROJECT[_0xf450ac['name']]||undefined,_0x23e7c1=os[_0x1290bb(0x12a)]();return{'path':_0x23e7c1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xf450ac[_0x1290bb(0x117)]+_0x1290bb(0x10c),'compress':_0x23e7c1+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0xf450ac[_0x1290bb(0x117)]+_0x1290bb(0x103),'repository':GIT_HOST+_0x1290bb(0x112)+_0x2705cf[_0x1290bb(0x104)]+_0x1290bb(0x108)+_0x2705cf[_0x1290bb(0x116)]+_0x1290bb(0x115)};});},exports[a12_0x48583a(0x107)]=function(_0x51578a){return fs['existsSync'](_0x51578a+'\x5cjjb.config.json');},exports['f_scan_jjb_config_json_rules']=function(_0x12be77){const _0x40114f=a12_0x48583a;let _0x36ea82={};try{_0x36ea82=JSON[_0x40114f(0x133)](fs[_0x40114f(0x123)](_0x12be77+_0x40114f(0xff))[_0x40114f(0x10a)]());}catch(_0x53d8a9){console[_0x40114f(0xfe)](_0x40114f(0x12f)),process[_0x40114f(0x130)](0x0);}!(_0x40114f(0xfd)in _0x36ea82)&&(console['log'](_0x40114f(0x11b)),process[_0x40114f(0x130)](0x0));!(_0x40114f(0x10d)in _0x36ea82)&&(console[_0x40114f(0xfe)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process[_0x40114f(0x130)](0x0));!('installResources'in _0x36ea82)&&(console[_0x40114f(0xfe)](_0x40114f(0x136)),process[_0x40114f(0x130)](0x0));typeof _0x36ea82[_0x40114f(0xfd)]!==_0x40114f(0x102)&&(console[_0x40114f(0xfe)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x40114f(0x130)](0x0));![_0x40114f(0x126),_0x40114f(0x138),'uniapp',_0x40114f(0x13a)]['includes'](_0x36ea82['projectType'])&&(console[_0x40114f(0xfe)](_0x40114f(0x12c)),process[_0x40114f(0x130)](0x0));typeof _0x36ea82[_0x40114f(0x10d)]!==_0x40114f(0x102)&&(console[_0x40114f(0xfe)](_0x40114f(0xfa)),process['exit'](0x0));![_0x40114f(0x100),_0x40114f(0x11e)]['includes'](_0x36ea82[_0x40114f(0x10d)])&&(console[_0x40114f(0xfe)](_0x40114f(0x132)),process[_0x40114f(0x130)](0x0));!Array[_0x40114f(0x129)](_0x36ea82['installResources'])&&(console['log'](_0x40114f(0x109)),process[_0x40114f(0x130)](0x0));_0x36ea82[_0x40114f(0x122)][_0x40114f(0x127)]===0x0&&(console[_0x40114f(0xfe)](_0x40114f(0x12b)),process['exit'](0x0));const _0x239d50=exports[_0x40114f(0xf6)](_0x36ea82[_0x40114f(0x122)]);return _0x239d50[_0x40114f(0x11f)](_0x5ad51c=>_0x5ad51c[_0x40114f(0x117)])['filter'](_0x5c4ebe=>![_0x40114f(0x111),_0x40114f(0x10b),_0x40114f(0x121),_0x40114f(0x124),_0x40114f(0xfc),_0x40114f(0x110)][_0x40114f(0xf7)](_0x5c4ebe))[_0x40114f(0x127)]!==0x0&&(console['log']('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x40114f(0x130)](0x0)),_0x36ea82[_0x40114f(0x122)]=_0x239d50,_0x36ea82;},exports[a12_0x48583a(0x119)]=function(_0x256397,_0x3a3751,_0x2b8c48){const _0x1433c8=a12_0x48583a;fs['writeFileSync'](_0x256397+'\x5cpackage.json',_0x1433c8(0x105)+_0x3a3751+_0x1433c8(0x10e)+_0x2b8c48+_0x1433c8(0xf4));},exports[a12_0x48583a(0xf6)]=function(_0x15a4db=[]){const _0x4da8d3=a12_0x48583a,_0x130061=[];return Array[_0x4da8d3(0x129)](_0x15a4db)&&_0x15a4db[_0x4da8d3(0xfb)](_0x3eeebf=>{const _0x242031=_0x4da8d3;if(Array['isArray'](_0x3eeebf)){const [_0x1e5885,_0x458f7b=[]]=_0x3eeebf;_0x130061[_0x242031(0x125)]({'name':_0x1e5885,'importList':_0x458f7b});}else _0x130061[_0x242031(0x125)]({'name':_0x3eeebf,'importList':[]});}),_0x130061;},exports[a12_0x48583a(0x118)]=function(_0x4c88bd,_0x4aacd6,_0x23b8cf){const _0x533442=a12_0x48583a,_0x1f8a14=JSON[_0x533442(0x133)](fs['readFileSync'](_0x4c88bd)[_0x533442(0x10a)]());_0x1f8a14[_0x533442(0x106)][_0x4aacd6]=_0x23b8cf,fs[_0x533442(0xf3)](_0x4c88bd,JSON['stringify'](_0x1f8a14,null,0x2));},exports[a12_0x48583a(0x12e)]=function(_0x61757d,_0x31a87f){const _0x25b457=a12_0x48583a;fs[_0x25b457(0x120)](_0x61757d)['forEach'](_0x1830f4=>{const _0x382c21=_0x25b457,_0x55c8c2=_0x61757d+'\x5c'+_0x1830f4,_0x1fbc32=_0x31a87f+'\x5c'+_0x1830f4;fs[_0x382c21(0x131)](_0x55c8c2)[_0x382c21(0x114)]()?(fs[_0x382c21(0x128)](_0x1fbc32),exports[_0x382c21(0x12e)](_0x55c8c2,_0x1fbc32)):fs['writeFileSync'](_0x1fbc32,fs[_0x382c21(0x123)](_0x55c8c2)[_0x382c21(0x10a)]());});},exports['f_content_replace']=function(_0x184412=[],_0x3e999a){const _0x7b4223=a12_0x48583a;_0x184412[_0x7b4223(0xfb)](_0x1fdad0=>{const _0xf9ba89=_0x7b4223,_0x2f6b7d=_0x3e999a+_0x1fdad0[_0xf9ba89(0x113)];if(fs['existsSync'](_0x2f6b7d)){let _0x117e78=fs[_0xf9ba89(0x123)](_0x2f6b7d)[_0xf9ba89(0x10a)]();_0x1fdad0[_0xf9ba89(0x10f)][_0xf9ba89(0xfb)](_0x4f23ef=>{const _0x30b80f=_0xf9ba89;_0x117e78=_0x117e78[_0x30b80f(0x10f)](_0x4f23ef[0x0],_0x4f23ef[0x1]);}),fs['writeFileSync'](_0x2f6b7d,_0x117e78);}});};
@@ -1 +1 @@
1
- const a12_0x2c729c=a12_0x4e90;(function(_0x3abf35,_0x2ee8e7){const _0x123a2a=a12_0x4e90,_0x6e3639=_0x3abf35();while(!![]){try{const _0xc43d9f=-parseInt(_0x123a2a(0x204))/0x1+parseInt(_0x123a2a(0x1f2))/0x2*(parseInt(_0x123a2a(0x1fc))/0x3)+parseInt(_0x123a2a(0x1ee))/0x4+parseInt(_0x123a2a(0x1e6))/0x5*(parseInt(_0x123a2a(0x1fd))/0x6)+parseInt(_0x123a2a(0x201))/0x7*(parseInt(_0x123a2a(0x1fb))/0x8)+-parseInt(_0x123a2a(0x1e7))/0x9*(-parseInt(_0x123a2a(0x1f6))/0xa)+-parseInt(_0x123a2a(0x206))/0xb;if(_0xc43d9f===_0x2ee8e7)break;else _0x6e3639['push'](_0x6e3639['shift']());}catch(_0x5c1543){_0x6e3639['push'](_0x6e3639['shift']());}}}(a12_0x2926,0x30743));const fs=require('fs'),path=require(a12_0x2c729c(0x1fe)),utils=require(a12_0x2c729c(0x1ed));function a12_0x4e90(_0x47993a,_0x36486f){const _0x2926f2=a12_0x2926();return a12_0x4e90=function(_0x4e907b,_0x3753a1){_0x4e907b=_0x4e907b-0x1e3;let _0x35e783=_0x2926f2[_0x4e907b];return _0x35e783;},a12_0x4e90(_0x47993a,_0x36486f);}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a12_0x2c729c(0x1f9)]=(_0x4e045a,_0x4f525d)=>{const _0x324111=a12_0x2c729c;commandArr=_0x4e045a['split'](':'),projectPath=path['resolve']('./project'),vesselPath=path[_0x324111(0x1eb)](_0x324111(0x1f3));let _0xb1470e=vesselPath;_0x4f525d==='mp'&&(_0xb1470e=vesselPath+_0x324111(0x1ec),utils[_0x324111(0x1f1)](vesselPath,['application']));const _0x3e61a4=commandArr[0x1],_0x327cf6=JSON[_0x324111(0x1e8)](fs[_0x324111(0x1f0)](projectPath+'/'+_0x3e61a4+'/setting.json')['toString']());TileItems(_0x327cf6['items'],()=>{const _0x521a44=_0x324111;fromFileData[_0x521a44(0x1fa)][_0x521a44(0x203)](_0x5eb7ab=>{const _0x2dc83c=_0x521a44,_0x27e979=_0x5eb7ab[_0x2dc83c(0x1ff)][_0x2dc83c(0x205)](_0x5eb7ab[_0x2dc83c(0x1e4)]),_0x227cc3=_0x27e979[0x1][_0x2dc83c(0x205)]('/'),_0xb6954e=_0x227cc3[0x1];!applicationJson[_0xb6954e]&&(applicationJson[_0xb6954e]={'routerConfig':[],'routerPath':[]});applicationJson[_0xb6954e]['routerConfig'][_0x2dc83c(0x200)]('{\x20path:\x20\x27'+_0x5eb7ab[_0x2dc83c(0x1fe)]+_0x2dc83c(0x1f8)+_0x5eb7ab[_0x2dc83c(0x1e5)]+_0x2dc83c(0x1e9)),applicationJson[_0xb6954e]['routerPath'][_0x2dc83c(0x200)](_0x5eb7ab[_0x2dc83c(0x1fe)]);let _0x344bfb=_0x227cc3[_0x2dc83c(0x1f5)]('/');const _0x4630b6=_0x344bfb[_0x2dc83c(0x205)]('/');utils[_0x2dc83c(0x1f1)](_0xb1470e,_0x4630b6['slice'](0x0,_0x4630b6[_0x2dc83c(0x1ea)]-0x1))[_0x2dc83c(0x1ef)](()=>{const _0x3ac8cc=_0x2dc83c,_0x857e5d=fs[_0x3ac8cc(0x1f0)](_0x5eb7ab[_0x3ac8cc(0x1ff)])['toString']();fs['writeFileSync'](vesselPath+'/'+_0x344bfb,_0x857e5d);});});});};function a12_0x2926(){const _0x424ce7=['250975zwNHgg','4581xoyXUl','parse','\x27)\x20}','length','resolve','/application','./util.js','1559484wKPopE','then','readFileSync','CreatePaths','2yFawXu','./vessel/src','from','join','1330UVJrpd','fileType','\x27,\x20component:\x20()\x20=>\x20import(\x27','exports','router','8QaaBCe','264324rvovdv','12UxClsN','path','pathAdr','push','536249vFDFhW','concat','forEach','135196RcpAyd','split','4279110KuUAuA','map','region','file'];a12_0x2926=function(){return _0x424ce7;};return a12_0x2926();}function TileItems(_0x31a88f,_0x79bedd){const _0x7c367d=a12_0x2c729c;_0x31a88f[_0x7c367d(0x203)]((_0x4dc23c,_0x4bffba)=>{const _0x13e0d4=_0x7c367d,_0x31185a=_0x4dc23c[_0x13e0d4(0x1e4)];_0x4dc23c[_0x13e0d4(0x1f4)]['forEach']((_0x50e48f,_0x338738)=>{const _0x2d9d2f=_0x13e0d4,_0x17eb32=[];utils['DeepScanner'](projectPath+'/'+_0x31185a+'/'+_0x50e48f[_0x2d9d2f(0x1e5)],_0x17eb32);const _0x25061=_0x17eb32[_0x2d9d2f(0x1e3)](_0x53dea3=>({'region':_0x31185a,'pathAdr':_0x53dea3,..._0x50e48f}));!fromFileData[_0x50e48f[_0x2d9d2f(0x1f7)]]?fromFileData[_0x50e48f['fileType']]=_0x25061:fromFileData[_0x50e48f[_0x2d9d2f(0x1f7)]]=fromFileData[_0x50e48f[_0x2d9d2f(0x1f7)]][_0x2d9d2f(0x202)](_0x25061),_0x4bffba===_0x31a88f[_0x2d9d2f(0x1ea)]-0x1&&_0x338738===_0x4dc23c[_0x2d9d2f(0x1f4)]['length']-0x1&&_0x79bedd();});});}
1
+ const a13_0x533d36=a13_0x1431;(function(_0x559590,_0x747d9b){const _0x3c2bc6=a13_0x1431,_0x5a143b=_0x559590();while(!![]){try{const _0x435183=-parseInt(_0x3c2bc6(0x115))/0x1+-parseInt(_0x3c2bc6(0x136))/0x2+-parseInt(_0x3c2bc6(0x128))/0x3+-parseInt(_0x3c2bc6(0x12c))/0x4+-parseInt(_0x3c2bc6(0x112))/0x5+-parseInt(_0x3c2bc6(0x124))/0x6*(parseInt(_0x3c2bc6(0x126))/0x7)+parseInt(_0x3c2bc6(0x118))/0x8*(parseInt(_0x3c2bc6(0x137))/0x9);if(_0x435183===_0x747d9b)break;else _0x5a143b['push'](_0x5a143b['shift']());}catch(_0x1a6f0d){_0x5a143b['push'](_0x5a143b['shift']());}}}(a13_0x1933,0x36be3));const fs=require('fs'),path=require(a13_0x533d36(0x114)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};function a13_0x1431(_0x57a3e3,_0x2e3d92){const _0x1933c9=a13_0x1933();return a13_0x1431=function(_0x143123,_0x4a9a73){_0x143123=_0x143123-0x112;let _0x5c1f57=_0x1933c9[_0x143123];return _0x5c1f57;},a13_0x1431(_0x57a3e3,_0x2e3d92);}module[a13_0x533d36(0x12f)]=(_0x317b17,_0x415da6)=>{const _0x3b80fe=a13_0x533d36;commandArr=_0x317b17[_0x3b80fe(0x12a)](':'),projectPath=path[_0x3b80fe(0x125)]('./project'),vesselPath=path['resolve'](_0x3b80fe(0x11d));let _0x589c11=vesselPath;_0x415da6==='mp'&&(_0x589c11=vesselPath+_0x3b80fe(0x11f),utils[_0x3b80fe(0x121)](vesselPath,[_0x3b80fe(0x11a)]));const _0x4fc592=commandArr[0x1],_0x29a1db=JSON[_0x3b80fe(0x120)](fs['readFileSync'](projectPath+'/'+_0x4fc592+_0x3b80fe(0x119))['toString']());TileItems(_0x29a1db[_0x3b80fe(0x134)],()=>{const _0x30ffc5=_0x3b80fe;fromFileData[_0x30ffc5(0x138)][_0x30ffc5(0x131)](_0x24468c=>{const _0x45d383=_0x30ffc5,_0x7998e9=_0x24468c['pathAdr'][_0x45d383(0x12a)](_0x24468c['region']),_0x1fdfc3=_0x7998e9[0x1]['split']('/'),_0x5a72bd=_0x1fdfc3[0x1];!applicationJson[_0x5a72bd]&&(applicationJson[_0x5a72bd]={'routerConfig':[],'routerPath':[]});applicationJson[_0x5a72bd][_0x45d383(0x116)][_0x45d383(0x11c)](_0x45d383(0x11e)+_0x24468c[_0x45d383(0x114)]+_0x45d383(0x130)+_0x24468c[_0x45d383(0x113)]+_0x45d383(0x12d)),applicationJson[_0x5a72bd][_0x45d383(0x129)][_0x45d383(0x11c)](_0x24468c[_0x45d383(0x114)]);let _0x28b3a0=_0x1fdfc3[_0x45d383(0x133)]('/');const _0x11388f=_0x28b3a0[_0x45d383(0x12a)]('/');utils['CreatePaths'](_0x589c11,_0x11388f[_0x45d383(0x122)](0x0,_0x11388f['length']-0x1))[_0x45d383(0x139)](()=>{const _0x2f72b0=_0x45d383,_0x2b3126=fs[_0x2f72b0(0x12e)](_0x24468c['pathAdr'])[_0x2f72b0(0x127)]();fs['writeFileSync'](vesselPath+'/'+_0x28b3a0,_0x2b3126);});});});};function a13_0x1933(){const _0xc91539=['then','765050akmckM','file','path','181099mrCVOH','routerConfig','concat','130840OBdXXY','/setting.json','application','length','push','./vessel/src','{\x20path:\x20\x27','/application','parse','CreatePaths','slice','DeepScanner','6VPRGLJ','resolve','1200185nBsYIj','toString','826800KHwvmu','routerPath','split','map','1287524GFLOLp','\x27)\x20}','readFileSync','exports','\x27,\x20component:\x20()\x20=>\x20import(\x27','forEach','fileType','join','items','from','518326DZrgiY','873seoucV','router'];a13_0x1933=function(){return _0xc91539;};return a13_0x1933();}function TileItems(_0x172c3a,_0x143ec3){const _0x540daa=a13_0x533d36;_0x172c3a[_0x540daa(0x131)]((_0xc89459,_0x2752c4)=>{const _0x1a2ba4=_0x540daa,_0x16eedf=_0xc89459['region'];_0xc89459['from'][_0x1a2ba4(0x131)]((_0x17d137,_0x3c7759)=>{const _0x61fa80=_0x1a2ba4,_0xf8a10e=[];utils[_0x61fa80(0x123)](projectPath+'/'+_0x16eedf+'/'+_0x17d137[_0x61fa80(0x113)],_0xf8a10e);const _0x1ee462=_0xf8a10e[_0x61fa80(0x12b)](_0x5677d7=>({'region':_0x16eedf,'pathAdr':_0x5677d7,..._0x17d137}));!fromFileData[_0x17d137[_0x61fa80(0x132)]]?fromFileData[_0x17d137[_0x61fa80(0x132)]]=_0x1ee462:fromFileData[_0x17d137[_0x61fa80(0x132)]]=fromFileData[_0x17d137[_0x61fa80(0x132)]][_0x61fa80(0x117)](_0x1ee462),_0x2752c4===_0x172c3a[_0x61fa80(0x11b)]-0x1&&_0x3c7759===_0xc89459[_0x61fa80(0x135)][_0x61fa80(0x11b)]-0x1&&_0x143ec3();});});}
@@ -1 +1 @@
1
- 'use strict';const a13_0x163fce=a13_0x216e;function a13_0x1c02(){const _0x1e3a39=['exports','uncompress','.zip','common','return\x20process.env;','return\x20__planA();','203ZeTBZt','error','G4HJRsHr9D7Ssmixegw2','122JErczB','indexOf','common\x5cdva\x5cautomatic\x5cindex.js','3174ovnmBm','rmdirSync','1597244TkqNjH','replace','/unzip/','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','FT3pKzxpRynFkmddJ9Bs','readFileSync','common\x5cdva\x5cautomatic','resolve','statSync','components','token','application','./util','path','jjbAssembly','readdirSync','1846224OqPVme','existsSync','localName','writeFileSync','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','\x5ccli.dva.router.spa.txt','17976mWOlHR','forEach','-文件下载完毕','close','createWriteStream','projectId','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','45NqoabP','/repository/archive.zip?private_token=','log','zip','common\x5cwebsite\x5cindex.js','40hBqFwE','/api/v4/projects/','820970MHTffY','264890TdBsdd','mkdirSync','DeleteDirAllFile','unlinkSync','toString','【Error】:\x20未获取到项目\x20','then','exists','request','common\x5ctools\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5csrc','\x5ccli.dva.register.spa.txt','10134UOQSzL','pipe','compressing','&ref=master'];a13_0x1c02=function(){return _0x1e3a39;};return a13_0x1c02();}(function(_0x315f71,_0x40a441){const _0x41fa77=a13_0x216e,_0x2b6768=_0x315f71();while(!![]){try{const _0xea5f8f=-parseInt(_0x41fa77(0x102))/0x1*(parseInt(_0x41fa77(0xff))/0x2)+parseInt(_0x41fa77(0xf2))/0x3*(parseInt(_0x41fa77(0xe2))/0x4)+parseInt(_0x41fa77(0xe4))/0x5+parseInt(_0x41fa77(0x11a))/0x6*(parseInt(_0x41fa77(0xfc))/0x7)+-parseInt(_0x41fa77(0x114))/0x8+parseInt(_0x41fa77(0x121))/0x9*(parseInt(_0x41fa77(0xe5))/0xa)+parseInt(_0x41fa77(0x104))/0xb;if(_0xea5f8f===_0x40a441)break;else _0x2b6768['push'](_0x2b6768['shift']());}catch(_0x59651f){_0x2b6768['push'](_0x2b6768['shift']());}}}(a13_0x1c02,0x21b83));function a13_0x216e(_0x4bde3,_0x200ab2){const _0x1c02b8=a13_0x1c02();return a13_0x216e=function(_0x216e19,_0x1a41c7){_0x216e19=_0x216e19-0xe1;let _0x39db75=_0x1c02b8[_0x216e19];return _0x39db75;},a13_0x216e(_0x4bde3,_0x200ab2);}const fs=require('fs'),os=require('os'),path=require(a13_0x163fce(0x111)),utils=require(a13_0x163fce(0x110)),request=require(a13_0x163fce(0xed)),compressing=require(a13_0x163fce(0xf4)),GIT_TEMP_DIR=a13_0x163fce(0x112),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a13_0x163fce(0xfe),'projectId':0x117,'localName':a13_0x163fce(0xf9)},'react-admin-component':{'token':a13_0x163fce(0x108),'projectId':0x154,'localName':a13_0x163fce(0x10d)}};module[a13_0x163fce(0xf6)]=_0x2e48b7=>{const _0x43058d=a13_0x163fce,_0x5dd902=_0x2e48b7,_0x592d26=path[_0x43058d(0x10b)]('./');try{if(fs[_0x43058d(0x10c)](_0x592d26+_0x43058d(0xf0))){const _0x1182cc=_0x592d26+_0x43058d(0xf0),_0x39bf6a=CLOUD_PROJECT[_0x5dd902]||undefined;if(_0x39bf6a){const _0x1d92d3=os['tmpdir'](),_0x24a21d=_0x1d92d3+('/'+GIT_TEMP_DIR+'/'+_0x5dd902+_0x43058d(0xf8)),_0x35f641=_0x1d92d3+'/'+GIT_TEMP_DIR+_0x43058d(0x106);utils[_0x43058d(0xe7)](_0x1d92d3+'/'+GIT_TEMP_DIR,()=>{const _0xe42f79=_0x43058d;fs['mkdirSync'](_0x1d92d3+'/'+GIT_TEMP_DIR);let _0x5a7b79=fs[_0xe42f79(0x11e)](_0x24a21d);request(GIT_HOST+_0xe42f79(0xe3)+_0x39bf6a[_0xe42f79(0x11f)]+_0xe42f79(0x122)+_0x39bf6a[_0xe42f79(0x10e)]+_0xe42f79(0xf5))[_0xe42f79(0xf3)](_0x5a7b79)['on'](_0xe42f79(0x11d),()=>{const _0x54e9e0=_0xe42f79;fs[_0x54e9e0(0xe6)](_0x35f641),compressing[_0x54e9e0(0x124)][_0x54e9e0(0xf7)](_0x24a21d,_0x35f641)[_0x54e9e0(0xeb)](()=>{setTimeout(()=>{const _0x5cbeed=a13_0x216e,_0x4d0954=fs['readdirSync'](_0x35f641);_0x4d0954['forEach'](_0x3fa3b1=>{const _0x323cbd=a13_0x216e;if(_0x3fa3b1[_0x323cbd(0x100)]('-master-')!==-0x1){const _0x3c5092=_0x1182cc+'\x5c'+_0x39bf6a[_0x323cbd(0x116)];utils['DeleteDirAllFile'](_0x3c5092,()=>{fs['mkdirSync'](_0x3c5092),utils['CopyFolder'](_0x35f641+_0x3fa3b1,_0x3c5092),setTimeout(()=>{const _0x9d1a70=a13_0x216e,_0x3f5f9e=fs[_0x9d1a70(0x115)](_0x1182cc+'\x5c'+_0x9d1a70(0x10f));if(!_0x3f5f9e){const _0x2c59a9=_0x1182cc+'\x5c'+_0x9d1a70(0xee),_0x1bd5a6=_0x1182cc+'\x5c'+_0x9d1a70(0xe1);let _0x2dbbb3=fs[_0x9d1a70(0x109)](_0x2c59a9)[_0x9d1a70(0xe9)](),_0x48c8d3=fs[_0x9d1a70(0x109)](_0x1bd5a6)[_0x9d1a70(0xe9)]();_0x2dbbb3=_0x2dbbb3[_0x9d1a70(0x105)](_0x9d1a70(0xfb),_0x9d1a70(0xfa)),_0x48c8d3=_0x48c8d3[_0x9d1a70(0x105)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x9d1a70(0x107)),fs[_0x9d1a70(0x117)](_0x2c59a9,_0x2dbbb3),fs[_0x9d1a70(0x117)](_0x1bd5a6,_0x48c8d3),fs[_0x9d1a70(0x117)](_0x1182cc+_0x9d1a70(0x118),fs[_0x9d1a70(0x109)](__dirname+_0x9d1a70(0x119))[_0x9d1a70(0xe9)]()),fs[_0x9d1a70(0x117)](_0x1182cc+_0x9d1a70(0x120),fs[_0x9d1a70(0x109)](__dirname+_0x9d1a70(0xf1))[_0x9d1a70(0xe9)]());}else fs[_0x9d1a70(0xec)](_0x1182cc+'\x5c'+_0x9d1a70(0x101),_0x49d294=>{const _0x506abd=_0x9d1a70;_0x49d294&&(fs[_0x506abd(0x113)](_0x1182cc+'\x5c'+_0x506abd(0x10a))[_0x506abd(0x11b)](_0x18d87a=>{const _0x55e86c=_0x506abd;fs[_0x55e86c(0xe8)](_0x1182cc+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x18d87a);}),fs[_0x506abd(0x103)](_0x1182cc+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console[_0x5cbeed(0x123)](_0x5dd902+_0x5cbeed(0x11c));},0x7d0);});});});}else console[_0x43058d(0xfd)](_0x43058d(0xea)+_0x5dd902);}}catch(_0x8cdac8){console[_0x43058d(0xfd)](_0x43058d(0xef));}};
1
+ 'use strict';const a14_0x3622af=a14_0x37ea;function a14_0x3f16(){const _0x5be6f7=['416020wPsQVU','12lbYofp','-文件下载完毕','readdirSync','replace','then','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','common\x5cdva\x5cautomatic\x5cindex.js','exports','forEach','-master-','13263JPFVYx','common\x5cdva\x5cautomatic','error','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','toString','common','compressing','return\x20__planA();','uncompress','G4HJRsHr9D7Ssmixegw2','exists','70okTocn','FT3pKzxpRynFkmddJ9Bs','readFileSync','236MjQwQS','rmdirSync','unlinkSync','token','common\x5cwebsite\x5cindex.js','common\x5ctools\x5cindex.js','/unzip/','\x5csrc','&ref=master','.zip','path','1069074zrZLCM','/repository/archive.zip?private_token=','return\x20process.env;','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','existsSync','1410272cEQAUX','tmpdir','components','1811684oZJaue','statSync','481910nTcedW','【Error】:\x20未获取到项目\x20','close','writeFileSync','DeleteDirAllFile','pipe','indexOf','jjbAssembly','272824OPIhqg','CopyFolder','common\x5cdva\x5cautomatic\x5c','http://192.168.1.242:10985','mkdirSync'];a14_0x3f16=function(){return _0x5be6f7;};return a14_0x3f16();}(function(_0x5e4259,_0x4b9859){const _0x1ef930=a14_0x37ea,_0x6d9d21=_0x5e4259();while(!![]){try{const _0x1f28de=-parseInt(_0x1ef930(0x1b3))/0x1+-parseInt(_0x1ef930(0x1ab))/0x2+-parseInt(_0x1ef930(0x1c3))/0x3*(parseInt(_0x1ef930(0x196))/0x4)+parseInt(_0x1ef930(0x1b8))/0x5*(parseInt(_0x1ef930(0x1b9))/0x6)+-parseInt(_0x1ef930(0x1a9))/0x7+parseInt(_0x1ef930(0x1a6))/0x8+-parseInt(_0x1ef930(0x1a1))/0x9*(-parseInt(_0x1ef930(0x193))/0xa);if(_0x1f28de===_0x4b9859)break;else _0x6d9d21['push'](_0x6d9d21['shift']());}catch(_0x21ee2a){_0x6d9d21['push'](_0x6d9d21['shift']());}}}(a14_0x3f16,0x225dc));function a14_0x37ea(_0x3d50d1,_0x5dae82){const _0x3f1644=a14_0x3f16();return a14_0x37ea=function(_0x37ea47,_0x13967b){_0x37ea47=_0x37ea47-0x189;let _0x5502b5=_0x3f1644[_0x37ea47];return _0x5502b5;},a14_0x37ea(_0x3d50d1,_0x5dae82);}const fs=require('fs'),os=require('os'),path=require(a14_0x3622af(0x1a0)),utils=require('./util'),request=require('request'),compressing=require(a14_0x3622af(0x18e)),GIT_TEMP_DIR=a14_0x3622af(0x1b2),GIT_HOST=a14_0x3622af(0x1b6),CLOUD_PROJECT={'common':{'token':a14_0x3622af(0x191),'projectId':0x117,'localName':a14_0x3622af(0x18d)},'react-admin-component':{'token':a14_0x3622af(0x194),'projectId':0x154,'localName':a14_0x3622af(0x1a8)}};module[a14_0x3622af(0x1c0)]=_0xf2cf5a=>{const _0x372d6b=a14_0x3622af,_0x546d3e=_0xf2cf5a,_0x177a10=path['resolve']('./');try{if(fs[_0x372d6b(0x1aa)](_0x177a10+_0x372d6b(0x19d))){const _0x4c3102=_0x177a10+_0x372d6b(0x19d),_0x461882=CLOUD_PROJECT[_0x546d3e]||undefined;if(_0x461882){const _0x20436f=os[_0x372d6b(0x1a7)](),_0x2bb1f3=_0x20436f+('/'+GIT_TEMP_DIR+'/'+_0x546d3e+_0x372d6b(0x19f)),_0x46b888=_0x20436f+'/'+GIT_TEMP_DIR+_0x372d6b(0x19c);utils[_0x372d6b(0x1af)](_0x20436f+'/'+GIT_TEMP_DIR,()=>{const _0x4f7748=_0x372d6b;fs[_0x4f7748(0x1b7)](_0x20436f+'/'+GIT_TEMP_DIR);let _0x3a6dc9=fs['createWriteStream'](_0x2bb1f3);request(GIT_HOST+'/api/v4/projects/'+_0x461882['projectId']+_0x4f7748(0x1a2)+_0x461882[_0x4f7748(0x199)]+_0x4f7748(0x19e))[_0x4f7748(0x1b0)](_0x3a6dc9)['on'](_0x4f7748(0x1ad),()=>{const _0x39e92a=_0x4f7748;fs[_0x39e92a(0x1b7)](_0x46b888),compressing['zip'][_0x39e92a(0x190)](_0x2bb1f3,_0x46b888)[_0x39e92a(0x1bd)](()=>{setTimeout(()=>{const _0x49da2e=a14_0x37ea,_0x2e4c74=fs[_0x49da2e(0x1bb)](_0x46b888);_0x2e4c74[_0x49da2e(0x1c1)](_0x50e2ca=>{const _0x526584=_0x49da2e;if(_0x50e2ca[_0x526584(0x1b1)](_0x526584(0x1c2))!==-0x1){const _0x5d29da=_0x4c3102+'\x5c'+_0x461882['localName'];utils[_0x526584(0x1af)](_0x5d29da,()=>{const _0x4551c1=_0x526584;fs[_0x4551c1(0x1b7)](_0x5d29da),utils[_0x4551c1(0x1b4)](_0x46b888+_0x50e2ca,_0x5d29da),setTimeout(()=>{const _0xc5904=_0x4551c1,_0x303442=fs[_0xc5904(0x1a5)](_0x4c3102+'\x5c'+'application');if(!_0x303442){const _0x227105=_0x4c3102+'\x5c'+_0xc5904(0x19b),_0x43e910=_0x4c3102+'\x5c'+_0xc5904(0x19a);let _0x1710be=fs[_0xc5904(0x195)](_0x227105)[_0xc5904(0x18c)](),_0x2e2905=fs['readFileSync'](_0x43e910)[_0xc5904(0x18c)]();_0x1710be=_0x1710be[_0xc5904(0x1bc)](_0xc5904(0x18f),_0xc5904(0x1a3)),_0x2e2905=_0x2e2905[_0xc5904(0x1bc)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0xc5904(0x1ae)](_0x227105,_0x1710be),fs['writeFileSync'](_0x43e910,_0x2e2905),fs[_0xc5904(0x1ae)](_0x4c3102+_0xc5904(0x1a4),fs[_0xc5904(0x195)](__dirname+'\x5ccli.dva.router.spa.txt')[_0xc5904(0x18c)]()),fs[_0xc5904(0x1ae)](_0x4c3102+_0xc5904(0x18b),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')[_0xc5904(0x18c)]());}else fs[_0xc5904(0x192)](_0x4c3102+'\x5c'+_0xc5904(0x1bf),_0x116c3f=>{const _0x7b7975=_0xc5904;_0x116c3f&&(fs[_0x7b7975(0x1bb)](_0x4c3102+'\x5c'+_0x7b7975(0x189))[_0x7b7975(0x1c1)](_0x538713=>{const _0x4e2e8e=_0x7b7975;fs[_0x4e2e8e(0x198)](_0x4c3102+'\x5c'+_0x4e2e8e(0x1b5)+_0x538713);}),fs[_0x7b7975(0x197)](_0x4c3102+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x546d3e+_0x49da2e(0x1ba));},0x7d0);});});});}else console[_0x372d6b(0x18a)](_0x372d6b(0x1ac)+_0x546d3e);}}catch(_0x261ee9){console['error'](_0x372d6b(0x1be));}};
@@ -1 +1 @@
1
- 'use strict';const a14_0x3716f4=a14_0x396e;function a14_0x343c(){const _0x3e4f58=['rmdirSync','jjb-common/tools','./util','random','spa','zip','\x5cdva\x5cautomatic','1984086KPwjCq','exports','common/http','255921GmORTX','1120144zfTRJv','common/color','mkdirSync','template_','substr','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','return\x20__planA();','\x5cnode_modules\x5cjjb-','\x5cdva\x5cautomatic\x5cregister.js','.zip','\x5cImageCropper\x5cindex.js','\x5csrc','indexOf','-master-','stringify','158kdDeCc','\x22,\x22main\x22:\x20\x22index.js\x22}','jjb-react-admin-component','unlinkSync','compressing','FT3pKzxpRynFkmddJ9Bs','\x5ccli.dva.register.saas.txt','log','jjbAssembly','5422400pzpIAG','isDirectory','path','\x5cPageHeaderBar\x5cindex.js','token','localName','http://192.168.1.242:10985','1.0.0','projectId','common/crypto','projectType','\x5cwebsite\x5cindex.js','parse','dependencies','\x5cpackage.json','jjb-','\x5ccli.dva.router.spa.txt','/repository/archive.zip?private_token=','forEach','common','\x5cRouterMenu\x5cindex.js','error','41136TfSDZD','【Error】:\x20未获取到项目\x20','\x5ctools\x5cindex.js','return\x20process.env.app;','statSync','\x5cdva\x5cautomatic\x5crouter.js','/api/v4/projects/','\x5c.idea','return\x20process.env;','toString','micro-spa','existsSync','\x5cImageUploader\x5cindex.js','\x5cEditor\x5cindex.js','replace','4RQrKGy','\x5c.gitignore','readFileSync','&ref=master','tmpdir','\x5cFileUploader\x5cindex.js','\x5cRejectText\x5cindex.js','components','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','close','{\x22name\x22:\x22','jjb-common/color','common/tools','\x5cRouterContainer\x5cindex.js','1462UZomXs','writeFileSync','\x5capplication','common/website','DeleteDirAllFile','\x22,\x22version\x22:\x22','【已安装】:','jjb-common/http','CopyFolder','G4HJRsHr9D7Ssmixegw2','6385ESvvWS','resolve','21BuYbXg'];a14_0x343c=function(){return _0x3e4f58;};return a14_0x343c();}function a14_0x396e(_0x2d396f,_0x583e8f){const _0x343c19=a14_0x343c();return a14_0x396e=function(_0x396ee1,_0x42cd29){_0x396ee1=_0x396ee1-0x7a;let _0x5b32dc=_0x343c19[_0x396ee1];return _0x5b32dc;},a14_0x396e(_0x2d396f,_0x583e8f);}(function(_0x9bf15c,_0x4f24e4){const _0x146a37=a14_0x396e,_0x48d8a3=_0x9bf15c();while(!![]){try{const _0x4baf53=-parseInt(_0x146a37(0x96))/0x1*(parseInt(_0x146a37(0xd2))/0x2)+parseInt(_0x146a37(0x86))/0x3+parseInt(_0x146a37(0xc4))/0x4*(-parseInt(_0x146a37(0xdc))/0x5)+-parseInt(_0x146a37(0xb5))/0x6*(parseInt(_0x146a37(0x7b))/0x7)+-parseInt(_0x146a37(0x87))/0x8+-parseInt(_0x146a37(0x83))/0x9+parseInt(_0x146a37(0x9f))/0xa;if(_0x4baf53===_0x4f24e4)break;else _0x48d8a3['push'](_0x48d8a3['shift']());}catch(_0x183382){_0x48d8a3['push'](_0x48d8a3['shift']());}}}(a14_0x343c,0x1fac4));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a14_0x3716f4(0x7e)),request=require('request'),compressing=require(a14_0x3716f4(0x9a)),GIT_HOST=a14_0x3716f4(0xa5),GIT_TEMP_DIR=a14_0x3716f4(0x9e),CLOUD_PROJECT={'common':{'token':a14_0x3716f4(0xdb),'projectId':0x117,'localName':a14_0x3716f4(0xb2)},'react-admin-component':{'token':a14_0x3716f4(0x9b),'projectId':0x154,'localName':'components'}},COMMON_CONTENT_NOR_REPLACE=[{'path':a14_0x3716f4(0xb7),'replace':[[a14_0x3716f4(0xcb),a14_0x3716f4(0x98)]]},{'path':a14_0x3716f4(0xaa),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a14_0x3716f4(0xcb),a14_0x3716f4(0x98)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a14_0x3716f4(0xb7),'replace':[['return\x20__planA();',a14_0x3716f4(0xbd)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0x3716f4(0x8d),a14_0x3716f4(0xb8)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a14_0x3716f4(0xc2),'replace':[[a14_0x3716f4(0x85),a14_0x3716f4(0xd9)],[a14_0x3716f4(0xa8),'jjb-common/crypto'],[a14_0x3716f4(0xd0),a14_0x3716f4(0x7d)]]},{'path':a14_0x3716f4(0xca),'replace':[[a14_0x3716f4(0x88),a14_0x3716f4(0xcf)]]},{'path':a14_0x3716f4(0xb3),'replace':[['common/tools',a14_0x3716f4(0x7d)]]},{'path':a14_0x3716f4(0xc9),'replace':[[a14_0x3716f4(0x85),a14_0x3716f4(0xd9)],[a14_0x3716f4(0xd0),'jjb-common/tools']]},{'path':a14_0x3716f4(0x91),'replace':[[a14_0x3716f4(0x85),a14_0x3716f4(0xd9)],[a14_0x3716f4(0xd0),'jjb-common/tools']]},{'path':a14_0x3716f4(0xc1),'replace':[[a14_0x3716f4(0x85),a14_0x3716f4(0xd9)],[a14_0x3716f4(0xd0),a14_0x3716f4(0x7d)]]},{'path':a14_0x3716f4(0xa2),'replace':[[a14_0x3716f4(0x88),'jjb-common/color']]},{'path':a14_0x3716f4(0xd1),'replace':[[a14_0x3716f4(0xd0),'jjb-common/tools']]},{'path':a14_0x3716f4(0xcc),'replace':[[a14_0x3716f4(0xd5),'jjb-common/website'],[a14_0x3716f4(0xd0),a14_0x3716f4(0x7d)]]}];function uid(){const _0x126a49=a14_0x3716f4;return Math[_0x126a49(0x7f)]()[_0x126a49(0xbe)]()[_0x126a49(0x8b)](0x2);}module[a14_0x3716f4(0x84)]=_0x1e900c=>{const _0x1a4298=a14_0x3716f4,_0x2fbbd5=path[_0x1a4298(0x7a)]('./'),_0x3ef8fa=_0x1a4298(0xae)+_0x1e900c,_0x2a7c37=_0x1a4298(0xa6),_0x4d8cc2=_0x2fbbd5+_0x1a4298(0x92),_0xaec578=_0x1a4298(0x8a)+uid(),_0x423959=__dirname+'\x5c'+_0xaec578,_0x16d291=_0x2fbbd5+_0x1a4298(0xad),_0x583f86=_0x2fbbd5+_0x1a4298(0x8e)+_0x1e900c;try{if(fs['existsSync'](_0x4d8cc2)){const _0xc525d6=CLOUD_PROJECT[_0x1e900c]||undefined;if(_0xc525d6){const _0x4b4461=os[_0x1a4298(0xc8)](),_0x1d7863=_0x4b4461+'/'+GIT_TEMP_DIR+'/'+_0x1e900c+_0x1a4298(0x90),_0x39b4a9=_0x4b4461+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x1a4298(0xd6)](_0x4b4461+'/'+GIT_TEMP_DIR,()=>{const _0xd0bf7c=_0x1a4298;fs['mkdirSync'](_0x4b4461+'/'+GIT_TEMP_DIR);const _0x4977b6=fs['createWriteStream'](_0x1d7863);request(GIT_HOST+_0xd0bf7c(0xbb)+_0xc525d6[_0xd0bf7c(0xa7)]+_0xd0bf7c(0xb0)+_0xc525d6[_0xd0bf7c(0xa3)]+_0xd0bf7c(0xc7))['pipe'](_0x4977b6)['on'](_0xd0bf7c(0xcd),()=>{const _0x20d27d=_0xd0bf7c;fs[_0x20d27d(0x89)](_0x39b4a9),compressing[_0x20d27d(0x81)]['uncompress'](_0x1d7863,_0x39b4a9)['then'](()=>{setTimeout(()=>{const _0x280114=a14_0x396e;fs['readdirSync'](_0x39b4a9)[_0x280114(0xb1)](_0x522670=>{const _0x48eb22=_0x280114;_0x522670[_0x48eb22(0x93)](_0x48eb22(0x94))!==-0x1&&utils[_0x48eb22(0xd6)](_0x4d8cc2+'\x5c'+_0xc525d6[_0x48eb22(0xa4)],()=>{const _0x38e86a=_0x48eb22;fs[_0x38e86a(0x89)](_0x423959),utils[_0x38e86a(0xda)](_0x39b4a9+_0x522670,_0x423959),setTimeout(()=>{const _0x458739=_0x38e86a;if(_0x1e900c===_0x458739(0xb2)){const _0x5010e7=fs[_0x458739(0xc0)](_0x4d8cc2+_0x458739(0xd4));if(_0x5010e7)rm_rf(_0x423959+_0x458739(0x82)),fs[_0x458739(0x7c)](_0x423959+_0x458739(0x82));else{if(get_project_type(_0x16d291)===_0x458739(0x80))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x423959),fs[_0x458739(0xd3)](_0x423959+_0x458739(0xba),fs[_0x458739(0xc6)](__dirname+_0x458739(0xaf))[_0x458739(0xbe)]()),fs['writeFileSync'](_0x423959+_0x458739(0x8f),fs[_0x458739(0xc6)](__dirname+'\x5ccli.dva.register.spa.txt')['toString']());else get_project_type(_0x16d291)===_0x458739(0xbf)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x423959),fs[_0x458739(0xd3)](_0x423959+_0x458739(0xba),fs[_0x458739(0xc6)](__dirname+'\x5ccli.dva.router.saas.txt')[_0x458739(0xbe)]()),fs['writeFileSync'](_0x423959+_0x458739(0x8f),fs[_0x458739(0xc6)](__dirname+_0x458739(0x9c))[_0x458739(0xbe)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x423959);}_0x1e900c==='react-admin-component'&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x423959),rm_rf(_0x423959+'\x5c.idea'),fs['existsSync'](_0x423959+_0x458739(0xbc))&&fs[_0x458739(0x7c)](_0x423959+_0x458739(0xbc)),fs[_0x458739(0xc0)](_0x423959+_0x458739(0xc5))&&fs[_0x458739(0x99)](_0x423959+_0x458739(0xc5)),!fs['existsSync'](_0x583f86)?fs[_0x458739(0x89)](_0x583f86):rm_rf(_0x583f86),utils[_0x458739(0xda)](_0x423959,_0x583f86,()=>{const _0x1dbede=_0x458739;rm_rf(_0x423959),fs['rmdirSync'](_0x423959),create_package_json(_0x583f86,_0x3ef8fa,_0x2a7c37),update_project_package_json(_0x16d291,_0x3ef8fa,_0x2a7c37),console[_0x1dbede(0x9d)](_0x1dbede(0xd8)+_0x3ef8fa+'\x20v'+_0x2a7c37);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x1a4298(0xb6)+_0x1e900c);}}catch(_0x45704b){console[_0x1a4298(0xb4)](_0x1a4298(0x8c));}};function rm_rf(_0x4023bc){const _0x282436=a14_0x3716f4;if(fs[_0x282436(0xc0)](_0x4023bc)){const _0x1554f0=fs['readdirSync'](_0x4023bc);for(let _0x4d7b1e=0x0;_0x4d7b1e<_0x1554f0['length'];_0x4d7b1e++){const _0xfbe8b4=_0x1554f0[_0x4d7b1e],_0x4f1d21=_0x4023bc+'/'+_0xfbe8b4;fs[_0x282436(0xb9)](_0x4f1d21)[_0x282436(0xa0)]()?(rm_rf(_0x4f1d21),fs[_0x282436(0x7c)](_0x4f1d21)):fs['unlinkSync'](_0x4f1d21);}}}function create_package_json(_0x51480a,_0x5c3c2f,_0x1f3549){const _0x23a4f9=a14_0x3716f4;fs['writeFileSync'](_0x51480a+'\x5cpackage.json',_0x23a4f9(0xce)+_0x5c3c2f+_0x23a4f9(0xd7)+_0x1f3549+_0x23a4f9(0x97));}function get_project_type(_0x20e4c3){const _0xc35670=a14_0x3716f4,_0x41d693=JSON[_0xc35670(0xab)](fs[_0xc35670(0xc6)](_0x20e4c3)['toString']());return _0x41d693[_0xc35670(0xa9)];}function update_project_package_json(_0x343430,_0x358698,_0xc640f3){const _0x533cb9=a14_0x3716f4,_0x1076b0=JSON[_0x533cb9(0xab)](fs['readFileSync'](_0x343430)[_0x533cb9(0xbe)]());_0x1076b0[_0x533cb9(0xac)][_0x358698]=_0xc640f3,fs[_0x533cb9(0xd3)](_0x343430,JSON[_0x533cb9(0x95)](_0x1076b0,null,0x2));}function content_replace(_0x404948=[],_0x4c54ac){const _0x11bf04=a14_0x3716f4;_0x404948[_0x11bf04(0xb1)](_0x4e4631=>{const _0x610a13=_0x11bf04,_0x10feab=_0x4c54ac+_0x4e4631[_0x610a13(0xa1)];if(fs[_0x610a13(0xc0)](_0x10feab)){let _0x5390d5=fs[_0x610a13(0xc6)](_0x10feab)[_0x610a13(0xbe)]();_0x4e4631['replace'][_0x610a13(0xb1)](_0xe22387=>{const _0x6a225a=_0x610a13;_0x5390d5=_0x5390d5[_0x6a225a(0xc3)](_0xe22387[0x0],_0xe22387[0x1]);}),fs[_0x610a13(0xd3)](_0x10feab,_0x5390d5);}});}
1
+ 'use strict';const a15_0x184d10=a15_0x46e8;(function(_0x5a0e8c,_0x2e33ff){const _0x2876e9=a15_0x46e8,_0x1af069=_0x5a0e8c();while(!![]){try{const _0x52d572=parseInt(_0x2876e9(0x19a))/0x1*(parseInt(_0x2876e9(0x1a8))/0x2)+-parseInt(_0x2876e9(0x1b1))/0x3*(parseInt(_0x2876e9(0x1bf))/0x4)+-parseInt(_0x2876e9(0x1cc))/0x5+parseInt(_0x2876e9(0x185))/0x6+parseInt(_0x2876e9(0x187))/0x7+parseInt(_0x2876e9(0x1cd))/0x8+-parseInt(_0x2876e9(0x1c6))/0x9*(parseInt(_0x2876e9(0x196))/0xa);if(_0x52d572===_0x2e33ff)break;else _0x1af069['push'](_0x1af069['shift']());}catch(_0xe83f44){_0x1af069['push'](_0x1af069['shift']());}}}(a15_0x5845,0x5d965));const fs=require('fs'),os=require('os'),path=require(a15_0x184d10(0x1b0)),utils=require(a15_0x184d10(0x1c2)),request=require(a15_0x184d10(0x1d1)),compressing=require(a15_0x184d10(0x1da)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a15_0x184d10(0x1d6),CLOUD_PROJECT={'common':{'token':a15_0x184d10(0x1c4),'projectId':0x117,'localName':a15_0x184d10(0x1b7)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a15_0x184d10(0x1ab)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x184d10(0x1a6),'replace':[[a15_0x184d10(0x1ab),a15_0x184d10(0x1cb)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a15_0x184d10(0x1ab),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a15_0x184d10(0x1a6),'replace':[[a15_0x184d10(0x184),a15_0x184d10(0x1a0)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a15_0x184d10(0x184),a15_0x184d10(0x1d9)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x184d10(0x1c0),'replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1a2),'jjb-common/crypto'],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1b3),'replace':[[a15_0x184d10(0x1c9),a15_0x184d10(0x1d0)]]},{'path':a15_0x184d10(0x1a3),'replace':[[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1c8),'replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1bd),'jjb-common/tools']]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a15_0x184d10(0x1b4),a15_0x184d10(0x1d4)],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1af),'replace':[['common/http',a15_0x184d10(0x1d4)],['common/tools',a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x1c1),'replace':[[a15_0x184d10(0x1c9),a15_0x184d10(0x1d0)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]},{'path':a15_0x184d10(0x19d),'replace':[[a15_0x184d10(0x18e),'jjb-common/website'],[a15_0x184d10(0x1bd),a15_0x184d10(0x197)]]}];function uid(){const _0x3609b8=a15_0x184d10;return Math[_0x3609b8(0x1d8)]()[_0x3609b8(0x19c)]()['substr'](0x2);}module[a15_0x184d10(0x1a4)]=_0x4efcee=>{const _0x45a2a6=a15_0x184d10,_0x1991ad=path['resolve']('./'),_0x3cd9d8=_0x45a2a6(0x1a7)+_0x4efcee,_0x5bed25=_0x45a2a6(0x199),_0x3ebc76=_0x1991ad+'\x5csrc',_0x57da25=_0x45a2a6(0x19f)+uid(),_0x221b08=__dirname+'\x5c'+_0x57da25,_0x1319c9=_0x1991ad+'\x5cpackage.json',_0x239b60=_0x1991ad+_0x45a2a6(0x1d7)+_0x4efcee;try{if(fs['existsSync'](_0x3ebc76)){const _0x12c401=CLOUD_PROJECT[_0x4efcee]||undefined;if(_0x12c401){const _0x53eb8f=os[_0x45a2a6(0x192)](),_0x4a8413=_0x53eb8f+'/'+GIT_TEMP_DIR+'/'+_0x4efcee+'.zip',_0x3e121b=_0x53eb8f+'/'+GIT_TEMP_DIR+_0x45a2a6(0x190);utils['DeleteDirAllFile'](_0x53eb8f+'/'+GIT_TEMP_DIR,()=>{const _0x545a58=_0x45a2a6;fs[_0x545a58(0x1c7)](_0x53eb8f+'/'+GIT_TEMP_DIR);const _0x296edd=fs[_0x545a58(0x1be)](_0x4a8413);request(GIT_HOST+'/api/v4/projects/'+_0x12c401[_0x545a58(0x1ac)]+_0x545a58(0x18f)+_0x12c401[_0x545a58(0x195)]+_0x545a58(0x1ce))[_0x545a58(0x183)](_0x296edd)['on'](_0x545a58(0x1b8),()=>{const _0x18a89e=_0x545a58;fs[_0x18a89e(0x1c7)](_0x3e121b),compressing[_0x18a89e(0x182)][_0x18a89e(0x19e)](_0x4a8413,_0x3e121b)['then'](()=>{setTimeout(()=>{const _0xcc1614=a15_0x46e8;fs[_0xcc1614(0x1ba)](_0x3e121b)[_0xcc1614(0x1bb)](_0x330139=>{const _0xced357=_0xcc1614;_0x330139['indexOf'](_0xced357(0x1ae))!==-0x1&&utils[_0xced357(0x1c3)](_0x3ebc76+'\x5c'+_0x12c401[_0xced357(0x194)],()=>{const _0x14a437=_0xced357;fs[_0x14a437(0x1c7)](_0x221b08),utils['CopyFolder'](_0x3e121b+_0x330139,_0x221b08),setTimeout(()=>{const _0x5e0a9f=_0x14a437;if(_0x4efcee===_0x5e0a9f(0x1b7)){const _0x3be641=fs[_0x5e0a9f(0x1b9)](_0x3ebc76+_0x5e0a9f(0x18b));if(_0x3be641)rm_rf(_0x221b08+_0x5e0a9f(0x18c)),fs[_0x5e0a9f(0x1b2)](_0x221b08+_0x5e0a9f(0x18c));else{if(get_project_type(_0x1319c9)===_0x5e0a9f(0x1a5))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x221b08),fs[_0x5e0a9f(0x1d3)](_0x221b08+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x1bc))[_0x5e0a9f(0x19c)]()),fs[_0x5e0a9f(0x1d3)](_0x221b08+_0x5e0a9f(0x181),fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x1cf))[_0x5e0a9f(0x19c)]());else get_project_type(_0x1319c9)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x221b08),fs[_0x5e0a9f(0x1d3)](_0x221b08+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x5e0a9f(0x1ca)](__dirname+_0x5e0a9f(0x18d))[_0x5e0a9f(0x19c)]()),fs[_0x5e0a9f(0x1d3)](_0x221b08+_0x5e0a9f(0x181),fs[_0x5e0a9f(0x1ca)](__dirname+'\x5ccli.dva.register.saas.txt')[_0x5e0a9f(0x19c)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x221b08);}_0x4efcee===_0x5e0a9f(0x18a)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x221b08),rm_rf(_0x221b08+_0x5e0a9f(0x1ad)),fs[_0x5e0a9f(0x1b9)](_0x221b08+_0x5e0a9f(0x1ad))&&fs[_0x5e0a9f(0x1b2)](_0x221b08+_0x5e0a9f(0x1ad)),fs[_0x5e0a9f(0x1b9)](_0x221b08+'\x5c.gitignore')&&fs[_0x5e0a9f(0x189)](_0x221b08+'\x5c.gitignore'),!fs[_0x5e0a9f(0x1b9)](_0x239b60)?fs[_0x5e0a9f(0x1c7)](_0x239b60):rm_rf(_0x239b60),utils[_0x5e0a9f(0x1a9)](_0x221b08,_0x239b60,()=>{const _0x5db033=_0x5e0a9f;rm_rf(_0x221b08),fs['rmdirSync'](_0x221b08),create_package_json(_0x239b60,_0x3cd9d8,_0x5bed25),update_project_package_json(_0x1319c9,_0x3cd9d8,_0x5bed25),console[_0x5db033(0x1d5)](_0x5db033(0x188)+_0x3cd9d8+'\x20v'+_0x5bed25);});},0x3e8);});});},0x7d0);});});});}else console['error'](_0x45a2a6(0x19b)+_0x4efcee);}}catch(_0x16e0eb){console[_0x45a2a6(0x1b5)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0x1629ba){const _0x1dff8a=a15_0x184d10;if(fs[_0x1dff8a(0x1b9)](_0x1629ba)){const _0x5c27e4=fs[_0x1dff8a(0x1ba)](_0x1629ba);for(let _0x3b736e=0x0;_0x3b736e<_0x5c27e4[_0x1dff8a(0x1d2)];_0x3b736e++){const _0x23f6e9=_0x5c27e4[_0x3b736e],_0x55da53=_0x1629ba+'/'+_0x23f6e9;fs[_0x1dff8a(0x193)](_0x55da53)['isDirectory']()?(rm_rf(_0x55da53),fs[_0x1dff8a(0x1b2)](_0x55da53)):fs['unlinkSync'](_0x55da53);}}}function create_package_json(_0x3c4d19,_0x273ddd,_0x42b90f){const _0x32a97d=a15_0x184d10;fs['writeFileSync'](_0x3c4d19+_0x32a97d(0x1db),_0x32a97d(0x198)+_0x273ddd+'\x22,\x22version\x22:\x22'+_0x42b90f+_0x32a97d(0x1c5));}function get_project_type(_0x3c6cf3){const _0x5f5a02=a15_0x184d10,_0xc74a7d=JSON[_0x5f5a02(0x1b6)](fs['readFileSync'](_0x3c6cf3)[_0x5f5a02(0x19c)]());return _0xc74a7d[_0x5f5a02(0x186)];}function update_project_package_json(_0x2178fd,_0x1c31f4,_0x1e29b5){const _0x224f8f=a15_0x184d10,_0x289bc5=JSON[_0x224f8f(0x1b6)](fs[_0x224f8f(0x1ca)](_0x2178fd)['toString']());_0x289bc5[_0x224f8f(0x1a1)][_0x1c31f4]=_0x1e29b5,fs['writeFileSync'](_0x2178fd,JSON[_0x224f8f(0x1aa)](_0x289bc5,null,0x2));}function content_replace(_0x3aa2e8=[],_0x144906){const _0x52a189=a15_0x184d10;_0x3aa2e8[_0x52a189(0x1bb)](_0x14140c=>{const _0x123174=_0x52a189,_0x1da8bf=_0x144906+_0x14140c[_0x123174(0x1b0)];if(fs[_0x123174(0x1b9)](_0x1da8bf)){let _0xfa7f7b=fs[_0x123174(0x1ca)](_0x1da8bf)['toString']();_0x14140c['replace']['forEach'](_0x3f9952=>{const _0x3bb895=_0x123174;_0xfa7f7b=_0xfa7f7b[_0x3bb895(0x191)](_0x3f9952[0x0],_0x3f9952[0x1]);}),fs[_0x123174(0x1d3)](_0x1da8bf,_0xfa7f7b);}});}function a15_0x46e8(_0x4d0520,_0x323540){const _0x5845e0=a15_0x5845();return a15_0x46e8=function(_0x46e84e,_0x4a7d65){_0x46e84e=_0x46e84e-0x181;let _0x591809=_0x5845e0[_0x46e84e];return _0x591809;},a15_0x46e8(_0x4d0520,_0x323540);}function a15_0x5845(){const _0x45264d=['1.0.0','435839QCyHWw','【Error】:\x20未获取到项目\x20','toString','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','uncompress','template_','return\x20process.env;','dependencies','common/crypto','\x5cRouterMenu\x5cindex.js','exports','spa','\x5ctools\x5cindex.js','jjb-','2cQdEqs','CopyFolder','stringify','components','projectId','\x5c.idea','-master-','\x5cImageUploader\x5cindex.js','path','267KtXQVZ','rmdirSync','\x5cRejectText\x5cindex.js','common/http','error','parse','common','close','existsSync','readdirSync','forEach','\x5ccli.dva.router.spa.txt','common/tools','createWriteStream','20180ncSXkH','\x5cEditor\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','./util','DeleteDirAllFile','G4HJRsHr9D7Ssmixegw2','\x22,\x22main\x22:\x20\x22index.js\x22}','18009OtabNA','mkdirSync','\x5cFileUploader\x5cindex.js','common/color','readFileSync','jjb-react-admin-component','1152475PXDuSI','1703216rNRlhn','&ref=master','\x5ccli.dva.register.spa.txt','jjb-common/color','request','length','writeFileSync','jjb-common/http','log','jjbAssembly','\x5cnode_modules\x5cjjb-','random','return\x20process.env.app;','compressing','\x5cpackage.json','\x5cdva\x5cautomatic\x5cregister.js','zip','pipe','return\x20__planA();','237264THvXsC','projectType','5129089IqqjXs','【已安装】:','unlinkSync','react-admin-component','\x5capplication','\x5cdva\x5cautomatic','\x5ccli.dva.router.saas.txt','common/website','/repository/archive.zip?private_token=','/unzip/','replace','tmpdir','statSync','localName','token','1790qbelXl','jjb-common/tools','{\x22name\x22:\x22'];a15_0x5845=function(){return _0x45264d;};return a15_0x5845();}
@@ -1 +1 @@
1
- function a15_0x36b8(){const _0x32e965=['1789151WZwyUk','createInterface','删除文件夹:','367936cTWoBe','clear','无效操作。','unlinkSync','trim','100pPyZeo','6ygFvKu','log','stdin','path','532906SmSuFc','readline','exit','125217UZNNOF','6032940vYQiuL','statSync','123580oVCOLa','6btzqGI','./progress-bar','stdout','296EdPRCi','取消删除。','456933ATStIF','isDirectory','删除文件:','删除异常:','删除进度','删除完成。','rmdirSync','question','readdirSync','length'];a15_0x36b8=function(){return _0x32e965;};return a15_0x36b8();}const a15_0x38f8b2=a15_0x2d82;function a15_0x2d82(_0x78c05d,_0x407c22){const _0x36b849=a15_0x36b8();return a15_0x2d82=function(_0x2d8222,_0x1aa3ca){_0x2d8222=_0x2d8222-0x14d;let _0x277af3=_0x36b849[_0x2d8222];return _0x277af3;},a15_0x2d82(_0x78c05d,_0x407c22);}(function(_0x52760e,_0x3dae27){const _0x4ae5b3=a15_0x2d82,_0x16265b=_0x52760e();while(!![]){try{const _0x116063=parseInt(_0x4ae5b3(0x157))/0x1+parseInt(_0x4ae5b3(0x168))/0x2*(parseInt(_0x4ae5b3(0x16d))/0x3)+parseInt(_0x4ae5b3(0x15c))/0x4*(-parseInt(_0x4ae5b3(0x167))/0x5)+parseInt(_0x4ae5b3(0x15d))/0x6*(parseInt(_0x4ae5b3(0x154))/0x7)+parseInt(_0x4ae5b3(0x16b))/0x8*(parseInt(_0x4ae5b3(0x164))/0x9)+-parseInt(_0x4ae5b3(0x165))/0xa+-parseInt(_0x4ae5b3(0x161))/0xb;if(_0x116063===_0x3dae27)break;else _0x16265b['push'](_0x16265b['shift']());}catch(_0x30db10){_0x16265b['push'](_0x16265b['shift']());}}}(a15_0x36b8,0x4f7e3));const fs=require('fs'),path=require(a15_0x38f8b2(0x160)),readline=require(a15_0x38f8b2(0x162)),ProgressBar=require(a15_0x38f8b2(0x169)),io=readline[a15_0x38f8b2(0x155)]({'input':process[a15_0x38f8b2(0x15f)],'output':process[a15_0x38f8b2(0x16a)]}),progress=new ProgressBar(a15_0x38f8b2(0x14e),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x2e01aa=a15_0x38f8b2,_0x302e6a=path['resolve']('./');io[_0x2e01aa(0x151)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x446455){const _0x509dfc=_0x2e01aa;if(_0x446455[_0x509dfc(0x15b)]()==='y')console[_0x509dfc(0x15e)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x3bc97b=a15_0x2d82;console[_0x3bc97b(0x158)](),exec(_0x302e6a),setTimeout(()=>{const _0x50cff2=_0x3bc97b;console[_0x50cff2(0x15e)](_0x50cff2(0x14f)),console[_0x50cff2(0x158)](),process[_0x50cff2(0x163)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x446455[_0x509dfc(0x15b)]()==='n'?(console[_0x509dfc(0x15e)](_0x509dfc(0x16c)),process[_0x509dfc(0x163)](0x0)):(console[_0x509dfc(0x15e)](_0x509dfc(0x159)),process[_0x509dfc(0x163)](0x0));});};function exec(_0x2ef4f8){const _0x2dd27b=a15_0x38f8b2;if(fs['existsSync'](_0x2ef4f8)){const _0x2d8fd8=fs['readdirSync'](_0x2ef4f8);for(let _0x208a25=0x0;_0x208a25<_0x2d8fd8[_0x2dd27b(0x153)];_0x208a25++){const _0x3b62ef=_0x2d8fd8[_0x208a25],_0x44a68a=_0x2ef4f8+'/'+_0x3b62ef;try{fs[_0x2dd27b(0x166)](_0x44a68a)[_0x2dd27b(0x16e)]()?(exec(_0x44a68a),fs[_0x2dd27b(0x150)](_0x44a68a,{'recursive':!![]}),console['log'](_0x2dd27b(0x156)+_0x44a68a)):(fs[_0x2dd27b(0x15a)](_0x44a68a),console[_0x2dd27b(0x15e)](_0x2dd27b(0x16f)+_0x44a68a));}catch(_0x42c6e4){console[_0x2dd27b(0x15e)](_0x2dd27b(0x14d)+_0x44a68a);}}}}function scanner(_0x30675b){const _0x212aca=a15_0x38f8b2;if(fs['existsSync'](_0x30675b)){const _0x5d2bb1=fs[_0x212aca(0x152)](_0x30675b);for(let _0x5b7018=0x0;_0x5b7018<_0x5d2bb1[_0x212aca(0x153)];_0x5b7018++){const _0x32ca1c=_0x5d2bb1[_0x5b7018],_0x4ab13e=_0x30675b+'/'+_0x32ca1c;try{fs[_0x212aca(0x166)](_0x4ab13e)[_0x212aca(0x16e)]()?(scanner(_0x4ab13e),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x169e16){}}}}
1
+ const a16_0x55b60a=a16_0x4349;function a16_0x515b(){const _0x1fcdd7=['9jCFkUF','删除文件:','trim','unlinkSync','是否确认删除?删除后不可恢复![y/n]:','createInterface','rmdirSync','793615BaRXHT','resolve','12GWoMPs','./progress-bar','exit','path','isDirectory','137868IDhmUT','question','无效操作。','72LbEDis','4twDJsx','8051FiUTXY','stdin','length','readdirSync','45368HZhYbx','log','1310330toCqGp','62760myPTHU','删除文件夹:','statSync','238CRoqzC','clear','existsSync','正在计算项目数,请稍等...','stdout','201311vWyDcx'];a16_0x515b=function(){return _0x1fcdd7;};return a16_0x515b();}function a16_0x4349(_0x3e9c14,_0x53d1b7){const _0x515bae=a16_0x515b();return a16_0x4349=function(_0x434923,_0x2238dc){_0x434923=_0x434923-0x1a0;let _0x18aa36=_0x515bae[_0x434923];return _0x18aa36;},a16_0x4349(_0x3e9c14,_0x53d1b7);}(function(_0xad6ae5,_0x102170){const _0x18d79c=a16_0x4349,_0x3a50e6=_0xad6ae5();while(!![]){try{const _0x2e5007=parseInt(_0x18d79c(0x1b0))/0x1*(parseInt(_0x18d79c(0x1af))/0x2)+parseInt(_0x18d79c(0x1ab))/0x3*(parseInt(_0x18d79c(0x1a6))/0x4)+parseInt(_0x18d79c(0x1a4))/0x5+-parseInt(_0x18d79c(0x1b7))/0x6*(parseInt(_0x18d79c(0x1ba))/0x7)+parseInt(_0x18d79c(0x1b4))/0x8+parseInt(_0x18d79c(0x1c0))/0x9*(parseInt(_0x18d79c(0x1b6))/0xa)+-parseInt(_0x18d79c(0x1bf))/0xb*(-parseInt(_0x18d79c(0x1ae))/0xc);if(_0x2e5007===_0x102170)break;else _0x3a50e6['push'](_0x3a50e6['shift']());}catch(_0x23df2c){_0x3a50e6['push'](_0x3a50e6['shift']());}}}(a16_0x515b,0x31b2b));const fs=require('fs'),path=require(a16_0x55b60a(0x1a9)),readline=require('readline'),ProgressBar=require(a16_0x55b60a(0x1a7)),io=readline[a16_0x55b60a(0x1a2)]({'input':process[a16_0x55b60a(0x1b1)],'output':process[a16_0x55b60a(0x1be)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0xd10e1b=a16_0x55b60a,_0x41278c=path[_0xd10e1b(0x1a5)]('./');io[_0xd10e1b(0x1ac)](_0xd10e1b(0x1a1),function(_0x3e1277){const _0x33fe4c=_0xd10e1b;if(_0x3e1277[_0x33fe4c(0x1c2)]()==='y')console[_0x33fe4c(0x1b5)](_0x33fe4c(0x1bd)),setTimeout(()=>{setTimeout(()=>{const _0x19fd32=a16_0x4349;console[_0x19fd32(0x1bb)](),exec(_0x41278c),setTimeout(()=>{const _0x52d1f1=_0x19fd32;console[_0x52d1f1(0x1b5)]('删除完成。'),console['clear'](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3e1277[_0x33fe4c(0x1c2)]()==='n'?(console[_0x33fe4c(0x1b5)]('取消删除。'),process[_0x33fe4c(0x1a8)](0x0)):(console[_0x33fe4c(0x1b5)](_0x33fe4c(0x1ad)),process['exit'](0x0));});};function exec(_0x6781e8){const _0x442738=a16_0x55b60a;if(fs['existsSync'](_0x6781e8)){const _0x26a413=fs[_0x442738(0x1b3)](_0x6781e8);for(let _0x5e9cb6=0x0;_0x5e9cb6<_0x26a413['length'];_0x5e9cb6++){const _0xf093db=_0x26a413[_0x5e9cb6],_0x12aa7d=_0x6781e8+'/'+_0xf093db;try{fs[_0x442738(0x1b9)](_0x12aa7d)[_0x442738(0x1aa)]()?(exec(_0x12aa7d),fs[_0x442738(0x1a3)](_0x12aa7d,{'recursive':!![]}),console[_0x442738(0x1b5)](_0x442738(0x1b8)+_0x12aa7d)):(fs[_0x442738(0x1a0)](_0x12aa7d),console[_0x442738(0x1b5)](_0x442738(0x1c1)+_0x12aa7d));}catch(_0xed724){console['log']('删除异常:'+_0x12aa7d);}}}}function scanner(_0x376ecb){const _0xb272cf=a16_0x55b60a;if(fs[_0xb272cf(0x1bc)](_0x376ecb)){const _0x358cd1=fs[_0xb272cf(0x1b3)](_0x376ecb);for(let _0x909aa5=0x0;_0x909aa5<_0x358cd1[_0xb272cf(0x1b2)];_0x909aa5++){const _0x2365f4=_0x358cd1[_0x909aa5],_0x3efd10=_0x376ecb+'/'+_0x2365f4;try{fs[_0xb272cf(0x1b9)](_0x3efd10)['isDirectory']()?(scanner(_0x3efd10),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4a408f){}}}}
@@ -1 +1 @@
1
- const a16_0x2a19be=a16_0x7a77;(function(_0xcfce94,_0x2a976a){const _0xc18f48=a16_0x7a77,_0x2e0540=_0xcfce94();while(!![]){try{const _0x49d6f7=parseInt(_0xc18f48(0x1e1))/0x1+parseInt(_0xc18f48(0x1e3))/0x2*(-parseInt(_0xc18f48(0x1dc))/0x3)+parseInt(_0xc18f48(0x1e9))/0x4+-parseInt(_0xc18f48(0x1dd))/0x5*(parseInt(_0xc18f48(0x1e0))/0x6)+-parseInt(_0xc18f48(0x1eb))/0x7*(parseInt(_0xc18f48(0x1db))/0x8)+parseInt(_0xc18f48(0x1ec))/0x9*(parseInt(_0xc18f48(0x1df))/0xa)+parseInt(_0xc18f48(0x1da))/0xb;if(_0x49d6f7===_0x2a976a)break;else _0x2e0540['push'](_0x2e0540['shift']());}catch(_0x333efc){_0x2e0540['push'](_0x2e0540['shift']());}}}(a16_0x219b,0x605b3));const slog=require(a16_0x2a19be(0x1e4))[a16_0x2a19be(0x1e7)];function ProgressBar(_0x1affd8,_0x10d769){const _0x415249=a16_0x2a19be;this['description']=_0x1affd8||'Progress',this[_0x415249(0x1e5)]=_0x10d769||0x19,this['render']=function(_0x4b2d23){const _0x39a9de=_0x415249;let _0x478139;const _0x120e0d=(_0x4b2d23['completed']/_0x4b2d23[_0x39a9de(0x1e6)])[_0x39a9de(0x1de)](0x4),_0x5dd831=Math[_0x39a9de(0x1e2)](_0x120e0d*this[_0x39a9de(0x1e5)]);let _0x45d473='';for(_0x478139=0x0;_0x478139<_0x5dd831;_0x478139++){_0x45d473+='█';}let _0x38f8db='';for(_0x478139=0x0;_0x478139<this[_0x39a9de(0x1e5)]-_0x5dd831;_0x478139++){_0x38f8db+='░';}const _0x49b337=this[_0x39a9de(0x1d9)]+':\x20'+(0x64*_0x120e0d)[_0x39a9de(0x1de)](0x2)+'%\x20'+_0x45d473+_0x38f8db+'\x20'+_0x4b2d23[_0x39a9de(0x1e8)]+'/'+_0x4b2d23['total'];slog(_0x49b337);};}function a16_0x219b(){const _0x409044=['completed','277716VHENCO','exports','847xSyVWO','198PIKIVi','description','668404yiATjo','5896UVeiAH','6267QzkqYc','55RtLbkp','toFixed','135070MZexDb','51978mCGFsD','212379fRUdRo','floor','58cnxERX','single-line-log','length','total','stdout'];a16_0x219b=function(){return _0x409044;};return a16_0x219b();}function a16_0x7a77(_0x3163df,_0xb5a2e3){const _0x219b1b=a16_0x219b();return a16_0x7a77=function(_0x7a773d,_0x36422e){_0x7a773d=_0x7a773d-0x1d9;let _0x18f308=_0x219b1b[_0x7a773d];return _0x18f308;},a16_0x7a77(_0x3163df,_0xb5a2e3);}module[a16_0x2a19be(0x1ea)]=ProgressBar;
1
+ const a17_0x1d9bc2=a17_0x423c;(function(_0x4a3c4b,_0x4473e3){const _0x4c141a=a17_0x423c,_0x21967a=_0x4a3c4b();while(!![]){try{const _0x302e78=-parseInt(_0x4c141a(0x117))/0x1*(-parseInt(_0x4c141a(0x10d))/0x2)+-parseInt(_0x4c141a(0x107))/0x3*(-parseInt(_0x4c141a(0x110))/0x4)+parseInt(_0x4c141a(0x112))/0x5*(-parseInt(_0x4c141a(0x10e))/0x6)+-parseInt(_0x4c141a(0x118))/0x7*(-parseInt(_0x4c141a(0x114))/0x8)+parseInt(_0x4c141a(0x109))/0x9*(parseInt(_0x4c141a(0x11a))/0xa)+-parseInt(_0x4c141a(0x105))/0xb*(-parseInt(_0x4c141a(0x11b))/0xc)+-parseInt(_0x4c141a(0x115))/0xd;if(_0x302e78===_0x4473e3)break;else _0x21967a['push'](_0x21967a['shift']());}catch(_0x3de75e){_0x21967a['push'](_0x21967a['shift']());}}}(a17_0x126d,0x3fc4e));const slog=require(a17_0x1d9bc2(0x119))[a17_0x1d9bc2(0x104)];function a17_0x423c(_0x2125a7,_0x544ea3){const _0x126d0c=a17_0x126d();return a17_0x423c=function(_0x423cb7,_0x5a4262){_0x423cb7=_0x423cb7-0x104;let _0x16d01e=_0x126d0c[_0x423cb7];return _0x16d01e;},a17_0x423c(_0x2125a7,_0x544ea3);}function ProgressBar(_0x27cad4,_0x1beef4){const _0x10bf34=a17_0x1d9bc2;this[_0x10bf34(0x10c)]=_0x27cad4||_0x10bf34(0x111),this[_0x10bf34(0x113)]=_0x1beef4||0x19,this[_0x10bf34(0x108)]=function(_0x365d56){const _0x1f997d=_0x10bf34;let _0x1ded8d;const _0x3f45a5=(_0x365d56[_0x1f997d(0x10f)]/_0x365d56['total'])[_0x1f997d(0x116)](0x4),_0x506258=Math[_0x1f997d(0x10a)](_0x3f45a5*this[_0x1f997d(0x113)]);let _0x161fcf='';for(_0x1ded8d=0x0;_0x1ded8d<_0x506258;_0x1ded8d++){_0x161fcf+='█';}let _0x447e9f='';for(_0x1ded8d=0x0;_0x1ded8d<this['length']-_0x506258;_0x1ded8d++){_0x447e9f+='░';}const _0x5a7480=this[_0x1f997d(0x10c)]+':\x20'+(0x64*_0x3f45a5)[_0x1f997d(0x116)](0x2)+'%\x20'+_0x161fcf+_0x447e9f+'\x20'+_0x365d56[_0x1f997d(0x10f)]+'/'+_0x365d56[_0x1f997d(0x10b)];slog(_0x5a7480);};}module[a17_0x1d9bc2(0x106)]=ProgressBar;function a17_0x126d(){const _0x386433=['Progress','1171445bszasS','length','478024iTClOE','7686887aaHvEz','toFixed','1BmINuN','21MYLevj','single-line-log','201890SsKOYr','351000wNMnXH','stdout','22XlzjRz','exports','3LaQHpE','render','207xrhfJa','floor','total','description','664630VvjVXD','12qHnlks','completed','1146616TjgsuZ'];a17_0x126d=function(){return _0x386433;};return a17_0x126d();}
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a17_0xd95a(){const _0x11e529=['7HSJXUM','2742130FKlWCz','2427186CNLaiD','unlinkSync','push','pipe','6cOBKFE','length','4190485ZDUjaS','read\x20error','close','log','DeleteDirAllFile','createReadStream','63SJqJAg','join','158138gtaZBP','createWriteStream','isDirectory','forEach','mkdirSync','144996JMWflJ','CopyFile','write\x20error','readdir','error','readdirSync','459475niSQrb','CreatePaths','6306320LiONiA'];a17_0xd95a=function(){return _0x11e529;};return a17_0xd95a();}function a17_0x13c0(_0x27f5b3,_0x3be567){const _0xd95a2a=a17_0xd95a();return a17_0x13c0=function(_0x13c0c0,_0x419f24){_0x13c0c0=_0x13c0c0-0x79;let _0x13491d=_0xd95a2a[_0x13c0c0];return _0x13491d;},a17_0x13c0(_0x27f5b3,_0x3be567);}const a17_0x40bf75=a17_0x13c0;(function(_0x5a848c,_0x56ecac){const _0x32c918=a17_0x13c0,_0x1372f8=_0x5a848c();while(!![]){try{const _0x5e47b5=parseInt(_0x32c918(0x7b))/0x1+-parseInt(_0x32c918(0x8e))/0x2*(-parseInt(_0x32c918(0x84))/0x3)+parseInt(_0x32c918(0x93))/0x4+-parseInt(_0x32c918(0x86))/0x5+-parseInt(_0x32c918(0x80))/0x6*(parseInt(_0x32c918(0x7e))/0x7)+-parseInt(_0x32c918(0x7d))/0x8+-parseInt(_0x32c918(0x8c))/0x9*(-parseInt(_0x32c918(0x7f))/0xa);if(_0x5e47b5===_0x56ecac)break;else _0x1372f8['push'](_0x1372f8['shift']());}catch(_0x528f36){_0x1372f8['push'](_0x1372f8['shift']());}}}(a17_0xd95a,0x846e3));const fs=require('fs'),path=require('path');exports[a17_0x40bf75(0x8a)]=(_0x129e73,_0x207d75)=>{const _0x2eba31=a17_0x40bf75;let _0x5b9433=[];const _0x39bcfc=this;fs['existsSync'](_0x129e73)?(_0x5b9433=fs[_0x2eba31(0x7a)](_0x129e73),_0x5b9433['forEach'](function(_0x355a10,_0x5eb2b8){const _0x357400=_0x2eba31;let _0x2977fe=_0x129e73+'/'+_0x355a10;fs['statSync'](_0x2977fe)[_0x357400(0x90)]()?_0x39bcfc['DeleteDirAllFile'](_0x2977fe):fs[_0x357400(0x81)](_0x2977fe);}),fs['rmdirSync'](_0x129e73),_0x207d75&&_0x207d75()):_0x207d75&&_0x207d75();},exports['CopyFolder']=(_0x3790ad,_0x1725a8,_0x20c4a9)=>{const _0x1fbc45=a17_0x40bf75,_0x23bf42=this;fs[_0x1fbc45(0x96)](_0x3790ad,function(_0x1d9a82,_0x24ce17){const _0x21eee5=_0x1fbc45;let _0x342c7f=0x0;const _0x360325=function(){const _0x13f2f4=a17_0x13c0;++_0x342c7f===_0x24ce17[_0x13f2f4(0x85)]&&_0x20c4a9&&_0x20c4a9();};if(_0x1d9a82){_0x360325();return;}_0x24ce17[_0x21eee5(0x91)](function(_0x22361c){const _0x224a18=_0x21eee5,_0x1724c6=path[_0x224a18(0x8d)](_0x3790ad,_0x22361c),_0x47c539=path[_0x224a18(0x8d)](_0x1725a8,_0x22361c);fs['stat'](_0x1724c6,function(_0x37cf5b,_0x454cf6){const _0xb031a=_0x224a18;_0x454cf6[_0xb031a(0x90)]()?fs['mkdir'](_0x47c539,function(_0x195208){const _0x254c56=_0xb031a;if(_0x195208){console[_0x254c56(0x89)](_0x195208);return;}_0x23bf42['CopyFolder'](_0x1724c6,_0x47c539,_0x360325);}):_0x23bf42[_0xb031a(0x94)](_0x1724c6,_0x47c539,_0x360325);});}),_0x24ce17[_0x21eee5(0x85)]===0x0&&_0x20c4a9&&_0x20c4a9();});},exports['CopyFile']=(_0x16b8d6,_0x2a6b65,_0x570bb8)=>{const _0x1bc7b3=a17_0x40bf75,_0x2d330c=fs[_0x1bc7b3(0x8b)](_0x16b8d6);_0x2d330c['on'](_0x1bc7b3(0x79),function(_0x3d2796){const _0x46f7ec=_0x1bc7b3;_0x3d2796&&console[_0x46f7ec(0x89)](_0x46f7ec(0x87),_0x16b8d6),_0x570bb8&&_0x570bb8(_0x3d2796);});const _0x34a894=fs[_0x1bc7b3(0x8f)](_0x2a6b65);_0x34a894['on']('error',function(_0x431183){const _0x4d8866=_0x1bc7b3;_0x431183&&console['log'](_0x4d8866(0x95),_0x2a6b65),_0x570bb8&&_0x570bb8(_0x431183);}),_0x34a894['on'](_0x1bc7b3(0x88),function(_0x21a743){_0x570bb8&&_0x570bb8(_0x21a743);}),_0x2d330c[_0x1bc7b3(0x83)](_0x34a894);},exports['DeepScanner']=(_0x183533,_0x595540)=>{const _0x46d2b4=a17_0x40bf75,_0x50d7eb=this,_0x45c900=fs[_0x46d2b4(0x7a)](_0x183533);_0x45c900[_0x46d2b4(0x91)](_0x1ed37e=>{const _0x2ad515=_0x46d2b4,_0x27d03a=_0x183533+'/'+_0x1ed37e,_0x2a6621=fs['statSync'](_0x27d03a);_0x2a6621[_0x2ad515(0x90)]()?_0x50d7eb['DeepScanner'](_0x27d03a,_0x595540):_0x595540[_0x2ad515(0x82)](_0x27d03a);});},exports[a17_0x40bf75(0x7c)]=(_0x2a0f8f,_0x37c100)=>{return new Promise(_0x28ccf3=>{const _0x556050=a17_0x13c0,_0x3c134e=[];_0x37c100[_0x556050(0x91)]((_0xf21309,_0x3f7459)=>{const _0x3f559b=_0x556050,_0x271163=_0x2a0f8f+'/'+_0x3c134e[_0x3f559b(0x8d)]('/')+'/'+_0xf21309;try{const _0x578a47=fs['statSync'](_0x271163);_0x578a47[_0x3f559b(0x90)]()?_0x3f7459===_0x37c100[_0x3f559b(0x85)]-0x1&&_0x28ccf3():(fs[_0x3f559b(0x92)](_0x271163),_0x3f7459===_0x37c100['length']-0x1&&_0x28ccf3());}catch(_0x8c75d4){fs[_0x3f559b(0x92)](_0x271163),_0x3f7459===_0x37c100[_0x3f559b(0x85)]-0x1&&_0x28ccf3();}_0x3c134e[_0x3f559b(0x82)](_0xf21309);});});};
1
+ 'use strict';const a18_0xf6e18f=a18_0x1b67;function a18_0x535f(){const _0x22a1b9=['join','24126Cfmvfn','242tpNgCh','readdir','createReadStream','statSync','1360734JsFtjt','132trrxTo','639293fhlRxQ','length','mkdirSync','DeepScanner','read\x20error','readdirSync','stat','2563475OuQoeK','error','DeleteDirAllFile','4QLZmrC','CopyFolder','CreatePaths','951456WalpGg','32RSXdAe','createWriteStream','mkdir','7ctiQVv','close','log','unlinkSync','forEach','644900ejdmCp','229824NlAklN','isDirectory','existsSync','push','pipe'];a18_0x535f=function(){return _0x22a1b9;};return a18_0x535f();}(function(_0x4b9b72,_0xcd5219){const _0x19b0dc=a18_0x1b67,_0x388467=_0x4b9b72();while(!![]){try{const _0xd2505b=parseInt(_0x19b0dc(0x1a4))/0x1+parseInt(_0x19b0dc(0x19d))/0x2*(parseInt(_0x19b0dc(0x1a3))/0x3)+-parseInt(_0x19b0dc(0x1ae))/0x4*(-parseInt(_0x19b0dc(0x1ab))/0x5)+-parseInt(_0x19b0dc(0x1a2))/0x6*(-parseInt(_0x19b0dc(0x191))/0x7)+parseInt(_0x19b0dc(0x1b2))/0x8*(parseInt(_0x19b0dc(0x197))/0x9)+parseInt(_0x19b0dc(0x196))/0xa+-parseInt(_0x19b0dc(0x19e))/0xb*(parseInt(_0x19b0dc(0x1b1))/0xc);if(_0xd2505b===_0xcd5219)break;else _0x388467['push'](_0x388467['shift']());}catch(_0x5b111d){_0x388467['push'](_0x388467['shift']());}}}(a18_0x535f,0x51047));function a18_0x1b67(_0x400f2b,_0x51fde7){const _0x535f43=a18_0x535f();return a18_0x1b67=function(_0x1b67ca,_0x518722){_0x1b67ca=_0x1b67ca-0x191;let _0x37af39=_0x535f43[_0x1b67ca];return _0x37af39;},a18_0x1b67(_0x400f2b,_0x51fde7);}const fs=require('fs'),path=require('path');exports[a18_0xf6e18f(0x1ad)]=(_0x2fdeb0,_0x5c9f2b)=>{const _0x34fc4a=a18_0xf6e18f;let _0x109091=[];const _0x5dbafb=this;fs[_0x34fc4a(0x199)](_0x2fdeb0)?(_0x109091=fs[_0x34fc4a(0x1a9)](_0x2fdeb0),_0x109091[_0x34fc4a(0x195)](function(_0x4677d5,_0x2c9185){const _0x9973ec=_0x34fc4a;let _0x21b8d6=_0x2fdeb0+'/'+_0x4677d5;fs[_0x9973ec(0x1a1)](_0x21b8d6)[_0x9973ec(0x198)]()?_0x5dbafb[_0x9973ec(0x1ad)](_0x21b8d6):fs[_0x9973ec(0x194)](_0x21b8d6);}),fs['rmdirSync'](_0x2fdeb0),_0x5c9f2b&&_0x5c9f2b()):_0x5c9f2b&&_0x5c9f2b();},exports[a18_0xf6e18f(0x1af)]=(_0x3d83b7,_0x520b31,_0x32db2d)=>{const _0x6dd844=a18_0xf6e18f,_0x50dcf4=this;fs[_0x6dd844(0x19f)](_0x3d83b7,function(_0xd96e13,_0x538b0e){const _0x30374c=_0x6dd844;let _0x2d21bc=0x0;const _0x4df9dd=function(){const _0x4eafa3=a18_0x1b67;++_0x2d21bc===_0x538b0e[_0x4eafa3(0x1a5)]&&_0x32db2d&&_0x32db2d();};if(_0xd96e13){_0x4df9dd();return;}_0x538b0e['forEach'](function(_0x724e52){const _0x5bc802=a18_0x1b67,_0x209fec=path[_0x5bc802(0x19c)](_0x3d83b7,_0x724e52),_0x1a7c1c=path['join'](_0x520b31,_0x724e52);fs[_0x5bc802(0x1aa)](_0x209fec,function(_0x4031c1,_0x50be4f){const _0x471dda=_0x5bc802;_0x50be4f[_0x471dda(0x198)]()?fs[_0x471dda(0x1b4)](_0x1a7c1c,function(_0x2f4e27){const _0x2f20d9=_0x471dda;if(_0x2f4e27){console[_0x2f20d9(0x193)](_0x2f4e27);return;}_0x50dcf4[_0x2f20d9(0x1af)](_0x209fec,_0x1a7c1c,_0x4df9dd);}):_0x50dcf4['CopyFile'](_0x209fec,_0x1a7c1c,_0x4df9dd);});}),_0x538b0e[_0x30374c(0x1a5)]===0x0&&_0x32db2d&&_0x32db2d();});},exports['CopyFile']=(_0x1d55d1,_0x3fc826,_0x3e2910)=>{const _0x27a7de=a18_0xf6e18f,_0x15fe2b=fs[_0x27a7de(0x1a0)](_0x1d55d1);_0x15fe2b['on']('error',function(_0x3a13aa){const _0x39f42d=_0x27a7de;_0x3a13aa&&console[_0x39f42d(0x193)](_0x39f42d(0x1a8),_0x1d55d1),_0x3e2910&&_0x3e2910(_0x3a13aa);});const _0x25cc9d=fs[_0x27a7de(0x1b3)](_0x3fc826);_0x25cc9d['on'](_0x27a7de(0x1ac),function(_0x3a03e0){const _0x19acdb=_0x27a7de;_0x3a03e0&&console[_0x19acdb(0x193)]('write\x20error',_0x3fc826),_0x3e2910&&_0x3e2910(_0x3a03e0);}),_0x25cc9d['on'](_0x27a7de(0x192),function(_0x44b20b){_0x3e2910&&_0x3e2910(_0x44b20b);}),_0x15fe2b[_0x27a7de(0x19b)](_0x25cc9d);},exports[a18_0xf6e18f(0x1a7)]=(_0x159071,_0x247fb1)=>{const _0x1f8ed9=a18_0xf6e18f,_0x2fd0b1=this,_0x3d5fce=fs[_0x1f8ed9(0x1a9)](_0x159071);_0x3d5fce[_0x1f8ed9(0x195)](_0x34b708=>{const _0x4c023e=_0x1f8ed9,_0x2444e5=_0x159071+'/'+_0x34b708,_0x63bfb1=fs['statSync'](_0x2444e5);_0x63bfb1[_0x4c023e(0x198)]()?_0x2fd0b1[_0x4c023e(0x1a7)](_0x2444e5,_0x247fb1):_0x247fb1[_0x4c023e(0x19a)](_0x2444e5);});},exports[a18_0xf6e18f(0x1b0)]=(_0x40628e,_0x321d01)=>{return new Promise(_0x5b4608=>{const _0x43aeab=a18_0x1b67,_0x404f75=[];_0x321d01[_0x43aeab(0x195)]((_0x1d972d,_0x3ac515)=>{const _0x256cc5=_0x43aeab,_0x1f71b9=_0x40628e+'/'+_0x404f75[_0x256cc5(0x19c)]('/')+'/'+_0x1d972d;try{const _0x12a590=fs[_0x256cc5(0x1a1)](_0x1f71b9);_0x12a590[_0x256cc5(0x198)]()?_0x3ac515===_0x321d01[_0x256cc5(0x1a5)]-0x1&&_0x5b4608():(fs[_0x256cc5(0x1a6)](_0x1f71b9),_0x3ac515===_0x321d01['length']-0x1&&_0x5b4608());}catch(_0x276d7b){fs[_0x256cc5(0x1a6)](_0x1f71b9),_0x3ac515===_0x321d01[_0x256cc5(0x1a5)]-0x1&&_0x5b4608();}_0x404f75['push'](_0x1d972d);});});};