security: remove openPath, restrict openExternal

Now only allows opening http urls.
This commit is contained in:
Vendicated
2022-10-03 19:17:54 +02:00
parent 71a59f4020
commit 8fe60971f5
3 changed files with 15 additions and 4 deletions

View File

@ -18,7 +18,7 @@ export default strEnum({
GET_SETTINGS: "VencordGetSettings",
SET_SETTINGS: "VencordSetSettings",
OPEN_EXTERNAL: "VencordOpenExternal",
OPEN_PATH: "VencordOpenPath",
OPEN_QUICKCSS: "VencordOpenQuickCss",
GET_UPDATES: "VencordGetUpdates",
GET_REPO: "VencordGetRepo",
GET_HASHES: "VencordGetHashes",