diff --git a/app/main.ts b/app/main.ts index 7c1e9a8e7..b8ecda4c8 100644 --- a/app/main.ts +++ b/app/main.ts @@ -333,7 +333,6 @@ function prepareUrl( serverTrustRoot: config.get('serverTrustRoot'), appStartInitialSpellcheckSetting, userDataPath: app.getPath('userData'), - downloadsPath: app.getPath('downloads'), homePath: app.getPath('home'), crashDumpsPath: app.getPath('crashDumps'), ...moreKeys, diff --git a/ts/windows/context.ts b/ts/windows/context.ts index c5d2b085b..0b8a77585 100644 --- a/ts/windows/context.ts +++ b/ts/windows/context.ts @@ -53,7 +53,7 @@ export type SignalContextType = { getEnvironment: () => string; getNodeVersion: () => string; getVersion: () => string; - getPath: (name: 'userData' | 'home' | 'downloads') => string; + getPath: (name: 'userData' | 'home') => string; i18n: LocalizerType; log: LoggerType; renderWindow?: () => void; @@ -72,7 +72,7 @@ export const SignalContext: SignalContextType = { getEnvironment, getNodeVersion: (): string => String(config.node_version), getVersion: (): string => String(config.version), - getPath: (name: 'userData' | 'home' | 'downloads'): string => { + getPath: (name: 'userData' | 'home'): string => { return String(config[`${name}Path`]); }, i18n: setupI18n(locale, localeMessages),