jjb-cmd 2.1.15 → 2.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.17</p>
6
+ <div>init命令初始化完成,增加询问是否立即安装项目</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.15</p>
10
+ <div>refresh增加babel配置文件更新</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.15</p>
6
14
  <div>push命令增加beta选项</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.15",
4
+ "version": "2.1.17",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x2dfa0c=a0_0x237e;(function(_0x2c8930,_0x2c1a17){const _0x232b6b=a0_0x237e,_0xaea63e=_0x2c8930();while(!![]){try{const _0x39126d=parseInt(_0x232b6b(0x116))/0x1*(parseInt(_0x232b6b(0x114))/0x2)+parseInt(_0x232b6b(0x11e))/0x3+-parseInt(_0x232b6b(0x117))/0x4+-parseInt(_0x232b6b(0x11a))/0x5+parseInt(_0x232b6b(0x10b))/0x6+parseInt(_0x232b6b(0x115))/0x7*(-parseInt(_0x232b6b(0x119))/0x8)+parseInt(_0x232b6b(0x10e))/0x9;if(_0x39126d===_0x2c1a17)break;else _0xaea63e['push'](_0xaea63e['shift']());}catch(_0x13120e){_0xaea63e['push'](_0xaea63e['shift']());}}}(a0_0x72a4,0x80cfb));function a0_0x237e(_0x599736,_0x5b4e37){const _0x72a417=a0_0x72a4();return a0_0x237e=function(_0x237e8d,_0x1a9be9){_0x237e8d=_0x237e8d-0x108;let _0x5956d2=_0x72a417[_0x237e8d];return _0x5956d2;},a0_0x237e(_0x599736,_0x5b4e37);}function a0_0x72a4(){const _0x5b757d=['2453992vaKHEL','../../../.auth','64tfcaXr','738185NqUdsf','path','post','/api/auth','1489476zoBErq','Auth\x20Success!','then','unlinkSync','../cmd.install/config','join','2890590UqvuLt','exports','catch','2130039ORGCxz','writeFileSync','status','Auth\x20NetWork\x20Fail!','existsSync','log','14nPtnEy','34083ICSWGb','16110lACPtF'];a0_0x72a4=function(){return _0x5b757d;};return a0_0x72a4();}const axios=require('axios'),fs=require('fs'),path=require(a0_0x2dfa0c(0x11b)),{API_HOST}=require(a0_0x2dfa0c(0x109));module[a0_0x2dfa0c(0x10c)]=_0xbbc323=>{const _0x449585=a0_0x2dfa0c;console['log'](_0xbbc323);const [_0x5dc1ec,_0x3b0030]=_0xbbc323;axios[_0x449585(0x11c)](API_HOST+_0x449585(0x11d),{'username':_0x5dc1ec,'password':_0x3b0030})[_0x449585(0x120)](_0x3b4894=>{const _0x2ff959=_0x449585,_0x441c1b=path[_0x2ff959(0x10a)](__dirname,_0x2ff959(0x118));_0x3b4894['data'][_0x2ff959(0x110)]?(console['log'](_0x2ff959(0x11f)),fs[_0x2ff959(0x10f)](_0x441c1b,_0x5dc1ec+'/'+_0x3b0030)):(console[_0x2ff959(0x113)]('Auth\x20Fail!'),fs[_0x2ff959(0x112)](_0x441c1b)&&fs[_0x2ff959(0x108)](_0x441c1b));})[_0x449585(0x10d)](_0xff5fd5=>{const _0x73a8d6=_0x449585;console['log'](_0x73a8d6(0x111));});};
1
+ const a0_0x52f4d1=a0_0x2aae;(function(_0x1ee6af,_0xc980db){const _0x570e72=a0_0x2aae,_0x1ea22c=_0x1ee6af();while(!![]){try{const _0x2243b5=-parseInt(_0x570e72(0x7d))/0x1+-parseInt(_0x570e72(0x73))/0x2*(parseInt(_0x570e72(0x7e))/0x3)+-parseInt(_0x570e72(0x75))/0x4*(parseInt(_0x570e72(0x80))/0x5)+-parseInt(_0x570e72(0x6f))/0x6*(parseInt(_0x570e72(0x7b))/0x7)+-parseInt(_0x570e72(0x72))/0x8+-parseInt(_0x570e72(0x6a))/0x9+-parseInt(_0x570e72(0x6e))/0xa*(-parseInt(_0x570e72(0x71))/0xb);if(_0x2243b5===_0xc980db)break;else _0x1ea22c['push'](_0x1ea22c['shift']());}catch(_0x42be3){_0x1ea22c['push'](_0x1ea22c['shift']());}}}(a0_0x489d,0x51a38));function a0_0x489d(){const _0x5901cf=['Auth\x20NetWork\x20Fail!','8NVXQOB','log','../../../.auth','unlinkSync','path','catch','14HEhFjA','data','43990UMWYtm','3cvbplt','../cmd.install/config','952765sgQvyK','Auth\x20Success!','writeFileSync','3267657YZUMYV','join','status','then','29670knlaKv','1267212PyzpUU','/api/auth','9746jJnHSz','4216592SLxzUv','1113446CgWQUv'];a0_0x489d=function(){return _0x5901cf;};return a0_0x489d();}const axios=require('axios'),fs=require('fs'),path=require(a0_0x52f4d1(0x79)),{API_HOST}=require(a0_0x52f4d1(0x7f));function a0_0x2aae(_0x5631f7,_0x3735a3){const _0x489d5b=a0_0x489d();return a0_0x2aae=function(_0x2aaea1,_0x71b788){_0x2aaea1=_0x2aaea1-0x69;let _0x24b549=_0x489d5b[_0x2aaea1];return _0x24b549;},a0_0x2aae(_0x5631f7,_0x3735a3);}module['exports']=_0x2dd1ea=>{const _0x5cfeaa=a0_0x52f4d1;console[_0x5cfeaa(0x76)](_0x2dd1ea);const [_0x4ac34e,_0x164194]=_0x2dd1ea;axios['post'](API_HOST+_0x5cfeaa(0x70),{'username':_0x4ac34e,'password':_0x164194})[_0x5cfeaa(0x6d)](_0x54b490=>{const _0x2763f4=_0x5cfeaa,_0x150901=path[_0x2763f4(0x6b)](__dirname,_0x2763f4(0x77));_0x54b490[_0x2763f4(0x7c)][_0x2763f4(0x6c)]?(console[_0x2763f4(0x76)](_0x2763f4(0x81)),fs[_0x2763f4(0x69)](_0x150901,_0x4ac34e+'/'+_0x164194)):(console['log']('Auth\x20Fail!'),fs['existsSync'](_0x150901)&&fs[_0x2763f4(0x78)](_0x150901));})[_0x5cfeaa(0x7a)](_0x760c6d=>{const _0x2b86cc=_0x5cfeaa;console[_0x2b86cc(0x76)](_0x2b86cc(0x74));});};
@@ -1 +1 @@
1
- const a1_0x2158ee=a1_0x1504;function a1_0x1504(_0x57f242,_0x3dc733){const _0x1bc728=a1_0x1bc7();return a1_0x1504=function(_0x1504e1,_0x2aef4c){_0x1504e1=_0x1504e1-0x189;let _0x24c34c=_0x1bc728[_0x1504e1];return _0x24c34c;},a1_0x1504(_0x57f242,_0x3dc733);}function a1_0x1bc7(){const _0x572296=['resolve','4jKEqtR','../cmd.install/tools','DeleteDirAllFile','projectId','forEach','/api/v4/projects/','7bzLIml','&ref=master','【Error】:初始化失败,','/unzip/','indexOf','不存在。','1265165fDtdbM','44LrsOuJ','path','1021446WoPXnq','299770VxuJBV','5UGcCVH','18OTyTOC','then','log','4833924RcrIzL','pipe','../../old/util','exit','token','../cmd.install/config','request','readdirSync','85472elCHrJ','787256rkqiLm','/repository/archive.zip?private_token=','-master-','close','CopyFolder','初始化完成!','224163PglvoR','mkdirSync','.zip'];a1_0x1bc7=function(){return _0x572296;};return a1_0x1bc7();}(function(_0x203285,_0x1af51b){const _0x60c645=a1_0x1504,_0x1087bd=_0x203285();while(!![]){try{const _0x22a312=parseInt(_0x60c645(0x1ab))/0x1*(parseInt(_0x60c645(0x18f))/0x2)+-parseInt(_0x60c645(0x196))/0x3*(parseInt(_0x60c645(0x19a))/0x4)+-parseInt(_0x60c645(0x1a6))/0x5+parseInt(_0x60c645(0x1a9))/0x6*(parseInt(_0x60c645(0x1a0))/0x7)+parseInt(_0x60c645(0x190))/0x8*(-parseInt(_0x60c645(0x1ac))/0x9)+-parseInt(_0x60c645(0x1aa))/0xa*(parseInt(_0x60c645(0x1a7))/0xb)+parseInt(_0x60c645(0x1af))/0xc;if(_0x22a312===_0x1af51b)break;else _0x1087bd['push'](_0x1087bd['shift']());}catch(_0x49fdc9){_0x1087bd['push'](_0x1087bd['shift']());}}}(a1_0x1bc7,0x22bc0));const path=require(a1_0x2158ee(0x1a8)),{f_file_copy}=require(a1_0x2158ee(0x19b)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x2158ee(0x18c)),fs=require('fs'),os=require('os'),utils=require(a1_0x2158ee(0x189)),request=require(a1_0x2158ee(0x18d)),compressing=require('compressing');module['exports']=_0x2cec47=>{const _0x24195c=a1_0x2158ee,_0xbf1664=path[_0x24195c(0x199)]('./'),_0xf2de16=CLOUD_PROJECT[_0x2cec47]||undefined;if(_0xf2de16){const _0x21826e=os['tmpdir'](),_0x40a88c=_0x21826e+'/'+GIT_TEMP_DIR+'/'+_0x2cec47+_0x24195c(0x198),_0x2c8f33=_0x21826e+'/'+GIT_TEMP_DIR+_0x24195c(0x1a3);utils[_0x24195c(0x19c)](_0x21826e+'/'+GIT_TEMP_DIR,()=>{const _0x187c6c=_0x24195c;fs[_0x187c6c(0x197)](_0x21826e+'/'+GIT_TEMP_DIR);let _0x3b7dea=fs['createWriteStream'](_0x40a88c);request(GIT_HOST+_0x187c6c(0x19f)+_0xf2de16[_0x187c6c(0x19d)]+_0x187c6c(0x191)+_0xf2de16[_0x187c6c(0x18b)]+_0x187c6c(0x1a1))[_0x187c6c(0x1b0)](_0x3b7dea)['on'](_0x187c6c(0x193),()=>{const _0x440e08=_0x187c6c;fs[_0x440e08(0x197)](_0x2c8f33),compressing['zip']['uncompress'](_0x40a88c,_0x2c8f33)[_0x440e08(0x1ad)](()=>{setTimeout(()=>{const _0x329d59=a1_0x1504;fs[_0x329d59(0x18e)](_0x2c8f33)[_0x329d59(0x19e)](_0x3f1209=>{const _0x103c6c=_0x329d59;_0x3f1209[_0x103c6c(0x1a4)](_0x103c6c(0x192))!==-0x1&&utils[_0x103c6c(0x194)](_0x2c8f33+_0x3f1209,_0xbf1664,()=>{const _0x18ab63=_0x103c6c;console[_0x18ab63(0x1ae)](_0x18ab63(0x195)),process[_0x18ab63(0x18a)](0x0);});});},0x7d0);});});});}else console[_0x24195c(0x1ae)](_0x24195c(0x1a2)+_0x2cec47+_0x24195c(0x1a5));};
1
+ function a1_0x3b54(_0x3dc172,_0x749f5a){const _0x2c3706=a1_0x2c37();return a1_0x3b54=function(_0x3b546a,_0xb7f181){_0x3b546a=_0x3b546a-0xb8;let _0x1a7750=_0x2c3706[_0x3b546a];return _0x1a7750;},a1_0x3b54(_0x3dc172,_0x749f5a);}function a1_0x2c37(){const _0x395bdd=['tmpdir','request','createInterface','projectId','exit','【Error】:初始化失败,','/repository/archive.zip?private_token=','createWriteStream','不存在。','stdin','&ref=master','then','forEach','log','question','stdout','-master-','mkdirSync','yarn','78331bVCpog','trim','pipe','indexOf','npm','515892svIZky','25218HpFDlj','208775kRstJP','resolve','includes','.zip','CopyFolder','execSync','child_process','jjb-cmd\x20install.app\x20','5TotnOU','../../old/util','62xcOdex','2113460WwDNvh','16QTktsY','zip','exports','DeleteDirAllFile','path','2889810wbVoNb','初始化完成?请选择安装方式![yarn/npm]:','close','298614FTgCdg'];a1_0x2c37=function(){return _0x395bdd;};return a1_0x2c37();}const a1_0x2883a2=a1_0x3b54;(function(_0x2912c0,_0x7491af){const _0x25d7ce=a1_0x3b54,_0x1f8432=_0x2912c0();while(!![]){try{const _0x149fce=parseInt(_0x25d7ce(0xc8))/0x1+parseInt(_0x25d7ce(0xd9))/0x2*(parseInt(_0x25d7ce(0xce))/0x3)+parseInt(_0x25d7ce(0xcd))/0x4*(parseInt(_0x25d7ce(0xd7))/0x5)+-parseInt(_0x25d7ce(0xe3))/0x6+parseInt(_0x25d7ce(0xcf))/0x7*(-parseInt(_0x25d7ce(0xdb))/0x8)+-parseInt(_0x25d7ce(0xe0))/0x9+parseInt(_0x25d7ce(0xda))/0xa;if(_0x149fce===_0x7491af)break;else _0x1f8432['push'](_0x1f8432['shift']());}catch(_0x196072){_0x1f8432['push'](_0x1f8432['shift']());}}}(a1_0x2c37,0x3cb97));const fs=require('fs'),os=require('os'),path=require(a1_0x2883a2(0xdf)),request=require(a1_0x2883a2(0xe5)),utils=require(a1_0x2883a2(0xd8)),compressing=require('compressing'),io=readline[a1_0x2883a2(0xe6)]({'input':process[a1_0x2883a2(0xbe)],'output':process[a1_0x2883a2(0xc4)]}),child_process=require(a1_0x2883a2(0xd5)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0x2883a2(0xdd)]=_0x59534d=>{const _0x338cae=a1_0x2883a2,_0xed63b=path[_0x338cae(0xd0)]('./'),_0x35ca41=CLOUD_PROJECT[_0x59534d]||undefined;if(_0x35ca41){const _0x5c52df=os[_0x338cae(0xe4)](),_0x495e6f=_0x5c52df+'/'+GIT_TEMP_DIR+'/'+_0x59534d+_0x338cae(0xd2),_0x2dcb71=_0x5c52df+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x338cae(0xde)](_0x5c52df+'/'+GIT_TEMP_DIR,()=>{const _0x52e635=_0x338cae;fs['mkdirSync'](_0x5c52df+'/'+GIT_TEMP_DIR);let _0x4d74f9=fs[_0x52e635(0xbc)](_0x495e6f);request(GIT_HOST+'/api/v4/projects/'+_0x35ca41[_0x52e635(0xb8)]+_0x52e635(0xbb)+_0x35ca41['token']+_0x52e635(0xbf))[_0x52e635(0xca)](_0x4d74f9)['on'](_0x52e635(0xe2),()=>{const _0x10ec25=_0x52e635;fs[_0x10ec25(0xc6)](_0x2dcb71),compressing[_0x10ec25(0xdc)]['uncompress'](_0x495e6f,_0x2dcb71)[_0x10ec25(0xc0)](()=>{setTimeout(()=>{const _0x1e3468=a1_0x3b54;fs['readdirSync'](_0x2dcb71)[_0x1e3468(0xc1)](_0x5e7d47=>{const _0x4dce92=_0x1e3468;_0x5e7d47[_0x4dce92(0xcb)](_0x4dce92(0xc5))!==-0x1&&utils[_0x4dce92(0xd3)](_0x2dcb71+_0x5e7d47,_0xed63b,()=>{const _0x4c9572=_0x4dce92;io[_0x4c9572(0xc3)](_0x4c9572(0xe1),function(_0x499eaf){const _0x4dc45b=_0x4c9572;[_0x4dc45b(0xc7),_0x4dc45b(0xcc)][_0x4dc45b(0xd1)](_0x499eaf[_0x4dc45b(0xc9)]())?child_process[_0x4dc45b(0xd4)](_0x4dc45b(0xd6)+_0x499eaf[_0x4dc45b(0xc9)](),{'cwd':_0xed63b}):(console[_0x4dc45b(0xc2)]('初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!'),process[_0x4dc45b(0xb9)](0x0));});});});},0x7d0);});});});}else console['log'](_0x338cae(0xba)+_0x59534d+_0x338cae(0xbd));};
@@ -1 +1 @@
1
- function a2_0x498a(){const _0x3f9eee=['hLqARY89CN6fUD3yg4NL','350efUctL','tmpdir','3VCephI','FT3pKzxpRynFkmddJ9Bs','http://192.168.1.242:10985','3992FuFKox','7V-YUxhmh51Mdhgx4rq4','1147530MHIJAX','http://120.26.210.58:8088','dev','TEMPLATE_FOLDER','FqNrmFAgrxasMrbbjvq9','now','GIT_HOST','CONFIG_FILE_HOST','e9njpBd1nS_LREN8GFpR','GIT_JAVA_ENV_JSON','d4wQ7dzEjYPsgVbKnYei','GIT_TEMP_DIR','1768491UaWTdp','6209MYlpWs','1226955gUbOoh','snBxJ2i5kYarGGcsojhY','https://cdn.cqjjb.cn/jjb-cloud-config','G4HJRsHr9D7Ssmixegw2','6172cxJuEr','277612HWrMLS','7756530bnyPjE'];a2_0x498a=function(){return _0x3f9eee;};return a2_0x498a();}function a2_0x16e9(_0x2f9828,_0x3702cf){const _0x498ae1=a2_0x498a();return a2_0x16e9=function(_0x16e914,_0x427698){_0x16e914=_0x16e914-0x1db;let _0x4867e2=_0x498ae1[_0x16e914];return _0x4867e2;},a2_0x16e9(_0x2f9828,_0x3702cf);}const a2_0x5806b7=a2_0x16e9;(function(_0xf60277,_0x4c1819){const _0xe01be0=a2_0x16e9,_0x32e03f=_0xf60277();while(!![]){try{const _0x562f6c=-parseInt(_0xe01be0(0x1e7))/0x1*(parseInt(_0xe01be0(0x1e2))/0x2)+parseInt(_0xe01be0(0x1dd))/0x3+-parseInt(_0xe01be0(0x1e1))/0x4*(-parseInt(_0xe01be0(0x1e5))/0x5)+-parseInt(_0xe01be0(0x1ec))/0x6+parseInt(_0xe01be0(0x1dc))/0x7*(-parseInt(_0xe01be0(0x1ea))/0x8)+parseInt(_0xe01be0(0x1db))/0x9+parseInt(_0xe01be0(0x1e3))/0xa;if(_0x562f6c===_0x4c1819)break;else _0x32e03f['push'](_0x32e03f['shift']());}catch(_0x551373){_0x32e03f['push'](_0x32e03f['shift']());}}}(a2_0x498a,0x6b24d));const os=require('os');exports[a2_0x5806b7(0x1f3)]=a2_0x5806b7(0x1df),exports['API_HOST']=a2_0x5806b7(0x1ed),exports[a2_0x5806b7(0x1f2)]=a2_0x5806b7(0x1e9),exports[a2_0x5806b7(0x1f7)]='jjb-assembly-'+Date[a2_0x5806b7(0x1f1)](),exports['GIT_TEMP_JAVA']='jjb-assembly-java',exports[a2_0x5806b7(0x1f5)]={'development':a2_0x5806b7(0x1ee),'production':'prod','test':'test'},exports['CLOUD_PROJECT']={'common':{'token':a2_0x5806b7(0x1e0),'projectId':0x117},'react-admin-component':{'token':a2_0x5806b7(0x1e8),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x5806b7(0x1e4),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x5806b7(0x1f4),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x5806b7(0x1f6),'projectId':0x153},'react-component':{'token':a2_0x5806b7(0x1de),'projectId':0x33f},'micro-app-ts':{'token':a2_0x5806b7(0x1eb),'projectId':0x33e},'micro-app':{'token':a2_0x5806b7(0x1f0),'projectId':0x33d},'lib':{'token':'ywPtT3xCG6b_vAxp6sTj','projectId':0x33c}},exports[a2_0x5806b7(0x1ef)]=os[a2_0x5806b7(0x1e6)]()+'\x5c'+exports[a2_0x5806b7(0x1f7)];
1
+ const a2_0xc03bc1=a2_0x490e;function a2_0x490e(_0x4d6559,_0x363582){const _0x53b0da=a2_0x53b0();return a2_0x490e=function(_0x490e35,_0x12d770){_0x490e35=_0x490e35-0x126;let _0x536bb7=_0x53b0da[_0x490e35];return _0x536bb7;},a2_0x490e(_0x4d6559,_0x363582);}(function(_0x21533e,_0x589a83){const _0x20a5e7=a2_0x490e,_0xfeba15=_0x21533e();while(!![]){try{const _0x4cd0fa=parseInt(_0x20a5e7(0x141))/0x1*(parseInt(_0x20a5e7(0x13f))/0x2)+parseInt(_0x20a5e7(0x12b))/0x3*(-parseInt(_0x20a5e7(0x145))/0x4)+parseInt(_0x20a5e7(0x140))/0x5*(-parseInt(_0x20a5e7(0x12a))/0x6)+parseInt(_0x20a5e7(0x13b))/0x7*(parseInt(_0x20a5e7(0x12c))/0x8)+parseInt(_0x20a5e7(0x13c))/0x9+parseInt(_0x20a5e7(0x129))/0xa+-parseInt(_0x20a5e7(0x127))/0xb*(parseInt(_0x20a5e7(0x137))/0xc);if(_0x4cd0fa===_0x589a83)break;else _0xfeba15['push'](_0xfeba15['shift']());}catch(_0x3c77fe){_0xfeba15['push'](_0xfeba15['shift']());}}}(a2_0x53b0,0x59be5));const os=require('os');exports[a2_0xc03bc1(0x136)]=a2_0xc03bc1(0x12e),exports[a2_0xc03bc1(0x134)]='http://120.26.210.58:8088',exports['GIT_HOST']=a2_0xc03bc1(0x142),exports[a2_0xc03bc1(0x13e)]='jjb-assembly-'+Date[a2_0xc03bc1(0x132)](),exports['GIT_TEMP_JAVA']=a2_0xc03bc1(0x133),exports[a2_0xc03bc1(0x13a)]={'development':'dev','production':a2_0xc03bc1(0x138),'test':a2_0xc03bc1(0x131)},exports[a2_0xc03bc1(0x13d)]={'common':{'token':a2_0xc03bc1(0x12d),'projectId':0x117},'react-admin-component':{'token':a2_0xc03bc1(0x126),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0xc03bc1(0x143),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0xc03bc1(0x12f),'projectId':0x23e},'vue-unisass-component':{'token':a2_0xc03bc1(0x135),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0xc03bc1(0x144),'projectId':0x33e},'micro-app':{'token':a2_0xc03bc1(0x130),'projectId':0x33d},'lib':{'token':a2_0xc03bc1(0x128),'projectId':0x33c}},exports[a2_0xc03bc1(0x139)]=os['tmpdir']()+'\x5c'+exports[a2_0xc03bc1(0x13e)];function a2_0x53b0(){const _0x507064=['672AOtVYS','2999025wCEmrp','CLOUD_PROJECT','GIT_TEMP_DIR','18htXiAH','1190TbsnCp','16814cVkeOn','http://192.168.1.242:10985','hLqARY89CN6fUD3yg4NL','7V-YUxhmh51Mdhgx4rq4','4ZkNsLe','FT3pKzxpRynFkmddJ9Bs','33Mqczmy','ywPtT3xCG6b_vAxp6sTj','2112630xSKPtq','6822cyXjtJ','1824483PgAiCw','49712rGFINf','G4HJRsHr9D7Ssmixegw2','https://cdn.cqjjb.cn/jjb-cloud-config','gPSit8aJsLVmNzuQ5Cy4','FqNrmFAgrxasMrbbjvq9','test','now','jjb-assembly-java','API_HOST','d4wQ7dzEjYPsgVbKnYei','CONFIG_FILE_HOST','184008TicNDL','prod','TEMPLATE_FOLDER','GIT_JAVA_ENV_JSON'];a2_0x53b0=function(){return _0x507064;};return a2_0x53b0();}
@@ -1 +1 @@
1
- function a3_0xe31f(){const _0x16dca0=['rmdirSync','importList','【Error】:安装失败,src目录不存在。','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','exit','index.js','existsSync','compress','unlinkSync','setting.json','pure_name','.idea','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','log','find','package.json','【jjb-cmd】:install命令执行完成,用时','\x5ctypes','resolve','includes','jjb-common-lib','1139350rRwFKZ','3973PFXFiA','path','name','_zip','src','now','map','installTarget','uncompress','filter','mkdirSync','installResources','2408656vOQTMF','52074bMWvmH','./config','pipe','replace','1.0.0','【Error】:安装失败,node_modules目录不存在。','.gitignore','createWriteStream','819354iDwZSr','node_modules','readdirSync','src\x5c','close','join','884424lQXVOJ','length','49VpGbDF','forEach','896352LwvhdR'];a3_0xe31f=function(){return _0x16dca0;};return a3_0xe31f();}const a3_0x5218bf=a3_0x4832;(function(_0x5b6b14,_0x310817){const _0x40cb25=a3_0x4832,_0x28cecc=_0x5b6b14();while(!![]){try{const _0x13fb6d=parseInt(_0x40cb25(0x15f))/0x1+-parseInt(_0x40cb25(0x16c))/0x2+parseInt(_0x40cb25(0x17a))/0x3+-parseInt(_0x40cb25(0x16b))/0x4+-parseInt(_0x40cb25(0x15e))/0x5+parseInt(_0x40cb25(0x174))/0x6+parseInt(_0x40cb25(0x17c))/0x7*(parseInt(_0x40cb25(0x17e))/0x8);if(_0x13fb6d===_0x310817)break;else _0x28cecc['push'](_0x28cecc['shift']());}catch(_0x291d2d){_0x28cecc['push'](_0x28cecc['shift']());}}}(a3_0xe31f,0x58c39));function a3_0x4832(_0x501d04,_0x445fe1){const _0xe31fb6=a3_0xe31f();return a3_0x4832=function(_0x4832fe,_0x476db7){_0x4832fe=_0x4832fe-0x14c;let _0x5866e2=_0xe31fb6[_0x4832fe];return _0x5866e2;},a3_0x4832(_0x501d04,_0x445fe1);}const fs=require('fs'),path=require(a3_0x5218bf(0x160)),request=require('request'),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER}=require(a3_0x5218bf(0x16d)),start_time=Date[a3_0x5218bf(0x164)]();module['exports']=()=>{const _0x2b7f2f=a3_0x5218bf,_0x15cb6e=path[_0x2b7f2f(0x15b)]('./'),_0x4a83c0=[_0x15cb6e,_0x2b7f2f(0x177)][_0x2b7f2f(0x179)]('\x5c'),_0x40094f=[_0x15cb6e,'node_modules']['join']('\x5c'),_0x39ad43=[_0x15cb6e,_0x2b7f2f(0x158)][_0x2b7f2f(0x179)]('\x5c');if(f_scan_jjb_config_json(_0x15cb6e)){const _0x173cfe=f_scan_jjb_config_json_rules(_0x15cb6e);_0x173cfe[_0x2b7f2f(0x166)]==='node_modules'?!fs[_0x2b7f2f(0x14f)](_0x40094f)?(console[_0x2b7f2f(0x156)](_0x2b7f2f(0x171)),process[_0x2b7f2f(0x14d)](0x0)):console['log'](_0x2b7f2f(0x155)):!fs['existsSync'](_0x4a83c0)&&(console['log'](_0x2b7f2f(0x181)),process['exit'](0x0));fs[_0x2b7f2f(0x169)](TEMPLATE_FOLDER),f_pull_git_repository(_0x173cfe['installResources'])[_0x2b7f2f(0x165)](_0x20f044=>{const _0x3ad105=_0x2b7f2f,_0x40d887=fs[_0x3ad105(0x173)](_0x20f044[_0x3ad105(0x160)]);request(_0x20f044['repository'])[_0x3ad105(0x16e)](_0x40d887)['on'](_0x3ad105(0x178),()=>{const _0x63f172=_0x3ad105;fs[_0x63f172(0x169)](_0x20f044[_0x63f172(0x150)]),compressing['zip'][_0x63f172(0x167)](_0x20f044['path'],_0x20f044[_0x63f172(0x150)]);});});const _0x31416b=setInterval(()=>{const _0x179b0d=_0x2b7f2f,_0x374a3d=fs[_0x179b0d(0x176)](TEMPLATE_FOLDER),_0x12535e=_0x374a3d[_0x179b0d(0x168)](_0x1edd63=>_0x173cfe[_0x179b0d(0x16a)]['map'](_0x152198=>_0x152198['name']+'_zip')[_0x179b0d(0x15c)](_0x1edd63));if(_0x12535e[_0x179b0d(0x17b)]===_0x173cfe[_0x179b0d(0x16a)][_0x179b0d(0x17b)]){clearInterval(_0x31416b);const _0xbdcb56=[];_0x12535e[_0x179b0d(0x17d)](_0x11db06=>{const _0x3974d6=_0x179b0d,_0x30da8e=[TEMPLATE_FOLDER,_0x11db06]['join']('\x5c');fs[_0x3974d6(0x176)](_0x30da8e)[_0x3974d6(0x17d)](_0x1c4b2b=>_0xbdcb56['push']({'name':_0x11db06,'path':[_0x30da8e,_0x1c4b2b][_0x3974d6(0x179)]('\x5c'),'pure_name':_0x11db06[_0x3974d6(0x16f)](/_zip$/,''),'import_list':_0x173cfe[_0x3974d6(0x16a)][_0x3974d6(0x157)](_0xa1eaa2=>_0xa1eaa2[_0x3974d6(0x161)]+_0x3974d6(0x162)===_0x11db06)[_0x3974d6(0x180)]}));}),_0xbdcb56[_0x179b0d(0x17d)](_0x3fbdd8=>{const _0x47a5e8=_0x179b0d,_0x3eb050=_0x3fbdd8[_0x47a5e8(0x153)],_0x420edb=_0x3fbdd8['import_list'],_0xadacb9=[_0x3fbdd8[_0x47a5e8(0x160)],_0x47a5e8(0x154)][_0x47a5e8(0x179)]('//'),_0x20b7be=[_0x3fbdd8[_0x47a5e8(0x160)],_0x47a5e8(0x172)][_0x47a5e8(0x179)]('//');fs[_0x47a5e8(0x14f)](_0xadacb9)&&(f_rm_rf(_0xadacb9),fs[_0x47a5e8(0x17f)](_0xadacb9));fs[_0x47a5e8(0x14f)](_0x20b7be)&&fs[_0x47a5e8(0x151)](_0x20b7be);_0x420edb[_0x47a5e8(0x17b)]&&fs['readdirSync'](_0x3fbdd8['path'])[_0x47a5e8(0x168)](_0x377d07=>!_0x420edb[_0x47a5e8(0x15c)](_0x377d07)&&_0x377d07!==_0x47a5e8(0x14e)&&_0x377d07!==_0x47a5e8(0x152))[_0x47a5e8(0x17d)](_0x1bf488=>{const _0x1d4e35=_0x47a5e8,_0x59d332=_0x3fbdd8[_0x1d4e35(0x160)]+'\x5c'+_0x1bf488;f_rm_rf(_0x59d332),fs[_0x1d4e35(0x17f)](_0x59d332);});if(_0x173cfe[_0x47a5e8(0x166)]===_0x47a5e8(0x175)){const _0x16a962=_0x3eb050;fs[_0x47a5e8(0x14f)](_0x40094f+'\x5c'+_0x16a962)?f_rm_rf(_0x40094f+'\x5c'+_0x16a962):fs[_0x47a5e8(0x169)](_0x40094f+'\x5c'+_0x16a962),_0x16a962!==_0x47a5e8(0x15d)?(f_file_copy(_0x3fbdd8['path'],_0x40094f+'\x5c'+_0x16a962),f_create_package_json(_0x40094f+'\x5c'+_0x16a962,_0x16a962,_0x47a5e8(0x170))):f_file_copy(_0x3fbdd8[_0x47a5e8(0x160)]+_0x47a5e8(0x15a),_0x40094f+'\x5c'+_0x16a962),f_update_project_package_json(_0x39ad43,_0x16a962,_0x47a5e8(0x170));}else _0x173cfe[_0x47a5e8(0x166)]===_0x47a5e8(0x163)&&(fs['existsSync'](_0x4a83c0+_0x3eb050)?f_rm_rf(_0x4a83c0+_0x3eb050):fs[_0x47a5e8(0x169)](_0x4a83c0+_0x3eb050),f_file_copy(_0x3fbdd8[_0x47a5e8(0x160)],_0x4a83c0+_0x3eb050));}),setTimeout(()=>{const _0x8c1cc5=_0x179b0d;f_rm_rf(TEMPLATE_FOLDER),fs[_0x8c1cc5(0x17f)](TEMPLATE_FOLDER);const _0x1311cd=Date[_0x8c1cc5(0x164)]();console[_0x8c1cc5(0x156)](_0x8c1cc5(0x159)+(_0x1311cd-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x2b7f2f(0x156)](_0x2b7f2f(0x14c));};
1
+ const a3_0x1cdd7e=a3_0x2e09;(function(_0x12e8fa,_0x80f675){const _0x2d7a75=a3_0x2e09,_0x23032a=_0x12e8fa();while(!![]){try{const _0x1cb3ac=parseInt(_0x2d7a75(0x1a3))/0x1*(parseInt(_0x2d7a75(0x1a5))/0x2)+-parseInt(_0x2d7a75(0x189))/0x3*(parseInt(_0x2d7a75(0x18e))/0x4)+-parseInt(_0x2d7a75(0x1a4))/0x5+parseInt(_0x2d7a75(0x18c))/0x6*(-parseInt(_0x2d7a75(0x1ab))/0x7)+-parseInt(_0x2d7a75(0x1a7))/0x8*(parseInt(_0x2d7a75(0x18f))/0x9)+-parseInt(_0x2d7a75(0x1ac))/0xa+parseInt(_0x2d7a75(0x184))/0xb;if(_0x1cb3ac===_0x80f675)break;else _0x23032a['push'](_0x23032a['shift']());}catch(_0x47b634){_0x23032a['push'](_0x23032a['shift']());}}}(a3_0x2f2a,0x4815e));function a3_0x2e09(_0x108fcc,_0x59be3c){const _0x2f2a9a=a3_0x2f2a();return a3_0x2e09=function(_0x2e0926,_0x5d4579){_0x2e0926=_0x2e0926-0x17e;let _0x3852bb=_0x2f2a9a[_0x2e0926];return _0x3852bb;},a3_0x2e09(_0x108fcc,_0x59be3c);}const fs=require('fs'),path=require(a3_0x1cdd7e(0x1a9)),request=require(a3_0x1cdd7e(0x18a)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x1cdd7e(0x17e)),{TEMPLATE_FOLDER}=require(a3_0x1cdd7e(0x1ad)),start_time=Date[a3_0x1cdd7e(0x190)]();function a3_0x2f2a(){const _0x100e83=['287QTIJYz','708310IMFgEZ','./config','resolve','.idea','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','unlinkSync','./tools','\x5ctypes','installResources','length','includes','rmdirSync','5095838zcdHEg','.gitignore','forEach','mkdirSync','【jjb-cmd】:install命令执行完成,用时','359673joKyKD','request','join','28968nnKRXz','_zip','4NEiwFs','558hyWfXP','now','src','createWriteStream','exit','name','filter','log','map','installTarget','compress','zip','【Error】:安装失败,src目录不存在。','package.json','pure_name','node_modules','readdirSync','1.0.0','setting.json','index.js','522833eMcuTx','1003325MAyxNr','2NtzMgy','exports','13096ZZLtcw','uncompress','path','existsSync'];a3_0x2f2a=function(){return _0x100e83;};return a3_0x2f2a();}module[a3_0x1cdd7e(0x1a6)]=()=>{const _0x4343f0=a3_0x1cdd7e,_0x4bf275=path[_0x4343f0(0x1ae)]('./'),_0x1b2ba0=[_0x4bf275,'src\x5c'][_0x4343f0(0x18b)]('\x5c'),_0x50220d=[_0x4bf275,'node_modules'][_0x4343f0(0x18b)]('\x5c'),_0x53b639=[_0x4bf275,_0x4343f0(0x19c)][_0x4343f0(0x18b)]('\x5c');if(f_scan_jjb_config_json(_0x4bf275)){const _0x561d98=f_scan_jjb_config_json_rules(_0x4bf275);_0x561d98[_0x4343f0(0x198)]===_0x4343f0(0x19e)?!fs[_0x4343f0(0x1aa)](_0x50220d)?(console[_0x4343f0(0x196)]('【Error】:安装失败,node_modules目录不存在。'),process['exit'](0x0)):console[_0x4343f0(0x196)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs['existsSync'](_0x1b2ba0)&&(console[_0x4343f0(0x196)](_0x4343f0(0x19b)),process[_0x4343f0(0x193)](0x0));fs[_0x4343f0(0x187)](TEMPLATE_FOLDER),f_pull_git_repository(_0x561d98['installResources'])[_0x4343f0(0x197)](_0x50d314=>{const _0x44546a=_0x4343f0,_0x518bd6=fs[_0x44546a(0x192)](_0x50d314['path']);request(_0x50d314['repository'])['pipe'](_0x518bd6)['on']('close',()=>{const _0x2316ab=_0x44546a;fs[_0x2316ab(0x187)](_0x50d314[_0x2316ab(0x199)]),compressing[_0x2316ab(0x19a)][_0x2316ab(0x1a8)](_0x50d314[_0x2316ab(0x1a9)],_0x50d314[_0x2316ab(0x199)]);});});const _0x201f0e=setInterval(()=>{const _0x4b7d29=_0x4343f0,_0x5e7549=fs[_0x4b7d29(0x19f)](TEMPLATE_FOLDER),_0x226a56=_0x5e7549[_0x4b7d29(0x195)](_0x4e6e3b=>_0x561d98[_0x4b7d29(0x180)][_0x4b7d29(0x197)](_0x3c98b4=>_0x3c98b4[_0x4b7d29(0x194)]+_0x4b7d29(0x18d))[_0x4b7d29(0x182)](_0x4e6e3b));if(_0x226a56[_0x4b7d29(0x181)]===_0x561d98[_0x4b7d29(0x180)]['length']){clearInterval(_0x201f0e);const _0x2ca5a5=[];_0x226a56[_0x4b7d29(0x186)](_0x2f12c9=>{const _0x5917e2=_0x4b7d29,_0x4278e5=[TEMPLATE_FOLDER,_0x2f12c9][_0x5917e2(0x18b)]('\x5c');fs['readdirSync'](_0x4278e5)[_0x5917e2(0x186)](_0x21c8aa=>_0x2ca5a5['push']({'name':_0x2f12c9,'path':[_0x4278e5,_0x21c8aa]['join']('\x5c'),'pure_name':_0x2f12c9['replace'](/_zip$/,''),'import_list':_0x561d98[_0x5917e2(0x180)]['find'](_0x491be8=>_0x491be8[_0x5917e2(0x194)]+_0x5917e2(0x18d)===_0x2f12c9)['importList']}));}),_0x2ca5a5[_0x4b7d29(0x186)](_0x176bea=>{const _0xa24f4c=_0x4b7d29,_0x1e7dd4=_0x176bea[_0xa24f4c(0x19d)],_0x5cdb0f=_0x176bea['import_list'],_0x2afaf5=[_0x176bea['path'],_0xa24f4c(0x1af)][_0xa24f4c(0x18b)]('//'),_0x5d9d48=[_0x176bea[_0xa24f4c(0x1a9)],_0xa24f4c(0x185)]['join']('//');fs[_0xa24f4c(0x1aa)](_0x2afaf5)&&(f_rm_rf(_0x2afaf5),fs[_0xa24f4c(0x183)](_0x2afaf5));fs[_0xa24f4c(0x1aa)](_0x5d9d48)&&fs[_0xa24f4c(0x1b1)](_0x5d9d48);_0x5cdb0f[_0xa24f4c(0x181)]&&fs[_0xa24f4c(0x19f)](_0x176bea[_0xa24f4c(0x1a9)])[_0xa24f4c(0x195)](_0xc1554c=>!_0x5cdb0f[_0xa24f4c(0x182)](_0xc1554c)&&_0xc1554c!==_0xa24f4c(0x1a2)&&_0xc1554c!==_0xa24f4c(0x1a1))[_0xa24f4c(0x186)](_0xb3b2e9=>{const _0x156925=_0xa24f4c,_0x39b7a4=_0x176bea[_0x156925(0x1a9)]+'\x5c'+_0xb3b2e9;f_rm_rf(_0x39b7a4),fs[_0x156925(0x183)](_0x39b7a4);});if(_0x561d98[_0xa24f4c(0x198)]===_0xa24f4c(0x19e)){const _0xaf5a60=_0x1e7dd4;fs[_0xa24f4c(0x1aa)](_0x50220d+'\x5c'+_0xaf5a60)?f_rm_rf(_0x50220d+'\x5c'+_0xaf5a60):fs[_0xa24f4c(0x187)](_0x50220d+'\x5c'+_0xaf5a60),_0xaf5a60!=='jjb-common-lib'?(f_file_copy(_0x176bea['path'],_0x50220d+'\x5c'+_0xaf5a60),f_create_package_json(_0x50220d+'\x5c'+_0xaf5a60,_0xaf5a60,_0xa24f4c(0x1a0))):f_file_copy(_0x176bea['path']+_0xa24f4c(0x17f),_0x50220d+'\x5c'+_0xaf5a60),f_update_project_package_json(_0x53b639,_0xaf5a60,_0xa24f4c(0x1a0));}else _0x561d98[_0xa24f4c(0x198)]===_0xa24f4c(0x191)&&(fs['existsSync'](_0x1b2ba0+_0x1e7dd4)?f_rm_rf(_0x1b2ba0+_0x1e7dd4):fs[_0xa24f4c(0x187)](_0x1b2ba0+_0x1e7dd4),f_file_copy(_0x176bea['path'],_0x1b2ba0+_0x1e7dd4));}),setTimeout(()=>{const _0x3b7f5f=_0x4b7d29;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x131cd6=Date[_0x3b7f5f(0x190)]();console[_0x3b7f5f(0x196)](_0x3b7f5f(0x188)+(_0x131cd6-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4343f0(0x196)](_0x4343f0(0x1b0));};
@@ -1 +1 @@
1
- const a4_0x336e43=a4_0x52dc;function a4_0xe6c1(){const _0x2820bf=['forEach','filter','230pnUMHM','micro-spa','236646vJzXwE','writeFileSync','map','replace','462NTkCJa','parse','/api/v4/projects/','exit','/repository/archive.zip?private_token=','782916lzTdbI','token','react-admin-component','node_modules','f_scan_jjb_config_json','installResources','f_rm_rf','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','f_pull_git_repository','.zip','\x22,\x22main\x22:\x20\x22index.js\x22}','dependencies','./config','string','name','8490692OAFvtZ','jjb-dva-runtime','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','log','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','src','path','push','readFileSync','uniapp','includes','projectType','f_scan_jjb_config_json_rules','\x5cpackage.json','rmdirSync','f_resolve_install_resources','stringify','isDirectory','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','3498CBxdSE','\x5cjjb.config.json','\x22,\x22version\x22:\x22','{\x22name\x22:\x22','f_file_copy','readdirSync','16FjCjdh','unlinkSync','statSync','spa','tmpdir','4141280kTnQzR','existsSync','installTarget','392094CoykPx','toString','【Error】:[jjb.config.json.projectType]类型是一个string。','【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>。','5255ThddaI','isArray','10GtwZHc','length','【Error】:[jjb.config.json.installTarget]类型是一个string。','f_update_project_package_json','946839WBPKDG'];a4_0xe6c1=function(){return _0x2820bf;};return a4_0xe6c1();}(function(_0x5b9d37,_0x4389cb){const _0x168dc9=a4_0x52dc,_0x490229=_0x5b9d37();while(!![]){try{const _0x12a2e1=-parseInt(_0x168dc9(0x14d))/0x1*(-parseInt(_0x168dc9(0x18d))/0x2)+-parseInt(_0x168dc9(0x148))/0x3*(-parseInt(_0x168dc9(0x17f))/0x4)+parseInt(_0x168dc9(0x18b))/0x5*(-parseInt(_0x168dc9(0x179))/0x6)+parseInt(_0x168dc9(0x165))/0x7+-parseInt(_0x168dc9(0x184))/0x8+parseInt(_0x168dc9(0x187))/0x9*(parseInt(_0x168dc9(0x14b))/0xa)+parseInt(_0x168dc9(0x151))/0xb*(-parseInt(_0x168dc9(0x156))/0xc);if(_0x12a2e1===_0x4389cb)break;else _0x490229['push'](_0x490229['shift']());}catch(_0x386e87){_0x490229['push'](_0x490229['shift']());}}}(a4_0xe6c1,0xc0e29));function a4_0x52dc(_0x132cc9,_0x239a76){const _0xe6c155=a4_0xe6c1();return a4_0x52dc=function(_0x52dc71,_0x454c57){_0x52dc71=_0x52dc71-0x147;let _0xe0c2a=_0xe6c155[_0x52dc71];return _0xe0c2a;},a4_0x52dc(_0x132cc9,_0x239a76);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x336e43(0x162));exports[a4_0x336e43(0x15c)]=function(_0x4ead98){const _0x5a6b30=a4_0x336e43;if(fs[_0x5a6b30(0x185)](_0x4ead98)){const _0x43b464=fs[_0x5a6b30(0x17e)](_0x4ead98);for(let _0x33f0c3=0x0;_0x33f0c3<_0x43b464[_0x5a6b30(0x18e)];_0x33f0c3++){const _0x56fbc5=_0x43b464[_0x33f0c3],_0x19a496=_0x4ead98+'/'+_0x56fbc5;fs[_0x5a6b30(0x181)](_0x19a496)[_0x5a6b30(0x177)]()?(exports[_0x5a6b30(0x15c)](_0x19a496),fs[_0x5a6b30(0x174)](_0x19a496)):fs[_0x5a6b30(0x180)](_0x19a496);}}},exports[a4_0x336e43(0x15e)]=function(_0x2f4cb4=[]){const _0x161484=a4_0x336e43;return _0x2f4cb4[_0x161484(0x14f)](_0x51aaf1=>{const _0x5c09ac=_0x161484,_0x968e1c=CLOUD_PROJECT[_0x51aaf1[_0x5c09ac(0x164)]]||undefined,_0x6b69d4=os[_0x5c09ac(0x183)]();return{'path':_0x6b69d4+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x51aaf1[_0x5c09ac(0x164)]+_0x5c09ac(0x15f),'compress':_0x6b69d4+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x51aaf1[_0x5c09ac(0x164)]+'_zip','repository':GIT_HOST+_0x5c09ac(0x153)+_0x968e1c['projectId']+_0x5c09ac(0x155)+_0x968e1c[_0x5c09ac(0x157)]+'&ref=master'};});},exports[a4_0x336e43(0x15a)]=function(_0xe15abf){const _0x52e0d9=a4_0x336e43;return fs['existsSync'](_0xe15abf+_0x52e0d9(0x17a));},exports[a4_0x336e43(0x172)]=function(_0x4468e0){const _0x2c4b41=a4_0x336e43;let _0x495a9a={};try{_0x495a9a=JSON[_0x2c4b41(0x152)](fs[_0x2c4b41(0x16e)](_0x4468e0+_0x2c4b41(0x17a))[_0x2c4b41(0x188)]());}catch(_0xae7802){console[_0x2c4b41(0x168)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x2c4b41(0x154)](0x0);}!('projectType'in _0x495a9a)&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x15d)),process['exit'](0x0));!(_0x2c4b41(0x186)in _0x495a9a)&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x178)),process['exit'](0x0));!('installResources'in _0x495a9a)&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x16a)),process[_0x2c4b41(0x154)](0x0));typeof _0x495a9a[_0x2c4b41(0x171)]!==_0x2c4b41(0x163)&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x189)),process['exit'](0x0));!['multi',_0x2c4b41(0x182),_0x2c4b41(0x16f),_0x2c4b41(0x14c)][_0x2c4b41(0x170)](_0x495a9a['projectType'])&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x167)),process[_0x2c4b41(0x154)](0x0));typeof _0x495a9a['installTarget']!==_0x2c4b41(0x163)&&(console['log'](_0x2c4b41(0x18f)),process[_0x2c4b41(0x154)](0x0));![_0x2c4b41(0x159),_0x2c4b41(0x16b)]['includes'](_0x495a9a[_0x2c4b41(0x186)])&&(console[_0x2c4b41(0x168)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x2c4b41(0x154)](0x0));!Array[_0x2c4b41(0x18c)](_0x495a9a[_0x2c4b41(0x15b)])&&(console['log']('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x495a9a[_0x2c4b41(0x15b)][_0x2c4b41(0x18e)]===0x0&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x169)),process[_0x2c4b41(0x154)](0x0));const _0x15773f=exports[_0x2c4b41(0x175)](_0x495a9a['installResources']);return _0x15773f[_0x2c4b41(0x14f)](_0x69b447=>_0x69b447[_0x2c4b41(0x164)])[_0x2c4b41(0x14a)](_0x5d4429=>!['jjb-common',_0x2c4b41(0x166),'jjb-common-lib','jjb-common-decorator',_0x2c4b41(0x158),'vue-unisass-component'][_0x2c4b41(0x170)](_0x5d4429))[_0x2c4b41(0x18e)]!==0x0&&(console[_0x2c4b41(0x168)](_0x2c4b41(0x18a)),process[_0x2c4b41(0x154)](0x0)),_0x495a9a[_0x2c4b41(0x15b)]=_0x15773f,_0x495a9a;},exports['f_create_package_json']=function(_0x1280aa,_0x5c111b,_0x5139a9){const _0x18515a=a4_0x336e43;fs[_0x18515a(0x14e)](_0x1280aa+_0x18515a(0x173),_0x18515a(0x17c)+_0x5c111b+_0x18515a(0x17b)+_0x5139a9+_0x18515a(0x160));},exports[a4_0x336e43(0x175)]=function(_0x5d56ed=[]){const _0x252245=a4_0x336e43,_0x587769=[];return Array[_0x252245(0x18c)](_0x5d56ed)&&_0x5d56ed[_0x252245(0x149)](_0x44e465=>{const _0x4f030a=_0x252245;if(Array['isArray'](_0x44e465)){const [_0x410b3b,_0xd7c15f=[]]=_0x44e465;_0x587769[_0x4f030a(0x16d)]({'name':_0x410b3b,'importList':_0xd7c15f});}else _0x587769[_0x4f030a(0x16d)]({'name':_0x44e465,'importList':[]});}),_0x587769;},exports[a4_0x336e43(0x147)]=function(_0x1b900c,_0x3920a7,_0x5889c4){const _0x308998=a4_0x336e43,_0x57d705=JSON[_0x308998(0x152)](fs['readFileSync'](_0x1b900c)[_0x308998(0x188)]());_0x57d705[_0x308998(0x161)][_0x3920a7]=_0x5889c4,fs[_0x308998(0x14e)](_0x1b900c,JSON[_0x308998(0x176)](_0x57d705,null,0x2));},exports[a4_0x336e43(0x17d)]=function(_0x1b85d0,_0xedc099){const _0x20dea6=a4_0x336e43;fs[_0x20dea6(0x17e)](_0x1b85d0)['forEach'](_0x54cb6c=>{const _0x185fdc=_0x20dea6,_0x1418b1=_0x1b85d0+'\x5c'+_0x54cb6c,_0xe92ee2=_0xedc099+'\x5c'+_0x54cb6c;fs[_0x185fdc(0x181)](_0x1418b1)[_0x185fdc(0x177)]()?(fs['mkdirSync'](_0xe92ee2),exports[_0x185fdc(0x17d)](_0x1418b1,_0xe92ee2)):fs[_0x185fdc(0x14e)](_0xe92ee2,fs[_0x185fdc(0x16e)](_0x1418b1)[_0x185fdc(0x188)]());});},exports['f_content_replace']=function(_0x22fab4=[],_0x5ab2cd){const _0x5731ed=a4_0x336e43;_0x22fab4[_0x5731ed(0x149)](_0x2198e2=>{const _0x184789=_0x5731ed,_0x385033=_0x5ab2cd+_0x2198e2[_0x184789(0x16c)];if(fs['existsSync'](_0x385033)){let _0x1c0f08=fs['readFileSync'](_0x385033)[_0x184789(0x188)]();_0x2198e2[_0x184789(0x150)][_0x184789(0x149)](_0x331c86=>{_0x1c0f08=_0x1c0f08['replace'](_0x331c86[0x0],_0x331c86[0x1]);}),fs['writeFileSync'](_0x385033,_0x1c0f08);}});};
1
+ function a4_0x480c(_0x2f2e48,_0x9686ac){const _0x1d0f9b=a4_0x1d0f();return a4_0x480c=function(_0x480c0f,_0x5c575d){_0x480c0f=_0x480c0f-0x70;let _0xb28ee8=_0x1d0f9b[_0x480c0f];return _0xb28ee8;},a4_0x480c(_0x2f2e48,_0x9686ac);}function a4_0x1d0f(){const _0xe8d81a=['203tVNEMN','parse','log','isArray','\x5cjjb.config.json','node_modules','includes','path','/api/v4/projects/','1584250HvNSpk','forEach','1609368HKDvsP','token','replace','micro-spa','projectId','.zip','\x5cpackage.json','f_scan_jjb_config_json_rules','28584OuOZIN','&ref=master','jjb-common','exit','src','236207akYWzp','length','uniapp','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','4338NIAhbL','/repository/archive.zip?private_token=','jjb-common-lib','f_scan_jjb_config_json','./config','_zip','string','stringify','installResources','toString','f_rm_rf','241920OLlcxF','multi','\x22,\x22main\x22:\x20\x22index.js\x22}','3339388KLvqhA','push','react-admin-component','installTarget','isDirectory','\x22,\x22version\x22:\x22','statSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readFileSync','filter','f_update_project_package_json','projectType','map','readdirSync','name','writeFileSync','f_resolve_install_resources','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-dva-runtime','f_file_copy','{\x22name\x22:\x22','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','existsSync','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','unlinkSync','82902PogXNw','f_content_replace'];a4_0x1d0f=function(){return _0xe8d81a;};return a4_0x1d0f();}const a4_0x268eaa=a4_0x480c;(function(_0x1bca72,_0x8eaf1b){const _0xba3321=a4_0x480c,_0x35c59d=_0x1bca72();while(!![]){try{const _0x3a6127=parseInt(_0xba3321(0xae))/0x1+-parseInt(_0xba3321(0x9f))/0x2+parseInt(_0xba3321(0xa1))/0x3+-parseInt(_0xba3321(0x7a))/0x4+-parseInt(_0xba3321(0x77))/0x5+parseInt(_0xba3321(0x94))/0x6*(-parseInt(_0xba3321(0x96))/0x7)+parseInt(_0xba3321(0xa9))/0x8*(parseInt(_0xba3321(0xb2))/0x9);if(_0x3a6127===_0x8eaf1b)break;else _0x35c59d['push'](_0x35c59d['shift']());}catch(_0x30204c){_0x35c59d['push'](_0x35c59d['shift']());}}}(a4_0x1d0f,0x663f0));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x268eaa(0x70));exports[a4_0x268eaa(0x76)]=function(_0xa77790){const _0x14774b=a4_0x268eaa;if(fs[_0x14774b(0x90)](_0xa77790)){const _0x1fe8ac=fs[_0x14774b(0x87)](_0xa77790);for(let _0x243c7a=0x0;_0x243c7a<_0x1fe8ac[_0x14774b(0xaf)];_0x243c7a++){const _0x5b2eda=_0x1fe8ac[_0x243c7a],_0x3250eb=_0xa77790+'/'+_0x5b2eda;fs[_0x14774b(0x80)](_0x3250eb)[_0x14774b(0x7e)]()?(exports['f_rm_rf'](_0x3250eb),fs['rmdirSync'](_0x3250eb)):fs[_0x14774b(0x93)](_0x3250eb);}}},exports['f_pull_git_repository']=function(_0x1e0b83=[]){const _0x11c9a6=a4_0x268eaa;return _0x1e0b83[_0x11c9a6(0x86)](_0x43ad0f=>{const _0x5826ad=_0x11c9a6,_0x433b4c=CLOUD_PROJECT[_0x43ad0f[_0x5826ad(0x88)]]||undefined,_0x181da9=os['tmpdir']();return{'path':_0x181da9+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x43ad0f[_0x5826ad(0x88)]+_0x5826ad(0xa6),'compress':_0x181da9+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x43ad0f[_0x5826ad(0x88)]+_0x5826ad(0x71),'repository':GIT_HOST+_0x5826ad(0x9e)+_0x433b4c[_0x5826ad(0xa5)]+_0x5826ad(0xb3)+_0x433b4c[_0x5826ad(0xa2)]+_0x5826ad(0xaa)};});},exports[a4_0x268eaa(0xb5)]=function(_0x886813){const _0x506f43=a4_0x268eaa;return fs[_0x506f43(0x90)](_0x886813+_0x506f43(0x9a));},exports[a4_0x268eaa(0xa8)]=function(_0x1eda37){const _0x20b6c1=a4_0x268eaa;let _0x213140={};try{_0x213140=JSON[_0x20b6c1(0x97)](fs['readFileSync'](_0x1eda37+'\x5cjjb.config.json')[_0x20b6c1(0x75)]());}catch(_0x3b8567){console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x20b6c1(0xac)](0x0);}!(_0x20b6c1(0x85)in _0x213140)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x92)),process[_0x20b6c1(0xac)](0x0));!(_0x20b6c1(0x7d)in _0x213140)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x8b)),process[_0x20b6c1(0xac)](0x0));!(_0x20b6c1(0x74)in _0x213140)&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x20b6c1(0xac)](0x0));typeof _0x213140[_0x20b6c1(0x85)]!==_0x20b6c1(0x72)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x91)),process[_0x20b6c1(0xac)](0x0));![_0x20b6c1(0x78),'spa',_0x20b6c1(0xb0),_0x20b6c1(0xa4)][_0x20b6c1(0x9c)](_0x213140[_0x20b6c1(0x85)])&&(console[_0x20b6c1(0x98)](_0x20b6c1(0xb1)),process[_0x20b6c1(0xac)](0x0));typeof _0x213140[_0x20b6c1(0x7d)]!==_0x20b6c1(0x72)&&(console['log']('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x20b6c1(0xac)](0x0));![_0x20b6c1(0x9b),_0x20b6c1(0xad)][_0x20b6c1(0x9c)](_0x213140[_0x20b6c1(0x7d)])&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x20b6c1(0xac)](0x0));!Array['isArray'](_0x213140[_0x20b6c1(0x74)])&&(console['log'](_0x20b6c1(0x81)),process['exit'](0x0));_0x213140[_0x20b6c1(0x74)][_0x20b6c1(0xaf)]===0x0&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x20b6c1(0xac)](0x0));const _0x20a16d=exports[_0x20b6c1(0x8a)](_0x213140[_0x20b6c1(0x74)]);return _0x20a16d[_0x20b6c1(0x86)](_0xa79367=>_0xa79367[_0x20b6c1(0x88)])[_0x20b6c1(0x83)](_0x591205=>![_0x20b6c1(0xab),_0x20b6c1(0x8c),_0x20b6c1(0xb4),'jjb-common-decorator',_0x20b6c1(0x7c),'vue-unisass-component'][_0x20b6c1(0x9c)](_0x591205))['length']!==0x0&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x8f)),process[_0x20b6c1(0xac)](0x0)),_0x213140['installResources']=_0x20a16d,_0x213140;},exports['f_create_package_json']=function(_0x1d9705,_0x599906,_0x29c8d0){const _0x50ee40=a4_0x268eaa;fs['writeFileSync'](_0x1d9705+_0x50ee40(0xa7),_0x50ee40(0x8e)+_0x599906+_0x50ee40(0x7f)+_0x29c8d0+_0x50ee40(0x79));},exports[a4_0x268eaa(0x8a)]=function(_0x31cf87=[]){const _0x3af381=a4_0x268eaa,_0x317ab1=[];return Array[_0x3af381(0x99)](_0x31cf87)&&_0x31cf87[_0x3af381(0xa0)](_0x43fd4d=>{const _0x53c533=_0x3af381;if(Array[_0x53c533(0x99)](_0x43fd4d)){const [_0x3a41bf,_0x4ba02b=[]]=_0x43fd4d;_0x317ab1[_0x53c533(0x7b)]({'name':_0x3a41bf,'importList':_0x4ba02b});}else _0x317ab1[_0x53c533(0x7b)]({'name':_0x43fd4d,'importList':[]});}),_0x317ab1;},exports[a4_0x268eaa(0x84)]=function(_0x551970,_0x2f8e3d,_0x305fa1){const _0x201beb=a4_0x268eaa,_0x52df80=JSON[_0x201beb(0x97)](fs[_0x201beb(0x82)](_0x551970)['toString']());_0x52df80['dependencies'][_0x2f8e3d]=_0x305fa1,fs['writeFileSync'](_0x551970,JSON[_0x201beb(0x73)](_0x52df80,null,0x2));},exports[a4_0x268eaa(0x8d)]=function(_0x5555d1,_0x3e1f10){const _0x3af0b9=a4_0x268eaa;fs[_0x3af0b9(0x87)](_0x5555d1)[_0x3af0b9(0xa0)](_0x3a37f5=>{const _0x416f19=_0x3af0b9,_0x1f06ef=_0x5555d1+'\x5c'+_0x3a37f5,_0x2b104f=_0x3e1f10+'\x5c'+_0x3a37f5;fs[_0x416f19(0x80)](_0x1f06ef)['isDirectory']()?(fs['mkdirSync'](_0x2b104f),exports[_0x416f19(0x8d)](_0x1f06ef,_0x2b104f)):fs[_0x416f19(0x89)](_0x2b104f,fs[_0x416f19(0x82)](_0x1f06ef)[_0x416f19(0x75)]());});},exports[a4_0x268eaa(0x95)]=function(_0x5512e2=[],_0x4414cf){const _0x4db8ef=a4_0x268eaa;_0x5512e2[_0x4db8ef(0xa0)](_0x1ae022=>{const _0x397e57=_0x4db8ef,_0x18fb9a=_0x4414cf+_0x1ae022[_0x397e57(0x9d)];if(fs[_0x397e57(0x90)](_0x18fb9a)){let _0x17fb27=fs[_0x397e57(0x82)](_0x18fb9a)['toString']();_0x1ae022[_0x397e57(0xa3)][_0x397e57(0xa0)](_0x16083a=>{_0x17fb27=_0x17fb27['replace'](_0x16083a[0x0],_0x16083a[0x1]);}),fs[_0x397e57(0x89)](_0x18fb9a,_0x17fb27);}});};
@@ -1 +1 @@
1
- const a5_0x5ef399=a5_0x19f9;function a5_0x19f9(_0x433562,_0x1545c1){const _0x788f0b=a5_0x788f();return a5_0x19f9=function(_0x19f991,_0x2e5a69){_0x19f991=_0x19f991-0x19a;let _0x1b625e=_0x788f0b[_0x19f991];return _0x1b625e;},a5_0x19f9(_0x433562,_0x1545c1);}(function(_0x315f50,_0x189b57){const _0x34d8c6=a5_0x19f9,_0x3f797b=_0x315f50();while(!![]){try{const _0x2070de=parseInt(_0x34d8c6(0x19b))/0x1+-parseInt(_0x34d8c6(0x19d))/0x2+-parseInt(_0x34d8c6(0x1ad))/0x3+-parseInt(_0x34d8c6(0x19a))/0x4*(parseInt(_0x34d8c6(0x1a1))/0x5)+-parseInt(_0x34d8c6(0x1af))/0x6*(parseInt(_0x34d8c6(0x1a6))/0x7)+parseInt(_0x34d8c6(0x19f))/0x8*(-parseInt(_0x34d8c6(0x1a0))/0x9)+parseInt(_0x34d8c6(0x1a5))/0xa*(parseInt(_0x34d8c6(0x1a8))/0xb);if(_0x2070de===_0x189b57)break;else _0x3f797b['push'](_0x3f797b['shift']());}catch(_0x21471d){_0x3f797b['push'](_0x3f797b['shift']());}}}(a5_0x788f,0x3ba4a));const child_process=require(a5_0x5ef399(0x1b4)),path=require(a5_0x5ef399(0x1a7)),fs=require('fs');function a5_0x788f(){const _0x290abf=['905146gXUUZP','Finish!','execSync','/.git','exports','687888XmQEQu','npm','99156UHVZzA','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','log','npx\x20husky\x20install','exit','child_process','1680372KLcqNp','440790ITfXOw','existsSync','287980oNrwFh','npm\x20install','8QMQEiC','1587555uAJCSm','5wbSNGD','includes','resolve','yarn','100VPMQMX','21eMXfnZ','path'];a5_0x788f=function(){return _0x290abf;};return a5_0x788f();}module[a5_0x5ef399(0x1ac)]=_0x3ac4ca=>{const _0x2b79e6=a5_0x5ef399;![_0x2b79e6(0x1ae),_0x2b79e6(0x1a4)][_0x2b79e6(0x1a2)](_0x3ac4ca)&&(console[_0x2b79e6(0x1b1)](_0x2b79e6(0x1b0)),process[_0x2b79e6(0x1b3)](0x0));const _0x513ea2=path[_0x2b79e6(0x1a3)]('./');console[_0x2b79e6(0x1b1)]('install\x20modules\x20please\x20wait....'),child_process[_0x2b79e6(0x1aa)](_0x3ac4ca===_0x2b79e6(0x1a4)?'yarn':_0x2b79e6(0x19e),{'cwd':_0x513ea2}),!fs[_0x2b79e6(0x19c)](_0x513ea2+_0x2b79e6(0x1ab))&&(console[_0x2b79e6(0x1b1)]('git\x20init\x20please\x20wait....'),child_process[_0x2b79e6(0x1aa)]('git\x20init',{'cwd':_0x513ea2})),console['log']('install\x20husky\x20please\x20wait....'),child_process[_0x2b79e6(0x1aa)](_0x2b79e6(0x1b2),{'cwd':_0x513ea2}),console[_0x2b79e6(0x1b1)](_0x2b79e6(0x1a9));};
1
+ const a5_0x94d3ae=a5_0x4d0c;(function(_0x2ad175,_0x58277e){const _0xf3b10b=a5_0x4d0c,_0xb7c263=_0x2ad175();while(!![]){try{const _0x41313a=parseInt(_0xf3b10b(0x1c5))/0x1+parseInt(_0xf3b10b(0x1c6))/0x2+parseInt(_0xf3b10b(0x1cb))/0x3+-parseInt(_0xf3b10b(0x1c9))/0x4*(-parseInt(_0xf3b10b(0x1b8))/0x5)+-parseInt(_0xf3b10b(0x1bd))/0x6+-parseInt(_0xf3b10b(0x1c4))/0x7+-parseInt(_0xf3b10b(0x1b9))/0x8*(-parseInt(_0xf3b10b(0x1b7))/0x9);if(_0x41313a===_0x58277e)break;else _0xb7c263['push'](_0xb7c263['shift']());}catch(_0x434af6){_0xb7c263['push'](_0xb7c263['shift']());}}}(a5_0x31d1,0x7d78f));function a5_0x31d1(){const _0x53b683=['install\x20modules\x20please\x20wait....','execSync','git\x20init\x20please\x20wait....','yarn','3319043dWnjvY','294832UBaEyB','281470dACSJP','exit','includes','285256NeKkOb','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','2310042Prrlev','npm\x20install','install\x20husky\x20please\x20wait....','exports','npx\x20husky\x20install','5535mvZKkY','20rYrZQW','6776GQLGcB','log','resolve','child_process','6141948moEgeY','existsSync','/.git'];a5_0x31d1=function(){return _0x53b683;};return a5_0x31d1();}const child_process=require(a5_0x94d3ae(0x1bc)),path=require('path'),fs=require('fs');function a5_0x4d0c(_0x451361,_0x54efdf){const _0x31d134=a5_0x31d1();return a5_0x4d0c=function(_0x4d0ca1,_0x59bda7){_0x4d0ca1=_0x4d0ca1-0x1b6;let _0x28a4d6=_0x31d134[_0x4d0ca1];return _0x28a4d6;},a5_0x4d0c(_0x451361,_0x54efdf);}module[a5_0x94d3ae(0x1ce)]=_0xb3c437=>{const _0x33f85d=a5_0x94d3ae;!['npm',_0x33f85d(0x1c3)][_0x33f85d(0x1c8)](_0xb3c437)&&(console[_0x33f85d(0x1ba)](_0x33f85d(0x1ca)),process[_0x33f85d(0x1c7)](0x0));const _0x2732a7=path[_0x33f85d(0x1bb)]('./');console[_0x33f85d(0x1ba)](_0x33f85d(0x1c0)),child_process[_0x33f85d(0x1c1)](_0xb3c437==='yarn'?_0x33f85d(0x1c3):_0x33f85d(0x1cc),{'cwd':_0x2732a7}),!fs[_0x33f85d(0x1be)](_0x2732a7+_0x33f85d(0x1bf))&&(console[_0x33f85d(0x1ba)](_0x33f85d(0x1c2)),child_process['execSync']('git\x20init',{'cwd':_0x2732a7})),console[_0x33f85d(0x1ba)](_0x33f85d(0x1cd)),child_process[_0x33f85d(0x1c1)](_0x33f85d(0x1b6),{'cwd':_0x2732a7}),console['log']('Finish!');};
@@ -1 +1 @@
1
- function a6_0x49d9(_0x3c3a64,_0x5e612a){const _0x2e78c1=a6_0x2e78();return a6_0x49d9=function(_0x49d941,_0x22c5fd){_0x49d941=_0x49d941-0xda;let _0x5db453=_0x2e78c1[_0x49d941];return _0x5db453;},a6_0x49d9(_0x3c3a64,_0x5e612a);}const a6_0x415480=a6_0x49d9;(function(_0x585518,_0x1df7dd){const _0x3efb04=a6_0x49d9,_0x287a57=_0x585518();while(!![]){try{const _0xef0d8e=parseInt(_0x3efb04(0x100))/0x1*(parseInt(_0x3efb04(0xf9))/0x2)+parseInt(_0x3efb04(0xf2))/0x3*(-parseInt(_0x3efb04(0xeb))/0x4)+parseInt(_0x3efb04(0xf1))/0x5+-parseInt(_0x3efb04(0xfd))/0x6+-parseInt(_0x3efb04(0x103))/0x7*(parseInt(_0x3efb04(0xee))/0x8)+-parseInt(_0x3efb04(0xf6))/0x9+parseInt(_0x3efb04(0xfe))/0xa;if(_0xef0d8e===_0x1df7dd)break;else _0x287a57['push'](_0x287a57['shift']());}catch(_0xeabc1e){_0x287a57['push'](_0x287a57['shift']());}}}(a6_0x2e78,0x87da7));const path=require(a6_0x415480(0xfc)),fs=require('fs'),os=require('os'),axios=require(a6_0x415480(0xf8)),{API_HOST}=require('../cmd.install/config');module[a6_0x415480(0xff)]=_0x117265=>{const _0x328f51=a6_0x415480,_0x317607=path[_0x328f51(0xe4)](__dirname,'../../../.auth');!fs[_0x328f51(0x102)](_0x317607)&&(console['log'](_0x328f51(0xf5)),process[_0x328f51(0xde)](0x0));const [_0x4df89a,_0x223598]=fs[_0x328f51(0xf0)](_0x317607)[_0x328f51(0xdf)]()[_0x328f51(0xe2)]('/');axios['post'](API_HOST+_0x328f51(0xfb),{'username':_0x4df89a,'password':_0x223598})[_0x328f51(0xea)](_0x48f6f5=>{const _0x1fe539=_0x328f51;if(_0x48f6f5[_0x1fe539(0xfa)][_0x1fe539(0xe0)]){const _0x42e192=path[_0x1fe539(0xe8)]('./'),_0x48c91e=_0x42e192+_0x1fe539(0xe6),_0x321272=_0x42e192+_0x1fe539(0xef),_0x90c253=[os[_0x1fe539(0xda)](),os[_0x1fe539(0xe7)](),os[_0x1fe539(0xec)](),new Date()['toString'](),JSON[_0x1fe539(0xdc)](os[_0x1fe539(0xe1)](),null,'\x09')];if(fs[_0x1fe539(0x102)](_0x321272)){if(fs['existsSync'](_0x48c91e)){const _0x3c719e=JSON[_0x1fe539(0x101)](fs[_0x1fe539(0xf0)](_0x321272)['toString']()),{name:_0x31d5cc,version:_0x5360f5}=_0x3c719e;_0x90c253['push'](JSON[_0x1fe539(0xdc)](_0x3c719e)),axios[_0x1fe539(0xe5)](API_HOST+'/api/file/push',{'username':_0x4df89a,'log_text':_0x90c253[_0x1fe539(0xe4)]('\x0a'),'package_name':_0x31d5cc,'package_version':_0x117265?_0x117265:_0x5360f5,'package_content':fs['readFileSync'](_0x48c91e)[_0x1fe539(0xdf)]()})[_0x1fe539(0xea)](_0x3c21c4=>{const _0x5aad39=_0x1fe539;console[_0x5aad39(0xe3)](_0x3c21c4[_0x5aad39(0xfa)][_0x5aad39(0xed)]),process['exit'](0x0);})[_0x1fe539(0xf7)](_0x188fa8=>{const _0x204dd3=_0x1fe539;console[_0x204dd3(0xe3)](_0x188fa8),console[_0x204dd3(0xe3)](_0x204dd3(0xdd)),process[_0x204dd3(0xde)](0x0);});}else console[_0x1fe539(0xe3)](_0x1fe539(0xdb)),process[_0x1fe539(0xde)](0x0);}else console[_0x1fe539(0xe3)](_0x1fe539(0xf4)),process[_0x1fe539(0xde)](0x0);}else console[_0x1fe539(0xe3)](_0x1fe539(0xe9));})[_0x328f51(0xf7)](_0x3ae235=>{const _0x9d496f=_0x328f51;console[_0x9d496f(0xe3)](_0x9d496f(0xf3));});};function a6_0x2e78(){const _0x2cc995=['17793100bHdDAc','exports','1TxplBX','parse','existsSync','1435ZzMinL','hostname','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','stringify','网络异常。','exit','toString','status','networkInterfaces','split','log','join','post','\x5cdist\x5cindex.js','platform','resolve','Auth\x20Fail!','then','92LPWcMU','arch','message','19000ThHsbA','\x5cpackage.json','readFileSync','2188195ucYSes','118983VhvtdH','Auth\x20NetWork\x20Fail!','发布失败!根目录缺少‘package.json’文件,无法完成发布。','【Error】:no\x20auth\x20login','3344292pFEsxh','catch','axios','848858mudcJe','data','/api/auth','path','1885542SEqNJK'];a6_0x2e78=function(){return _0x2cc995;};return a6_0x2e78();}
1
+ const a6_0x3bb0cb=a6_0x3d20;(function(_0x595572,_0x13af2b){const _0x24fb28=a6_0x3d20,_0x570ce1=_0x595572();while(!![]){try{const _0x820f57=parseInt(_0x24fb28(0x19f))/0x1*(parseInt(_0x24fb28(0x1ad))/0x2)+-parseInt(_0x24fb28(0x194))/0x3+parseInt(_0x24fb28(0x1ae))/0x4+parseInt(_0x24fb28(0x1a5))/0x5+parseInt(_0x24fb28(0x19c))/0x6+-parseInt(_0x24fb28(0x18f))/0x7+-parseInt(_0x24fb28(0x195))/0x8;if(_0x820f57===_0x13af2b)break;else _0x570ce1['push'](_0x570ce1['shift']());}catch(_0x3cdab2){_0x570ce1['push'](_0x570ce1['shift']());}}}(a6_0x356f,0xe5d5f));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a6_0x3bb0cb(0x19e)),{API_HOST}=require(a6_0x3bb0cb(0x1a7));function a6_0x3d20(_0x4bd5ce,_0x8e4b73){const _0x356f07=a6_0x356f();return a6_0x3d20=function(_0x3d201c,_0x33198c){_0x3d201c=_0x3d201c-0x18e;let _0x5dc9e0=_0x356f07[_0x3d201c];return _0x5dc9e0;},a6_0x3d20(_0x4bd5ce,_0x8e4b73);}function a6_0x356f(){const _0xf4d4c5=['Auth\x20NetWork\x20Fail!','status','9234490mdFCxh','platform','../cmd.install/config','log','网络异常。','\x5cdist\x5cindex.js','【Error】:no\x20auth\x20login','then','8czIXcn','5914988uOrkAI','catch','Auth\x20Fail!','5840233lXBaXC','post','resolve','stringify','../../../.auth','3763389VPWJOA','7655064BtGQeA','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','toString','message','/api/auth','exit','existsSync','1059738AFNiYW','readFileSync','axios','121201jIvfgI','发布失败!根目录缺少‘package.json’文件,无法完成发布。','split','join'];a6_0x356f=function(){return _0xf4d4c5;};return a6_0x356f();}module['exports']=_0x28d585=>{const _0x3e11d4=a6_0x3bb0cb,_0x17fb22=path[_0x3e11d4(0x1a2)](__dirname,_0x3e11d4(0x193));!fs[_0x3e11d4(0x19b)](_0x17fb22)&&(console[_0x3e11d4(0x1a8)](_0x3e11d4(0x1ab)),process[_0x3e11d4(0x19a)](0x0));const [_0x12165e,_0x1d5717]=fs[_0x3e11d4(0x19d)](_0x17fb22)[_0x3e11d4(0x197)]()[_0x3e11d4(0x1a1)]('/');axios[_0x3e11d4(0x190)](API_HOST+_0x3e11d4(0x199),{'username':_0x12165e,'password':_0x1d5717})[_0x3e11d4(0x1ac)](_0xb3c09c=>{const _0x41c166=_0x3e11d4;if(_0xb3c09c['data'][_0x41c166(0x1a4)]){const _0x3cee56=path[_0x41c166(0x191)]('./'),_0x1d20fc=_0x3cee56+_0x41c166(0x1aa),_0x51bee6=_0x3cee56+'\x5cpackage.json',_0x27cea5=[os['hostname'](),os[_0x41c166(0x1a6)](),os['arch'](),new Date()[_0x41c166(0x197)](),JSON[_0x41c166(0x192)](os['networkInterfaces'](),null,'\x09')];if(fs[_0x41c166(0x19b)](_0x51bee6)){if(fs['existsSync'](_0x1d20fc)){const _0x1eb622=JSON['parse'](fs[_0x41c166(0x19d)](_0x51bee6)[_0x41c166(0x197)]()),{name:_0x14df95,version:_0x686978}=_0x1eb622;_0x27cea5['push'](JSON['stringify'](_0x1eb622)),axios[_0x41c166(0x190)](API_HOST+'/api/file/push',{'username':_0x12165e,'log_text':_0x27cea5[_0x41c166(0x1a2)]('\x0a'),'package_name':_0x14df95,'package_version':_0x28d585?_0x28d585:_0x686978,'package_content':fs[_0x41c166(0x19d)](_0x1d20fc)['toString']()})[_0x41c166(0x1ac)](_0x4c1660=>{const _0x30f634=_0x41c166;console[_0x30f634(0x1a8)](_0x4c1660['data'][_0x30f634(0x198)]),process['exit'](0x0);})[_0x41c166(0x1af)](_0xcd85d3=>{const _0x228963=_0x41c166;console[_0x228963(0x1a8)](_0xcd85d3),console['log'](_0x228963(0x1a9)),process[_0x228963(0x19a)](0x0);});}else console['log'](_0x41c166(0x196)),process[_0x41c166(0x19a)](0x0);}else console['log'](_0x41c166(0x1a0)),process[_0x41c166(0x19a)](0x0);}else console[_0x41c166(0x1a8)](_0x41c166(0x18e));})[_0x3e11d4(0x1af)](_0x81f17c=>{const _0x192eee=_0x3e11d4;console[_0x192eee(0x1a8)](_0x192eee(0x1a3));});};
@@ -1 +1 @@
1
- const a7_0x19e4a8=a7_0x4a8b;(function(_0x4efe41,_0x45be0f){const _0x200d42=a7_0x4a8b,_0x152404=_0x4efe41();while(!![]){try{const _0x43b859=parseInt(_0x200d42(0x75))/0x1*(parseInt(_0x200d42(0x89))/0x2)+-parseInt(_0x200d42(0x9b))/0x3*(-parseInt(_0x200d42(0x9f))/0x4)+-parseInt(_0x200d42(0x7b))/0x5+-parseInt(_0x200d42(0x8b))/0x6+-parseInt(_0x200d42(0x7d))/0x7*(parseInt(_0x200d42(0x9c))/0x8)+-parseInt(_0x200d42(0x72))/0x9+parseInt(_0x200d42(0x76))/0xa;if(_0x43b859===_0x45be0f)break;else _0x152404['push'](_0x152404['shift']());}catch(_0x4993a7){_0x152404['push'](_0x152404['shift']());}}}(a7_0x27b9,0x56b2e));function a7_0x4a8b(_0x20a232,_0xf1d0){const _0x27b9be=a7_0x27b9();return a7_0x4a8b=function(_0x4a8b9f,_0x34524b){_0x4a8b9f=_0x4a8b9f-0x6f;let _0x2febcf=_0x27b9be[_0x4a8b9f];return _0x2febcf;},a7_0x4a8b(_0x20a232,_0xf1d0);}const fs=require('fs'),os=require('os'),path=require('path'),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require(a7_0x19e4a8(0x7c)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x19e4a8(0x9d)),axios=require('axios');module[a7_0x19e4a8(0x85)]=arguments=>{const _0x35916e=a7_0x19e4a8,_0x498573=path['join'](__dirname,_0x35916e(0x70));!fs[_0x35916e(0x79)](_0x498573)&&(console[_0x35916e(0x88)]('【Error】:no\x20auth\x20login'),process[_0x35916e(0x80)](0x0));const _0x8f4bf6=arguments[0x1],_0x55acbf=arguments[0x2]||_0x35916e(0x95),_0x10a77e=path[_0x35916e(0x97)]('./'),_0x2aaafc=_0x10a77e+'\x5cjjb.config.json',_0x3d9a21=_0x10a77e+_0x35916e(0x98),_0x32e97a=os[_0x35916e(0x8e)](),[_0x5e10d3,_0x2a0d44]=fs[_0x35916e(0x8c)](_0x498573)[_0x35916e(0x6f)]()[_0x35916e(0x8f)]('/');axios[_0x35916e(0x7f)](API_HOST+_0x35916e(0x99),{'username':_0x5e10d3,'password':_0x2a0d44})[_0x35916e(0x87)](_0x3a1dc1=>{const _0x5bdb4b=_0x35916e;if(_0x3a1dc1['data']['status']){if(fs[_0x5bdb4b(0x79)](_0x2aaafc)){const _0x18a128=JSON[_0x5bdb4b(0x9a)](fs[_0x5bdb4b(0x8c)](_0x2aaafc)[_0x5bdb4b(0x6f)]());if(_0x18a128[_0x5bdb4b(0x81)]){const _0x105e31=_0x32e97a+'/'+GIT_TEMP_JAVA;!fs[_0x5bdb4b(0x79)](_0x105e31)&&(fs[_0x5bdb4b(0x74)](_0x105e31),child_process[_0x5bdb4b(0x8d)](_0x5bdb4b(0x82)+_0x18a128[_0x5bdb4b(0x81)],{'cwd':_0x105e31})),_0x24ccf5(_0x105e31,_0x18a128);}else console[_0x5bdb4b(0x88)](_0x5bdb4b(0x8a));}}else console['log']('Auth\x20Fail!');})[_0x35916e(0x9e)](_0x30a9f4=>{const _0x1ce17e=_0x35916e;console[_0x1ce17e(0x88)](_0x1ce17e(0x71));});arguments[_0x35916e(0x78)]<0x2&&(console['log']('【Error】:参数传递错误'),process[_0x35916e(0x80)](0x0));function _0x24ccf5(_0x3c9690,_0x59d96c){const _0x274983=_0x35916e,_0x41e46a=_0x3c9690+'/'+_0x59d96c[_0x274983(0x91)];!fs[_0x274983(0x79)](_0x41e46a)&&(console['log'](_0x274983(0x73)),process[_0x274983(0x80)](0x0));child_process[_0x274983(0x8d)]('git\x20pull',{'cwd':_0x41e46a});!fs['existsSync'](_0x10a77e+_0x274983(0x7a))?(console[_0x274983(0x88)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process['execSync'](_0x274983(0x7e),{'cwd':_0x10a77e}),console[_0x274983(0x88)](_0x274983(0x93))):console[_0x274983(0x88)](_0x274983(0x77)+_0x8f4bf6+_0x274983(0x96));child_process[_0x274983(0x8d)]('yarn\x20build:'+_0x8f4bf6,{'cwd':_0x10a77e}),console[_0x274983(0x88)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x274983(0x79)](_0x3d9a21)){const _0x13669c=_0x41e46a+_0x274983(0x84)+GIT_JAVA_ENV_JSON[_0x8f4bf6];DeleteDirAllFile(_0x13669c,()=>{fs['mkdirSync'](_0x13669c),CopyFolder(_0x3d9a21,_0x13669c,()=>{const _0x431f62=a7_0x4a8b;console[_0x431f62(0x88)]('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x1b89e6=_0x431f62;child_process[_0x1b89e6(0x8d)](_0x1b89e6(0x90),{'cwd':_0x41e46a}),console[_0x1b89e6(0x88)](_0x1b89e6(0x92));try{child_process[_0x1b89e6(0x8d)](_0x1b89e6(0x83)+_0x55acbf+'\x20--no-verify',{'cwd':_0x41e46a}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0x9e365c){console['log'](_0x1b89e6(0x86));}child_process[_0x1b89e6(0x8d)]('git\x20push\x20-f',{'cwd':_0x41e46a}),console[_0x1b89e6(0x88)]('Git\x20Push\x20Done!');},0x3e8);});});}else console[_0x274983(0x88)](_0x274983(0x94));}};function a7_0x27b9(){const _0x3f96ba=['execSync','tmpdir','split','git\x20add\x20.','gitName','Git\x20Add\x20Done,git\x20commit,please\x20wait...','yarn\x20install\x20Done!','【Error】:打包失败,没有dist目录!','no\x20message',',please\x20wait...','resolve','\x5cdist','/api/auth','parse','1314TYucpu','1881184yGXwDr','../cmd.install/config','catch','4844lprBLq','toString','../../../.auth','Auth\x20NetWork\x20Fail!','1707201mGfLTg','【Error】:no\x20setting\x20gitName','mkdirSync','293qbQKgS','8947390CXUeUu','Git\x20Pull\x20Done,yarn\x20build:','length','existsSync','/node_modules','2843450oItRFO','../../old/util','7ixenXG','yarn','post','exit','git','git\x20clone\x20','git\x20commit\x20-m\x20','/src/main/resources/templates/','exports','【warning】:no\x20commit,git\x20push,please\x20wait...','then','log','4246UtpzHH','【Error】:no\x20setting\x20git','4191306lgjjHg','readFileSync'];a7_0x27b9=function(){return _0x3f96ba;};return a7_0x27b9();}
1
+ const a7_0x329740=a7_0x5845;(function(_0x4af1e3,_0x478dbf){const _0x5669de=a7_0x5845,_0x393dfb=_0x4af1e3();while(!![]){try{const _0xe365e5=-parseInt(_0x5669de(0x1cc))/0x1*(parseInt(_0x5669de(0x1e4))/0x2)+-parseInt(_0x5669de(0x1cd))/0x3*(-parseInt(_0x5669de(0x1cf))/0x4)+-parseInt(_0x5669de(0x1df))/0x5*(parseInt(_0x5669de(0x1c1))/0x6)+-parseInt(_0x5669de(0x1f4))/0x7+parseInt(_0x5669de(0x1bf))/0x8*(parseInt(_0x5669de(0x1d6))/0x9)+-parseInt(_0x5669de(0x1ca))/0xa+parseInt(_0x5669de(0x1ec))/0xb;if(_0xe365e5===_0x478dbf)break;else _0x393dfb['push'](_0x393dfb['shift']());}catch(_0x53bf1d){_0x393dfb['push'](_0x393dfb['shift']());}}}(a7_0x5c17,0xd8c08));const fs=require('fs'),os=require('os'),path=require(a7_0x329740(0x1c8)),child_process=require(a7_0x329740(0x1e8)),{CopyFolder,DeleteDirAllFile}=require(a7_0x329740(0x1b8)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x329740(0x1c2)),axios=require(a7_0x329740(0x1e1));function a7_0x5c17(){const _0x50ed48=['5705900iSlaso','Git\x20Pull\x20Done,yarn\x20build:','5kAmcVa','1528425ceiUUp','Auth\x20Fail!','4rdBjqP','post','split','/src/main/resources/templates/','exit','/node_modules','status','16101nHpZaM','【Error】:no\x20setting\x20gitName','execSync','git\x20commit\x20-m\x20','readFileSync','\x20--no-verify','../../../.auth','exports','\x5cjjb.config.json','1150HTtUty','Git\x20Push\x20Done!','axios','tmpdir',',please\x20wait...','48366fvLgZz','【Error】:no\x20auth\x20login','existsSync','git\x20pull','child_process','【warning】:no\x20commit,git\x20push,please\x20wait...','catch','yarn\x20install\x20Done!','24741596EQAvlF','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','git\x20add\x20.','git\x20clone\x20','yarn','Auth\x20NetWork\x20Fail!','gitName','toString','11464110PTZhBi','mkdirSync','log','git','../../old/util','/api/auth','Git\x20Add\x20Done,git\x20commit,please\x20wait...','parse','data','no\x20message','length','3760XckhmF','join','9978fyPQIH','../cmd.install/config','【Error】:参数传递错误','【Error】:打包失败,没有dist目录!','【Error】:no\x20setting\x20git','\x5cdist','yarn\x20build:','path','git\x20push\x20-f'];a7_0x5c17=function(){return _0x50ed48;};return a7_0x5c17();}function a7_0x5845(_0x19e862,_0xed8d69){const _0x5c17e3=a7_0x5c17();return a7_0x5845=function(_0x5845e3,_0x3e7e99){_0x5845e3=_0x5845e3-0x1b6;let _0x441ca2=_0x5c17e3[_0x5845e3];return _0x441ca2;},a7_0x5845(_0x19e862,_0xed8d69);}module[a7_0x329740(0x1dd)]=arguments=>{const _0x328d4f=a7_0x329740,_0x46fe1d=path[_0x328d4f(0x1c0)](__dirname,_0x328d4f(0x1dc));!fs['existsSync'](_0x46fe1d)&&(console[_0x328d4f(0x1b6)](_0x328d4f(0x1e5)),process[_0x328d4f(0x1d3)](0x0));const _0xafc99d=arguments[0x1],_0x24de1=arguments[0x2]||_0x328d4f(0x1bd),_0x41dda1=path['resolve']('./'),_0x81a936=_0x41dda1+_0x328d4f(0x1de),_0x110942=_0x41dda1+_0x328d4f(0x1c6),_0x4f37b8=os[_0x328d4f(0x1e2)](),[_0x414647,_0x28d836]=fs[_0x328d4f(0x1da)](_0x46fe1d)[_0x328d4f(0x1f3)]()[_0x328d4f(0x1d1)]('/');axios[_0x328d4f(0x1d0)](API_HOST+_0x328d4f(0x1b9),{'username':_0x414647,'password':_0x28d836})['then'](_0x5ef805=>{const _0x4fe681=_0x328d4f;if(_0x5ef805[_0x4fe681(0x1bc)][_0x4fe681(0x1d5)]){if(fs['existsSync'](_0x81a936)){const _0x855336=JSON[_0x4fe681(0x1bb)](fs[_0x4fe681(0x1da)](_0x81a936)['toString']());if(_0x855336[_0x4fe681(0x1b7)]){const _0x15a381=_0x4f37b8+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x15a381)&&(fs[_0x4fe681(0x1f5)](_0x15a381),child_process['execSync'](_0x4fe681(0x1ef)+_0x855336[_0x4fe681(0x1b7)],{'cwd':_0x15a381})),_0x11a0f6(_0x15a381,_0x855336);}else console[_0x4fe681(0x1b6)](_0x4fe681(0x1c5));}}else console['log'](_0x4fe681(0x1ce));})[_0x328d4f(0x1ea)](_0x513b50=>{const _0x5ee9ab=_0x328d4f;console['log'](_0x5ee9ab(0x1f1));});arguments[_0x328d4f(0x1be)]<0x2&&(console['log'](_0x328d4f(0x1c3)),process[_0x328d4f(0x1d3)](0x0));function _0x11a0f6(_0x283a39,_0x2dd0d8){const _0x4cccfe=_0x328d4f,_0x2bdcd4=_0x283a39+'/'+_0x2dd0d8[_0x4cccfe(0x1f2)];!fs[_0x4cccfe(0x1e6)](_0x2bdcd4)&&(console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1d7)),process[_0x4cccfe(0x1d3)](0x0));child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1e7),{'cwd':_0x2bdcd4});!fs[_0x4cccfe(0x1e6)](_0x41dda1+_0x4cccfe(0x1d4))?(console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1ed)),child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1f0),{'cwd':_0x41dda1}),console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1eb))):console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1cb)+_0xafc99d+_0x4cccfe(0x1e3));child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1c7)+_0xafc99d,{'cwd':_0x41dda1}),console[_0x4cccfe(0x1b6)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4cccfe(0x1e6)](_0x110942)){const _0x4ca0a4=_0x2bdcd4+_0x4cccfe(0x1d2)+GIT_JAVA_ENV_JSON[_0xafc99d];DeleteDirAllFile(_0x4ca0a4,()=>{const _0x3c0b1e=_0x4cccfe;fs[_0x3c0b1e(0x1f5)](_0x4ca0a4),CopyFolder(_0x110942,_0x4ca0a4,()=>{const _0xa27442=_0x3c0b1e;console[_0xa27442(0x1b6)]('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x201c8d=_0xa27442;child_process[_0x201c8d(0x1d8)](_0x201c8d(0x1ee),{'cwd':_0x2bdcd4}),console['log'](_0x201c8d(0x1ba));try{child_process[_0x201c8d(0x1d8)](_0x201c8d(0x1d9)+_0x24de1+_0x201c8d(0x1db),{'cwd':_0x2bdcd4}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0xf7dcbf){console['log'](_0x201c8d(0x1e9));}child_process['execSync'](_0x201c8d(0x1c9),{'cwd':_0x2bdcd4}),console['log'](_0x201c8d(0x1e0));},0x3e8);});});}else console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1c4));}};
@@ -1 +1 @@
1
- function a8_0x5075(_0x40c878,_0xc089f9){const _0x4fc8d5=a8_0x4fc8();return a8_0x5075=function(_0x507501,_0x4669a9){_0x507501=_0x507501-0x1e3;let _0x12fc01=_0x4fc8d5[_0x507501];return _0x12fc01;},a8_0x5075(_0x40c878,_0xc089f9);}const a8_0x1a980b=a8_0x5075;function a8_0x4fc8(){const _0x5cab47=['log','?v=','1755870OjIsZK','localDir','writeFileSync','94655dquSQW','112QZKxOI','313128VRFFLr','349757hOWzZC','get','files','includes','proxy.js','eslint','length','119133VCHZfP','jjb.script','path','\x20file,\x20available:[eslint,\x20prettier]','data','.eslintrc.js','.eslintignore','6qHmfFM','All\x20Finish!','exports','.prettierrc.js','990okfNjT','error','build.js','\x20file\x20Success!','utils.js','prettier','keys','config.js','467136GMBTPk','228234MScAnC','54VAxDTH','https','exit','.prettierignore'];a8_0x4fc8=function(){return _0x5cab47;};return a8_0x4fc8();}(function(_0x274fd8,_0x111b43){const _0x5a2ab1=a8_0x5075,_0x3c07e7=_0x274fd8();while(!![]){try{const _0x500c11=parseInt(_0x5a2ab1(0x1e3))/0x1+-parseInt(_0x5a2ab1(0x1f1))/0x2*(-parseInt(_0x5a2ab1(0x1fe))/0x3)+-parseInt(_0x5a2ab1(0x1fd))/0x4+-parseInt(_0x5a2ab1(0x205))/0x5+parseInt(_0x5a2ab1(0x1ff))/0x6*(-parseInt(_0x5a2ab1(0x1ea))/0x7)+parseInt(_0x5a2ab1(0x209))/0x8*(-parseInt(_0x5a2ab1(0x20a))/0x9)+-parseInt(_0x5a2ab1(0x1f5))/0xa*(-parseInt(_0x5a2ab1(0x208))/0xb);if(_0x500c11===_0x111b43)break;else _0x3c07e7['push'](_0x3c07e7['shift']());}catch(_0x7af455){_0x3c07e7['push'](_0x3c07e7['shift']());}}}(a8_0x4fc8,0x4e885));const https=require(a8_0x1a980b(0x200)),fs=require('fs'),path=require(a8_0x1a980b(0x1ec)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a8_0x1a980b(0x1e8),'files':[a8_0x1a980b(0x1ef),a8_0x1a980b(0x1f0)]},'prettier':{'remoteDir':a8_0x1a980b(0x1fa),'files':[a8_0x1a980b(0x1f4),a8_0x1a980b(0x202)]},'jjb_script':{'remoteDir':a8_0x1a980b(0x1eb),'localDir':a8_0x1a980b(0x1eb),'files':[a8_0x1a980b(0x1f7),a8_0x1a980b(0x1fc),a8_0x1a980b(0x1e7),'server.js',a8_0x1a980b(0x1f9)]}},root_path=path['resolve']('./');function recursion(_0x1c06da,_0x554557,_0x56dbce){const _0x8e2e7b=a8_0x1a980b,_0x19e359=_0x1c06da['files'][_0x554557];https[_0x8e2e7b(0x1e4)](CONFIG_FILE_HOST+'/'+(_0x1c06da['remoteDir']?_0x1c06da['remoteDir']+'/':'')+_0x19e359+_0x8e2e7b(0x204)+new Date()['getTime'](),_0x522ea8=>{const _0x37c5a3=_0x8e2e7b;let _0x2b239e='';_0x522ea8['on'](_0x37c5a3(0x1ee),_0x141021=>{_0x2b239e+=_0x141021;}),_0x522ea8['on']('end',()=>{const _0x58f357=_0x37c5a3;_0x2b239e&&(fs[_0x58f357(0x207)](root_path+'/'+(_0x1c06da['localDir']?_0x1c06da[_0x58f357(0x206)]+'/':'')+_0x19e359,_0x2b239e),console['log'](_0x19e359+_0x58f357(0x1f8)),_0x554557<_0x1c06da[_0x58f357(0x1e5)][_0x58f357(0x1e9)]-0x1?(_0x554557++,recursion(_0x1c06da,_0x554557,_0x56dbce)):(console[_0x58f357(0x203)](_0x58f357(0x1f2)),_0x56dbce&&_0x56dbce()));})['on'](_0x37c5a3(0x1f6),_0xc040d7=>{const _0x17011c=_0x37c5a3;console[_0x17011c(0x203)]('http\x20error\x20',_0xc040d7);});});}module[a8_0x1a980b(0x1f3)]=_0x5da3b3=>{const _0x346294=a8_0x1a980b;!Object[_0x346294(0x1fb)](REGISTRY)[_0x346294(0x1e6)](_0x5da3b3)&&(console[_0x346294(0x203)]('【Error】:no\x20'+_0x5da3b3+_0x346294(0x1ed)),process[_0x346294(0x201)](0x0)),recursion(REGISTRY[_0x5da3b3],0x0);};
1
+ function a8_0x4b9f(_0x30422b,_0x4f2e37){const _0x975150=a8_0x9751();return a8_0x4b9f=function(_0x4b9f03,_0x41c339){_0x4b9f03=_0x4b9f03-0x1ae;let _0x20c4ff=_0x975150[_0x4b9f03];return _0x20c4ff;},a8_0x4b9f(_0x30422b,_0x4f2e37);}const a8_0x1e2b8d=a8_0x4b9f;(function(_0x181bb4,_0x50fc3e){const _0x59d924=a8_0x4b9f,_0x44d352=_0x181bb4();while(!![]){try{const _0x687497=parseInt(_0x59d924(0x1bd))/0x1*(parseInt(_0x59d924(0x1c3))/0x2)+-parseInt(_0x59d924(0x1c2))/0x3*(-parseInt(_0x59d924(0x1c4))/0x4)+-parseInt(_0x59d924(0x1b9))/0x5+parseInt(_0x59d924(0x1d0))/0x6+parseInt(_0x59d924(0x1d1))/0x7*(parseInt(_0x59d924(0x1d5))/0x8)+parseInt(_0x59d924(0x1bb))/0x9*(-parseInt(_0x59d924(0x1b0))/0xa)+-parseInt(_0x59d924(0x1d3))/0xb;if(_0x687497===_0x50fc3e)break;else _0x44d352['push'](_0x44d352['shift']());}catch(_0x21b7c5){_0x44d352['push'](_0x44d352['shift']());}}}(a8_0x9751,0xa505f));const https=require(a8_0x1e2b8d(0x1c1)),fs=require('fs'),path=require(a8_0x1e2b8d(0x1bc)),{CONFIG_FILE_HOST}=require(a8_0x1e2b8d(0x1ae)),REGISTRY={'eslint':{'remoteDir':'eslint','files':['.eslintrc.js',a8_0x1e2b8d(0x1c9)]},'prettier':{'remoteDir':a8_0x1e2b8d(0x1ba),'files':['.prettierrc.js',a8_0x1e2b8d(0x1cb)]},'jjb_script':{'remoteDir':'jjb.script','localDir':'jjb.script','files':[a8_0x1e2b8d(0x1c6),a8_0x1e2b8d(0x1ca),a8_0x1e2b8d(0x1b5),a8_0x1e2b8d(0x1c0),'utils.js']},'babel':{'remoteDir':a8_0x1e2b8d(0x1c5),'files':[a8_0x1e2b8d(0x1b7)]}},root_path=path[a8_0x1e2b8d(0x1af)]('./');function a8_0x9751(){const _0x4072c6=['.babelrc','\x20file\x20Success!','3930910nZWAJQ','prettier','549720YQwhCr','path','138YtwBHV','includes','files','server.js','https','3117flbCLs','16262auOtlv','1900naCCWr','babel','build.js','http\x20error\x20','localDir','.eslintignore','config.js','.prettierignore','All\x20Finish!','data','\x20file,\x20available:[','length','3148182IItDGf','7XfXZka','get','8515716ehrEpE','log','8097384IebBfn','../cmd.install/config','resolve','150sYucDy','join','?v=','【Error】:no\x20','exit','proxy.js','remoteDir'];a8_0x9751=function(){return _0x4072c6;};return a8_0x9751();}function recursion(_0x48f1de,_0x5973ea,_0x2a393a){const _0x458668=a8_0x1e2b8d,_0x1d827b=_0x48f1de[_0x458668(0x1bf)][_0x5973ea];https[_0x458668(0x1d2)](CONFIG_FILE_HOST+'/'+(_0x48f1de[_0x458668(0x1b6)]?_0x48f1de[_0x458668(0x1b6)]+'/':'')+_0x1d827b+_0x458668(0x1b2)+new Date()['getTime'](),_0x312a51=>{const _0x4d413a=_0x458668;let _0x3350c5='';_0x312a51['on'](_0x4d413a(0x1cd),_0x3a233f=>{_0x3350c5+=_0x3a233f;}),_0x312a51['on']('end',()=>{const _0x2174d8=_0x4d413a;_0x3350c5&&(fs['writeFileSync'](root_path+'/'+(_0x48f1de['localDir']?_0x48f1de[_0x2174d8(0x1c8)]+'/':'')+_0x1d827b,_0x3350c5),console['log'](_0x1d827b+_0x2174d8(0x1b8)),_0x5973ea<_0x48f1de[_0x2174d8(0x1bf)][_0x2174d8(0x1cf)]-0x1?(_0x5973ea++,recursion(_0x48f1de,_0x5973ea,_0x2a393a)):(console[_0x2174d8(0x1d4)](_0x2174d8(0x1cc)),_0x2a393a&&_0x2a393a()));})['on']('error',_0x574570=>{const _0x30444c=_0x4d413a;console[_0x30444c(0x1d4)](_0x30444c(0x1c7),_0x574570);});});}module['exports']=_0x539042=>{const _0x11edd4=a8_0x1e2b8d;!Object['keys'](REGISTRY)[_0x11edd4(0x1be)](_0x539042)&&(console[_0x11edd4(0x1d4)](_0x11edd4(0x1b3)+_0x539042+_0x11edd4(0x1ce)+Object['keys'](REGISTRY)[_0x11edd4(0x1b1)]('/')+']'),process[_0x11edd4(0x1b4)](0x0)),recursion(REGISTRY[_0x539042],0x0);};
@@ -1 +1 @@
1
- function a9_0x46bf(){const _0x3149ed=['host','then','356195jgtAAN','axios','data','11886HgfGrQ','网络异常。','6deZwUf','http://120.26.210.58:8088/api/file/config','152uKfGOS','status','message','exports','exit','catch','post','478935xScZBT','port','server','163210mmbBoo','3643156rfUTBO','10226460nmOSYE','log','components','10kSBsys','174555JYmvlR'];a9_0x46bf=function(){return _0x3149ed;};return a9_0x46bf();}function a9_0x5483(_0x1c74d1,_0xd2052c){const _0x46bf8a=a9_0x46bf();return a9_0x5483=function(_0x548390,_0x2eaca5){_0x548390=_0x548390-0x15a;let _0x9c7202=_0x46bf8a[_0x548390];return _0x9c7202;},a9_0x5483(_0x1c74d1,_0xd2052c);}const a9_0x5be2f7=a9_0x5483;(function(_0x529c7c,_0x2baf75){const _0x3fe61f=a9_0x5483,_0x231177=_0x529c7c();while(!![]){try{const _0x52fcae=-parseInt(_0x3fe61f(0x170))/0x1+parseInt(_0x3fe61f(0x169))/0x2*(parseInt(_0x3fe61f(0x161))/0x3)+-parseInt(_0x3fe61f(0x165))/0x4+-parseInt(_0x3fe61f(0x164))/0x5*(parseInt(_0x3fe61f(0x172))/0x6)+parseInt(_0x3fe61f(0x16d))/0x7+-parseInt(_0x3fe61f(0x15a))/0x8*(parseInt(_0x3fe61f(0x16a))/0x9)+parseInt(_0x3fe61f(0x166))/0xa;if(_0x52fcae===_0x2baf75)break;else _0x231177['push'](_0x231177['shift']());}catch(_0x218dbe){_0x231177['push'](_0x231177['shift']());}}}(a9_0x46bf,0x85c5e));const axios=require(a9_0x5be2f7(0x16e));module[a9_0x5be2f7(0x15d)]=_0xcc03fd=>{const _0x38605e=a9_0x5be2f7;axios[_0x38605e(0x160)](_0x38605e(0x173))[_0x38605e(0x16c)](_0x13cb44=>{const _0x34fd4f=_0x38605e;if(_0x13cb44[_0x34fd4f(0x16f)][_0x34fd4f(0x15b)]){const _0x114b07=_0x13cb44[_0x34fd4f(0x16f)]['data'];_0xcc03fd===_0x34fd4f(0x163)&&(console['log'](_0x114b07[_0x34fd4f(0x16b)]),console[_0x34fd4f(0x167)](_0x114b07[_0x34fd4f(0x162)])),_0xcc03fd===_0x34fd4f(0x168)&&console[_0x34fd4f(0x167)](_0x114b07['components']);}else console['log'](_0x13cb44[_0x34fd4f(0x16f)][_0x34fd4f(0x15c)]);process['exit'](0x0);})[_0x38605e(0x15f)](()=>{const _0x290793=_0x38605e;console[_0x290793(0x167)](_0x290793(0x171)),process[_0x290793(0x15e)](0x0);});};
1
+ const a9_0x440468=a9_0x4130;function a9_0x4130(_0x4dc492,_0x4dab7e){const _0xe7d129=a9_0xe7d1();return a9_0x4130=function(_0x4130e7,_0x3ac586){_0x4130e7=_0x4130e7-0x1a6;let _0x2f1698=_0xe7d129[_0x4130e7];return _0x2f1698;},a9_0x4130(_0x4dc492,_0x4dab7e);}(function(_0x3d9b9e,_0x388af7){const _0x3fc678=a9_0x4130,_0x3d114a=_0x3d9b9e();while(!![]){try{const _0x187da7=-parseInt(_0x3fc678(0x1a7))/0x1*(parseInt(_0x3fc678(0x1be))/0x2)+parseInt(_0x3fc678(0x1b4))/0x3+parseInt(_0x3fc678(0x1a8))/0x4+parseInt(_0x3fc678(0x1b1))/0x5*(parseInt(_0x3fc678(0x1b3))/0x6)+-parseInt(_0x3fc678(0x1ae))/0x7*(-parseInt(_0x3fc678(0x1b9))/0x8)+parseInt(_0x3fc678(0x1ba))/0x9*(-parseInt(_0x3fc678(0x1b0))/0xa)+-parseInt(_0x3fc678(0x1a9))/0xb;if(_0x187da7===_0x388af7)break;else _0x3d114a['push'](_0x3d114a['shift']());}catch(_0x18e565){_0x3d114a['push'](_0x3d114a['shift']());}}}(a9_0xe7d1,0x450ec));function a9_0xe7d1(){const _0x32da39=['catch','port','1407adXlcv','exports','1340XPxjAL','235owlPLq','axios','17502QFNpCS','482946iwuofw','status','data','message','log','10552skgPWZ','603MupMyD','host','then','components','515402oofMTq','网络异常。','2fquPmu','2139480nZdneX','3199130mudKNp','http://120.26.210.58:8088/api/file/config','exit'];a9_0xe7d1=function(){return _0x32da39;};return a9_0xe7d1();}const axios=require(a9_0x440468(0x1b2));module[a9_0x440468(0x1af)]=_0x9d56ea=>{const _0x392b15=a9_0x440468;axios['post'](_0x392b15(0x1aa))[_0x392b15(0x1bc)](_0x1609e0=>{const _0x3092fe=_0x392b15;if(_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b5)]){const _0x1bb7a8=_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b6)];_0x9d56ea==='server'&&(console[_0x3092fe(0x1b8)](_0x1bb7a8[_0x3092fe(0x1bb)]),console['log'](_0x1bb7a8[_0x3092fe(0x1ad)])),_0x9d56ea==='components'&&console[_0x3092fe(0x1b8)](_0x1bb7a8[_0x3092fe(0x1bd)]);}else console[_0x3092fe(0x1b8)](_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b7)]);process[_0x3092fe(0x1ab)](0x0);})[_0x392b15(0x1ac)](()=>{const _0x460e24=_0x392b15;console[_0x460e24(0x1b8)](_0x460e24(0x1a6)),process[_0x460e24(0x1ab)](0x0);});};
@@ -1 +1 @@
1
- const a10_0x2c0a1a=a10_0x4bf0;function a10_0x4bf0(_0xdefa3c,_0x3333ff){const _0x39e70a=a10_0x39e7();return a10_0x4bf0=function(_0x4bf07f,_0x3fbfb0){_0x4bf07f=_0x4bf07f-0x181;let _0x447da7=_0x39e70a[_0x4bf07f];return _0x447da7;},a10_0x4bf0(_0xdefa3c,_0x3333ff);}(function(_0x7070e7,_0xc1712b){const _0x39d519=a10_0x4bf0,_0x290e45=_0x7070e7();while(!![]){try{const _0x2320dd=parseInt(_0x39d519(0x194))/0x1+parseInt(_0x39d519(0x187))/0x2*(parseInt(_0x39d519(0x197))/0x3)+-parseInt(_0x39d519(0x19e))/0x4*(-parseInt(_0x39d519(0x18d))/0x5)+-parseInt(_0x39d519(0x18e))/0x6+parseInt(_0x39d519(0x18c))/0x7*(-parseInt(_0x39d519(0x189))/0x8)+parseInt(_0x39d519(0x199))/0x9+-parseInt(_0x39d519(0x198))/0xa;if(_0x2320dd===_0xc1712b)break;else _0x290e45['push'](_0x290e45['shift']());}catch(_0x56d90f){_0x290e45['push'](_0x290e45['shift']());}}}(a10_0x39e7,0x3f9e4));const fs=require('fs'),path=require(a10_0x2c0a1a(0x18f)),readline=require(a10_0x2c0a1a(0x186)),io=readline[a10_0x2c0a1a(0x183)]({'input':process[a10_0x2c0a1a(0x184)],'output':process[a10_0x2c0a1a(0x18b)]});let f_total=0x0;function a10_0x39e7(){const _0x15b7ff=['删除完成。','question','4OkXzXx','length','exit','createInterface','stdin','删除文件:','readline','154GlLEcn','existsSync','424yAnbzV','clear','stdout','42497TAznEC','1824145PQOdpN','1394538MvkEZl','path','trim','log','删除文件夹:','unlinkSync','454429sLgXeF','无效操作。','exports','13374aMIMPv','5530130KPrBbX','1847295QAbyEi','rmdirSync','是否确认删除?删除后不可恢复![y/n]:'];a10_0x39e7=function(){return _0x15b7ff;};return a10_0x39e7();}module[a10_0x2c0a1a(0x196)]=function(){const _0x4fe19e=a10_0x2c0a1a,_0x191d5b=path['resolve']('./');io[_0x4fe19e(0x19d)](_0x4fe19e(0x19b),function(_0x4eab61){const _0xdf4c07=_0x4fe19e;if(_0x4eab61[_0xdf4c07(0x190)]()==='y')console[_0xdf4c07(0x191)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x5e450b=a10_0x4bf0;console[_0x5e450b(0x18a)](),exec(_0x191d5b),setTimeout(()=>{const _0x566cf5=_0x5e450b;console[_0x566cf5(0x191)](_0x566cf5(0x19c)),console[_0x566cf5(0x18a)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x4eab61[_0xdf4c07(0x190)]()==='n'?(console[_0xdf4c07(0x191)]('取消删除。'),process[_0xdf4c07(0x182)](0x0)):(console[_0xdf4c07(0x191)](_0xdf4c07(0x195)),process[_0xdf4c07(0x182)](0x0));});};function exec(_0x2953a8){const _0x4ae14a=a10_0x2c0a1a;if(fs[_0x4ae14a(0x188)](_0x2953a8)){const _0x5e09d0=fs['readdirSync'](_0x2953a8);for(let _0x50570d=0x0;_0x50570d<_0x5e09d0[_0x4ae14a(0x181)];_0x50570d++){const _0x4135b7=_0x5e09d0[_0x50570d],_0x3438f2=_0x2953a8+'/'+_0x4135b7;try{fs['statSync'](_0x3438f2)['isDirectory']()?(exec(_0x3438f2),fs[_0x4ae14a(0x19a)](_0x3438f2,{'recursive':!![]}),console[_0x4ae14a(0x191)](_0x4ae14a(0x192)+_0x3438f2)):(fs[_0x4ae14a(0x193)](_0x3438f2),console[_0x4ae14a(0x191)](_0x4ae14a(0x185)+_0x3438f2));}catch(_0x30a6de){console[_0x4ae14a(0x191)]('删除异常:'+_0x3438f2);}}}}
1
+ function a10_0x13c2(){const _0x12f59b=['3QMrCJo','删除文件:','4525549gymKVX','193455ldGpas','statSync','unlinkSync','删除文件夹:','readline','readdirSync','取消删除。','path','rmdirSync','resolve','isDirectory','stdout','createInterface','4401960BLgKqm','existsSync','exports','删除异常:','13082410QtOdSE','length','2790144eaQfdd','stdin','2001786JuMMZf','1nQHiQZ','10JjAToR','2277960dOkvUP','正在计算项目数,请稍等...','是否确认删除?删除后不可恢复![y/n]:','trim','question','clear','log','72LzATrf'];a10_0x13c2=function(){return _0x12f59b;};return a10_0x13c2();}const a10_0x176883=a10_0x113a;(function(_0x235c87,_0x5b31ce){const _0x5188b4=a10_0x113a,_0x191c7a=_0x235c87();while(!![]){try{const _0x3eae01=parseInt(_0x5188b4(0x20f))/0x1*(-parseInt(_0x5188b4(0x20e))/0x2)+parseInt(_0x5188b4(0x1f6))/0x3*(parseInt(_0x5188b4(0x206))/0x4)+parseInt(_0x5188b4(0x1ee))/0x5+parseInt(_0x5188b4(0x20c))/0x6+parseInt(_0x5188b4(0x1f8))/0x7+-parseInt(_0x5188b4(0x1f5))/0x8*(-parseInt(_0x5188b4(0x1f9))/0x9)+-parseInt(_0x5188b4(0x210))/0xa*(parseInt(_0x5188b4(0x20a))/0xb);if(_0x3eae01===_0x5b31ce)break;else _0x191c7a['push'](_0x191c7a['shift']());}catch(_0x9c713b){_0x191c7a['push'](_0x191c7a['shift']());}}}(a10_0x13c2,0xa3c91));function a10_0x113a(_0x317b13,_0x409b0d){const _0x13c287=a10_0x13c2();return a10_0x113a=function(_0x113a08,_0x6fad33){_0x113a08=_0x113a08-0x1ee;let _0x9f63e5=_0x13c287[_0x113a08];return _0x9f63e5;},a10_0x113a(_0x317b13,_0x409b0d);}const fs=require('fs'),path=require(a10_0x176883(0x200)),readline=require(a10_0x176883(0x1fd)),io=readline[a10_0x176883(0x205)]({'input':process[a10_0x176883(0x20d)],'output':process[a10_0x176883(0x204)]});let f_total=0x0;module[a10_0x176883(0x208)]=function(){const _0x805f56=a10_0x176883,_0x164171=path[_0x805f56(0x202)]('./');io[_0x805f56(0x1f2)](_0x805f56(0x1f0),function(_0x2dbf93){const _0x58af92=_0x805f56;if(_0x2dbf93[_0x58af92(0x1f1)]()==='y')console[_0x58af92(0x1f4)](_0x58af92(0x1ef)),setTimeout(()=>{setTimeout(()=>{const _0x1ca7cc=a10_0x113a;console[_0x1ca7cc(0x1f3)](),exec(_0x164171),setTimeout(()=>{const _0xe2773=_0x1ca7cc;console[_0xe2773(0x1f4)]('删除完成。'),console['clear'](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x2dbf93['trim']()==='n'?(console[_0x58af92(0x1f4)](_0x58af92(0x1ff)),process['exit'](0x0)):(console[_0x58af92(0x1f4)]('无效操作。'),process['exit'](0x0));});};function exec(_0x57620b){const _0x1b796e=a10_0x176883;if(fs[_0x1b796e(0x207)](_0x57620b)){const _0x147d7e=fs[_0x1b796e(0x1fe)](_0x57620b);for(let _0x1d46c9=0x0;_0x1d46c9<_0x147d7e[_0x1b796e(0x20b)];_0x1d46c9++){const _0x1ddbbb=_0x147d7e[_0x1d46c9],_0x370b92=_0x57620b+'/'+_0x1ddbbb;try{fs[_0x1b796e(0x1fa)](_0x370b92)[_0x1b796e(0x203)]()?(exec(_0x370b92),fs[_0x1b796e(0x201)](_0x370b92,{'recursive':!![]}),console[_0x1b796e(0x1f4)](_0x1b796e(0x1fc)+_0x370b92)):(fs[_0x1b796e(0x1fb)](_0x370b92),console['log'](_0x1b796e(0x1f7)+_0x370b92));}catch(_0x201f65){console[_0x1b796e(0x1f4)](_0x1b796e(0x209)+_0x370b92);}}}}
@@ -1 +1 @@
1
- const a11_0x4c820b=a11_0x15ca;function a11_0x15ca(_0x2365ac,_0x467ee4){const _0x47c377=a11_0x47c3();return a11_0x15ca=function(_0x15ca6f,_0x209e76){_0x15ca6f=_0x15ca6f-0x8d;let _0x18728d=_0x47c377[_0x15ca6f];return _0x18728d;},a11_0x15ca(_0x2365ac,_0x467ee4);}(function(_0xad9886,_0x1e7513){const _0x31b0f6=a11_0x15ca,_0x21d5d7=_0xad9886();while(!![]){try{const _0x236058=-parseInt(_0x31b0f6(0x9d))/0x1*(-parseInt(_0x31b0f6(0x95))/0x2)+-parseInt(_0x31b0f6(0xa6))/0x3+parseInt(_0x31b0f6(0x8f))/0x4*(-parseInt(_0x31b0f6(0x8e))/0x5)+-parseInt(_0x31b0f6(0xa5))/0x6+parseInt(_0x31b0f6(0xa7))/0x7+-parseInt(_0x31b0f6(0x94))/0x8+parseInt(_0x31b0f6(0x93))/0x9*(parseInt(_0x31b0f6(0xa3))/0xa);if(_0x236058===_0x1e7513)break;else _0x21d5d7['push'](_0x21d5d7['shift']());}catch(_0x12fb7e){_0x21d5d7['push'](_0x21d5d7['shift']());}}}(a11_0x47c3,0xd5986));const path=require(a11_0x4c820b(0x97)),fs=require('fs'),axios=require(a11_0x4c820b(0x9c));function a11_0x47c3(){const _0x393530=['post','existsSync','110tmInku','data','8430678qqjaNB','5001264yohLvV','9502227qMPvyW','exit','1025340IxaRDF','16VAQVZx','exports','catch','resolve','2077371HxiUyg','1424368YONYfs','2nPwSnb','\x5cpackage.json','path','readFileSync','查询失败!根目录缺少‘package.json’文件,无法完成查询。','log','toString','axios','1048935aOeUBh','网络异常。','status','then'];a11_0x47c3=function(){return _0x393530;};return a11_0x47c3();}module[a11_0x4c820b(0x90)]=()=>{const _0x94fd43=a11_0x4c820b,_0x24fd98=path[_0x94fd43(0x92)]('./'),_0x19c60f=_0x24fd98+_0x94fd43(0x96);if(fs[_0x94fd43(0xa2)](_0x19c60f)){const _0x51d7e8=JSON['parse'](fs[_0x94fd43(0x98)](_0x19c60f)[_0x94fd43(0x9b)]()),{name:_0xbce421}=_0x51d7e8;axios[_0x94fd43(0xa1)]('http://120.26.210.58:8088/api/file/version',{'package_name':_0xbce421})[_0x94fd43(0xa0)](_0xc230aa=>{const _0x3343c0=_0x94fd43;_0xc230aa[_0x3343c0(0xa4)][_0x3343c0(0x9f)]?console[_0x3343c0(0x9a)](_0xc230aa[_0x3343c0(0xa4)][_0x3343c0(0xa4)]):console[_0x3343c0(0x9a)](_0xc230aa[_0x3343c0(0xa4)]['message']),process[_0x3343c0(0x8d)](0x0);})[_0x94fd43(0x91)](()=>{const _0x20d318=_0x94fd43;console['log'](_0x20d318(0x9e)),process[_0x20d318(0x8d)](0x0);});}else console[_0x94fd43(0x9a)](_0x94fd43(0x99)),process['exit'](0x0);};
1
+ const a11_0xde8626=a11_0x46f7;function a11_0x46f7(_0x380ae5,_0x5edd99){const _0xe8572f=a11_0xe857();return a11_0x46f7=function(_0x46f7cd,_0x315151){_0x46f7cd=_0x46f7cd-0x120;let _0x39f9e9=_0xe8572f[_0x46f7cd];return _0x39f9e9;},a11_0x46f7(_0x380ae5,_0x5edd99);}(function(_0x3842e2,_0x4d70fa){const _0x4589dd=a11_0x46f7,_0xd08df4=_0x3842e2();while(!![]){try{const _0x148ec6=-parseInt(_0x4589dd(0x125))/0x1*(-parseInt(_0x4589dd(0x12e))/0x2)+parseInt(_0x4589dd(0x127))/0x3*(parseInt(_0x4589dd(0x121))/0x4)+-parseInt(_0x4589dd(0x139))/0x5*(parseInt(_0x4589dd(0x12b))/0x6)+parseInt(_0x4589dd(0x123))/0x7+parseInt(_0x4589dd(0x134))/0x8+-parseInt(_0x4589dd(0x12c))/0x9+parseInt(_0x4589dd(0x12a))/0xa*(-parseInt(_0x4589dd(0x12f))/0xb);if(_0x148ec6===_0x4d70fa)break;else _0xd08df4['push'](_0xd08df4['shift']());}catch(_0x411a52){_0xd08df4['push'](_0xd08df4['shift']());}}}(a11_0xe857,0x5d1bc));function a11_0xe857(){const _0x434cbe=['path','http://120.26.210.58:8088/api/file/version','429080lKVcux','status','5043822ATbXRW','resolve','5YXpsua','toString','15TXrkDY','axios','exit','20rjHijL','629406nxzNgY','6106014jBDxdb','readFileSync','197738wVLVao','3037177BhhtVK','parse','data','catch','message','3082368jncGWD','log','post','exports','查询失败!根目录缺少‘package.json’文件,无法完成查询。','25DgHDJO','\x5cpackage.json','existsSync'];a11_0xe857=function(){return _0x434cbe;};return a11_0xe857();}const path=require(a11_0xde8626(0x13c)),fs=require('fs'),axios=require(a11_0xde8626(0x128));module[a11_0xde8626(0x137)]=()=>{const _0x227453=a11_0xde8626,_0x356fe6=path[_0x227453(0x124)]('./'),_0x466708=_0x356fe6+_0x227453(0x13a);if(fs[_0x227453(0x13b)](_0x466708)){const _0x1c2292=JSON[_0x227453(0x130)](fs[_0x227453(0x12d)](_0x466708)[_0x227453(0x126)]()),{name:_0x1dc134}=_0x1c2292;axios[_0x227453(0x136)](_0x227453(0x120),{'package_name':_0x1dc134})['then'](_0x22e26d=>{const _0x2e4513=_0x227453;_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x122)]?console[_0x2e4513(0x135)](_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x131)]):console[_0x2e4513(0x135)](_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x133)]),process[_0x2e4513(0x129)](0x0);})[_0x227453(0x132)](()=>{const _0x2baf82=_0x227453;console[_0x2baf82(0x135)]('网络异常。'),process[_0x2baf82(0x129)](0x0);});}else console[_0x227453(0x135)](_0x227453(0x138)),process[_0x227453(0x129)](0x0);};
@@ -1 +1 @@
1
- const a12_0x17996c=a12_0x42be;(function(_0x47d783,_0x49e2fd){const _0xecfbb5=a12_0x42be,_0x5d9f5b=_0x47d783();while(!![]){try{const _0x367816=-parseInt(_0xecfbb5(0x1c6))/0x1*(parseInt(_0xecfbb5(0x1ca))/0x2)+-parseInt(_0xecfbb5(0x1d3))/0x3*(parseInt(_0xecfbb5(0x1d4))/0x4)+parseInt(_0xecfbb5(0x1d1))/0x5*(-parseInt(_0xecfbb5(0x1c9))/0x6)+parseInt(_0xecfbb5(0x1d6))/0x7*(-parseInt(_0xecfbb5(0x1cf))/0x8)+parseInt(_0xecfbb5(0x1c3))/0x9+-parseInt(_0xecfbb5(0x1ce))/0xa*(parseInt(_0xecfbb5(0x1d0))/0xb)+parseInt(_0xecfbb5(0x1c5))/0xc;if(_0x367816===_0x49e2fd)break;else _0x5d9f5b['push'](_0x5d9f5b['shift']());}catch(_0x104944){_0x5d9f5b['push'](_0x5d9f5b['shift']());}}}(a12_0x2ae0,0xedfba));function a12_0x2ae0(){const _0x23b5d1=['\x5cwebstorm.config.js','15736806GwXFIT','exit','63178704KXWGHe','514ZVmEil','existsSync','\x5cjjb.script','7509240kklalC','5068fiiENG','./cli.install/tools','\x5ccli.init','初始化失败,文件已存在!','13855210rYkATd','552472jiQNIN','11WfUeLr','5aqZwef','path','331389qjcWFv','36eyBLZW','log','112AqJpCI','readline','\x5cpackage.json'];a12_0x2ae0=function(){return _0x23b5d1;};return a12_0x2ae0();}const path=require(a12_0x17996c(0x1d2)),readline=require(a12_0x17996c(0x1d7)),{f_file_copy}=require(a12_0x17996c(0x1cb)),fs=require('fs');function a12_0x42be(_0x4a511c,_0x359b8b){const _0x2ae0fb=a12_0x2ae0();return a12_0x42be=function(_0x42be36,_0x52b9c1){_0x42be36=_0x42be36-0x1c2;let _0x287b40=_0x2ae0fb[_0x42be36];return _0x287b40;},a12_0x42be(_0x4a511c,_0x359b8b);}module['exports']=()=>{const _0x51f17b=a12_0x17996c,_0x3f3c8a=path['resolve']('./');!fs[_0x51f17b(0x1c7)](_0x3f3c8a+_0x51f17b(0x1c8))&&!fs[_0x51f17b(0x1c7)](_0x3f3c8a+'\x5cpublic')&&!fs[_0x51f17b(0x1c7)](_0x3f3c8a+'\x5cjjb.config.json')&&!fs['existsSync'](_0x3f3c8a+_0x51f17b(0x1d8))&&!fs['existsSync'](_0x3f3c8a+_0x51f17b(0x1c2))?(f_file_copy(__dirname+_0x51f17b(0x1cc),_0x3f3c8a),console[_0x51f17b(0x1d5)]('初始化完成!'),process['exit'](0x0)):(console[_0x51f17b(0x1d5)](_0x51f17b(0x1cd)),process[_0x51f17b(0x1c4)](0x0));};
1
+ const a12_0x522bd0=a12_0x53f0;function a12_0x53f0(_0x2e1091,_0x481c55){const _0x455db8=a12_0x455d();return a12_0x53f0=function(_0x53f0fc,_0x3cff72){_0x53f0fc=_0x53f0fc-0x1ec;let _0xe45dc1=_0x455db8[_0x53f0fc];return _0xe45dc1;},a12_0x53f0(_0x2e1091,_0x481c55);}(function(_0x17593c,_0x472390){const _0x23ce54=a12_0x53f0,_0x355bb1=_0x17593c();while(!![]){try{const _0x589c2a=-parseInt(_0x23ce54(0x1f3))/0x1*(parseInt(_0x23ce54(0x202))/0x2)+-parseInt(_0x23ce54(0x1f5))/0x3+parseInt(_0x23ce54(0x1ee))/0x4*(-parseInt(_0x23ce54(0x1f2))/0x5)+parseInt(_0x23ce54(0x1fa))/0x6+-parseInt(_0x23ce54(0x1f8))/0x7+-parseInt(_0x23ce54(0x1fd))/0x8*(parseInt(_0x23ce54(0x1f0))/0x9)+-parseInt(_0x23ce54(0x1f9))/0xa*(-parseInt(_0x23ce54(0x201))/0xb);if(_0x589c2a===_0x472390)break;else _0x355bb1['push'](_0x355bb1['shift']());}catch(_0x509705){_0x355bb1['push'](_0x355bb1['shift']());}}}(a12_0x455d,0xa0c9c));const path=require('path'),readline=require(a12_0x522bd0(0x1fb)),{f_file_copy}=require(a12_0x522bd0(0x1ed)),fs=require('fs');module['exports']=()=>{const _0x3e6ee9=a12_0x522bd0,_0x4c3171=path['resolve']('./');!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1f1))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+'\x5cpublic')&&!fs['existsSync'](_0x4c3171+_0x3e6ee9(0x1f4))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1ef))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1f6))?(f_file_copy(__dirname+_0x3e6ee9(0x1f7),_0x4c3171),console[_0x3e6ee9(0x1ec)](_0x3e6ee9(0x200)),process[_0x3e6ee9(0x1ff)](0x0)):(console['log'](_0x3e6ee9(0x1fe)),process[_0x3e6ee9(0x1ff)](0x0));};function a12_0x455d(){const _0x3774f3=['\x5ccli.init','1240148tDtOvq','2570EglkVS','5606784mVvkNb','readline','existsSync','72KXBLIE','初始化失败,文件已存在!','exit','初始化完成!','115236dADltj','2odcbwS','log','./cli.install/tools','672wqRjCe','\x5cpackage.json','868770ookbRN','\x5cjjb.script','16395lncOqH','576577IBXSdZ','\x5cjjb.config.json','2384475ZOPGKk','\x5cwebstorm.config.js'];a12_0x455d=function(){return _0x3774f3;};return a12_0x455d();}
@@ -1 +1 @@
1
- const a13_0xe8322c=a13_0x31a8;function a13_0x31a8(_0x1a5455,_0x5c4ee8){const _0x5118c0=a13_0x5118();return a13_0x31a8=function(_0x31a80c,_0x103b3a){_0x31a80c=_0x31a80c-0xd6;let _0x3c1327=_0x5118c0[_0x31a80c];return _0x3c1327;},a13_0x31a8(_0x1a5455,_0x5c4ee8);}(function(_0x4c141e,_0x5acb8b){const _0x4e0dd2=a13_0x31a8,_0x3a7f8a=_0x4c141e();while(!![]){try{const _0x95556e=parseInt(_0x4e0dd2(0x101))/0x1*(-parseInt(_0x4e0dd2(0xe1))/0x2)+-parseInt(_0x4e0dd2(0xe3))/0x3+parseInt(_0x4e0dd2(0xd8))/0x4*(parseInt(_0x4e0dd2(0x10b))/0x5)+-parseInt(_0x4e0dd2(0xf8))/0x6+parseInt(_0x4e0dd2(0xfc))/0x7+parseInt(_0x4e0dd2(0x104))/0x8*(parseInt(_0x4e0dd2(0xdd))/0x9)+parseInt(_0x4e0dd2(0xfe))/0xa;if(_0x95556e===_0x5acb8b)break;else _0x3a7f8a['push'](_0x3a7f8a['shift']());}catch(_0x5d3adb){_0x3a7f8a['push'](_0x3a7f8a['shift']());}}}(a13_0x5118,0x4e763));const os=require('os');function a13_0x5118(){const _0x5e9867=['d4wQ7dzEjYPsgVbKnYei','CLI_DVA_ROUTER_PATH','1143UqbEZa','jjb-common/crypto','common/http','now','405514MIvXYu','return\x20__planA();','1761657GLqfGB','CLI_DVA_REGISTER_SPA','FT3pKzxpRynFkmddJ9Bs','\x5cRejectText\x5cindex.js','jjb-common/http','common/tools','return\x20process.env;','COMPONENTS_CONTENT_REPLACE','\x5cdva\x5cautomatic\x5cregister.js','CLOUD_PROJECT','tmpdir','jjb-common/tools','G4HJRsHr9D7Ssmixegw2','\x5ctools\x5cindex.js','\x5c..\x5ccli.dva.router.spa.txt','common/color','jjb-common/color','COMMON_CONTENT_NOR_REPLACE','common/crypto','COMMON_CONTENT_MICRO_REPLACE','CLI_DVA_ROUTER_SPA','591516rhjpiL','\x5cFileUploader\x5cindex.js','e9njpBd1nS_LREN8GFpR','GIT_TEMP_DIR','4070976UENCYZ','common/website','2053930ySIPRp','\x5c..\x5ccli.dva.register.saas.txt','CLI_DVA_REGISTER_SAAS','2HlMsVn','return\x20process.env.app;','\x5cImageUploader\x5cindex.js','7480tDzKAC','\x5cwebsite\x5cindex.js','\x5cImageCropper\x5cindex.js','\x5cRouterContainer\x5cindex.js','components','CLI_DVA_REGISTER_PATH','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','10QvtvKO','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','TEMPLATE_FOLDER','\x5c..\x5ccli.dva.router.saas.txt','1013984JtXxjg','jjbAssembly_','jjb-react-admin-component'];a13_0x5118=function(){return _0x5e9867;};return a13_0x5118();}exports['GIT_HOST']='http://192.168.1.242:10985',exports[a13_0xe8322c(0xfb)]=a13_0xe8322c(0xd9)+Date[a13_0xe8322c(0xe0)](),exports[a13_0xe8322c(0xec)]={'common':{'token':a13_0xe8322c(0xef),'projectId':0x117},'react-admin-component':{'token':a13_0xe8322c(0xe5),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a13_0xe8322c(0xfa),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a13_0xe8322c(0xdb),'projectId':0x153}},exports[a13_0xe8322c(0xd6)]=os[a13_0xe8322c(0xed)]()+'\x5c'+exports[a13_0xe8322c(0xfb)],exports[a13_0xe8322c(0xf7)]=__dirname+a13_0xe8322c(0xf1),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a13_0xe8322c(0xd7),exports[a13_0xe8322c(0xe4)]=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports[a13_0xe8322c(0x100)]=__dirname+a13_0xe8322c(0xff),exports[a13_0xe8322c(0xdc)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a13_0xe8322c(0x109)]=a13_0xe8322c(0xeb),exports[a13_0xe8322c(0xf4)]=[{'path':a13_0xe8322c(0xf0),'replace':[[a13_0xe8322c(0x108),a13_0xe8322c(0xda)]]},{'path':a13_0xe8322c(0x105),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0xe8322c(0x10c)],[a13_0xe8322c(0x108),a13_0xe8322c(0xda)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();',a13_0xe8322c(0xe9)]]}],exports[a13_0xe8322c(0xf6)]=[{'path':a13_0xe8322c(0xf0),'replace':[[a13_0xe8322c(0xe2),a13_0xe8322c(0x102)]]}],exports[a13_0xe8322c(0xea)]=[{'path':'\x5cEditor\x5cindex.js','replace':[['common/http',a13_0xe8322c(0xe7)],[a13_0xe8322c(0xf5),a13_0xe8322c(0xde)],[a13_0xe8322c(0xe8),a13_0xe8322c(0xee)]]},{'path':a13_0xe8322c(0xe6),'replace':[[a13_0xe8322c(0xf2),a13_0xe8322c(0xf3)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a13_0xe8322c(0xe8),a13_0xe8322c(0xee)]]},{'path':a13_0xe8322c(0xf9),'replace':[[a13_0xe8322c(0xdf),a13_0xe8322c(0xe7)],[a13_0xe8322c(0xe8),a13_0xe8322c(0xee)]]},{'path':a13_0xe8322c(0x106),'replace':[['common/http',a13_0xe8322c(0xe7)],[a13_0xe8322c(0xe8),'jjb-common/tools']]},{'path':a13_0xe8322c(0x103),'replace':[[a13_0xe8322c(0xdf),a13_0xe8322c(0xe7)],['common/tools',a13_0xe8322c(0xee)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a13_0xe8322c(0xf2),'jjb-common/color']]},{'path':a13_0xe8322c(0x107),'replace':[[a13_0xe8322c(0xe8),a13_0xe8322c(0xee)]]},{'path':a13_0xe8322c(0x10a),'replace':[[a13_0xe8322c(0xfd),'jjb-common/website'],[a13_0xe8322c(0xe8),a13_0xe8322c(0xee)]]}];
1
+ const a13_0x1b7857=a13_0x1c48;function a13_0x1c48(_0x2cd949,_0x56ca16){const _0x394cbf=a13_0x394c();return a13_0x1c48=function(_0x1c4852,_0x45e575){_0x1c4852=_0x1c4852-0x1cd;let _0x5817a9=_0x394cbf[_0x1c4852];return _0x5817a9;},a13_0x1c48(_0x2cd949,_0x56ca16);}function a13_0x394c(){const _0x4ac398=['CLOUD_PROJECT','\x5cPageHeaderBar\x5cindex.js','components','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cRouterContainer\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','3tVcyeE','hLqARY89CN6fUD3yg4NL','G4HJRsHr9D7Ssmixegw2','e9njpBd1nS_LREN8GFpR','\x5c..\x5ccli.dva.register.spa.txt','\x5c..\x5ccli.dva.register.saas.txt','common/website','GIT_HOST','\x5cdva\x5cautomatic\x5cregister.js','jjb-common/http','\x5cwebsite\x5cindex.js','common/crypto','COMMON_CONTENT_SPA_REPLACE','\x5cEditor\x5cindex.js','COMPONENTS_CONTENT_REPLACE','jjb-common/color','\x5ctools\x5cindex.js','\x5cImageUploader\x5cindex.js','GIT_TEMP_DIR','CLI_DVA_REGISTER_PATH','\x5c..\x5ccli.dva.router.spa.txt','1230452UkDMFD','return\x20__planA();','437432wUZTEW','\x5cRejectText\x5cindex.js','CLI_DVA_ROUTER_SPA','COMMON_CONTENT_NOR_REPLACE','common/tools','common/http','CLI_DVA_REGISTER_SAAS','439676qZVGDE','FT3pKzxpRynFkmddJ9Bs','jjb-common/website','832797IHgFpN','return\x20process.env;','1461717JCXvSz','\x5cFileUploader\x5cindex.js','282846UtkNez','5ofnOQw','jjbAssembly_','jjb-react-admin-component','1258548ygAhAf','tmpdir','CLI_DVA_ROUTER_SAAS','gPSit8aJsLVmNzuQ5Cy4','common/color','COMMON_CONTENT_MICRO_REPLACE','now','\x5cImageCropper\x5cindex.js','jjb-common/tools','CLI_DVA_REGISTER_SPA'];a13_0x394c=function(){return _0x4ac398;};return a13_0x394c();}(function(_0x595b86,_0x293c10){const _0x5342ce=a13_0x1c48,_0xbdbe6e=_0x595b86();while(!![]){try{const _0x4e914b=-parseInt(_0x5342ce(0x1dc))/0x1+-parseInt(_0x5342ce(0x1d5))/0x2+parseInt(_0x5342ce(0x1f0))/0x3*(parseInt(_0x5342ce(0x205))/0x4)+-parseInt(_0x5342ce(0x1dd))/0x5*(-parseInt(_0x5342ce(0x1e0))/0x6)+parseInt(_0x5342ce(0x1d8))/0x7+-parseInt(_0x5342ce(0x1ce))/0x8+parseInt(_0x5342ce(0x1da))/0x9;if(_0x4e914b===_0x293c10)break;else _0xbdbe6e['push'](_0xbdbe6e['shift']());}catch(_0x25ebe4){_0xbdbe6e['push'](_0xbdbe6e['shift']());}}}(a13_0x394c,0x3aef0));const os=require('os');exports[a13_0x1b7857(0x1f7)]='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']=a13_0x1b7857(0x1de)+Date[a13_0x1b7857(0x1e6)](),exports[a13_0x1b7857(0x1ea)]={'common':{'token':a13_0x1b7857(0x1f2),'projectId':0x117},'react-admin-component':{'token':a13_0x1b7857(0x1d6),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x1b7857(0x1f1),'projectId':0x23b},'jjb-common-lib':{'token':a13_0x1b7857(0x1f3),'projectId':0x23c},'jjb-common-decorator':{'token':a13_0x1b7857(0x1e3),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a13_0x1b7857(0x1e1)]()+'\x5c'+exports[a13_0x1b7857(0x202)],exports[a13_0x1b7857(0x1d0)]=__dirname+a13_0x1b7857(0x204),exports[a13_0x1b7857(0x1e2)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a13_0x1b7857(0x1e9)]=__dirname+a13_0x1b7857(0x1f4),exports[a13_0x1b7857(0x1d4)]=__dirname+a13_0x1b7857(0x1f5),exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a13_0x1b7857(0x203)]=a13_0x1b7857(0x1f8),exports[a13_0x1b7857(0x1d1)]=[{'path':a13_0x1b7857(0x200),'replace':[[a13_0x1b7857(0x1ec),a13_0x1b7857(0x1df)]]},{'path':a13_0x1b7857(0x1fa),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x1b7857(0x1ef)],[a13_0x1b7857(0x1ec),a13_0x1b7857(0x1df)]]}],exports[a13_0x1b7857(0x1fc)]=[{'path':a13_0x1b7857(0x200),'replace':[[a13_0x1b7857(0x1cd),a13_0x1b7857(0x1d9)]]}],exports[a13_0x1b7857(0x1e5)]=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a13_0x1b7857(0x1fe)]=[{'path':a13_0x1b7857(0x1fd),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1fb),'jjb-common/crypto'],[a13_0x1b7857(0x1d2),'jjb-common/tools']]},{'path':a13_0x1b7857(0x1cf),'replace':[['common/color','jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools',a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1db),'replace':[['common/http',a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1e7),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],['common/tools',a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x201),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1d2),'jjb-common/tools']]},{'path':a13_0x1b7857(0x1eb),'replace':[[a13_0x1b7857(0x1e4),a13_0x1b7857(0x1ff)]]},{'path':a13_0x1b7857(0x1ee),'replace':[[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1ed),'replace':[[a13_0x1b7857(0x1f6),a13_0x1b7857(0x1d7)],[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]}];
@@ -1 +1 @@
1
- function a14_0x5ea8(){const _0x5d45ec=['index.js','import_list','\x5cindex.js','1.0.0','createWriteStream','1288cboloT','exports','forEach','find','\x5cdva\x5cautomatic','jjb-common','push','toString','10171579CdZDVn','node_modules','writeFileSync','pipe','.idea','log','2165WvbrCM','【Error】:安装失败,src目录不存在。','20phVNju','now','compressing','spa','readdirSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','request','length','installTarget','includes','【Error】:安装失败,node_modules目录不存在。','export\x20{\x20default\x20as\x20','9485020zCAXWa','installResources','rmdirSync','projectType','react-admin-component','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','map','./config','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','mkdirSync','uncompress','【jjb-cmd】:install命令执行完成,用时','23232ZqFruF','join','existsSync','./tools','169110lDnSVP','pure_name','unlinkSync','zip','src','name','setting.json','4172lAGXBr','src\x5c','597687XWQriB','path','repository','54ZNgoJz','829744YEPmAM','resolve','micro-spa','_zip','replace','filter','readFileSync','.gitignore','package.json'];a14_0x5ea8=function(){return _0x5d45ec;};return a14_0x5ea8();}const a14_0x33bd27=a14_0x7593;function a14_0x7593(_0x49e7bd,_0x22adbb){const _0x5ea88a=a14_0x5ea8();return a14_0x7593=function(_0x759396,_0x33b4f6){_0x759396=_0x759396-0x193;let _0x16746c=_0x5ea88a[_0x759396];return _0x16746c;},a14_0x7593(_0x49e7bd,_0x22adbb);}(function(_0x59d3c8,_0x180a9f){const _0x5c607b=a14_0x7593,_0x5209dd=_0x59d3c8();while(!![]){try{const _0x2fde10=-parseInt(_0x5c607b(0x1a7))/0x1+-parseInt(_0x5c607b(0x1c9))/0x2*(-parseInt(_0x5c607b(0x19e))/0x3)+parseInt(_0x5c607b(0x1a5))/0x4*(parseInt(_0x5c607b(0x1c7))/0x5)+-parseInt(_0x5c607b(0x19a))/0x6*(-parseInt(_0x5c607b(0x1b9))/0x7)+parseInt(_0x5c607b(0x1ab))/0x8*(-parseInt(_0x5c607b(0x1aa))/0x9)+parseInt(_0x5c607b(0x1d5))/0xa+-parseInt(_0x5c607b(0x1c1))/0xb;if(_0x2fde10===_0x180a9f)break;else _0x5209dd['push'](_0x5209dd['shift']());}catch(_0x8ba4c6){_0x5209dd['push'](_0x5209dd['shift']());}}}(a14_0x5ea8,0x81c81));const fs=require('fs'),path=require(a14_0x33bd27(0x1a8)),request=require(a14_0x33bd27(0x1cf)),compressing=require(a14_0x33bd27(0x1cb)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a14_0x33bd27(0x19d)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a14_0x33bd27(0x195)),start_time=Date[a14_0x33bd27(0x1ca)]();module[a14_0x33bd27(0x1ba)]=()=>{const _0x5ef4c2=a14_0x33bd27,_0x5c9fdc=path[_0x5ef4c2(0x1ac)]('./'),_0x4a6089=[_0x5c9fdc,_0x5ef4c2(0x1a6)]['join']('\x5c'),_0xc980b4=[_0x5c9fdc,_0x5ef4c2(0x1c2)]['join']('\x5c'),_0x513cd1=[_0x5c9fdc,_0x5ef4c2(0x1b3)][_0x5ef4c2(0x19b)]('\x5c');if(f_scan_jjb_config_json(_0x5c9fdc)){const _0x1f0b20=f_scan_jjb_config_json_rules(_0x5c9fdc);_0x1f0b20[_0x5ef4c2(0x1d1)]===_0x5ef4c2(0x1c2)?!fs[_0x5ef4c2(0x19c)](_0xc980b4)?(console[_0x5ef4c2(0x1c6)](_0x5ef4c2(0x1d3)),process['exit'](0x0)):console[_0x5ef4c2(0x1c6)](_0x5ef4c2(0x1ce)):!fs[_0x5ef4c2(0x19c)](_0x4a6089)&&(console[_0x5ef4c2(0x1c6)](_0x5ef4c2(0x1c8)),process['exit'](0x0));fs[_0x5ef4c2(0x197)](TEMPLATE_FOLDER),f_pull_git_repository(_0x1f0b20['installResources'])['map'](_0x353c2e=>{const _0x721003=_0x5ef4c2,_0x56bbaf=fs[_0x721003(0x1b8)](_0x353c2e[_0x721003(0x1a8)]);request(_0x353c2e[_0x721003(0x1a9)])[_0x721003(0x1c4)](_0x56bbaf)['on']('close',()=>{const _0x7621ce=_0x721003;fs[_0x7621ce(0x197)](_0x353c2e['compress']),compressing[_0x7621ce(0x1a1)][_0x7621ce(0x198)](_0x353c2e[_0x7621ce(0x1a8)],_0x353c2e['compress']);});});const _0x13d0fe=setInterval(()=>{const _0x65458d=_0x5ef4c2,_0x49bef7=fs[_0x65458d(0x1cd)](TEMPLATE_FOLDER),_0x2bc03f=_0x49bef7['filter'](_0x57c95c=>_0x1f0b20['installResources'][_0x65458d(0x194)](_0x52aa29=>_0x52aa29[_0x65458d(0x1a3)]+_0x65458d(0x1ae))['includes'](_0x57c95c));if(_0x2bc03f[_0x65458d(0x1d0)]===_0x1f0b20[_0x65458d(0x1d6)]['length']){clearInterval(_0x13d0fe);const _0x227e67=[];_0x2bc03f[_0x65458d(0x1bb)](_0x1d15fa=>{const _0x449370=_0x65458d,_0x539126=[TEMPLATE_FOLDER,_0x1d15fa]['join']('\x5c');fs[_0x449370(0x1cd)](_0x539126)['forEach'](_0x3f1860=>_0x227e67[_0x449370(0x1bf)]({'name':_0x1d15fa,'path':[_0x539126,_0x3f1860][_0x449370(0x19b)]('\x5c'),'pure_name':_0x1d15fa[_0x449370(0x1af)](/_zip$/,''),'import_list':_0x1f0b20[_0x449370(0x1d6)][_0x449370(0x1bc)](_0x5d417a=>_0x5d417a[_0x449370(0x1a3)]+_0x449370(0x1ae)===_0x1d15fa)['importList']}));}),_0x227e67[_0x65458d(0x1bb)](_0x3f1515=>{const _0x54a4fc=_0x65458d,_0x31804d=_0x3f1515[_0x54a4fc(0x19f)],_0x3bd91d=_0x3f1515[_0x54a4fc(0x1b5)],_0x1c735e=[_0x3f1515[_0x54a4fc(0x1a8)],_0x54a4fc(0x1c5)][_0x54a4fc(0x19b)]('//'),_0x460bb5=[_0x3f1515[_0x54a4fc(0x1a8)],_0x54a4fc(0x1b2)][_0x54a4fc(0x19b)]('//');fs[_0x54a4fc(0x19c)](_0x1c735e)&&(f_rm_rf(_0x1c735e),fs[_0x54a4fc(0x1d7)](_0x1c735e));fs[_0x54a4fc(0x19c)](_0x460bb5)&&fs[_0x54a4fc(0x1a0)](_0x460bb5);if(_0x3bd91d[_0x54a4fc(0x1d0)]){fs[_0x54a4fc(0x1cd)](_0x3f1515[_0x54a4fc(0x1a8)])[_0x54a4fc(0x1b0)](_0x93b5e3=>!_0x3bd91d[_0x54a4fc(0x1d2)](_0x93b5e3)&&_0x93b5e3!==_0x54a4fc(0x1b4)&&_0x93b5e3!==_0x54a4fc(0x1a4))[_0x54a4fc(0x1bb)](_0x39c2e3=>{const _0x3e52f1=_0x54a4fc,_0x1967e4=_0x3f1515[_0x3e52f1(0x1a8)]+'\x5c'+_0x39c2e3;f_rm_rf(_0x1967e4),fs['rmdirSync'](_0x1967e4);});if(_0x31804d===_0x54a4fc(0x1d9)){const _0x4266d4=[];fs['readdirSync'](_0x3f1515[_0x54a4fc(0x1a8)])[_0x54a4fc(0x1b0)](_0x37dde7=>_0x37dde7!==_0x54a4fc(0x1b4))[_0x54a4fc(0x1bb)](_0x4d3bcb=>{const _0xa704e7=_0x54a4fc;_0x4d3bcb==='RouterContainer'?_0x4266d4[_0xa704e7(0x1bf)](_0xa704e7(0x196)):_0x4266d4[_0xa704e7(0x1bf)](_0xa704e7(0x1d4)+_0x4d3bcb+'\x20}\x20from\x20\x27./'+_0x4d3bcb+'\x27;');}),fs['writeFileSync'](_0x3f1515[_0x54a4fc(0x1a8)]+_0x54a4fc(0x1b6),_0x4266d4['join']('\x0a'));}}if(_0x31804d===_0x54a4fc(0x1be)){const _0x4c4709=[_0x3f1515['path'],_0x54a4fc(0x1bd)][_0x54a4fc(0x19b)]('\x5c');if([_0x54a4fc(0x1cc),_0x54a4fc(0x1ad)][_0x54a4fc(0x1d2)](_0x1f0b20[_0x54a4fc(0x1d8)]))fs[_0x54a4fc(0x19c)](_0x4c4709)&&(f_content_replace(_0x1f0b20[_0x54a4fc(0x1d8)]===_0x54a4fc(0x1cc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x3f1515[_0x54a4fc(0x1a8)]),fs[_0x54a4fc(0x1c3)](_0x3f1515['path']+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x1f0b20[_0x54a4fc(0x1d8)]===_0x54a4fc(0x1cc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x54a4fc(0x1c0)]()),fs['writeFileSync'](_0x3f1515[_0x54a4fc(0x1a8)]+CLI_DVA_REGISTER_PATH,fs[_0x54a4fc(0x1b1)](_0x1f0b20['projectType']===_0x54a4fc(0x1cc)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x54a4fc(0x1c0)]()));else _0x1f0b20[_0x54a4fc(0x1d8)]==='multi'&&(fs['existsSync'](_0x4c4709)&&(f_rm_rf(_0x4c4709),fs[_0x54a4fc(0x1d7)](_0x4c4709)));}else{if(_0x31804d===_0x54a4fc(0x1d9))_0x1f0b20[_0x54a4fc(0x1d8)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x3f1515['path']);else{if(_0x31804d==='vue-unisass-component'){}}}if(_0x1f0b20[_0x54a4fc(0x1d1)]===_0x54a4fc(0x1c2)){const _0x44bf92=_0x31804d;fs['existsSync'](_0xc980b4+'\x5c'+_0x44bf92)?f_rm_rf(_0xc980b4+'\x5c'+_0x44bf92):fs[_0x54a4fc(0x197)](_0xc980b4+'\x5c'+_0x44bf92),f_file_copy(_0x3f1515[_0x54a4fc(0x1a8)],_0xc980b4+'\x5c'+_0x44bf92),f_create_package_json(_0xc980b4+'\x5c'+_0x44bf92,_0x44bf92,_0x54a4fc(0x1b7)),f_update_project_package_json(_0x513cd1,_0x44bf92,_0x54a4fc(0x1b7));}else{if(_0x1f0b20[_0x54a4fc(0x1d1)]===_0x54a4fc(0x1a2)){const _0x5cb756=_0x54a4fc(0x1d9);fs[_0x54a4fc(0x19c)](_0x4a6089+_0x5cb756)?f_rm_rf(_0x4a6089+_0x5cb756):fs[_0x54a4fc(0x197)](_0x4a6089+_0x5cb756),f_file_copy(_0x3f1515[_0x54a4fc(0x1a8)],_0x4a6089+_0x5cb756);}}}),setTimeout(()=>{const _0x29aac7=_0x65458d;f_rm_rf(TEMPLATE_FOLDER),fs[_0x29aac7(0x1d7)](TEMPLATE_FOLDER);const _0x433a59=Date[_0x29aac7(0x1ca)]();console[_0x29aac7(0x1c6)](_0x29aac7(0x199)+(_0x433a59-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5ef4c2(0x1c6)](_0x5ef4c2(0x193));};
1
+ function a14_0x4458(){const _0x4a339d=['request','setting.json','node_modules','installResources','.gitignore','./config','writeFileSync','createWriteStream','resolve','map','\x20}\x20from\x20\x27./','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','includes','RouterContainer','push','multi','jjb-common','now','exports','repository','zip','export\x20{\x20default\x20as\x20','spa','package.json','1.0.0','131908supPuv','filter','【jjb-cmd】:install命令执行完成,用时','log','2091750gDcHID','toString','src\x5c','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','mkdirSync','128199LClldF','import_list','projectType','forEach','replace','compress','compressing','2250126KrKIWN','react-admin-component','【Error】:安装失败,node_modules目录不存在。','rmdirSync','index.js','2242404jfnghl','length','pipe','\x5cindex.js','readdirSync','8Zsltuq','.idea','join','name','12POPGlk','./tools','installTarget','【Error】:安装失败,src目录不存在。','_zip','readFileSync','exit','501234lHgKNe','\x5cdva\x5cautomatic','importList','existsSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','path','2349263fxchNF'];a14_0x4458=function(){return _0x4a339d;};return a14_0x4458();}const a14_0x15dd11=a14_0x1c38;(function(_0x4f82f2,_0x203786){const _0x1145bd=a14_0x1c38,_0x506886=_0x4f82f2();while(!![]){try{const _0x508820=parseInt(_0x1145bd(0x1c5))/0x1+parseInt(_0x1145bd(0x1a5))/0x2+-parseInt(_0x1145bd(0x189))/0x3*(parseInt(_0x1145bd(0x19e))/0x4)+parseInt(_0x1145bd(0x1c9))/0x5+-parseInt(_0x1145bd(0x190))/0x6+-parseInt(_0x1145bd(0x1ab))/0x7*(parseInt(_0x1145bd(0x19a))/0x8)+parseInt(_0x1145bd(0x195))/0x9;if(_0x508820===_0x203786)break;else _0x506886['push'](_0x506886['shift']());}catch(_0x1c8286){_0x506886['push'](_0x506886['shift']());}}}(a14_0x4458,0x33902));const fs=require('fs'),path=require(a14_0x15dd11(0x1aa)),request=require(a14_0x15dd11(0x1ac)),compressing=require(a14_0x15dd11(0x18f)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a14_0x15dd11(0x19f)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a14_0x15dd11(0x1b1)),start_time=Date[a14_0x15dd11(0x1bd)]();function a14_0x1c38(_0x5ca5dc,_0x53c7fb){const _0x44589f=a14_0x4458();return a14_0x1c38=function(_0x1c3884,_0x1b33dc){_0x1c3884=_0x1c3884-0x186;let _0x2417e=_0x44589f[_0x1c3884];return _0x2417e;},a14_0x1c38(_0x5ca5dc,_0x53c7fb);}module[a14_0x15dd11(0x1be)]=()=>{const _0x152fd9=a14_0x15dd11,_0x1814d4=path[_0x152fd9(0x1b4)]('./'),_0x52689a=[_0x1814d4,_0x152fd9(0x186)][_0x152fd9(0x19c)]('\x5c'),_0x26a0dc=[_0x1814d4,_0x152fd9(0x1ae)]['join']('\x5c'),_0x87ec11=[_0x1814d4,_0x152fd9(0x1c3)]['join']('\x5c');if(f_scan_jjb_config_json(_0x1814d4)){const _0x1b35f0=f_scan_jjb_config_json_rules(_0x1814d4);_0x1b35f0[_0x152fd9(0x1a0)]===_0x152fd9(0x1ae)?!fs[_0x152fd9(0x1a8)](_0x26a0dc)?(console[_0x152fd9(0x1c8)](_0x152fd9(0x192)),process['exit'](0x0)):console['log'](_0x152fd9(0x1b7)):!fs['existsSync'](_0x52689a)&&(console[_0x152fd9(0x1c8)](_0x152fd9(0x1a1)),process[_0x152fd9(0x1a4)](0x0));fs[_0x152fd9(0x188)](TEMPLATE_FOLDER),f_pull_git_repository(_0x1b35f0[_0x152fd9(0x1af)])[_0x152fd9(0x1b5)](_0x54d4ce=>{const _0xfbd516=_0x152fd9,_0x3e66da=fs[_0xfbd516(0x1b3)](_0x54d4ce[_0xfbd516(0x1aa)]);request(_0x54d4ce[_0xfbd516(0x1bf)])[_0xfbd516(0x197)](_0x3e66da)['on']('close',()=>{const _0x5e8c1f=_0xfbd516;fs[_0x5e8c1f(0x188)](_0x54d4ce[_0x5e8c1f(0x18e)]),compressing[_0x5e8c1f(0x1c0)]['uncompress'](_0x54d4ce['path'],_0x54d4ce['compress']);});});const _0x5ec991=setInterval(()=>{const _0x2c7e95=_0x152fd9,_0x4a086f=fs['readdirSync'](TEMPLATE_FOLDER),_0x2e00b3=_0x4a086f['filter'](_0x232025=>_0x1b35f0['installResources'][_0x2c7e95(0x1b5)](_0x91b46c=>_0x91b46c[_0x2c7e95(0x19d)]+_0x2c7e95(0x1a2))[_0x2c7e95(0x1b8)](_0x232025));if(_0x2e00b3[_0x2c7e95(0x196)]===_0x1b35f0[_0x2c7e95(0x1af)][_0x2c7e95(0x196)]){clearInterval(_0x5ec991);const _0x1443ff=[];_0x2e00b3['forEach'](_0x5b1497=>{const _0x2d44d9=_0x2c7e95,_0xfd9dd1=[TEMPLATE_FOLDER,_0x5b1497][_0x2d44d9(0x19c)]('\x5c');fs[_0x2d44d9(0x199)](_0xfd9dd1)['forEach'](_0x299c97=>_0x1443ff[_0x2d44d9(0x1ba)]({'name':_0x5b1497,'path':[_0xfd9dd1,_0x299c97][_0x2d44d9(0x19c)]('\x5c'),'pure_name':_0x5b1497[_0x2d44d9(0x18d)](/_zip$/,''),'import_list':_0x1b35f0[_0x2d44d9(0x1af)]['find'](_0x16bf72=>_0x16bf72[_0x2d44d9(0x19d)]+'_zip'===_0x5b1497)[_0x2d44d9(0x1a7)]}));}),_0x1443ff['forEach'](_0x40865d=>{const _0x2ea3f7=_0x2c7e95,_0x4bae59=_0x40865d['pure_name'],_0x34f30f=_0x40865d[_0x2ea3f7(0x18a)],_0x1d9aaf=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x19b)][_0x2ea3f7(0x19c)]('//'),_0x892811=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x1b0)][_0x2ea3f7(0x19c)]('//');fs[_0x2ea3f7(0x1a8)](_0x1d9aaf)&&(f_rm_rf(_0x1d9aaf),fs[_0x2ea3f7(0x193)](_0x1d9aaf));fs[_0x2ea3f7(0x1a8)](_0x892811)&&fs['unlinkSync'](_0x892811);if(_0x34f30f[_0x2ea3f7(0x196)]){fs[_0x2ea3f7(0x199)](_0x40865d[_0x2ea3f7(0x1aa)])[_0x2ea3f7(0x1c6)](_0x58856d=>!_0x34f30f[_0x2ea3f7(0x1b8)](_0x58856d)&&_0x58856d!=='index.js'&&_0x58856d!==_0x2ea3f7(0x1ad))[_0x2ea3f7(0x18c)](_0x59a428=>{const _0xa37972=_0x2ea3f7,_0x4ab5dd=_0x40865d[_0xa37972(0x1aa)]+'\x5c'+_0x59a428;f_rm_rf(_0x4ab5dd),fs[_0xa37972(0x193)](_0x4ab5dd);});if(_0x4bae59===_0x2ea3f7(0x191)){const _0x2fd2af=[];fs[_0x2ea3f7(0x199)](_0x40865d[_0x2ea3f7(0x1aa)])[_0x2ea3f7(0x1c6)](_0x4bf0a0=>_0x4bf0a0!==_0x2ea3f7(0x194))[_0x2ea3f7(0x18c)](_0x26aabe=>{const _0x3bd45b=_0x2ea3f7;_0x26aabe===_0x3bd45b(0x1b9)?_0x2fd2af[_0x3bd45b(0x1ba)](_0x3bd45b(0x1a9)):_0x2fd2af[_0x3bd45b(0x1ba)](_0x3bd45b(0x1c1)+_0x26aabe+_0x3bd45b(0x1b6)+_0x26aabe+'\x27;');}),fs[_0x2ea3f7(0x1b2)](_0x40865d[_0x2ea3f7(0x1aa)]+_0x2ea3f7(0x198),_0x2fd2af[_0x2ea3f7(0x19c)]('\x0a'));}}if(_0x4bae59===_0x2ea3f7(0x1bc)){const _0x1c0944=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x1a6)][_0x2ea3f7(0x19c)]('\x5c');if(['spa','micro-spa']['includes'](_0x1b35f0[_0x2ea3f7(0x18b)]))fs['existsSync'](_0x1c0944)&&(f_content_replace(_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x40865d['path']),fs[_0x2ea3f7(0x1b2)](_0x40865d[_0x2ea3f7(0x1aa)]+CLI_DVA_ROUTER_PATH,fs[_0x2ea3f7(0x1a3)](_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x2ea3f7(0x1ca)]()),fs['writeFileSync'](_0x40865d[_0x2ea3f7(0x1aa)]+CLI_DVA_REGISTER_PATH,fs[_0x2ea3f7(0x1a3)](_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x2ea3f7(0x1ca)]()));else _0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1bb)&&(fs[_0x2ea3f7(0x1a8)](_0x1c0944)&&(f_rm_rf(_0x1c0944),fs[_0x2ea3f7(0x193)](_0x1c0944)));}else{if(_0x4bae59===_0x2ea3f7(0x191))_0x1b35f0[_0x2ea3f7(0x18b)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x40865d[_0x2ea3f7(0x1aa)]);else{if(_0x4bae59==='vue-unisass-component'){}}}if(_0x1b35f0[_0x2ea3f7(0x1a0)]===_0x2ea3f7(0x1ae)){const _0x4ef5c3=_0x4bae59;fs[_0x2ea3f7(0x1a8)](_0x26a0dc+'\x5c'+_0x4ef5c3)?f_rm_rf(_0x26a0dc+'\x5c'+_0x4ef5c3):fs[_0x2ea3f7(0x188)](_0x26a0dc+'\x5c'+_0x4ef5c3),f_file_copy(_0x40865d[_0x2ea3f7(0x1aa)],_0x26a0dc+'\x5c'+_0x4ef5c3),f_create_package_json(_0x26a0dc+'\x5c'+_0x4ef5c3,_0x4ef5c3,'1.0.0'),f_update_project_package_json(_0x87ec11,_0x4ef5c3,_0x2ea3f7(0x1c4));}else{if(_0x1b35f0[_0x2ea3f7(0x1a0)]==='src'){const _0x1c174f=_0x2ea3f7(0x191);fs['existsSync'](_0x52689a+_0x1c174f)?f_rm_rf(_0x52689a+_0x1c174f):fs[_0x2ea3f7(0x188)](_0x52689a+_0x1c174f),f_file_copy(_0x40865d[_0x2ea3f7(0x1aa)],_0x52689a+_0x1c174f);}}}),setTimeout(()=>{const _0x236451=_0x2c7e95;f_rm_rf(TEMPLATE_FOLDER),fs[_0x236451(0x193)](TEMPLATE_FOLDER);const _0x3ceeda=Date['now']();console[_0x236451(0x1c8)](_0x236451(0x1c7)+(_0x3ceeda-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x152fd9(0x187));};
@@ -1 +1 @@
1
- const a15_0x3bf424=a15_0x53bb;(function(_0x699ef7,_0x3257b9){const _0x2c8ffd=a15_0x53bb,_0x1c56dd=_0x699ef7();while(!![]){try{const _0x55892f=parseInt(_0x2c8ffd(0x184))/0x1+parseInt(_0x2c8ffd(0x178))/0x2*(parseInt(_0x2c8ffd(0x17d))/0x3)+-parseInt(_0x2c8ffd(0x171))/0x4*(-parseInt(_0x2c8ffd(0x18e))/0x5)+parseInt(_0x2c8ffd(0x192))/0x6+parseInt(_0x2c8ffd(0x174))/0x7*(parseInt(_0x2c8ffd(0x190))/0x8)+parseInt(_0x2c8ffd(0x16e))/0x9*(parseInt(_0x2c8ffd(0x19d))/0xa)+-parseInt(_0x2c8ffd(0x1a1))/0xb;if(_0x55892f===_0x3257b9)break;else _0x1c56dd['push'](_0x1c56dd['shift']());}catch(_0x2831b3){_0x1c56dd['push'](_0x1c56dd['shift']());}}}(a15_0x6410,0x8acda));function a15_0x53bb(_0x4e66a9,_0x1a55fe){const _0x64102e=a15_0x6410();return a15_0x53bb=function(_0x53bbcc,_0x45b424){_0x53bbcc=_0x53bbcc-0x163;let _0x59d96b=_0x64102e[_0x53bbcc];return _0x59d96b;},a15_0x53bb(_0x4e66a9,_0x1a55fe);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x3bf424(0x195));exports['f_rm_rf']=function(_0x22e0b1){const _0x2b1169=a15_0x3bf424;if(fs[_0x2b1169(0x193)](_0x22e0b1)){const _0x5bde28=fs[_0x2b1169(0x198)](_0x22e0b1);for(let _0x5d2e11=0x0;_0x5d2e11<_0x5bde28[_0x2b1169(0x168)];_0x5d2e11++){const _0x1b5175=_0x5bde28[_0x5d2e11],_0x3eb964=_0x22e0b1+'/'+_0x1b5175;fs[_0x2b1169(0x1a0)](_0x3eb964)[_0x2b1169(0x18f)]()?(exports['f_rm_rf'](_0x3eb964),fs[_0x2b1169(0x166)](_0x3eb964)):fs['unlinkSync'](_0x3eb964);}}},exports[a15_0x3bf424(0x172)]=function(_0x54f60b=[]){const _0x1e91f1=a15_0x3bf424;return _0x54f60b[_0x1e91f1(0x165)](_0x21abd7=>{const _0x1f3d76=_0x1e91f1,_0x268955=CLOUD_PROJECT[_0x21abd7[_0x1f3d76(0x191)]]||undefined,_0x5d70ca=os[_0x1f3d76(0x199)]();return{'path':_0x5d70ca+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x21abd7[_0x1f3d76(0x191)]+'.zip','compress':_0x5d70ca+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x21abd7[_0x1f3d76(0x191)]+'_zip','repository':GIT_HOST+'/api/v4/projects/'+_0x268955[_0x1f3d76(0x185)]+_0x1f3d76(0x1a5)+_0x268955[_0x1f3d76(0x164)]+_0x1f3d76(0x18b)};});},exports['f_scan_jjb_config_json']=function(_0x2150d5){const _0x20c136=a15_0x3bf424;return fs['existsSync'](_0x2150d5+_0x20c136(0x1a4));},exports[a15_0x3bf424(0x1aa)]=function(_0x21c56c){const _0x2c1bee=a15_0x3bf424;let _0x3755b2={};try{_0x3755b2=JSON['parse'](fs[_0x2c1bee(0x1a9)](_0x21c56c+_0x2c1bee(0x1a4))[_0x2c1bee(0x1a8)]());}catch(_0x2dbce2){console['log'](_0x2c1bee(0x19b)),process[_0x2c1bee(0x182)](0x0);}!(_0x2c1bee(0x17a)in _0x3755b2)&&(console['log'](_0x2c1bee(0x16a)),process[_0x2c1bee(0x182)](0x0));!(_0x2c1bee(0x17e)in _0x3755b2)&&(console[_0x2c1bee(0x169)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process['exit'](0x0));!('installResources'in _0x3755b2)&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x16c)),process['exit'](0x0));typeof _0x3755b2[_0x2c1bee(0x17a)]!=='string'&&(console['log'](_0x2c1bee(0x17c)),process[_0x2c1bee(0x182)](0x0));![_0x2c1bee(0x1a7),_0x2c1bee(0x187),_0x2c1bee(0x1a6),_0x2c1bee(0x186)][_0x2c1bee(0x18a)](_0x3755b2[_0x2c1bee(0x17a)])&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x173)),process['exit'](0x0));typeof _0x3755b2[_0x2c1bee(0x17e)]!==_0x2c1bee(0x167)&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x175)),process[_0x2c1bee(0x182)](0x0));![_0x2c1bee(0x17f),'src'][_0x2c1bee(0x18a)](_0x3755b2[_0x2c1bee(0x17e)])&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x181)),process['exit'](0x0));!Array[_0x2c1bee(0x196)](_0x3755b2[_0x2c1bee(0x16f)])&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x177)),process[_0x2c1bee(0x182)](0x0));_0x3755b2[_0x2c1bee(0x16f)][_0x2c1bee(0x168)]===0x0&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x176)),process[_0x2c1bee(0x182)](0x0));const _0xdc9292=exports['f_resolve_install_resources'](_0x3755b2[_0x2c1bee(0x16f)]);return _0xdc9292[_0x2c1bee(0x165)](_0x580b19=>_0x580b19[_0x2c1bee(0x191)])['filter'](_0x3126fa=>![_0x2c1bee(0x16b),_0x2c1bee(0x19e),_0x2c1bee(0x197),'jjb-common-decorator','react-admin-component',_0x2c1bee(0x170)][_0x2c1bee(0x18a)](_0x3126fa))[_0x2c1bee(0x168)]!==0x0&&(console[_0x2c1bee(0x169)](_0x2c1bee(0x16d)),process[_0x2c1bee(0x182)](0x0)),_0x3755b2[_0x2c1bee(0x16f)]=_0xdc9292,_0x3755b2;},exports[a15_0x3bf424(0x19a)]=function(_0x3fdac3,_0x52b550,_0x1dea91){const _0x45fc53=a15_0x3bf424;fs[_0x45fc53(0x19c)](_0x3fdac3+_0x45fc53(0x179),_0x45fc53(0x1a2)+_0x52b550+'\x22,\x22version\x22:\x22'+_0x1dea91+_0x45fc53(0x188));},exports[a15_0x3bf424(0x180)]=function(_0xd7f286=[]){const _0x3852db=a15_0x3bf424,_0x5a08fc=[];return Array[_0x3852db(0x196)](_0xd7f286)&&_0xd7f286['forEach'](_0x293253=>{const _0x54e5f8=_0x3852db;if(Array[_0x54e5f8(0x196)](_0x293253)){const [_0x274ead,_0x32ec5a=[]]=_0x293253;_0x5a08fc[_0x54e5f8(0x17b)]({'name':_0x274ead,'importList':_0x32ec5a});}else _0x5a08fc[_0x54e5f8(0x17b)]({'name':_0x293253,'importList':[]});}),_0x5a08fc;},exports[a15_0x3bf424(0x18c)]=function(_0x476650,_0x167cb3,_0x5390a3){const _0x4119b2=a15_0x3bf424,_0x35060d=JSON['parse'](fs[_0x4119b2(0x1a9)](_0x476650)[_0x4119b2(0x1a8)]());_0x35060d[_0x4119b2(0x183)][_0x167cb3]=_0x5390a3,fs['writeFileSync'](_0x476650,JSON[_0x4119b2(0x18d)](_0x35060d,null,0x2));},exports[a15_0x3bf424(0x19f)]=function(_0x42010a,_0x367022){const _0x52c51d=a15_0x3bf424;fs[_0x52c51d(0x198)](_0x42010a)[_0x52c51d(0x194)](_0x152568=>{const _0x17186a=_0x52c51d,_0x1ff037=_0x42010a+'\x5c'+_0x152568,_0x231bfd=_0x367022+'\x5c'+_0x152568;fs['statSync'](_0x1ff037)[_0x17186a(0x18f)]()?(fs[_0x17186a(0x189)](_0x231bfd),exports[_0x17186a(0x19f)](_0x1ff037,_0x231bfd)):fs['writeFileSync'](_0x231bfd,fs[_0x17186a(0x1a9)](_0x1ff037)[_0x17186a(0x1a8)]());});},exports[a15_0x3bf424(0x163)]=function(_0x57a41a=[],_0x126a90){const _0x24ef0b=a15_0x3bf424;_0x57a41a[_0x24ef0b(0x194)](_0x133baa=>{const _0x31efc8=_0x24ef0b,_0x1fe7c0=_0x126a90+_0x133baa['path'];if(fs[_0x31efc8(0x193)](_0x1fe7c0)){let _0x2d2ba9=fs[_0x31efc8(0x1a9)](_0x1fe7c0)[_0x31efc8(0x1a8)]();_0x133baa[_0x31efc8(0x1a3)][_0x31efc8(0x194)](_0x482c9f=>{const _0x37ba0f=_0x31efc8;_0x2d2ba9=_0x2d2ba9[_0x37ba0f(0x1a3)](_0x482c9f[0x0],_0x482c9f[0x1]);}),fs[_0x31efc8(0x19c)](_0x1fe7c0,_0x2d2ba9);}});};function a15_0x6410(){const _0x315453=['readdirSync','tmpdir','f_create_package_json','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','writeFileSync','5240YyOcyH','jjb-dva-runtime','f_file_copy','statSync','34912240dimPTp','{\x22name\x22:\x22','replace','\x5cjjb.config.json','/repository/archive.zip?private_token=','uniapp','multi','toString','readFileSync','f_scan_jjb_config_json_rules','f_content_replace','token','map','rmdirSync','string','length','log','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','jjb-common','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【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>。','2808MrFZbv','installResources','vue-unisass-component','2296664xGyqAC','f_pull_git_repository','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','426293KmGGMY','【Error】:[jjb.config.json.installTarget]类型是一个string。','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','1532102MiGXVF','\x5cpackage.json','projectType','push','【Error】:[jjb.config.json.projectType]类型是一个string。','3chAKAq','installTarget','node_modules','f_resolve_install_resources','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','exit','dependencies','942290UdlVTe','projectId','micro-spa','spa','\x22,\x22main\x22:\x20\x22index.js\x22}','mkdirSync','includes','&ref=master','f_update_project_package_json','stringify','5EDqxyY','isDirectory','88IHFCxE','name','3758964mvkSfT','existsSync','forEach','./config','isArray','jjb-common-lib'];a15_0x6410=function(){return _0x315453;};return a15_0x6410();}
1
+ const a15_0x2565fa=a15_0x2532;function a15_0x3a20(){const _0x5c9d22=['dependencies','replace','multi','rmdirSync','jjb-common-decorator','950CBLbeY','log','node_modules','isDirectory','f_scan_jjb_config_json','length','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【Error】:[jjb.config.json.installResources]无资源。','react-admin-component','statSync','isArray','486800mxoymj','writeFileSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x22,\x22version\x22:\x22','includes','mkdirSync','.zip','push','【Error】:[jjb.config.json.projectType]类型是一个string。','micro-spa','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','_zip','vue-unisass-component','f_content_replace','f_pull_git_repository','name','f_create_package_json','map','f_update_project_package_json','\x5cpackage.json','uniapp','9910866EcbQNB','./config','installTarget','33LpAEsF','existsSync','src','4067gVbnEC','installResources','f_file_copy','stringify','string','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','readFileSync','jjb-dva-runtime','20540619WzyKGy','340bNHnqJ','parse','forEach','projectType','f_resolve_install_resources','\x5cjjb.config.json','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','exit','toString','readdirSync','656NYssDD','{\x22name\x22:\x22','tmpdir','23748JPfqBK','jjb-common','token','93141rtvPOV','f_rm_rf','952192jAQhHD','unlinkSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','projectId','f_scan_jjb_config_json_rules'];a15_0x3a20=function(){return _0x5c9d22;};return a15_0x3a20();}(function(_0x51f2a4,_0x3c9cfb){const _0x14ed7e=a15_0x2532,_0x4be3f7=_0x51f2a4();while(!![]){try{const _0x4b51b8=-parseInt(_0x14ed7e(0xe3))/0x1*(-parseInt(_0x14ed7e(0xab))/0x2)+parseInt(_0x14ed7e(0xe0))/0x3*(-parseInt(_0x14ed7e(0xc8))/0x4)+-parseInt(_0x14ed7e(0xbd))/0x5*(-parseInt(_0x14ed7e(0xae))/0x6)+-parseInt(_0x14ed7e(0xdd))/0x7+-parseInt(_0x14ed7e(0xb3))/0x8+-parseInt(_0x14ed7e(0xb1))/0x9*(parseInt(_0x14ed7e(0x9f))/0xa)+parseInt(_0x14ed7e(0x9e))/0xb;if(_0x4b51b8===_0x3c9cfb)break;else _0x4be3f7['push'](_0x4be3f7['shift']());}catch(_0x35b363){_0x4be3f7['push'](_0x4be3f7['shift']());}}}(a15_0x3a20,0xb1b59));function a15_0x2532(_0x5b117b,_0x14c282){const _0x3a205a=a15_0x3a20();return a15_0x2532=function(_0x2532bf,_0xa54bb1){_0x2532bf=_0x2532bf-0x97;let _0x57d19b=_0x3a205a[_0x2532bf];return _0x57d19b;},a15_0x2532(_0x5b117b,_0x14c282);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x2565fa(0xde));exports[a15_0x2565fa(0xb2)]=function(_0x5ac361){const _0x4d3779=a15_0x2565fa;if(fs[_0x4d3779(0xe1)](_0x5ac361)){const _0x31f7cf=fs[_0x4d3779(0xaa)](_0x5ac361);for(let _0x33fc71=0x0;_0x33fc71<_0x31f7cf['length'];_0x33fc71++){const _0x10dc5f=_0x31f7cf[_0x33fc71],_0x518cc7=_0x5ac361+'/'+_0x10dc5f;fs[_0x4d3779(0xc6)](_0x518cc7)[_0x4d3779(0xc0)]()?(exports['f_rm_rf'](_0x518cc7),fs[_0x4d3779(0xbb)](_0x518cc7)):fs[_0x4d3779(0xb4)](_0x518cc7);}}},exports[a15_0x2565fa(0xd6)]=function(_0x4ecfeb=[]){const _0x47c908=a15_0x2565fa;return _0x4ecfeb[_0x47c908(0xd9)](_0x4a93e6=>{const _0x138487=_0x47c908,_0x206e33=CLOUD_PROJECT[_0x4a93e6['name']]||undefined,_0x1e5f0e=os[_0x138487(0xad)]();return{'path':_0x1e5f0e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a93e6[_0x138487(0xd7)]+_0x138487(0xce),'compress':_0x1e5f0e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a93e6[_0x138487(0xd7)]+_0x138487(0xd3),'repository':GIT_HOST+'/api/v4/projects/'+_0x206e33[_0x138487(0xb6)]+'/repository/archive.zip?private_token='+_0x206e33[_0x138487(0xb0)]+'&ref=master'};});},exports[a15_0x2565fa(0xc1)]=function(_0x207ec4){const _0x52826c=a15_0x2565fa;return fs[_0x52826c(0xe1)](_0x207ec4+_0x52826c(0xa4));},exports[a15_0x2565fa(0xb7)]=function(_0x3c8181){const _0x2490cc=a15_0x2565fa;let _0x4ef753={};try{_0x4ef753=JSON[_0x2490cc(0xa0)](fs[_0x2490cc(0x9c)](_0x3c8181+_0x2490cc(0xa4))['toString']());}catch(_0x1b191d){console[_0x2490cc(0xbe)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x2490cc(0xa8)](0x0);}!(_0x2490cc(0xa2)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0x9b)),process['exit'](0x0));!(_0x2490cc(0xdf)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xd2)),process['exit'](0x0));!(_0x2490cc(0x97)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xc3)),process[_0x2490cc(0xa8)](0x0));typeof _0x4ef753[_0x2490cc(0xa2)]!==_0x2490cc(0x9a)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xd0)),process[_0x2490cc(0xa8)](0x0));![_0x2490cc(0xba),'spa',_0x2490cc(0xdc),_0x2490cc(0xd1)][_0x2490cc(0xcc)](_0x4ef753[_0x2490cc(0xa2)])&&(console[_0x2490cc(0xbe)](_0x2490cc(0xa7)),process['exit'](0x0));typeof _0x4ef753['installTarget']!==_0x2490cc(0x9a)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xb5)),process[_0x2490cc(0xa8)](0x0));![_0x2490cc(0xbf),_0x2490cc(0xe2)][_0x2490cc(0xcc)](_0x4ef753[_0x2490cc(0xdf)])&&(console[_0x2490cc(0xbe)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x2490cc(0xa8)](0x0));!Array[_0x2490cc(0xc7)](_0x4ef753[_0x2490cc(0x97)])&&(console[_0x2490cc(0xbe)](_0x2490cc(0xca)),process['exit'](0x0));_0x4ef753['installResources'][_0x2490cc(0xc2)]===0x0&&(console[_0x2490cc(0xbe)](_0x2490cc(0xc4)),process[_0x2490cc(0xa8)](0x0));const _0x6d4df5=exports[_0x2490cc(0xa3)](_0x4ef753[_0x2490cc(0x97)]);return _0x6d4df5['map'](_0x471d29=>_0x471d29[_0x2490cc(0xd7)])['filter'](_0x526846=>![_0x2490cc(0xaf),_0x2490cc(0x9d),'jjb-common-lib',_0x2490cc(0xbc),_0x2490cc(0xc5),_0x2490cc(0xd4)][_0x2490cc(0xcc)](_0x526846))[_0x2490cc(0xc2)]!==0x0&&(console['log'](_0x2490cc(0xa5)),process[_0x2490cc(0xa8)](0x0)),_0x4ef753[_0x2490cc(0x97)]=_0x6d4df5,_0x4ef753;},exports[a15_0x2565fa(0xd8)]=function(_0xefb895,_0x34dff5,_0x21e2f9){const _0xaad08e=a15_0x2565fa;fs['writeFileSync'](_0xefb895+_0xaad08e(0xdb),_0xaad08e(0xac)+_0x34dff5+_0xaad08e(0xcb)+_0x21e2f9+_0xaad08e(0xa6));},exports[a15_0x2565fa(0xa3)]=function(_0x28c6ad=[]){const _0x15a36c=a15_0x2565fa,_0x4c5f1b=[];return Array[_0x15a36c(0xc7)](_0x28c6ad)&&_0x28c6ad[_0x15a36c(0xa1)](_0x5871c5=>{const _0x2be5db=_0x15a36c;if(Array['isArray'](_0x5871c5)){const [_0x1c298f,_0x158c8d=[]]=_0x5871c5;_0x4c5f1b[_0x2be5db(0xcf)]({'name':_0x1c298f,'importList':_0x158c8d});}else _0x4c5f1b[_0x2be5db(0xcf)]({'name':_0x5871c5,'importList':[]});}),_0x4c5f1b;},exports[a15_0x2565fa(0xda)]=function(_0x595a4b,_0x3cc5a4,_0x36c8f6){const _0x581832=a15_0x2565fa,_0x39fee3=JSON[_0x581832(0xa0)](fs['readFileSync'](_0x595a4b)[_0x581832(0xa9)]());_0x39fee3[_0x581832(0xb8)][_0x3cc5a4]=_0x36c8f6,fs[_0x581832(0xc9)](_0x595a4b,JSON[_0x581832(0x99)](_0x39fee3,null,0x2));},exports[a15_0x2565fa(0x98)]=function(_0x265370,_0x3477ea){const _0xd8f049=a15_0x2565fa;fs[_0xd8f049(0xaa)](_0x265370)[_0xd8f049(0xa1)](_0x3ae9fe=>{const _0x14b4cc=_0xd8f049,_0x4fe767=_0x265370+'\x5c'+_0x3ae9fe,_0x488957=_0x3477ea+'\x5c'+_0x3ae9fe;fs[_0x14b4cc(0xc6)](_0x4fe767)[_0x14b4cc(0xc0)]()?(fs[_0x14b4cc(0xcd)](_0x488957),exports[_0x14b4cc(0x98)](_0x4fe767,_0x488957)):fs[_0x14b4cc(0xc9)](_0x488957,fs[_0x14b4cc(0x9c)](_0x4fe767)[_0x14b4cc(0xa9)]());});},exports[a15_0x2565fa(0xd5)]=function(_0x292489=[],_0x2f665c){const _0x322fe0=a15_0x2565fa;_0x292489[_0x322fe0(0xa1)](_0x493874=>{const _0x2c3cef=_0x322fe0,_0x379d33=_0x2f665c+_0x493874['path'];if(fs['existsSync'](_0x379d33)){let _0x515d81=fs[_0x2c3cef(0x9c)](_0x379d33)[_0x2c3cef(0xa9)]();_0x493874[_0x2c3cef(0xb9)]['forEach'](_0x3b08c3=>{_0x515d81=_0x515d81['replace'](_0x3b08c3[0x0],_0x3b08c3[0x1]);}),fs[_0x2c3cef(0xc9)](_0x379d33,_0x515d81);}});};
@@ -1 +1 @@
1
- const a16_0x125dc2=a16_0x4cd0;function a16_0x15ff(){const _0x49bea8=['1566392AJIlEn','./util.js','exports','join','file','application','./project','\x27)\x20}','CreatePaths','2121102GlKaHz','length','464770lzZMVa','region','push','3484436hshNST','toString','routerConfig','6LfCoAP','parse','readFileSync','/setting.json','then','pathAdr','5gJraxA','16371828NWhlSv','split','186132lnXDDf','49nNfpUe','fileType','894210pvyLQm','resolve','from','{\x20path:\x20\x27','path','slice','forEach','DeepScanner','/application','10goMpEp','concat','router'];a16_0x15ff=function(){return _0x49bea8;};return a16_0x15ff();}function a16_0x4cd0(_0x4166d7,_0x644202){const _0x15ff4f=a16_0x15ff();return a16_0x4cd0=function(_0x4cd005,_0x1448cb){_0x4cd005=_0x4cd005-0xee;let _0x3fba0d=_0x15ff4f[_0x4cd005];return _0x3fba0d;},a16_0x4cd0(_0x4166d7,_0x644202);}(function(_0x5d8433,_0x383ee7){const _0x4f71f6=a16_0x4cd0,_0x298754=_0x5d8433();while(!![]){try{const _0x39f692=parseInt(_0x4f71f6(0x116))/0x1+-parseInt(_0x4f71f6(0x104))/0x2*(parseInt(_0x4f71f6(0x10a))/0x3)+-parseInt(_0x4f71f6(0x107))/0x4*(-parseInt(_0x4f71f6(0x110))/0x5)+parseInt(_0x4f71f6(0x113))/0x6*(parseInt(_0x4f71f6(0x114))/0x7)+parseInt(_0x4f71f6(0xf9))/0x8+parseInt(_0x4f71f6(0x102))/0x9*(parseInt(_0x4f71f6(0xf6))/0xa)+-parseInt(_0x4f71f6(0x111))/0xb;if(_0x39f692===_0x383ee7)break;else _0x298754['push'](_0x298754['shift']());}catch(_0x5ed842){_0x298754['push'](_0x298754['shift']());}}}(a16_0x15ff,0x70820));const fs=require('fs'),path=require(a16_0x125dc2(0xf1)),utils=require(a16_0x125dc2(0xfa));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x125dc2(0xfb)]=(_0x102465,_0x5c812a)=>{const _0x128788=a16_0x125dc2;commandArr=_0x102465[_0x128788(0x112)](':'),projectPath=path[_0x128788(0xee)](_0x128788(0xff)),vesselPath=path[_0x128788(0xee)]('./vessel/src');let _0x7fb243=vesselPath;_0x5c812a==='mp'&&(_0x7fb243=vesselPath+_0x128788(0xf5),utils[_0x128788(0x101)](vesselPath,[_0x128788(0xfe)]));const _0x19c89f=commandArr[0x1],_0x42b2ba=JSON[_0x128788(0x10b)](fs[_0x128788(0x10c)](projectPath+'/'+_0x19c89f+_0x128788(0x10d))[_0x128788(0x108)]());TileItems(_0x42b2ba['items'],()=>{const _0x3ffacf=_0x128788;fromFileData[_0x3ffacf(0xf8)][_0x3ffacf(0xf3)](_0x276a03=>{const _0x530314=_0x3ffacf,_0x483e27=_0x276a03[_0x530314(0x10f)][_0x530314(0x112)](_0x276a03[_0x530314(0x105)]),_0x1c1dfd=_0x483e27[0x1]['split']('/'),_0x4dad13=_0x1c1dfd[0x1];!applicationJson[_0x4dad13]&&(applicationJson[_0x4dad13]={'routerConfig':[],'routerPath':[]});applicationJson[_0x4dad13][_0x530314(0x109)][_0x530314(0x106)](_0x530314(0xf0)+_0x276a03[_0x530314(0xf1)]+'\x27,\x20component:\x20()\x20=>\x20import(\x27'+_0x276a03[_0x530314(0xfd)]+_0x530314(0x100)),applicationJson[_0x4dad13]['routerPath'][_0x530314(0x106)](_0x276a03[_0x530314(0xf1)]);let _0x4d29bf=_0x1c1dfd[_0x530314(0xfc)]('/');const _0x608483=_0x4d29bf[_0x530314(0x112)]('/');utils[_0x530314(0x101)](_0x7fb243,_0x608483[_0x530314(0xf2)](0x0,_0x608483['length']-0x1))[_0x530314(0x10e)](()=>{const _0x49b8cb=_0x530314,_0x343661=fs[_0x49b8cb(0x10c)](_0x276a03[_0x49b8cb(0x10f)])['toString']();fs['writeFileSync'](vesselPath+'/'+_0x4d29bf,_0x343661);});});});};function TileItems(_0x5eddc8,_0x27846b){_0x5eddc8['forEach']((_0xf78896,_0x384a15)=>{const _0x1ada60=a16_0x4cd0,_0x3fbc5b=_0xf78896[_0x1ada60(0x105)];_0xf78896[_0x1ada60(0xef)][_0x1ada60(0xf3)]((_0x51d1b3,_0x385999)=>{const _0x56717f=_0x1ada60,_0x47d869=[];utils[_0x56717f(0xf4)](projectPath+'/'+_0x3fbc5b+'/'+_0x51d1b3[_0x56717f(0xfd)],_0x47d869);const _0x4592e0=_0x47d869['map'](_0x804b75=>({'region':_0x3fbc5b,'pathAdr':_0x804b75,..._0x51d1b3}));!fromFileData[_0x51d1b3[_0x56717f(0x115)]]?fromFileData[_0x51d1b3[_0x56717f(0x115)]]=_0x4592e0:fromFileData[_0x51d1b3[_0x56717f(0x115)]]=fromFileData[_0x51d1b3[_0x56717f(0x115)]][_0x56717f(0xf7)](_0x4592e0),_0x384a15===_0x5eddc8[_0x56717f(0x103)]-0x1&&_0x385999===_0xf78896[_0x56717f(0xef)][_0x56717f(0x103)]-0x1&&_0x27846b();});});}
1
+ const a16_0x5e944c=a16_0x52de;(function(_0x527559,_0x35f14e){const _0x428d89=a16_0x52de,_0x55eaf5=_0x527559();while(!![]){try{const _0x49815d=parseInt(_0x428d89(0x174))/0x1+parseInt(_0x428d89(0x176))/0x2+-parseInt(_0x428d89(0x179))/0x3+-parseInt(_0x428d89(0x16a))/0x4*(-parseInt(_0x428d89(0x164))/0x5)+-parseInt(_0x428d89(0x159))/0x6*(-parseInt(_0x428d89(0x17c))/0x7)+parseInt(_0x428d89(0x166))/0x8+-parseInt(_0x428d89(0x16d))/0x9*(parseInt(_0x428d89(0x175))/0xa);if(_0x49815d===_0x35f14e)break;else _0x55eaf5['push'](_0x55eaf5['shift']());}catch(_0x4497b3){_0x55eaf5['push'](_0x55eaf5['shift']());}}}(a16_0x35a9,0x84d3a));function a16_0x35a9(){const _0x5e2179=['routerConfig','split','4498277QLSjIE','toString','application','6gKyGql','from','slice','exports','length','forEach','pathAdr','region','path','readFileSync','then','2582410RlKZpu','{\x20path:\x20\x27','5528792zgneRd','writeFileSync','push','/application','8OJSqmi','./vessel/src','CreatePaths','1091331xrkfDs','join','file','resolve','fileType','map','\x27)\x20}','1040890mAIEdZ','190HEpwPf','837252yWiAUC','router','routerPath','2934633QDaQxI'];a16_0x35a9=function(){return _0x5e2179;};return a16_0x35a9();}const fs=require('fs'),path=require(a16_0x5e944c(0x161)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x5e944c(0x15c)]=(_0x3aa033,_0xb46b8d)=>{const _0x314a14=a16_0x5e944c;commandArr=_0x3aa033[_0x314a14(0x17b)](':'),projectPath=path[_0x314a14(0x170)]('./project'),vesselPath=path[_0x314a14(0x170)](_0x314a14(0x16b));let _0x4e1341=vesselPath;_0xb46b8d==='mp'&&(_0x4e1341=vesselPath+_0x314a14(0x169),utils['CreatePaths'](vesselPath,[_0x314a14(0x17e)]));const _0x2628a1=commandArr[0x1],_0x21a581=JSON['parse'](fs[_0x314a14(0x162)](projectPath+'/'+_0x2628a1+'/setting.json')[_0x314a14(0x17d)]());TileItems(_0x21a581['items'],()=>{const _0x4c299b=_0x314a14;fromFileData[_0x4c299b(0x177)][_0x4c299b(0x15e)](_0x136d5f=>{const _0xe94a37=_0x4c299b,_0x57c0f6=_0x136d5f['pathAdr']['split'](_0x136d5f[_0xe94a37(0x160)]),_0x193b4b=_0x57c0f6[0x1]['split']('/'),_0x3aece3=_0x193b4b[0x1];!applicationJson[_0x3aece3]&&(applicationJson[_0x3aece3]={'routerConfig':[],'routerPath':[]});applicationJson[_0x3aece3][_0xe94a37(0x17a)][_0xe94a37(0x168)](_0xe94a37(0x165)+_0x136d5f[_0xe94a37(0x161)]+'\x27,\x20component:\x20()\x20=>\x20import(\x27'+_0x136d5f[_0xe94a37(0x16f)]+_0xe94a37(0x173)),applicationJson[_0x3aece3][_0xe94a37(0x178)][_0xe94a37(0x168)](_0x136d5f[_0xe94a37(0x161)]);let _0x3a51ce=_0x193b4b[_0xe94a37(0x16e)]('/');const _0x49ee5d=_0x3a51ce['split']('/');utils[_0xe94a37(0x16c)](_0x4e1341,_0x49ee5d[_0xe94a37(0x15b)](0x0,_0x49ee5d['length']-0x1))[_0xe94a37(0x163)](()=>{const _0x49ff7d=_0xe94a37,_0x3e0dcd=fs['readFileSync'](_0x136d5f[_0x49ff7d(0x15f)])['toString']();fs[_0x49ff7d(0x167)](vesselPath+'/'+_0x3a51ce,_0x3e0dcd);});});});};function a16_0x52de(_0x2fdee1,_0x26e106){const _0x35a9f6=a16_0x35a9();return a16_0x52de=function(_0x52deeb,_0x1bc055){_0x52deeb=_0x52deeb-0x159;let _0x4a5f62=_0x35a9f6[_0x52deeb];return _0x4a5f62;},a16_0x52de(_0x2fdee1,_0x26e106);}function TileItems(_0x2bedc3,_0x1588e4){_0x2bedc3['forEach']((_0x2f5054,_0x54dab6)=>{const _0x5193a6=a16_0x52de,_0x5bdd4c=_0x2f5054[_0x5193a6(0x160)];_0x2f5054[_0x5193a6(0x15a)][_0x5193a6(0x15e)]((_0x3e0026,_0x41d9ae)=>{const _0xddde75=_0x5193a6,_0x1efa23=[];utils['DeepScanner'](projectPath+'/'+_0x5bdd4c+'/'+_0x3e0026[_0xddde75(0x16f)],_0x1efa23);const _0x1c86b4=_0x1efa23[_0xddde75(0x172)](_0x16b1f5=>({'region':_0x5bdd4c,'pathAdr':_0x16b1f5,..._0x3e0026}));!fromFileData[_0x3e0026[_0xddde75(0x171)]]?fromFileData[_0x3e0026[_0xddde75(0x171)]]=_0x1c86b4:fromFileData[_0x3e0026[_0xddde75(0x171)]]=fromFileData[_0x3e0026[_0xddde75(0x171)]]['concat'](_0x1c86b4),_0x54dab6===_0x2bedc3[_0xddde75(0x15d)]-0x1&&_0x41d9ae===_0x2f5054[_0xddde75(0x15a)][_0xddde75(0x15d)]-0x1&&_0x1588e4();});});}
@@ -1 +1 @@
1
- 'use strict';function a17_0x5ebd(){const _0x9009a8=['common','toString','exists','31935BWIXrK','return\x20process.env;','request','common\x5cdva\x5cautomatic\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','common\x5cwebsite\x5cindex.js','exports','rmdirSync','G4HJRsHr9D7Ssmixegw2','\x5ccli.dva.router.spa.txt','5363230eBRcCd','jjbAssembly','.zip','12MTCeAl','readFileSync','replace','-master-','6cvYamv','statSync','http://192.168.1.242:10985','common\x5cdva\x5cautomatic\x5c','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','/unzip/','createWriteStream','components','token','compressing','FT3pKzxpRynFkmddJ9Bs','unlinkSync','CopyFolder','\x5ccli.dva.register.spa.txt','common\x5ctools\x5cindex.js','forEach','path','uncompress','1FWLmLD','DeleteDirAllFile','localName','readdirSync','error','963626FfqnEe','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','./util','return\x20__planA();','9WjaXWs','11205106QaPNhx','mkdirSync','1902684bQUSsm','260aHMIYe','1993140YqVqWD','writeFileSync','-文件下载完毕','\x5csrc','5860344aPLTkd'];a17_0x5ebd=function(){return _0x9009a8;};return a17_0x5ebd();}const a17_0x535051=a17_0x57f2;(function(_0x271507,_0x274d97){const _0x40c479=a17_0x57f2,_0x1356c4=_0x271507();while(!![]){try{const _0x359145=-parseInt(_0x40c479(0xfb))/0x1*(parseInt(_0x40c479(0x100))/0x2)+parseInt(_0x40c479(0x111))/0x3*(-parseInt(_0x40c479(0x108))/0x4)+parseInt(_0x40c479(0x109))/0x5*(-parseInt(_0x40c479(0x122))/0x6)+-parseInt(_0x40c479(0x107))/0x7+parseInt(_0x40c479(0x10d))/0x8+-parseInt(_0x40c479(0x104))/0x9*(-parseInt(_0x40c479(0x11b))/0xa)+parseInt(_0x40c479(0x105))/0xb*(parseInt(_0x40c479(0x11e))/0xc);if(_0x359145===_0x274d97)break;else _0x1356c4['push'](_0x1356c4['shift']());}catch(_0x39ee2c){_0x1356c4['push'](_0x1356c4['shift']());}}}(a17_0x5ebd,0x6c3c6));function a17_0x57f2(_0x592af6,_0x52b2ef){const _0x5ebd00=a17_0x5ebd();return a17_0x57f2=function(_0x57f282,_0x4d85e3){_0x57f282=_0x57f282-0xf3;let _0x1535ec=_0x5ebd00[_0x57f282];return _0x1535ec;},a17_0x57f2(_0x592af6,_0x52b2ef);}const fs=require('fs'),os=require('os'),path=require(a17_0x535051(0xf9)),utils=require(a17_0x535051(0x102)),request=require(a17_0x535051(0x113)),compressing=require(a17_0x535051(0x12b)),GIT_TEMP_DIR=a17_0x535051(0x11c),GIT_HOST=a17_0x535051(0x124),CLOUD_PROJECT={'common':{'token':a17_0x535051(0x119),'projectId':0x117,'localName':a17_0x535051(0x10e)},'react-admin-component':{'token':a17_0x535051(0xf3),'projectId':0x154,'localName':a17_0x535051(0x129)}};module[a17_0x535051(0x117)]=_0x417eb6=>{const _0x4a39b0=a17_0x535051,_0x35760c=_0x417eb6,_0x36f84e=path['resolve']('./');try{if(fs[_0x4a39b0(0x123)](_0x36f84e+_0x4a39b0(0x10c))){const _0x167675=_0x36f84e+_0x4a39b0(0x10c),_0x538c15=CLOUD_PROJECT[_0x35760c]||undefined;if(_0x538c15){const _0x2ef9bf=os['tmpdir'](),_0x248c4d=_0x2ef9bf+('/'+GIT_TEMP_DIR+'/'+_0x35760c+_0x4a39b0(0x11d)),_0x4635ab=_0x2ef9bf+'/'+GIT_TEMP_DIR+_0x4a39b0(0x127);utils[_0x4a39b0(0xfc)](_0x2ef9bf+'/'+GIT_TEMP_DIR,()=>{const _0x1feb47=_0x4a39b0;fs['mkdirSync'](_0x2ef9bf+'/'+GIT_TEMP_DIR);let _0x1b00b6=fs[_0x1feb47(0x128)](_0x248c4d);request(GIT_HOST+'/api/v4/projects/'+_0x538c15['projectId']+'/repository/archive.zip?private_token='+_0x538c15[_0x1feb47(0x12a)]+'&ref=master')['pipe'](_0x1b00b6)['on']('close',()=>{const _0x323949=_0x1feb47;fs[_0x323949(0x106)](_0x4635ab),compressing['zip'][_0x323949(0xfa)](_0x248c4d,_0x4635ab)['then'](()=>{setTimeout(()=>{const _0x1eebf9=a17_0x57f2,_0x1ede23=fs[_0x1eebf9(0xfe)](_0x4635ab);_0x1ede23[_0x1eebf9(0xf8)](_0x4811e4=>{const _0x207e6c=_0x1eebf9;if(_0x4811e4['indexOf'](_0x207e6c(0x121))!==-0x1){const _0x22902f=_0x167675+'\x5c'+_0x538c15[_0x207e6c(0xfd)];utils['DeleteDirAllFile'](_0x22902f,()=>{const _0x14f227=_0x207e6c;fs[_0x14f227(0x106)](_0x22902f),utils[_0x14f227(0xf5)](_0x4635ab+_0x4811e4,_0x22902f),setTimeout(()=>{const _0x504eca=_0x14f227,_0xbc67=fs['existsSync'](_0x167675+'\x5c'+'application');if(!_0xbc67){const _0x3b5196=_0x167675+'\x5c'+_0x504eca(0xf7),_0x5eec1b=_0x167675+'\x5c'+_0x504eca(0x116);let _0x5bc80e=fs[_0x504eca(0x11f)](_0x3b5196)[_0x504eca(0x10f)](),_0x4c678e=fs[_0x504eca(0x11f)](_0x5eec1b)['toString']();_0x5bc80e=_0x5bc80e[_0x504eca(0x120)](_0x504eca(0x103),_0x504eca(0x112)),_0x4c678e=_0x4c678e[_0x504eca(0x120)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x504eca(0x115)),fs[_0x504eca(0x10a)](_0x3b5196,_0x5bc80e),fs[_0x504eca(0x10a)](_0x5eec1b,_0x4c678e),fs['writeFileSync'](_0x167675+_0x504eca(0x126),fs[_0x504eca(0x11f)](__dirname+_0x504eca(0x11a))['toString']()),fs['writeFileSync'](_0x167675+'\x5ccommon\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x504eca(0xf6))[_0x504eca(0x10f)]());}else fs[_0x504eca(0x110)](_0x167675+'\x5c'+_0x504eca(0x114),_0x2963f9=>{const _0x366451=_0x504eca;_0x2963f9&&(fs[_0x366451(0xfe)](_0x167675+'\x5c'+'common\x5cdva\x5cautomatic')[_0x366451(0xf8)](_0x51e96e=>{const _0x199b64=_0x366451;fs[_0x199b64(0xf4)](_0x167675+'\x5c'+_0x199b64(0x125)+_0x51e96e);}),fs[_0x366451(0x118)](_0x167675+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x35760c+_0x1eebf9(0x10b));},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x35760c);}}catch(_0x2f179d){console[_0x4a39b0(0xff)](_0x4a39b0(0x101));}};
1
+ 'use strict';const a17_0x58949b=a17_0x22ca;(function(_0x5edc0e,_0x1f8585){const _0x362598=a17_0x22ca,_0xd3c476=_0x5edc0e();while(!![]){try{const _0x5442af=-parseInt(_0x362598(0x19f))/0x1+parseInt(_0x362598(0x1cc))/0x2+parseInt(_0x362598(0x1bb))/0x3*(-parseInt(_0x362598(0x1a1))/0x4)+-parseInt(_0x362598(0x1c7))/0x5+parseInt(_0x362598(0x1c1))/0x6+parseInt(_0x362598(0x1a4))/0x7+parseInt(_0x362598(0x1c8))/0x8;if(_0x5442af===_0x1f8585)break;else _0xd3c476['push'](_0xd3c476['shift']());}catch(_0x1fa38c){_0xd3c476['push'](_0xd3c476['shift']());}}}(a17_0x2d74,0x980f2));function a17_0x22ca(_0x2eda93,_0x19b678){const _0x2d74b1=a17_0x2d74();return a17_0x22ca=function(_0x22ca04,_0x1a7d07){_0x22ca04=_0x22ca04-0x19d;let _0x107791=_0x2d74b1[_0x22ca04];return _0x107791;},a17_0x22ca(_0x2eda93,_0x19b678);}function a17_0x2d74(){const _0x21bead=['toString','-master-','\x5csrc','mkdirSync','G4HJRsHr9D7Ssmixegw2','compressing','application','tmpdir','forEach','.zip','zip','&ref=master','log','projectId','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','3uPkQOm','exists','exports','return\x20process.env;','common\x5ctools\x5cindex.js','resolve','3481584sHpqTT','token','then','/repository/archive.zip?private_token=','createWriteStream','writeFileSync','3378075cPMxiZ','2544144xvDsZr','FT3pKzxpRynFkmddJ9Bs','request','unlinkSync','1986644FRGdDh','common\x5cdva\x5cautomatic\x5c','close','\x5ccli.dva.router.spa.txt','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','statSync','error','common\x5cwebsite\x5cindex.js','jjbAssembly','DeleteDirAllFile','/unzip/','localName','common\x5cdva\x5cautomatic','readFileSync','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','307602JjNlrj','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','1597920PMqqRw','CopyFolder','rmdirSync','797489XgbufP','path','【Error】:\x20未获取到项目\x20','pipe','common\x5cdva\x5cautomatic\x5cindex.js','replace','readdirSync'];a17_0x2d74=function(){return _0x21bead;};return a17_0x2d74();}const fs=require('fs'),os=require('os'),path=require(a17_0x58949b(0x1a5)),utils=require('./util'),request=require(a17_0x58949b(0x1ca)),compressing=require(a17_0x58949b(0x1b0)),GIT_TEMP_DIR=a17_0x58949b(0x1d4),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a17_0x58949b(0x1af),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a17_0x58949b(0x1c9),'projectId':0x154,'localName':'components'}};module[a17_0x58949b(0x1bd)]=_0x2acacb=>{const _0x3178f7=a17_0x58949b,_0xd78ca5=_0x2acacb,_0x124725=path[_0x3178f7(0x1c0)]('./');try{if(fs[_0x3178f7(0x1d1)](_0x124725+_0x3178f7(0x1ad))){const _0x404192=_0x124725+'\x5csrc',_0x3fecfd=CLOUD_PROJECT[_0xd78ca5]||undefined;if(_0x3fecfd){const _0xab9789=os[_0x3178f7(0x1b2)](),_0x18913e=_0xab9789+('/'+GIT_TEMP_DIR+'/'+_0xd78ca5+_0x3178f7(0x1b4)),_0x4bf349=_0xab9789+'/'+GIT_TEMP_DIR+_0x3178f7(0x1d6);utils['DeleteDirAllFile'](_0xab9789+'/'+GIT_TEMP_DIR,()=>{const _0x51867f=_0x3178f7;fs[_0x51867f(0x1ae)](_0xab9789+'/'+GIT_TEMP_DIR);let _0x2229d2=fs[_0x51867f(0x1c5)](_0x18913e);request(GIT_HOST+'/api/v4/projects/'+_0x3fecfd[_0x51867f(0x1b8)]+_0x51867f(0x1c4)+_0x3fecfd[_0x51867f(0x1c2)]+_0x51867f(0x1b6))[_0x51867f(0x1a7)](_0x2229d2)['on'](_0x51867f(0x1ce),()=>{const _0x2a3a28=_0x51867f;fs[_0x2a3a28(0x1ae)](_0x4bf349),compressing[_0x2a3a28(0x1b5)]['uncompress'](_0x18913e,_0x4bf349)[_0x2a3a28(0x1c3)](()=>{setTimeout(()=>{const _0x7b3818=a17_0x22ca,_0x2a4c32=fs[_0x7b3818(0x1aa)](_0x4bf349);_0x2a4c32[_0x7b3818(0x1b3)](_0x298e65=>{const _0x553cfb=_0x7b3818;if(_0x298e65[_0x553cfb(0x1b9)](_0x553cfb(0x1ac))!==-0x1){const _0x5b62ef=_0x404192+'\x5c'+_0x3fecfd[_0x553cfb(0x1d7)];utils[_0x553cfb(0x1d5)](_0x5b62ef,()=>{const _0x461403=_0x553cfb;fs[_0x461403(0x1ae)](_0x5b62ef),utils[_0x461403(0x1a2)](_0x4bf349+_0x298e65,_0x5b62ef),setTimeout(()=>{const _0x48478f=_0x461403,_0x4d9739=fs['existsSync'](_0x404192+'\x5c'+_0x48478f(0x1b1));if(!_0x4d9739){const _0x3ea5d6=_0x404192+'\x5c'+_0x48478f(0x1bf),_0x4247fb=_0x404192+'\x5c'+_0x48478f(0x1d3);let _0x421455=fs[_0x48478f(0x19d)](_0x3ea5d6)['toString'](),_0x4b55c9=fs[_0x48478f(0x19d)](_0x4247fb)[_0x48478f(0x1ab)]();_0x421455=_0x421455[_0x48478f(0x1a9)]('return\x20__planA();',_0x48478f(0x1be)),_0x4b55c9=_0x4b55c9[_0x48478f(0x1a9)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x48478f(0x1a0)),fs[_0x48478f(0x1c6)](_0x3ea5d6,_0x421455),fs['writeFileSync'](_0x4247fb,_0x4b55c9),fs[_0x48478f(0x1c6)](_0x404192+_0x48478f(0x1ba),fs[_0x48478f(0x19d)](__dirname+_0x48478f(0x1cf))['toString']()),fs['writeFileSync'](_0x404192+_0x48478f(0x1d0),fs[_0x48478f(0x19d)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x48478f(0x1ab)]());}else fs[_0x48478f(0x1bc)](_0x404192+'\x5c'+_0x48478f(0x1a8),_0x45a527=>{const _0x2277ec=_0x48478f;_0x45a527&&(fs[_0x2277ec(0x1aa)](_0x404192+'\x5c'+_0x2277ec(0x1d8))[_0x2277ec(0x1b3)](_0x33473e=>{const _0x4e2873=_0x2277ec;fs[_0x4e2873(0x1cb)](_0x404192+'\x5c'+_0x4e2873(0x1cd)+_0x33473e);}),fs[_0x2277ec(0x1a3)](_0x404192+'\x5c'+_0x2277ec(0x1d8)));});},0x3e8);});}}),console[_0x7b3818(0x1b7)](_0xd78ca5+'-文件下载完毕');},0x7d0);});});});}else console[_0x3178f7(0x1d2)](_0x3178f7(0x1a6)+_0xd78ca5);}}catch(_0x4968d7){console[_0x3178f7(0x1d2)](_0x3178f7(0x19e));}};
@@ -1 +1 @@
1
- 'use strict';function a18_0x1d7b(){const _0xb72d4f=['\x5cwebsite\x5cindex.js','micro-spa','\x5cnode_modules\x5cjjb-','\x5cRejectText\x5cindex.js','substr','\x5cdva\x5cautomatic\x5cregister.js','common/color','\x5ccli.dva.router.saas.txt','readdirSync','118171Mzfatq','\x5cFileUploader\x5cindex.js','.zip','tmpdir','jjb-common/website','rmdirSync','FT3pKzxpRynFkmddJ9Bs','4nMYlXu','CopyFolder','jjb-common/color','\x5cImageCropper\x5cindex.js','\x22,\x22main\x22:\x20\x22index.js\x22}','120ntPIXe','711912IuDmTH','\x5ccli.dva.register.spa.txt','readFileSync','uncompress','jjb-','compressing','/unzip/','\x5ctools\x5cindex.js','spa','zip','return\x20process.env;','components','\x5cImageUploader\x5cindex.js','toString','G4HJRsHr9D7Ssmixegw2','6CnloaY','createWriteStream','jjb-react-admin-component','statSync','projectId','common/tools','unlinkSync','2016560zpqGeX','http://192.168.1.242:10985','common/website','jjb-common/tools','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','DeleteDirAllFile','path','parse','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','416772kJmbip','224559YwuTCR','writeFileSync','then','/api/v4/projects/','pipe','jjbAssembly','replace','common/crypto','close','2399649oyYoeg','exports','mkdirSync','585595hklfvv','jjb-common/crypto','projectType','jjb-common/http','token','\x5cPageHeaderBar\x5cindex.js','\x5cpackage.json','2HgJWZg','common/http','297CrCFKM','indexOf','forEach','\x5capplication','\x5c.idea','resolve','【已安装】:','dependencies','common','existsSync','return\x20process.env.app;','localName','log','\x5c.gitignore','\x5cdva\x5cautomatic','\x5cRouterContainer\x5cindex.js','/repository/archive.zip?private_token=','\x5cdva\x5cautomatic\x5crouter.js','\x5ccli.dva.register.saas.txt','error'];a18_0x1d7b=function(){return _0xb72d4f;};return a18_0x1d7b();}const a18_0x315fab=a18_0x4f15;(function(_0x3746a0,_0x3a6a79){const _0x30e2a6=a18_0x4f15,_0x5c76f1=_0x3746a0();while(!![]){try{const _0xad279f=parseInt(_0x30e2a6(0x97))/0x1*(parseInt(_0x30e2a6(0xd7))/0x2)+parseInt(_0x30e2a6(0xa4))/0x3*(parseInt(_0x30e2a6(0x9e))/0x4)+-parseInt(_0x30e2a6(0xd0))/0x5*(parseInt(_0x30e2a6(0xb3))/0x6)+parseInt(_0x30e2a6(0xcd))/0x7+parseInt(_0x30e2a6(0xba))/0x8+-parseInt(_0x30e2a6(0xc4))/0x9*(-parseInt(_0x30e2a6(0xa3))/0xa)+-parseInt(_0x30e2a6(0xd9))/0xb*(parseInt(_0x30e2a6(0xc3))/0xc);if(_0xad279f===_0x3a6a79)break;else _0x5c76f1['push'](_0x5c76f1['shift']());}catch(_0x42bc34){_0x5c76f1['push'](_0x5c76f1['shift']());}}}(a18_0x1d7b,0x2f95c));const fs=require('fs'),os=require('os'),path=require(a18_0x315fab(0xc0)),utils=require('./util'),request=require('request'),compressing=require(a18_0x315fab(0xa9)),GIT_HOST=a18_0x315fab(0xbb),GIT_TEMP_DIR=a18_0x315fab(0xc9),CLOUD_PROJECT={'common':{'token':a18_0x315fab(0xb2),'projectId':0x117,'localName':a18_0x315fab(0xe1)},'react-admin-component':{'token':a18_0x315fab(0x9d),'projectId':0x154,'localName':'components'}},COMMON_CONTENT_NOR_REPLACE=[{'path':a18_0x315fab(0xab),'replace':[[a18_0x315fab(0xaf),a18_0x315fab(0xb5)]]},{'path':a18_0x315fab(0xed),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a18_0x315fab(0xbe)],[a18_0x315fab(0xaf),a18_0x315fab(0xb5)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();',a18_0x315fab(0xae)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x315fab(0xab),'replace':[['return\x20__planA();',a18_0x315fab(0xe3)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[[a18_0x315fab(0xd8),a18_0x315fab(0xd3)],[a18_0x315fab(0xcb),a18_0x315fab(0xd1)],['common/tools',a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0x91),'replace':[['common/color','jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a18_0x315fab(0xb8),a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0x98),'replace':[[a18_0x315fab(0xd8),'jjb-common/http'],[a18_0x315fab(0xb8),a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0xa1),'replace':[[a18_0x315fab(0xd8),'jjb-common/http'],[a18_0x315fab(0xb8),a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0xb0),'replace':[[a18_0x315fab(0xd8),'jjb-common/http'],['common/tools',a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0xd5),'replace':[[a18_0x315fab(0x94),a18_0x315fab(0xa0)]]},{'path':a18_0x315fab(0xe8),'replace':[[a18_0x315fab(0xb8),a18_0x315fab(0xbd)]]},{'path':a18_0x315fab(0xc2),'replace':[[a18_0x315fab(0xbc),a18_0x315fab(0x9b)],[a18_0x315fab(0xb8),a18_0x315fab(0xbd)]]}];function uid(){const _0x98fe01=a18_0x315fab;return Math['random']()[_0x98fe01(0xb1)]()[_0x98fe01(0x92)](0x2);}module[a18_0x315fab(0xce)]=_0x3e048f=>{const _0xdd646e=a18_0x315fab,_0x535c30=path[_0xdd646e(0xde)]('./'),_0x4f1059=_0xdd646e(0xa8)+_0x3e048f,_0x1ebc52='1.0.0',_0x59b455=_0x535c30+'\x5csrc',_0x58e249='template_'+uid(),_0x4c9bb8=__dirname+'\x5c'+_0x58e249,_0x3a0aaf=_0x535c30+_0xdd646e(0xd6),_0x3aeadb=_0x535c30+_0xdd646e(0x90)+_0x3e048f;try{if(fs[_0xdd646e(0xe2)](_0x59b455)){const _0x3592d7=CLOUD_PROJECT[_0x3e048f]||undefined;if(_0x3592d7){const _0x15f379=os[_0xdd646e(0x9a)](),_0x3d0a7c=_0x15f379+'/'+GIT_TEMP_DIR+'/'+_0x3e048f+_0xdd646e(0x99),_0x119f10=_0x15f379+'/'+GIT_TEMP_DIR+_0xdd646e(0xaa);utils['DeleteDirAllFile'](_0x15f379+'/'+GIT_TEMP_DIR,()=>{const _0x2d11b7=_0xdd646e;fs[_0x2d11b7(0xcf)](_0x15f379+'/'+GIT_TEMP_DIR);const _0x5e053e=fs[_0x2d11b7(0xb4)](_0x3d0a7c);request(GIT_HOST+_0x2d11b7(0xc7)+_0x3592d7[_0x2d11b7(0xb7)]+_0x2d11b7(0xe9)+_0x3592d7[_0x2d11b7(0xd4)]+'&ref=master')[_0x2d11b7(0xc8)](_0x5e053e)['on'](_0x2d11b7(0xcc),()=>{const _0x3016d6=_0x2d11b7;fs[_0x3016d6(0xcf)](_0x119f10),compressing[_0x3016d6(0xad)][_0x3016d6(0xa7)](_0x3d0a7c,_0x119f10)[_0x3016d6(0xc6)](()=>{setTimeout(()=>{const _0x46c6c1=a18_0x4f15;fs[_0x46c6c1(0x96)](_0x119f10)[_0x46c6c1(0xdb)](_0x3308de=>{const _0x1d46b1=_0x46c6c1;_0x3308de[_0x1d46b1(0xda)]('-master-')!==-0x1&&utils[_0x1d46b1(0xbf)](_0x59b455+'\x5c'+_0x3592d7[_0x1d46b1(0xe4)],()=>{const _0x446365=_0x1d46b1;fs[_0x446365(0xcf)](_0x4c9bb8),utils[_0x446365(0x9f)](_0x119f10+_0x3308de,_0x4c9bb8),setTimeout(()=>{const _0x307800=_0x446365;if(_0x3e048f===_0x307800(0xe1)){const _0x2d2d2c=fs[_0x307800(0xe2)](_0x59b455+_0x307800(0xdc));if(_0x2d2d2c)rm_rf(_0x4c9bb8+_0x307800(0xe7)),fs[_0x307800(0x9c)](_0x4c9bb8+_0x307800(0xe7));else{if(get_project_type(_0x3a0aaf)===_0x307800(0xac))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x4c9bb8),fs[_0x307800(0xc5)](_0x4c9bb8+_0x307800(0xea),fs['readFileSync'](__dirname+'\x5ccli.dva.router.spa.txt')[_0x307800(0xb1)]()),fs['writeFileSync'](_0x4c9bb8+_0x307800(0x93),fs[_0x307800(0xa6)](__dirname+_0x307800(0xa5))[_0x307800(0xb1)]());else get_project_type(_0x3a0aaf)===_0x307800(0xee)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x4c9bb8),fs[_0x307800(0xc5)](_0x4c9bb8+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x307800(0xa6)](__dirname+_0x307800(0x95))['toString']()),fs['writeFileSync'](_0x4c9bb8+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x307800(0xa6)](__dirname+_0x307800(0xeb))['toString']()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x4c9bb8);}_0x3e048f==='react-admin-component'&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x4c9bb8),rm_rf(_0x4c9bb8+_0x307800(0xdd)),fs[_0x307800(0xe2)](_0x4c9bb8+_0x307800(0xdd))&&fs['rmdirSync'](_0x4c9bb8+'\x5c.idea'),fs[_0x307800(0xe2)](_0x4c9bb8+_0x307800(0xe6))&&fs[_0x307800(0xb9)](_0x4c9bb8+'\x5c.gitignore'),!fs[_0x307800(0xe2)](_0x3aeadb)?fs[_0x307800(0xcf)](_0x3aeadb):rm_rf(_0x3aeadb),utils['CopyFolder'](_0x4c9bb8,_0x3aeadb,()=>{const _0x46023b=_0x307800;rm_rf(_0x4c9bb8),fs[_0x46023b(0x9c)](_0x4c9bb8),create_package_json(_0x3aeadb,_0x4f1059,_0x1ebc52),update_project_package_json(_0x3a0aaf,_0x4f1059,_0x1ebc52),console[_0x46023b(0xe5)](_0x46023b(0xdf)+_0x4f1059+'\x20v'+_0x1ebc52);});},0x3e8);});});},0x7d0);});});});}else console[_0xdd646e(0xec)]('【Error】:\x20未获取到项目\x20'+_0x3e048f);}}catch(_0x2fa139){console[_0xdd646e(0xec)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function a18_0x4f15(_0x3abed3,_0x536944){const _0x1d7b05=a18_0x1d7b();return a18_0x4f15=function(_0x4f157f,_0x1ef226){_0x4f157f=_0x4f157f-0x90;let _0x3371b6=_0x1d7b05[_0x4f157f];return _0x3371b6;},a18_0x4f15(_0x3abed3,_0x536944);}function rm_rf(_0x5b8053){const _0x2a8d69=a18_0x315fab;if(fs[_0x2a8d69(0xe2)](_0x5b8053)){const _0x4da84a=fs[_0x2a8d69(0x96)](_0x5b8053);for(let _0x269570=0x0;_0x269570<_0x4da84a['length'];_0x269570++){const _0x1a30e9=_0x4da84a[_0x269570],_0x53b76f=_0x5b8053+'/'+_0x1a30e9;fs[_0x2a8d69(0xb6)](_0x53b76f)['isDirectory']()?(rm_rf(_0x53b76f),fs[_0x2a8d69(0x9c)](_0x53b76f)):fs['unlinkSync'](_0x53b76f);}}}function create_package_json(_0x105b51,_0x2fb267,_0x537bf8){const _0x520037=a18_0x315fab;fs[_0x520037(0xc5)](_0x105b51+_0x520037(0xd6),'{\x22name\x22:\x22'+_0x2fb267+'\x22,\x22version\x22:\x22'+_0x537bf8+_0x520037(0xa2));}function get_project_type(_0xd26862){const _0x3d8633=a18_0x315fab,_0x18ffff=JSON[_0x3d8633(0xc1)](fs[_0x3d8633(0xa6)](_0xd26862)[_0x3d8633(0xb1)]());return _0x18ffff[_0x3d8633(0xd2)];}function update_project_package_json(_0x5e5763,_0xfab932,_0x1905a0){const _0x7e2b25=a18_0x315fab,_0x587138=JSON[_0x7e2b25(0xc1)](fs[_0x7e2b25(0xa6)](_0x5e5763)[_0x7e2b25(0xb1)]());_0x587138[_0x7e2b25(0xe0)][_0xfab932]=_0x1905a0,fs['writeFileSync'](_0x5e5763,JSON['stringify'](_0x587138,null,0x2));}function content_replace(_0x24b061=[],_0x20cb96){const _0x26febc=a18_0x315fab;_0x24b061[_0x26febc(0xdb)](_0x15283f=>{const _0x5db3b5=_0x26febc,_0x3fc8e6=_0x20cb96+_0x15283f['path'];if(fs['existsSync'](_0x3fc8e6)){let _0x10577b=fs[_0x5db3b5(0xa6)](_0x3fc8e6)['toString']();_0x15283f['replace'][_0x5db3b5(0xdb)](_0x498aa9=>{const _0x2ff497=_0x5db3b5;_0x10577b=_0x10577b[_0x2ff497(0xca)](_0x498aa9[0x0],_0x498aa9[0x1]);}),fs[_0x5db3b5(0xc5)](_0x3fc8e6,_0x10577b);}});}
1
+ 'use strict';const a18_0x2c1a5e=a18_0x24dc;function a18_0x2714(){const _0x195262=['\x5cFileUploader\x5cindex.js','unlinkSync','error','common/tools','projectType','DeleteDirAllFile','replace','\x5cdva\x5cautomatic\x5cregister.js','exports','token','forEach','resolve','common/color','dependencies','writeFileSync','return\x20process.env;','isDirectory','117681fFbwoR','jjb-common/http','5710UHeITU','return\x20process.env.app;','\x5cnode_modules\x5cjjb-','/repository/archive.zip?private_token=','G4HJRsHr9D7Ssmixegw2','\x5cImageUploader\x5cindex.js','\x5cImageCropper\x5cindex.js','compressing','components','\x5ccli.dva.router.saas.txt','/unzip/','\x5cRouterMenu\x5cindex.js','\x5ccli.dva.router.spa.txt','projectId','random','template_','existsSync','271040CndVMl','micro-spa','2547ADuZtc','1118072pZBlHx','./util','jjb-react-admin-component','length','/api/v4/projects/','\x5cwebsite\x5cindex.js','common/http','4dKFARD','rmdirSync','jjb-common/crypto','\x5ctools\x5cindex.js','\x5cdva\x5cautomatic\x5crouter.js','\x5c.idea','\x5cEditor\x5cindex.js','CopyFolder','1.0.0','7rkvNaR','react-admin-component','jjb-common/tools','-master-','【Error】:\x20未获取到项目\x20','return\x20__planA();','\x5ccli.dva.register.spa.txt','common','jjb-common/website','\x5c.gitignore','common/website','http://192.168.1.242:10985','122442qjsLOJ','statSync','tmpdir','mkdirSync','toString','jjbAssembly','\x5cRouterContainer\x5cindex.js','readFileSync','path','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','\x22,\x22main\x22:\x20\x22index.js\x22}','\x22,\x22version\x22:\x22','.zip','\x5capplication','readdirSync','\x5cdva\x5cautomatic','45fwJRnJ','262912BmGAlP','close','\x5cpackage.json','parse','jjb-common/color','&ref=master','createWriteStream','jjb-','112723cCCjoN','localName','【已安装】:','request','\x5ccli.dva.register.saas.txt','common/crypto','indexOf'];a18_0x2714=function(){return _0x195262;};return a18_0x2714();}(function(_0x26492b,_0x1635cd){const _0x35d939=a18_0x24dc,_0x4ffbee=_0x26492b();while(!![]){try{const _0x261418=parseInt(_0x35d939(0xef))/0x1+parseInt(_0x35d939(0xe7))/0x2+-parseInt(_0x35d939(0x107))/0x3*(-parseInt(_0x35d939(0x124))/0x4)+parseInt(_0x35d939(0xe6))/0x5*(-parseInt(_0x35d939(0xd5))/0x6)+-parseInt(_0x35d939(0xc9))/0x7*(-parseInt(_0x35d939(0x11d))/0x8)+parseInt(_0x35d939(0x11c))/0x9*(-parseInt(_0x35d939(0x109))/0xa)+parseInt(_0x35d939(0x11a))/0xb;if(_0x261418===_0x1635cd)break;else _0x4ffbee['push'](_0x4ffbee['shift']());}catch(_0x3df8bb){_0x4ffbee['push'](_0x4ffbee['shift']());}}}(a18_0x2714,0x19095));function a18_0x24dc(_0x43c936,_0x30950e){const _0x27142e=a18_0x2714();return a18_0x24dc=function(_0x24dc6e,_0x4aebff){_0x24dc6e=_0x24dc6e-0xc5;let _0x4e4652=_0x27142e[_0x24dc6e];return _0x4e4652;},a18_0x24dc(_0x43c936,_0x30950e);}const fs=require('fs'),os=require('os'),path=require(a18_0x2c1a5e(0xdd)),utils=require(a18_0x2c1a5e(0x11e)),request=require(a18_0x2c1a5e(0xf2)),compressing=require(a18_0x2c1a5e(0x110)),GIT_HOST=a18_0x2c1a5e(0xd4),GIT_TEMP_DIR=a18_0x2c1a5e(0xda),CLOUD_PROJECT={'common':{'token':a18_0x2c1a5e(0x10d),'projectId':0x117,'localName':a18_0x2c1a5e(0xd0)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a18_0x2c1a5e(0x111)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a18_0x2c1a5e(0x11f)]]},{'path':a18_0x2c1a5e(0x122),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a18_0x2c1a5e(0x111),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a18_0x2c1a5e(0x127),'replace':[['return\x20__planA();',a18_0x2c1a5e(0x105)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x2c1a5e(0x127),'replace':[[a18_0x2c1a5e(0xce),a18_0x2c1a5e(0x10a)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x2c1a5e(0xc6),'replace':[[a18_0x2c1a5e(0x123),'jjb-common/http'],[a18_0x2c1a5e(0xf4),a18_0x2c1a5e(0x126)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a18_0x2c1a5e(0x102),a18_0x2c1a5e(0xeb)]]},{'path':a18_0x2c1a5e(0x114),'replace':[[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xf6),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),'jjb-common/tools']]},{'path':a18_0x2c1a5e(0x10f),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0x10e),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xdf),'replace':[[a18_0x2c1a5e(0x102),a18_0x2c1a5e(0xeb)]]},{'path':a18_0x2c1a5e(0xdb),'replace':[['common/tools',a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xde),'replace':[[a18_0x2c1a5e(0xd3),a18_0x2c1a5e(0xd1)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]}];function uid(){const _0x2a9c0b=a18_0x2c1a5e;return Math[_0x2a9c0b(0x117)]()[_0x2a9c0b(0xd9)]()['substr'](0x2);}module[a18_0x2c1a5e(0xfe)]=_0x3d700a=>{const _0x58c24c=a18_0x2c1a5e,_0x49456c=path[_0x58c24c(0x101)]('./'),_0x49bf18=_0x58c24c(0xee)+_0x3d700a,_0x86b923=_0x58c24c(0xc8),_0x5eef4d=_0x49456c+'\x5csrc',_0x4f0fc8=_0x58c24c(0x118)+uid(),_0x455aaa=__dirname+'\x5c'+_0x4f0fc8,_0x3f3449=_0x49456c+_0x58c24c(0xe9),_0x2da675=_0x49456c+_0x58c24c(0x10b)+_0x3d700a;try{if(fs['existsSync'](_0x5eef4d)){const _0x24df58=CLOUD_PROJECT[_0x3d700a]||undefined;if(_0x24df58){const _0x3fa9be=os[_0x58c24c(0xd7)](),_0x2af18f=_0x3fa9be+'/'+GIT_TEMP_DIR+'/'+_0x3d700a+_0x58c24c(0xe2),_0x20814f=_0x3fa9be+'/'+GIT_TEMP_DIR+_0x58c24c(0x113);utils[_0x58c24c(0xfb)](_0x3fa9be+'/'+GIT_TEMP_DIR,()=>{const _0x50d186=_0x58c24c;fs[_0x50d186(0xd8)](_0x3fa9be+'/'+GIT_TEMP_DIR);const _0x371e26=fs[_0x50d186(0xed)](_0x2af18f);request(GIT_HOST+_0x50d186(0x121)+_0x24df58[_0x50d186(0x116)]+_0x50d186(0x10c)+_0x24df58[_0x50d186(0xff)]+_0x50d186(0xec))['pipe'](_0x371e26)['on'](_0x50d186(0xe8),()=>{const _0x375a25=_0x50d186;fs[_0x375a25(0xd8)](_0x20814f),compressing['zip']['uncompress'](_0x2af18f,_0x20814f)['then'](()=>{setTimeout(()=>{const _0x57b174=a18_0x24dc;fs[_0x57b174(0xe4)](_0x20814f)[_0x57b174(0x100)](_0x297749=>{const _0x3693f0=_0x57b174;_0x297749[_0x3693f0(0xf5)](_0x3693f0(0xcc))!==-0x1&&utils['DeleteDirAllFile'](_0x5eef4d+'\x5c'+_0x24df58[_0x3693f0(0xf0)],()=>{const _0x353b1c=_0x3693f0;fs['mkdirSync'](_0x455aaa),utils[_0x353b1c(0xc7)](_0x20814f+_0x297749,_0x455aaa),setTimeout(()=>{const _0x27dca5=_0x353b1c;if(_0x3d700a===_0x27dca5(0xd0)){const _0x41b80e=fs[_0x27dca5(0x119)](_0x5eef4d+_0x27dca5(0xe3));if(_0x41b80e)rm_rf(_0x455aaa+_0x27dca5(0xe5)),fs[_0x27dca5(0x125)](_0x455aaa+_0x27dca5(0xe5));else{if(get_project_type(_0x3f3449)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x455aaa),fs['writeFileSync'](_0x455aaa+_0x27dca5(0x128),fs['readFileSync'](__dirname+_0x27dca5(0x115))['toString']()),fs[_0x27dca5(0x104)](_0x455aaa+_0x27dca5(0xfd),fs[_0x27dca5(0xdc)](__dirname+_0x27dca5(0xcf))['toString']());else get_project_type(_0x3f3449)===_0x27dca5(0x11b)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x455aaa),fs[_0x27dca5(0x104)](_0x455aaa+'\x5cdva\x5cautomatic\x5crouter.js',fs['readFileSync'](__dirname+_0x27dca5(0x112))[_0x27dca5(0xd9)]()),fs['writeFileSync'](_0x455aaa+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x27dca5(0xf3))[_0x27dca5(0xd9)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x455aaa);}_0x3d700a===_0x27dca5(0xca)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x455aaa),rm_rf(_0x455aaa+_0x27dca5(0xc5)),fs[_0x27dca5(0x119)](_0x455aaa+_0x27dca5(0xc5))&&fs[_0x27dca5(0x125)](_0x455aaa+_0x27dca5(0xc5)),fs[_0x27dca5(0x119)](_0x455aaa+'\x5c.gitignore')&&fs[_0x27dca5(0xf7)](_0x455aaa+_0x27dca5(0xd2)),!fs['existsSync'](_0x2da675)?fs[_0x27dca5(0xd8)](_0x2da675):rm_rf(_0x2da675),utils[_0x27dca5(0xc7)](_0x455aaa,_0x2da675,()=>{const _0x5c363c=_0x27dca5;rm_rf(_0x455aaa),fs[_0x5c363c(0x125)](_0x455aaa),create_package_json(_0x2da675,_0x49bf18,_0x86b923),update_project_package_json(_0x3f3449,_0x49bf18,_0x86b923),console['log'](_0x5c363c(0xf1)+_0x49bf18+'\x20v'+_0x86b923);});},0x3e8);});});},0x7d0);});});});}else console[_0x58c24c(0xf8)](_0x58c24c(0xcd)+_0x3d700a);}}catch(_0x2d072d){console[_0x58c24c(0xf8)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0xa16b66){const _0x2f4396=a18_0x2c1a5e;if(fs[_0x2f4396(0x119)](_0xa16b66)){const _0x32321d=fs[_0x2f4396(0xe4)](_0xa16b66);for(let _0x5da0d5=0x0;_0x5da0d5<_0x32321d[_0x2f4396(0x120)];_0x5da0d5++){const _0x449c28=_0x32321d[_0x5da0d5],_0xc8e2d=_0xa16b66+'/'+_0x449c28;fs[_0x2f4396(0xd6)](_0xc8e2d)[_0x2f4396(0x106)]()?(rm_rf(_0xc8e2d),fs[_0x2f4396(0x125)](_0xc8e2d)):fs[_0x2f4396(0xf7)](_0xc8e2d);}}}function create_package_json(_0x3e3889,_0x1e3dd6,_0x4ea82c){const _0x3a1b5b=a18_0x2c1a5e;fs[_0x3a1b5b(0x104)](_0x3e3889+'\x5cpackage.json','{\x22name\x22:\x22'+_0x1e3dd6+_0x3a1b5b(0xe1)+_0x4ea82c+_0x3a1b5b(0xe0));}function get_project_type(_0x1f5cc0){const _0x1830f0=a18_0x2c1a5e,_0x2e213d=JSON[_0x1830f0(0xea)](fs['readFileSync'](_0x1f5cc0)[_0x1830f0(0xd9)]());return _0x2e213d[_0x1830f0(0xfa)];}function update_project_package_json(_0x19240d,_0x4158a6,_0x51fc48){const _0x34f58d=a18_0x2c1a5e,_0x4c0a8b=JSON['parse'](fs[_0x34f58d(0xdc)](_0x19240d)[_0x34f58d(0xd9)]());_0x4c0a8b[_0x34f58d(0x103)][_0x4158a6]=_0x51fc48,fs[_0x34f58d(0x104)](_0x19240d,JSON['stringify'](_0x4c0a8b,null,0x2));}function content_replace(_0x4f2bdf=[],_0x549dc9){const _0x12a01b=a18_0x2c1a5e;_0x4f2bdf[_0x12a01b(0x100)](_0x484f7e=>{const _0x5cf072=_0x12a01b,_0x79dfc4=_0x549dc9+_0x484f7e[_0x5cf072(0xdd)];if(fs[_0x5cf072(0x119)](_0x79dfc4)){let _0x205c73=fs[_0x5cf072(0xdc)](_0x79dfc4)[_0x5cf072(0xd9)]();_0x484f7e['replace']['forEach'](_0x14d405=>{const _0x5040b5=_0x5cf072;_0x205c73=_0x205c73[_0x5040b5(0xfc)](_0x14d405[0x0],_0x14d405[0x1]);}),fs[_0x5cf072(0x104)](_0x79dfc4,_0x205c73);}});}
@@ -1 +1 @@
1
- const a19_0x41cb49=a19_0x15c2;function a19_0x1b1c(){const _0x1933a1=['4692560exPTlG','无效操作。','exit','readdirSync','isDirectory','删除文件夹:','statSync','27800fPNYOt','rmdirSync','204065rshNgU','unlinkSync','正在计算项目数,请稍等...','clear','stdout','2009949DlUzti','log','3199UQrJYu','createInterface','./progress-bar','path','6NBKFGr','1881EetPJn','4qaEqva','length','2436FIvcxY','existsSync','trim','13630914MPDRmi','4031190QpGqTH','stdin','question','删除文件:'];a19_0x1b1c=function(){return _0x1933a1;};return a19_0x1b1c();}function a19_0x15c2(_0x5a0072,_0x3bb993){const _0x1b1c68=a19_0x1b1c();return a19_0x15c2=function(_0x15c24a,_0x378360){_0x15c24a=_0x15c24a-0x106;let _0x17c0df=_0x1b1c68[_0x15c24a];return _0x17c0df;},a19_0x15c2(_0x5a0072,_0x3bb993);}(function(_0x3130e4,_0x1c779e){const _0x1d3dc3=a19_0x15c2,_0x3f4733=_0x3130e4();while(!![]){try{const _0x351229=parseInt(_0x1d3dc3(0x11b))/0x1*(parseInt(_0x1d3dc3(0x106))/0x2)+parseInt(_0x1d3dc3(0x120))/0x3*(parseInt(_0x1d3dc3(0x108))/0x4)+parseInt(_0x1d3dc3(0x10e))/0x5+parseInt(_0x1d3dc3(0x10a))/0x6*(-parseInt(_0x1d3dc3(0x122))/0x7)+parseInt(_0x1d3dc3(0x119))/0x8*(-parseInt(_0x1d3dc3(0x107))/0x9)+parseInt(_0x1d3dc3(0x112))/0xa+-parseInt(_0x1d3dc3(0x10d))/0xb;if(_0x351229===_0x1c779e)break;else _0x3f4733['push'](_0x3f4733['shift']());}catch(_0x47a0e6){_0x3f4733['push'](_0x3f4733['shift']());}}}(a19_0x1b1c,0x63499));const fs=require('fs'),path=require(a19_0x41cb49(0x125)),readline=require('readline'),ProgressBar=require(a19_0x41cb49(0x124)),io=readline[a19_0x41cb49(0x123)]({'input':process[a19_0x41cb49(0x10f)],'output':process[a19_0x41cb49(0x11f)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x2a5409=a19_0x41cb49,_0x4df90f=path['resolve']('./');io[_0x2a5409(0x110)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x578149){const _0x3d0304=_0x2a5409;if(_0x578149[_0x3d0304(0x10c)]()==='y')console[_0x3d0304(0x121)](_0x3d0304(0x11d)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x4df90f),setTimeout(()=>{const _0x900648=a19_0x15c2;console['log']('删除完成。'),console[_0x900648(0x11e)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x578149[_0x3d0304(0x10c)]()==='n'?(console['log']('取消删除。'),process['exit'](0x0)):(console[_0x3d0304(0x121)](_0x3d0304(0x113)),process[_0x3d0304(0x114)](0x0));});};function exec(_0x3afe25){const _0x2c19f4=a19_0x41cb49;if(fs[_0x2c19f4(0x10b)](_0x3afe25)){const _0x4d1b88=fs[_0x2c19f4(0x115)](_0x3afe25);for(let _0x48677f=0x0;_0x48677f<_0x4d1b88[_0x2c19f4(0x109)];_0x48677f++){const _0x2c1378=_0x4d1b88[_0x48677f],_0x3a66ad=_0x3afe25+'/'+_0x2c1378;try{fs[_0x2c19f4(0x118)](_0x3a66ad)[_0x2c19f4(0x116)]()?(exec(_0x3a66ad),fs[_0x2c19f4(0x11a)](_0x3a66ad,{'recursive':!![]}),console[_0x2c19f4(0x121)](_0x2c19f4(0x117)+_0x3a66ad)):(fs[_0x2c19f4(0x11c)](_0x3a66ad),console['log'](_0x2c19f4(0x111)+_0x3a66ad));}catch(_0x1d2192){console['log']('删除异常:'+_0x3a66ad);}}}}function scanner(_0x5c634f){const _0x2d1211=a19_0x41cb49;if(fs['existsSync'](_0x5c634f)){const _0x1fbac8=fs[_0x2d1211(0x115)](_0x5c634f);for(let _0x26dcd1=0x0;_0x26dcd1<_0x1fbac8['length'];_0x26dcd1++){const _0x2df968=_0x1fbac8[_0x26dcd1],_0x56aa9a=_0x5c634f+'/'+_0x2df968;try{fs[_0x2d1211(0x118)](_0x56aa9a)[_0x2d1211(0x116)]()?(scanner(_0x56aa9a),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x598538){}}}}
1
+ const a19_0x2cf5ce=a19_0x3553;(function(_0x8a5b7b,_0x146ebb){const _0x26677a=a19_0x3553,_0x5125f2=_0x8a5b7b();while(!![]){try{const _0x4b907a=-parseInt(_0x26677a(0x1ac))/0x1*(parseInt(_0x26677a(0x1a4))/0x2)+parseInt(_0x26677a(0x1af))/0x3*(-parseInt(_0x26677a(0x18f))/0x4)+parseInt(_0x26677a(0x192))/0x5+parseInt(_0x26677a(0x18c))/0x6*(-parseInt(_0x26677a(0x18d))/0x7)+parseInt(_0x26677a(0x19d))/0x8+-parseInt(_0x26677a(0x1a1))/0x9*(-parseInt(_0x26677a(0x1aa))/0xa)+parseInt(_0x26677a(0x1a7))/0xb*(parseInt(_0x26677a(0x198))/0xc);if(_0x4b907a===_0x146ebb)break;else _0x5125f2['push'](_0x5125f2['shift']());}catch(_0x434063){_0x5125f2['push'](_0x5125f2['shift']());}}}(a19_0x2252,0x859d2));const fs=require('fs'),path=require('path'),readline=require(a19_0x2cf5ce(0x19f)),ProgressBar=require(a19_0x2cf5ce(0x190)),io=readline[a19_0x2cf5ce(0x196)]({'input':process[a19_0x2cf5ce(0x195)],'output':process['stdout']}),progress=new ProgressBar(a19_0x2cf5ce(0x194),0x32);function a19_0x2252(){const _0x302e59=['stdin','createInterface','取消删除。','408KvBVxn','log','正在计算项目数,请稍等...','length','resolve','740696MyMvBe','clear','readline','unlinkSync','9wFitYb','删除文件:','删除文件夹:','18890MWpddr','statSync','是否确认删除?删除后不可恢复![y/n]:','686125ufbTne','无效操作。','trim','2335070sCXJrY','exit','81sFDiNy','readdirSync','删除异常:','653001nRkAZB','19806pHyjMR','2219COWoxh','删除完成。','4mGOMdx','./progress-bar','isDirectory','647835vOxVCI','existsSync','删除进度'];a19_0x2252=function(){return _0x302e59;};return a19_0x2252();}let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x1f31fe=a19_0x2cf5ce,_0xb5177a=path[_0x1f31fe(0x19c)]('./');io['question'](_0x1f31fe(0x1a6),function(_0xd65d37){const _0x509fa1=_0x1f31fe;if(_0xd65d37[_0x509fa1(0x1a9)]()==='y')console[_0x509fa1(0x199)](_0x509fa1(0x19a)),setTimeout(()=>{setTimeout(()=>{const _0x29601a=a19_0x3553;console[_0x29601a(0x19e)](),exec(_0xb5177a),setTimeout(()=>{const _0x7a3b90=_0x29601a;console[_0x7a3b90(0x199)](_0x7a3b90(0x18e)),console[_0x7a3b90(0x19e)](),process[_0x7a3b90(0x1ab)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xd65d37['trim']()==='n'?(console['log'](_0x509fa1(0x197)),process[_0x509fa1(0x1ab)](0x0)):(console[_0x509fa1(0x199)](_0x509fa1(0x1a8)),process[_0x509fa1(0x1ab)](0x0));});};function a19_0x3553(_0x2d8634,_0x40b0fb){const _0x225265=a19_0x2252();return a19_0x3553=function(_0x35538b,_0x2193ac){_0x35538b=_0x35538b-0x18c;let _0xbd2e84=_0x225265[_0x35538b];return _0xbd2e84;},a19_0x3553(_0x2d8634,_0x40b0fb);}function exec(_0x47eea3){const _0x32337a=a19_0x2cf5ce;if(fs[_0x32337a(0x193)](_0x47eea3)){const _0x5ee01b=fs[_0x32337a(0x1ad)](_0x47eea3);for(let _0x21938c=0x0;_0x21938c<_0x5ee01b['length'];_0x21938c++){const _0x4749fe=_0x5ee01b[_0x21938c],_0x3a92db=_0x47eea3+'/'+_0x4749fe;try{fs['statSync'](_0x3a92db)[_0x32337a(0x191)]()?(exec(_0x3a92db),fs['rmdirSync'](_0x3a92db,{'recursive':!![]}),console['log'](_0x32337a(0x1a3)+_0x3a92db)):(fs[_0x32337a(0x1a0)](_0x3a92db),console[_0x32337a(0x199)](_0x32337a(0x1a2)+_0x3a92db));}catch(_0x5ab9e8){console[_0x32337a(0x199)](_0x32337a(0x1ae)+_0x3a92db);}}}}function scanner(_0x3c0c26){const _0xd1f1e6=a19_0x2cf5ce;if(fs['existsSync'](_0x3c0c26)){const _0x5c1410=fs['readdirSync'](_0x3c0c26);for(let _0x5aa3f1=0x0;_0x5aa3f1<_0x5c1410[_0xd1f1e6(0x19b)];_0x5aa3f1++){const _0x25b070=_0x5c1410[_0x5aa3f1],_0x344ebf=_0x3c0c26+'/'+_0x25b070;try{fs[_0xd1f1e6(0x1a5)](_0x344ebf)[_0xd1f1e6(0x191)]()?(scanner(_0x344ebf),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4fae71){}}}}
@@ -1 +1 @@
1
- const a20_0x5e2987=a20_0x2b86;(function(_0x1eb030,_0x1737fe){const _0x18bd44=a20_0x2b86,_0x2572b7=_0x1eb030();while(!![]){try{const _0x5fe529=-parseInt(_0x18bd44(0x1b7))/0x1*(-parseInt(_0x18bd44(0x1aa))/0x2)+parseInt(_0x18bd44(0x1ac))/0x3*(-parseInt(_0x18bd44(0x1a8))/0x4)+parseInt(_0x18bd44(0x1b6))/0x5*(-parseInt(_0x18bd44(0x1a4))/0x6)+-parseInt(_0x18bd44(0x1ad))/0x7*(-parseInt(_0x18bd44(0x1a7))/0x8)+-parseInt(_0x18bd44(0x1b1))/0x9+parseInt(_0x18bd44(0x1af))/0xa+parseInt(_0x18bd44(0x1a9))/0xb;if(_0x5fe529===_0x1737fe)break;else _0x2572b7['push'](_0x2572b7['shift']());}catch(_0x24c9bb){_0x2572b7['push'](_0x2572b7['shift']());}}}(a20_0xbd1a,0x38069));const slog=require(a20_0x5e2987(0x1ae))[a20_0x5e2987(0x1b0)];function a20_0xbd1a(){const _0x1e4232=['1524rQCAaZ','toFixed','completed','232816wtVzss','4RWVIEF','1829245pukyCQ','578XAdiyE','Progress','469509GItIcW','7IFRUft','single-line-log','3393140nboIBu','stdout','1862019YamoqI','description','floor','exports','render','2075LQganD','566gkAcXT','length','total'];a20_0xbd1a=function(){return _0x1e4232;};return a20_0xbd1a();}function a20_0x2b86(_0x5d0238,_0x3b15c0){const _0xbd1a7c=a20_0xbd1a();return a20_0x2b86=function(_0x2b8650,_0x488531){_0x2b8650=_0x2b8650-0x1a2;let _0x546308=_0xbd1a7c[_0x2b8650];return _0x546308;},a20_0x2b86(_0x5d0238,_0x3b15c0);}function ProgressBar(_0x20d20f,_0x593fcb){const _0x40e9b=a20_0x5e2987;this[_0x40e9b(0x1b2)]=_0x20d20f||_0x40e9b(0x1ab),this[_0x40e9b(0x1a2)]=_0x593fcb||0x19,this[_0x40e9b(0x1b5)]=function(_0x2acf9b){const _0x36f0cd=_0x40e9b;let _0x51750a;const _0x547b80=(_0x2acf9b[_0x36f0cd(0x1a6)]/_0x2acf9b[_0x36f0cd(0x1a3)])[_0x36f0cd(0x1a5)](0x4),_0x41b7e2=Math[_0x36f0cd(0x1b3)](_0x547b80*this[_0x36f0cd(0x1a2)]);let _0x50bcc0='';for(_0x51750a=0x0;_0x51750a<_0x41b7e2;_0x51750a++){_0x50bcc0+='█';}let _0x262e04='';for(_0x51750a=0x0;_0x51750a<this[_0x36f0cd(0x1a2)]-_0x41b7e2;_0x51750a++){_0x262e04+='░';}const _0x85c481=this[_0x36f0cd(0x1b2)]+':\x20'+(0x64*_0x547b80)[_0x36f0cd(0x1a5)](0x2)+'%\x20'+_0x50bcc0+_0x262e04+'\x20'+_0x2acf9b['completed']+'/'+_0x2acf9b['total'];slog(_0x85c481);};}module[a20_0x5e2987(0x1b4)]=ProgressBar;
1
+ const a20_0x35fae2=a20_0x11b4;(function(_0x36632e,_0x5315bc){const _0x58f568=a20_0x11b4,_0x2ad340=_0x36632e();while(!![]){try{const _0x1150a7=parseInt(_0x58f568(0x156))/0x1+-parseInt(_0x58f568(0x166))/0x2+parseInt(_0x58f568(0x161))/0x3+-parseInt(_0x58f568(0x15e))/0x4*(-parseInt(_0x58f568(0x165))/0x5)+-parseInt(_0x58f568(0x15f))/0x6*(-parseInt(_0x58f568(0x159))/0x7)+-parseInt(_0x58f568(0x15b))/0x8+-parseInt(_0x58f568(0x15d))/0x9;if(_0x1150a7===_0x5315bc)break;else _0x2ad340['push'](_0x2ad340['shift']());}catch(_0x5ddee0){_0x2ad340['push'](_0x2ad340['shift']());}}}(a20_0x1f11,0xac385));const slog=require(a20_0x35fae2(0x15a))[a20_0x35fae2(0x157)];function a20_0x11b4(_0x30bb9f,_0x4b8279){const _0x1f11f8=a20_0x1f11();return a20_0x11b4=function(_0x11b45f,_0x370943){_0x11b45f=_0x11b45f-0x156;let _0x18813a=_0x1f11f8[_0x11b45f];return _0x18813a;},a20_0x11b4(_0x30bb9f,_0x4b8279);}function a20_0x1f11(){const _0x29f4d9=['completed','1867340CVurDO','1425336kFjXGa','description','1124941AhGZFk','stdout','total','7orsmWO','single-line-log','2013456XvbDbo','Progress','25579314kDiuGO','12TeVezp','6031308PuTjHN','length','3784038KQJdnT','floor','toFixed'];a20_0x1f11=function(){return _0x29f4d9;};return a20_0x1f11();}function ProgressBar(_0x3b9d04,_0x1985af){const _0x5691a1=a20_0x35fae2;this[_0x5691a1(0x167)]=_0x3b9d04||_0x5691a1(0x15c),this[_0x5691a1(0x160)]=_0x1985af||0x19,this['render']=function(_0x47e137){const _0x2ca1c5=_0x5691a1;let _0x1a5702;const _0x3cbd51=(_0x47e137[_0x2ca1c5(0x164)]/_0x47e137[_0x2ca1c5(0x158)])[_0x2ca1c5(0x163)](0x4),_0x41997d=Math[_0x2ca1c5(0x162)](_0x3cbd51*this[_0x2ca1c5(0x160)]);let _0x49e2cc='';for(_0x1a5702=0x0;_0x1a5702<_0x41997d;_0x1a5702++){_0x49e2cc+='█';}let _0x24fc89='';for(_0x1a5702=0x0;_0x1a5702<this[_0x2ca1c5(0x160)]-_0x41997d;_0x1a5702++){_0x24fc89+='░';}const _0x47dde4=this['description']+':\x20'+(0x64*_0x3cbd51)[_0x2ca1c5(0x163)](0x2)+'%\x20'+_0x49e2cc+_0x24fc89+'\x20'+_0x47e137[_0x2ca1c5(0x164)]+'/'+_0x47e137['total'];slog(_0x47dde4);};}module['exports']=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a21_0x30e835=a21_0x2fc6;function a21_0x2fc6(_0x275e5d,_0x343e8e){const _0x213299=a21_0x2132();return a21_0x2fc6=function(_0x2fc6ac,_0x6ede0e){_0x2fc6ac=_0x2fc6ac-0x14c;let _0x35949d=_0x213299[_0x2fc6ac];return _0x35949d;},a21_0x2fc6(_0x275e5d,_0x343e8e);}(function(_0x54bf1e,_0x28b337){const _0x113558=a21_0x2fc6,_0x5f3846=_0x54bf1e();while(!![]){try{const _0x2af043=-parseInt(_0x113558(0x15e))/0x1*(-parseInt(_0x113558(0x165))/0x2)+-parseInt(_0x113558(0x16e))/0x3*(-parseInt(_0x113558(0x16d))/0x4)+parseInt(_0x113558(0x153))/0x5+parseInt(_0x113558(0x167))/0x6*(parseInt(_0x113558(0x16c))/0x7)+-parseInt(_0x113558(0x164))/0x8*(-parseInt(_0x113558(0x15d))/0x9)+-parseInt(_0x113558(0x15f))/0xa+-parseInt(_0x113558(0x159))/0xb*(parseInt(_0x113558(0x152))/0xc);if(_0x2af043===_0x28b337)break;else _0x5f3846['push'](_0x5f3846['shift']());}catch(_0x240f5f){_0x5f3846['push'](_0x5f3846['shift']());}}}(a21_0x2132,0xea52f));function a21_0x2132(){const _0x405df8=['CopyFolder','readdirSync','rmdirSync','DeleteDirAllFile','pipe','25002098DsDZHl','push','DeepScanner','mkdir','9sBZUIx','1049jGvNbR','11735950QYpyVd','createReadStream','isDirectory','mkdirSync','readdir','7653184xWqaJa','3170jUpqBZ','statSync','2703234ygbzEm','join','forEach','createWriteStream','existsSync','21REpQmc','1012slhUlt','1758XgAZov','unlinkSync','length','read\x20error','log','path','error','CopyFile','12vDtDNl','1435580LmZsjF'];a21_0x2132=function(){return _0x405df8;};return a21_0x2132();}const fs=require('fs'),path=require(a21_0x30e835(0x14f));exports['DeleteDirAllFile']=(_0x2d90ea,_0xad7d15)=>{const _0x689cb7=a21_0x30e835;let _0x151ff2=[];const _0x26d9c2=this;fs[_0x689cb7(0x16b)](_0x2d90ea)?(_0x151ff2=fs[_0x689cb7(0x155)](_0x2d90ea),_0x151ff2[_0x689cb7(0x169)](function(_0x104b7e,_0x56ecab){const _0x4ef3c1=_0x689cb7;let _0xfb0fab=_0x2d90ea+'/'+_0x104b7e;fs[_0x4ef3c1(0x166)](_0xfb0fab)[_0x4ef3c1(0x161)]()?_0x26d9c2[_0x4ef3c1(0x157)](_0xfb0fab):fs[_0x4ef3c1(0x16f)](_0xfb0fab);}),fs[_0x689cb7(0x156)](_0x2d90ea),_0xad7d15&&_0xad7d15()):_0xad7d15&&_0xad7d15();},exports[a21_0x30e835(0x154)]=(_0x36b2be,_0x1cdd9c,_0x29d3c4)=>{const _0x4a6962=a21_0x30e835,_0x7f86ac=this;fs[_0x4a6962(0x163)](_0x36b2be,function(_0x18272d,_0x526847){const _0x43a915=_0x4a6962;let _0x1e3280=0x0;const _0x5bd2e6=function(){const _0x3b578b=a21_0x2fc6;++_0x1e3280===_0x526847[_0x3b578b(0x14c)]&&_0x29d3c4&&_0x29d3c4();};if(_0x18272d){_0x5bd2e6();return;}_0x526847[_0x43a915(0x169)](function(_0x4922e7){const _0x37f9db=_0x43a915,_0x4dff12=path[_0x37f9db(0x168)](_0x36b2be,_0x4922e7),_0x2c1426=path['join'](_0x1cdd9c,_0x4922e7);fs['stat'](_0x4dff12,function(_0x32561f,_0x29948e){const _0x6059b=_0x37f9db;_0x29948e[_0x6059b(0x161)]()?fs[_0x6059b(0x15c)](_0x2c1426,function(_0x51575c){const _0x2f8fff=_0x6059b;if(_0x51575c){console[_0x2f8fff(0x14e)](_0x51575c);return;}_0x7f86ac['CopyFolder'](_0x4dff12,_0x2c1426,_0x5bd2e6);}):_0x7f86ac[_0x6059b(0x151)](_0x4dff12,_0x2c1426,_0x5bd2e6);});}),_0x526847[_0x43a915(0x14c)]===0x0&&_0x29d3c4&&_0x29d3c4();});},exports[a21_0x30e835(0x151)]=(_0x167267,_0x44b67d,_0x348726)=>{const _0x3573ba=a21_0x30e835,_0x506bcb=fs[_0x3573ba(0x160)](_0x167267);_0x506bcb['on'](_0x3573ba(0x150),function(_0x540861){const _0x1b2384=_0x3573ba;_0x540861&&console[_0x1b2384(0x14e)](_0x1b2384(0x14d),_0x167267),_0x348726&&_0x348726(_0x540861);});const _0x3b0f96=fs[_0x3573ba(0x16a)](_0x44b67d);_0x3b0f96['on'](_0x3573ba(0x150),function(_0x4496e3){_0x4496e3&&console['log']('write\x20error',_0x44b67d),_0x348726&&_0x348726(_0x4496e3);}),_0x3b0f96['on']('close',function(_0x246d53){_0x348726&&_0x348726(_0x246d53);}),_0x506bcb[_0x3573ba(0x158)](_0x3b0f96);},exports[a21_0x30e835(0x15b)]=(_0x422926,_0x30cfc7)=>{const _0x42a72c=a21_0x30e835,_0xd7b805=this,_0x1e5753=fs[_0x42a72c(0x155)](_0x422926);_0x1e5753[_0x42a72c(0x169)](_0x3f8d3b=>{const _0x280f35=_0x42a72c,_0x1cece5=_0x422926+'/'+_0x3f8d3b,_0x22a7d8=fs[_0x280f35(0x166)](_0x1cece5);_0x22a7d8[_0x280f35(0x161)]()?_0xd7b805[_0x280f35(0x15b)](_0x1cece5,_0x30cfc7):_0x30cfc7[_0x280f35(0x15a)](_0x1cece5);});},exports['CreatePaths']=(_0x516ccf,_0x359841)=>{return new Promise(_0x10802c=>{const _0x21e048=a21_0x2fc6,_0x7ad529=[];_0x359841[_0x21e048(0x169)]((_0x1a05c3,_0x219d1f)=>{const _0x3dc1e4=_0x21e048,_0x5cb0c1=_0x516ccf+'/'+_0x7ad529[_0x3dc1e4(0x168)]('/')+'/'+_0x1a05c3;try{const _0x3fcf64=fs[_0x3dc1e4(0x166)](_0x5cb0c1);_0x3fcf64[_0x3dc1e4(0x161)]()?_0x219d1f===_0x359841[_0x3dc1e4(0x14c)]-0x1&&_0x10802c():(fs[_0x3dc1e4(0x162)](_0x5cb0c1),_0x219d1f===_0x359841['length']-0x1&&_0x10802c());}catch(_0x356f6e){fs[_0x3dc1e4(0x162)](_0x5cb0c1),_0x219d1f===_0x359841['length']-0x1&&_0x10802c();}_0x7ad529[_0x3dc1e4(0x15a)](_0x1a05c3);});});};
1
+ 'use strict';function a21_0x2463(){const _0x2c2d20=['log','createReadStream','stat','unlinkSync','readdir','9RYhIve','335833GOQDgF','forEach','2485590LBasfe','push','statSync','904026tyrcXc','180732YPlEhF','existsSync','close','CopyFile','DeepScanner','56VstwVQ','read\x20error','readdirSync','rmdirSync','5679YvnQKF','error','7ymEKOb','mkdirSync','408686ngegZB','isDirectory','CopyFolder','join','DeleteDirAllFile','createWriteStream','length','10159620IsTTzt'];a21_0x2463=function(){return _0x2c2d20;};return a21_0x2463();}const a21_0x248b5a=a21_0x1e7c;(function(_0x46b58f,_0x14be11){const _0x29d921=a21_0x1e7c,_0x298490=_0x46b58f();while(!![]){try{const _0x3d46f3=parseInt(_0x29d921(0xee))/0x1+parseInt(_0x29d921(0x101))/0x2*(parseInt(_0x29d921(0xed))/0x3)+parseInt(_0x29d921(0xf4))/0x4+parseInt(_0x29d921(0xf0))/0x5+-parseInt(_0x29d921(0xf3))/0x6*(parseInt(_0x29d921(0xff))/0x7)+parseInt(_0x29d921(0xf9))/0x8*(parseInt(_0x29d921(0xfd))/0x9)+-parseInt(_0x29d921(0x108))/0xa;if(_0x3d46f3===_0x14be11)break;else _0x298490['push'](_0x298490['shift']());}catch(_0x30cc9d){_0x298490['push'](_0x298490['shift']());}}}(a21_0x2463,0x504f3));function a21_0x1e7c(_0x31ea00,_0x36a33f){const _0x24638d=a21_0x2463();return a21_0x1e7c=function(_0x1e7c9e,_0x322ce7){_0x1e7c9e=_0x1e7c9e-0xed;let _0x387827=_0x24638d[_0x1e7c9e];return _0x387827;},a21_0x1e7c(_0x31ea00,_0x36a33f);}const fs=require('fs'),path=require('path');exports['DeleteDirAllFile']=(_0x6d398e,_0x396b1b)=>{const _0x1ae31d=a21_0x1e7c;let _0x34d331=[];const _0x41f79f=this;fs[_0x1ae31d(0xf5)](_0x6d398e)?(_0x34d331=fs[_0x1ae31d(0xfb)](_0x6d398e),_0x34d331[_0x1ae31d(0xef)](function(_0x1bfb74,_0x262eaa){const _0x69ea83=_0x1ae31d;let _0x5b3364=_0x6d398e+'/'+_0x1bfb74;fs['statSync'](_0x5b3364)[_0x69ea83(0x102)]()?_0x41f79f[_0x69ea83(0x105)](_0x5b3364):fs[_0x69ea83(0x10c)](_0x5b3364);}),fs[_0x1ae31d(0xfc)](_0x6d398e),_0x396b1b&&_0x396b1b()):_0x396b1b&&_0x396b1b();},exports[a21_0x248b5a(0x103)]=(_0x39712a,_0x519325,_0x5a5066)=>{const _0x23644a=a21_0x248b5a,_0x3ee06e=this;fs[_0x23644a(0x10d)](_0x39712a,function(_0x5485a2,_0x260bfd){const _0x2a2424=_0x23644a;let _0x2f88c1=0x0;const _0x4e988e=function(){const _0x553a24=a21_0x1e7c;++_0x2f88c1===_0x260bfd[_0x553a24(0x107)]&&_0x5a5066&&_0x5a5066();};if(_0x5485a2){_0x4e988e();return;}_0x260bfd[_0x2a2424(0xef)](function(_0x26d25a){const _0x279de5=_0x2a2424,_0x49b9e0=path[_0x279de5(0x104)](_0x39712a,_0x26d25a),_0x249d4f=path[_0x279de5(0x104)](_0x519325,_0x26d25a);fs[_0x279de5(0x10b)](_0x49b9e0,function(_0x3bd054,_0x1adab9){const _0x418662=_0x279de5;_0x1adab9[_0x418662(0x102)]()?fs['mkdir'](_0x249d4f,function(_0x29834e){const _0x57f521=_0x418662;if(_0x29834e){console[_0x57f521(0x109)](_0x29834e);return;}_0x3ee06e['CopyFolder'](_0x49b9e0,_0x249d4f,_0x4e988e);}):_0x3ee06e['CopyFile'](_0x49b9e0,_0x249d4f,_0x4e988e);});}),_0x260bfd['length']===0x0&&_0x5a5066&&_0x5a5066();});},exports[a21_0x248b5a(0xf7)]=(_0x112cd4,_0x30fc16,_0xbd1bca)=>{const _0x2f5966=a21_0x248b5a,_0xa7e7eb=fs[_0x2f5966(0x10a)](_0x112cd4);_0xa7e7eb['on'](_0x2f5966(0xfe),function(_0x371334){const _0x396662=_0x2f5966;_0x371334&&console['log'](_0x396662(0xfa),_0x112cd4),_0xbd1bca&&_0xbd1bca(_0x371334);});const _0x11e334=fs[_0x2f5966(0x106)](_0x30fc16);_0x11e334['on']('error',function(_0x522620){const _0x5ddadf=_0x2f5966;_0x522620&&console[_0x5ddadf(0x109)]('write\x20error',_0x30fc16),_0xbd1bca&&_0xbd1bca(_0x522620);}),_0x11e334['on'](_0x2f5966(0xf6),function(_0x44b298){_0xbd1bca&&_0xbd1bca(_0x44b298);}),_0xa7e7eb['pipe'](_0x11e334);},exports[a21_0x248b5a(0xf8)]=(_0x513e48,_0x1ca188)=>{const _0x444d6a=a21_0x248b5a,_0x5ebf7a=this,_0x540676=fs[_0x444d6a(0xfb)](_0x513e48);_0x540676[_0x444d6a(0xef)](_0x281eb1=>{const _0xa8de4b=_0x444d6a,_0x1453da=_0x513e48+'/'+_0x281eb1,_0xaea0=fs['statSync'](_0x1453da);_0xaea0[_0xa8de4b(0x102)]()?_0x5ebf7a[_0xa8de4b(0xf8)](_0x1453da,_0x1ca188):_0x1ca188[_0xa8de4b(0xf1)](_0x1453da);});},exports['CreatePaths']=(_0x2a7d49,_0x19a414)=>{return new Promise(_0x572a07=>{const _0x55389e=a21_0x1e7c,_0x3a8e11=[];_0x19a414[_0x55389e(0xef)]((_0x4ff191,_0xe19bc)=>{const _0x522b32=_0x55389e,_0x409525=_0x2a7d49+'/'+_0x3a8e11[_0x522b32(0x104)]('/')+'/'+_0x4ff191;try{const _0x565037=fs[_0x522b32(0xf2)](_0x409525);_0x565037['isDirectory']()?_0xe19bc===_0x19a414['length']-0x1&&_0x572a07():(fs[_0x522b32(0x100)](_0x409525),_0xe19bc===_0x19a414[_0x522b32(0x107)]-0x1&&_0x572a07());}catch(_0x2b2153){fs[_0x522b32(0x100)](_0x409525),_0xe19bc===_0x19a414[_0x522b32(0x107)]-0x1&&_0x572a07();}_0x3a8e11[_0x522b32(0xf1)](_0x4ff191);});});};