mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(app): Flatpak options and fixes with updater (#1509)
This commit is contained in:
1 parent
9d33993413
commit
bf004e6d72
3 files changed
+23
-4
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user