mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
security: remove openPath, restrict openExternal
Now only allows opening http urls.
This commit is contained in:
parent
71a59f4020
commit
8fe60971f5
3 changed files with 15 additions and 4 deletions
|
@ -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..."}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue