extension.js 1.8 KB

1
  1. const _0x2881=['__esModule','unload','push','shift','path','join','../../utils','fs-extra','csFile','unzip','getComponentHomePath','csEditor','existsSync','cloud-component:update-library','defineProperty','load'];(function(_0x468652,_0x5e7d4b){const _0x28815d=function(_0x559bff){while(--_0x559bff){_0x468652['push'](_0x468652['shift']());}};_0x28815d(++_0x5e7d4b);}(_0x2881,0xb5));const _0x559b=function(_0x468652,_0x5e7d4b){_0x468652=_0x468652-0x9e;let _0x28815d=_0x2881[_0x468652];return _0x28815d;};const _0x197115=_0x559b,_0x4980=[_0x197115(0xa3),_0x197115(0xaa),_0x197115(0xa7),'file',_0x197115(0xa2),_0x197115(0xa4),'broadcastMsg',_0x197115(0xad),_0x197115(0x9e),_0x197115(0xa9),'methods',_0x197115(0xa1)];(function(_0x1ceed7,_0x5959dc){const _0x168f62=function(_0x59d304){const _0x33a98a=_0x559b;while(--_0x59d304){_0x1ceed7[_0x33a98a(0xab)](_0x1ceed7[_0x33a98a(0xac)]());}};_0x168f62(++_0x5959dc);}(_0x4980,0x1f0));const _0x4882=function(_0x4949da,_0x1725e3){_0x4949da=_0x4949da-0x81;let _0x20f46a=_0x4980[_0x4949da];return _0x20f46a;},_0xec52ad=_0x4882;'use\x20strict',(Object[_0xec52ad(0x8b)](exports,_0xec52ad(0x86),{'value':!0x0}),exports[_0xec52ad(0x87)]=exports[_0xec52ad(0x8a)]=exports[_0x197115(0xa8)]=void 0x0);const fs_extra_1=require(_0x197115(0xa0)),path_1=require(_0xec52ad(0x84)),utils_1=require(_0x197115(0x9f));function load(){}function unload(){}exports['load']=load,exports[_0xec52ad(0x8a)]=unload,exports[_0xec52ad(0x87)]={async 'install'(_0xd1db09,_0x2e75f9){const _0x1f8609=_0x197115,_0x1232dc=_0xec52ad;if(!fs_extra_1[_0x1f8609(0xa5)](_0xd1db09[_0x1232dc(0x8c)]))return;const _0x5baaeb=path_1[_0x1232dc(0x85)](utils_1[_0x1232dc(0x82)][_0x1232dc(0x89)]());utils_1[_0x1232dc(0x88)][_0x1232dc(0x81)](_0xd1db09[_0x1232dc(0x8c)],_0x5baaeb),utils_1[_0x1f8609(0xa4)][_0x1232dc(0x83)](_0x1f8609(0xa6));}};