From ae187b6d75c8079da0be1dc288613bad8466fe61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 24 Oct 2023 17:43:37 +0200 Subject: Initial commit --- .../@electron/osx-sign/dist/esm/util.d.ts | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 desktop/node_modules/@electron/osx-sign/dist/esm/util.d.ts (limited to 'desktop/node_modules/@electron/osx-sign/dist/esm/util.d.ts') diff --git a/desktop/node_modules/@electron/osx-sign/dist/esm/util.d.ts b/desktop/node_modules/@electron/osx-sign/dist/esm/util.d.ts new file mode 100644 index 0000000..d420151 --- /dev/null +++ b/desktop/node_modules/@electron/osx-sign/dist/esm/util.d.ts @@ -0,0 +1,35 @@ +/// +import * as child from 'child_process'; +import debug from 'debug'; +import { BaseSignOptions, ElectronMacPlatform } from './types'; +export declare const debugLog: debug.Debugger; +export declare const debugWarn: debug.Debugger; +export declare function execFileAsync(file: string, args: string[], options?: child.ExecFileOptions): Promise; +type DeepListItem = null | T | DeepListItem[]; +type DeepList = DeepListItem[]; +export declare function compactFlattenedList(list: DeepList): T[]; +/** + * Returns the path to the "Contents" folder inside the application bundle + */ +export declare function getAppContentsPath(opts: BaseSignOptions): string; +/** + * Returns the path to app "Frameworks" within contents. + */ +export declare function getAppFrameworksPath(opts: BaseSignOptions): string; +export declare function detectElectronPlatform(opts: BaseSignOptions): Promise; +/** + * This function returns a promise validating opts.app, the application to be signed or flattened. + */ +export declare function validateOptsApp(opts: BaseSignOptions): Promise; +/** + * This function returns a promise validating opts.platform, the platform of Electron build. It allows auto-discovery if no opts.platform is specified. + */ +export declare function validateOptsPlatform(opts: BaseSignOptions): Promise; +/** + * This function returns a promise resolving all child paths within the directory specified. + * @function + * @param {string} dirPath - Path to directory. + * @returns {Promise} Promise resolving child paths needing signing in order. + */ +export declare function walkAsync(dirPath: string): Promise; +export {}; -- cgit