Enables sandbox on about window
This commit is contained in:
parent
58691b2f5e
commit
4591b56f7f
27 changed files with 262 additions and 93 deletions
10
ts/window.d.ts
vendored
10
ts/window.d.ts
vendored
|
@ -3,6 +3,7 @@
|
|||
|
||||
// Captures the globals put in place by preload.js, background.js and others
|
||||
|
||||
import type { MenuItemConstructorOptions } from 'electron';
|
||||
import type { Store } from 'redux';
|
||||
import type * as Backbone from 'backbone';
|
||||
import type PQueue from 'p-queue/dist';
|
||||
|
@ -101,7 +102,16 @@ export type FeatureFlagType = {
|
|||
GV2_MIGRATION_DISABLE_INVITE: boolean;
|
||||
};
|
||||
|
||||
type AboutWindowType = {
|
||||
environmentText: string;
|
||||
executeMenuRole: (role: MenuItemConstructorOptions['role']) => Promise<void>;
|
||||
hasCustomTitleBar: boolean;
|
||||
i18n: LocalizerType;
|
||||
version: string;
|
||||
};
|
||||
|
||||
export type SignalCoreType = {
|
||||
AboutWindow?: AboutWindowType;
|
||||
Crypto: typeof Crypto;
|
||||
Curve: typeof Curve;
|
||||
Data: typeof Data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue