aboutsummaryrefslogtreecommitdiff
path: root/src/components/Settings.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-03 19:17:54 +0200
committerVendicated <vendicated@riseup.net>2022-10-03 19:17:54 +0200
commit8fe60971f5939876da1cf228a3bb27c0e627c5ac (patch)
tree01f0116c3f661a38ac376fce726cc44bfe7465e4 /src/components/Settings.tsx
parent71a59f4020c089fcff1d20fb0bff00f765c83500 (diff)
downloadVencord-8fe60971f5939876da1cf228a3bb27c0e627c5ac.tar.gz
Vencord-8fe60971f5939876da1cf228a3bb27c0e627c5ac.tar.bz2
Vencord-8fe60971f5939876da1cf228a3bb27c0e627c5ac.zip
security: remove openPath, restrict openExternal
Now only allows opening http urls.
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r--src/components/Settings.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index bc44e26..d4a3dca 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -88,7 +88,7 @@ export default ErrorBoundary.wrap(function Settings() {
Launch Directory
</Button>
<Button
- onClick={() => VencordNative.ipc.invoke(IpcEvents.OPEN_PATH, settingsDir, "quickCss.css")}
+ onClick={() => VencordNative.ipc.invoke(IpcEvents.OPEN_QUICKCSS)}
size={Button.Sizes.SMALL}
disabled={settingsDir === "Loading..."}
>