38 lines
763 B
TypeScript
38 lines
763 B
TypeScript
/// <reference types="electron" />
|
|
|
|
interface LicenseEntry {
|
|
type: string;
|
|
url: string;
|
|
}
|
|
|
|
interface PackageJson {
|
|
productName?: string;
|
|
description?: string;
|
|
homepage?: string;
|
|
license?: string | LicenseEntry;
|
|
bugs?: {
|
|
url: string;
|
|
};
|
|
}
|
|
|
|
interface AboutWindowInfo {
|
|
icon_path: string;
|
|
copyright?: string;
|
|
homepage?: string;
|
|
description?: string;
|
|
package_json_dir?: string;
|
|
license?: string;
|
|
bug_report_url?: string;
|
|
css_path?: string;
|
|
adjust_window_size?: boolean;
|
|
win_options?: Electron.BrowserWindowConstructorOptions;
|
|
open_devtools?: boolean;
|
|
use_inner_html?: boolean;
|
|
}
|
|
|
|
declare namespace NodeJS {
|
|
interface ProcessVersions {
|
|
[name: string]: string;
|
|
}
|
|
}
|