Files
NapCatQQ/.pnpm-store/v3/files/29/809005ab9d5715cf4520429743c4bac277fcc9c464f23532d09ae597e509dcabb28e5f1db9bd872de0ce62ecd43becea3d49be4457eb7bec469a4cb8fe896c
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

18 lines
734 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ptyPath = void 0;
var fs = require("fs");
var os = require("os");
var path = require("path");
function prebuildName() {
var tags = [];
tags.push(process.versions.hasOwnProperty('electron') ? 'electron' : 'node');
tags.push('abi' + process.versions.modules);
if (os.platform() === 'linux' && fs.existsSync('/etc/alpine-release')) {
tags.push('musl');
}
return tags.join('.') + '.node';
}
var pathToBuild = path.resolve(__dirname, "../prebuilds/" + os.platform() + "-" + os.arch() + "/" + prebuildName());
exports.ptyPath = fs.existsSync(pathToBuild) ? pathToBuild : null;
//# sourceMappingURL=prebuild-file-path.js.map