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

@@ -14,7 +14,7 @@ import { Format, NtExecutable } from 'pe-library';
import ELECTRON_BINARY from 'electron';
import { drop } from '../util/drop.std.js';
import packageJson from '../util/packageJson.node.js';
import { packageJson } from '../util/packageJson.node.js';
const { ImageDosHeader, ImageNtHeaders, ImageDirectoryEntry } = Format;