UNPKG

mixone

Version:

MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a

1 lines 7.08 kB
const y=d;(function(a,b){const x=d,e=a();while(!![]){try{const f=-parseInt(x(0x172))/0x1+parseInt(x(0x179))/0x2*(-parseInt(x(0x17a))/0x3)+-parseInt(x(0x13e))/0x4*(-parseInt(x(0x159))/0x5)+parseInt(x(0x17c))/0x6*(parseInt(x(0x152))/0x7)+-parseInt(x(0x154))/0x8*(parseInt(x(0x11c))/0x9)+parseInt(x(0x162))/0xa+parseInt(x(0x16e))/0xb;if(f===b)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(c,0xeaca1));const fs=require('fs'),path=require(y(0x171)),{exec}=require(y(0x140));function c(){const N=['The\x20third\x20repair\x20was\x20successful','173625VIKRWM','CZGyy','kJmCb','cwd','\x22Repaired\x20successfully','log','rIQld','STIhJ','fqyHE','17494760nqcukt','The\x20install.js\x20file\x20does\x20not\x20exist:','KWEdq','fywHT','gVAAS','FDbxj','apply','install.js','Repair\x20failed','NlDdT','Replace\x20the\x20source\x201\x20and\x20continue\x20with\x20the\x20electron\x20installation...','APiCy','10140053PBqUzE','ZAzRn','MZjOF','path','291905BxryGn','bObkW','ABuUd','The\x20third\x20repair\x20failed','XFbee','EeaGt','Avelq','953146QxiyeA','3bTroyy','search','1190922TjgXWw','existsSync','xWMIk','CGqmE','wVczE','toString','utf-8','Replace\x20the\x20source\x202\x20and\x20continue\x20with\x20the\x20electron\x20installation...','IQslq','(((.+)+)+)+$','TCxZK','electron','The\x20third\x20repair\x20failed:','6333966vbBKNC','Repair\x20failed:','The\x20second\x20repair\x20failed','sVKek','kVHjN','ZVUpr','NIvLb','The\x20second\x20repair\x20was\x20successful','exit','tDbFK','zKCDT','The\x20second\x20repair\x20failed:','Gwzqc','dist','PgyFa','RqFHL','node\x20install.js','HMkLV','hTASh','LSNNH','xpHJh','MiBoT','readFileSync','writeFileSync','sxkqM','RXBWE','ngvMj','qbeDd','oDXjq','aXIRg','argv','TULKb','OCoLk','constructor','8qgiHZl','The\x20install.js\x20file\x20was\x20successfully\x20modified\x20for\x20the\x20second\x20time','child_process','bAKPJ','PSRYR','Your\x20electron\x20needs\x20to\x20be\x20fixed','ygeJA','zPGhk','The\x20install.js\x20file\x20was\x20successfully\x20modified\x20for\x20the\x20first\x20time','ousJw','jAUFc','qPoYk','TCmDC','TBIqk','UxdDH','ebGYu','replace','KmlQN','arch,\x0a\x20\x20mirrorOptions:{\x0a\x20\x20\x20\x20mirror:\x20\x27https://npmmirror.com/mirrors/electron/\x27\x0a\x20\x20}\x0a}).then(extractFile)','error','14feEdAC','XVJbT','16wClhih','join','mkWWp','jXneS'];c=function(){return N;};return c();}function manualCheck2(a){const z=y,b={'ipskG':z(0x11b),'NlDdT':z(0x11d),'STIhJ':function(f,g){return f===g;},'TBIqk':z(0x158),'ZVUpr':function(f,g){return f!==g;},'ABuUd':'oQcto','qbeDd':function(f,g){return f(g);},'UMWdN':'The\x20install.js\x20file\x20does\x20not\x20exist:','stkQN':z(0x183),'kJmCb':z(0x169),'MiBoT':z(0x182),'UxdDH':'arch,\x0a\x20\x20mirrorOptions:{\x0a\x20\x20\x20\x20mirror:\x20\x27https://mirrors.huaweicloud.com/electron/\x27\x0a\x20\x20}\x0a}).then(extractFile)','jXneS':function(f,g,h){return f(g,h);},'Gwzqc':z(0x12c),'TCxZK':z(0x151),'zKCDT':'Smguw','oayhn':'BHFJg'};console[z(0x15e)](b['stkQN']);const e=path['join'](a,b[z(0x15b)]);if(fs[z(0x17d)](e)){let f=fs['readFileSync'](e,b[z(0x131)]);f=f[z(0x14e)](/arch,\n mirrorOptions:\{\n mirror: 'https:\/\/npmmirror\.com\/mirrors\/electron\/'\n \}\n\}\)\.then\(extractFile\)/,b[z(0x14c)]),fs[z(0x133)](e,f,b[z(0x131)]),console['log'](z(0x13f));const g=b[z(0x157)](exec,b[z(0x128)],{'cwd':a});g['on'](b[z(0x119)],h=>{const A=z;console[A(0x151)](b['ipskG'],h),manualCheck(a);}),g['on'](z(0x124),h=>{const B=z,i={'LSNNH':b[B(0x16b)]};b[B(0x160)](h,0x0)?console[B(0x15e)](b[B(0x14b)]):b[B(0x121)](b[B(0x174)],b[B(0x174)])?(g[B(0x151)](i[B(0x12f)],h),i(j)):(b[B(0x137)](manualCheck,a),console['log'](B(0x175)));});}else b[z(0x121)](b[z(0x126)],b['oayhn'])?console[z(0x151)](z(0x163),e):e[z(0x151)](b['UMWdN'],f);}function manualCheck(a){const C=y,b={'kVHjN':C(0x158),'HMkLV':C(0x175),'gVAAS':function(f,g){return f!==g;},'IQslq':C(0x12a),'TCmDC':C(0x127),'KWEdq':function(f,g){return f(g);},'arsBk':C(0x16a),'ebGYu':function(f,g){return f===g;},'XVJbT':'The\x20second\x20repair\x20was\x20successful','ngvMj':C(0x176),'RqFHL':C(0x170),'ousJw':C(0x169),'mkWWp':function(f,g){return f===g;},'XHVtX':C(0x13c),'sVKek':C(0x14f),'RpKTM':C(0x182),'xWMIk':C(0x150),'CZGyy':C(0x146),'wVczE':function(f,g,h){return f(g,h);},'ygeJA':C(0x151),'zPGhk':C(0x163)};console['log'](C(0x16c));const e=path[C(0x155)](a,b[C(0x147)]);if(fs[C(0x17d)](e)){if(b[C(0x156)](b['XHVtX'],b[C(0x11f)]))return;else{let g=fs[C(0x132)](e,b['RpKTM']);g=g[C(0x14e)](/arch\n\}\)\.then\(extractFile\)/,b[C(0x17e)]),fs[C(0x133)](e,g,C(0x182)),console[C(0x15e)](b[C(0x15a)]);const h=b[C(0x180)](exec,C(0x12c),{'cwd':a});h['on'](b[C(0x144)],i=>{const D=C,j={'gXVfD':b[D(0x120)],'UsteH':function(k,l){return k(l);},'xaEYx':b[D(0x12d)]};b[D(0x166)](b[D(0x184)],D(0x16f))?(console[D(0x151)](b[D(0x14a)],i),b[D(0x164)](manualCheck2,a)):h===0x0?m[D(0x15e)](j['gXVfD']):(j['UsteH'](n,o),p[D(0x15e)](j['xaEYx']));}),h['on'](C(0x124),i=>{const E=C;b[E(0x14d)](i,0x0)?console[E(0x15e)](b[E(0x153)]):b[E(0x14d)](b[E(0x136)],b[E(0x12b)])?(b[E(0x164)](f,g),h['log'](b['arsBk'])):(b['KWEdq'](manualCheck2,a),console[E(0x15e)](E(0x11e)));});}}else console[C(0x151)](b[C(0x145)],e);}function checkElectronInstallation(e){const F=y,f={'FuUQp':F(0x123),'LbCOw':F(0x149),'rIQld':F(0x122),'EeaGt':F(0x118),'xpHJh':'Repair\x20failed:','Avelq':function(k,l){return k===l;},'CGqmE':F(0x165),'TULKb':function(k,l){return k(l);},'sxkqM':'Repair\x20failed','zQIIR':function(k,l,m){return k(l,m);},'FDbxj':function(k){return k();},'tDbFK':F(0x11a),'oDXjq':function(k,l){return k===l;},'zzDBe':F(0x16d),'czPyU':F(0x135),'ZffpX':F(0x143),'sngud':function(k,l,m){return k(l,m);},'bObkW':'node\x20install.js','jAUFc':'error','fqyHE':F(0x124)},g=(function(){const G=F,k={'PSRYR':function(l,m){return l!==m;},'bAKPJ':f['LbCOw']};if(f[G(0x15f)]===f[G(0x15f)]){let l=!![];return function(m,n){const H=G;if(k[H(0x142)](k[H(0x141)],H(0x12e))){const o=l?function(){const I=H;if(n){const p=n[I(0x168)](m,arguments);return n=null,p;}}:function(){};return l=![],o;}else g[H(0x15e)](H(0x15d));};}else g['log'](f['FuUQp']);}()),h=f['zQIIR'](g,this,function(){const J=F;return h[J(0x181)]()['search'](f[J(0x177)])[J(0x181)]()[J(0x13d)](h)[J(0x17b)](J(0x118));});f[F(0x167)](h);const i=path['join'](e,'node_modules',f[F(0x125)]);if(!fs[F(0x17d)](i)){if(f[F(0x138)](f['zzDBe'],f['czPyU']))f(g),h[F(0x15e)](F(0x11e));else return;}const j=path[F(0x155)](i,F(0x129));if(!fs[F(0x17d)](j)){console['log'](f['ZffpX']);const l=f['sngud'](exec,f[F(0x173)],{'cwd':i});l['on'](f[F(0x148)],m=>{const K=F;console[K(0x151)](f[K(0x130)],m),manualCheck(i);}),l['on'](f[F(0x161)],m=>{const L=F;if(f[L(0x178)](m,0x0))console[L(0x15e)](L(0x15d));else{if(f[L(0x17f)]!==L(0x139))f[L(0x13b)](manualCheck,i),console[L(0x15e)](f[L(0x134)]);else{const p=i?function(){const M=L;if(p){const w=s[M(0x168)](t,arguments);return u=null,w;}}:function(){};return n=![],p;}}});}}const rootDir=process[y(0x13a)][0x2]||process[y(0x15c)]();function d(a,b){const e=c();return d=function(f,g){f=f-0x118;let h=e[f];return h;},d(a,b);}checkElectronInstallation(rootDir);