Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
web-koncept
server
node_modules
@sentry
profiling-node
scripts
File Content:
binaries.js
const os = require('os'); const path = require('path'); const abi = require('node-abi'); const libc = require('detect-libc'); function getModuleName() { const stdlib = libc.familySync(); const platform = process.env['BUILD_PLATFORM'] || os.platform(); const arch = process.env['BUILD_ARCH'] || os.arch(); if (platform === 'darwin' && arch === 'arm64') { const identifier = [platform, 'arm64', abi.getAbi(process.versions.node, 'node')].filter(Boolean).join('-'); return `sentry_cpu_profiler-${identifier}.node`; } const identifier = [platform, arch, stdlib, abi.getAbi(process.versions.node, 'node')].filter(Boolean).join('-'); return `sentry_cpu_profiler-${identifier}.node`; } const source = path.join(__dirname, '..', 'build', 'Release', 'sentry_cpu_profiler.node'); const target = path.join(__dirname, '..', 'lib', getModuleName()); module.exports.source = source; module.exports.target = target; module.exports.getModuleName = getModuleName;
Edit
Download
Unzip
Chmod
Delete