Remove use of __dirname from main process

This commit is contained in:
Fedor Indutny
2026-03-27 10:55:37 -07:00
committed by GitHub
parent 70f111e868
commit a048f83dbc
39 changed files with 222 additions and 337 deletions

View File

@@ -4,7 +4,10 @@
import { stat } from 'node:fs/promises';
import { join } from 'node:path';
import { name as NAME, version as VERSION } from '../util/packageJson.node.js';
import { packageJson } from '../util/packageJson.node.js';
const NAME = packageJson.name;
const VERSION = packageJson.version;
const SUPPORT_CONFIG = new Set([
'linux',