From 8fe60971f5939876da1cf228a3bb27c0e627c5ac Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 3 Oct 2022 19:17:54 +0200 Subject: [PATCH] security: remove openPath, restrict openExternal Now only allows opening http urls. --- src/components/Settings.tsx | 2 +- src/ipcMain/index.ts | 15 +++++++++++++-- src/utils/IpcEvents.ts | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index bc44e26b..d4a3dcae 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -88,7 +88,7 @@ export default ErrorBoundary.wrap(function Settings() { Launch Directory