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

24
ts/types/packageJson.d.ts vendored Normal file
View File

@@ -0,0 +1,24 @@
// Copyright 2026 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { ReadonlyDeep } from 'type-fest';
export type PackageJsonType = ReadonlyDeep<{
name: string;
version: string;
productName: string;
build: {
appId: string;
mac: {
releaseInfo: {
vendor: {
minOSVersion: string;
};
};
};
deb: {
depends: Array<string>;
};
files: Array<string | Record<string, unknown>>;
};
}>;