7z-bin
Version:
7-Zip full feature precompiled binaries
2 lines • 894 B
JavaScript
;var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var u=(r,e)=>{for(var s in e)o(r,s,{get:e[s],enumerable:!0})},f=(r,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!a.call(r,n)&&n!==s&&o(r,n,{get:()=>e[n],enumerable:!(i=c(e,n))||i.enumerable});return r};var m=r=>f(o({},"__esModule",{value:!0}),r);var _={};u(_,{path7x:()=>x,path7z:()=>h});module.exports=m(_);var t=require("path");function z(){if(process.env.USE_SYSTEM_7Z==="true")return"7z";let r=(0,t.join)(__dirname,"..","bin");return process.platform==="win32"?(0,t.join)(r,"win",process.arch,"7z.exe"):process.platform==="darwin"?(0,t.join)(r,"mac","7zz"):(0,t.join)(r,"linux",process.arch,"7zzs")}var h=z(),x=(0,t.join)(__dirname,"7x.sh");0&&(module.exports={path7x,path7z});
//# sourceMappingURL=index.js.map