feat(app): Flatpak options and fixes with updater (#1509)

This commit is contained in:
Nanakusa authored and GitHub committed 2026-07-31 14:15:46 +02:00
1 parent 9d33993413
commit bf004e6d72
3 files changed
+23 -4

No files matched your search

+8 -1
View File
@@ -4,7 +4,14 @@ import {APP_PROTOCOL} from '@electron/common/Constants';
import {shell} from 'electron';
const DEDUPE_WINDOW_MS = 500;
const ALLOWED_EXTERNAL_URL_PROTOCOLS = new Set(['http:', 'https:', 'mailto:', 'tel:', `${APP_PROTOCOL}:`]);
const ALLOWED_EXTERNAL_URL_PROTOCOLS = new Set([
'http:',
'https:',
'mailto:',
'tel:',
'appstream:',
`${APP_PROTOCOL}:`,
]);
const recentOpens = new Map<string, number>();
function getSafeExternalUrl(url: string): string | null {