mirror of
https://github.com/Lightcord/Lightcord.git
synced 2025-04-12 00:55:40 +02:00
false positive
This commit is contained in:
parent
1eab906bf9
commit
9809c564b4
13
BetterDiscordApp/dist/index.js
vendored
13
BetterDiscordApp/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
BetterDiscordApp/dist/index.min.js.map
vendored
2
BetterDiscordApp/dist/index.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -35,14 +35,13 @@ export default new class PluginCertifier {
|
|||||||
const tests = [
|
const tests = [
|
||||||
[/token/gi, 0, 0],
|
[/token/gi, 0, 0],
|
||||||
[/email/gi, 0, 0],
|
[/email/gi, 0, 0],
|
||||||
[/mfa/gi, 0, 0],
|
[/mfa\./gi, 0, 0],
|
||||||
[/2fa/gi, 0, 0],
|
[/2fa/gi, 0, 0],
|
||||||
[/phone/gi, 0, 0],
|
[/phone/gi, 0, 0],
|
||||||
[/child_process/gi, 0, 0],
|
[/child_process/gi, 0, 0],
|
||||||
[/localStorage/gi, 0, 0],
|
[/localStorage/gi, 0, 0],
|
||||||
[/getGlobal/gi, 0, 0],
|
[/getGlobal/gi, 0, 0],
|
||||||
[/BrowserWindow/gi, 0, 0],
|
[/BrowserWindow/gi, 0, 0],
|
||||||
[/\.exe/gi, 0, 1],
|
|
||||||
[/system32/gi, 0, 0],
|
[/system32/gi, 0, 0],
|
||||||
[/password/gi, 0, 0],
|
[/password/gi, 0, 0],
|
||||||
[/eval/gi, 0, 0],
|
[/eval/gi, 0, 0],
|
||||||
|
@ -169,12 +169,10 @@ PluginModule.prototype.reload = function(name) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
PluginModule.prototype.edit = function(filenameOrName) {
|
PluginModule.prototype.edit = function(filenameOrName) {
|
||||||
console.log("Edit " + filenameOrName);
|
|
||||||
const bdplugin = Object.values(bdplugins).find(p => p.filename == filenameOrName) || bdplugins[filenameOrName];
|
const bdplugin = Object.values(bdplugins).find(p => p.filename == filenameOrName) || bdplugins[filenameOrName];
|
||||||
if (!bdplugin) return;
|
if (!bdplugin) return;
|
||||||
const fullPath = require("path").resolve(ContentManager.pluginsFolder, bdplugin.filename);
|
const fullPath = require("path").resolve(ContentManager.pluginsFolder, bdplugin.filename);
|
||||||
console.log("Edit " + fullPath);
|
require("electron").shell.openExternal(`${fullPath}`);
|
||||||
require("electron").shell.openItem(`${fullPath}`);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
PluginModule.prototype.updatePluginList = function() {
|
PluginModule.prototype.updatePluginList = function() {
|
||||||
|
@ -129,7 +129,7 @@ ThemeModule.prototype.edit = function(filenameOrName) {
|
|||||||
const bdplugin = Object.values(bdthemes).find(p => p.filename == filenameOrName) || bdthemes[filenameOrName];
|
const bdplugin = Object.values(bdthemes).find(p => p.filename == filenameOrName) || bdthemes[filenameOrName];
|
||||||
if (!bdplugin) return;
|
if (!bdplugin) return;
|
||||||
const fullPath = require("path").resolve(ContentManager.themesFolder, bdplugin.filename);
|
const fullPath = require("path").resolve(ContentManager.themesFolder, bdplugin.filename);
|
||||||
require("electron").shell.openItem(`${fullPath}`);
|
require("electron").shell.openExternal(`${fullPath}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
ThemeModule.prototype.updateThemeList = function() {
|
ThemeModule.prototype.updateThemeList = function() {
|
||||||
|
@ -33,7 +33,7 @@ export default class ApiPreview extends React.PureComponent {
|
|||||||
</formModule.FormText>
|
</formModule.FormText>
|
||||||
<MarginTop></MarginTop>
|
<MarginTop></MarginTop>
|
||||||
<Lightcord.Api.Components.inputs.Button color="brand" look="outlined" size="medium" hoverColor="green" onClick={() => {
|
<Lightcord.Api.Components.inputs.Button color="brand" look="outlined" size="medium" hoverColor="green" onClick={() => {
|
||||||
remote.shell.openExternal("https://lightcord.deroku.xyz/LightcordApi/docs")
|
remote.shell.openExternal("https://lightcord.deroku.xyz/LightcordApi/")
|
||||||
}} wrapper={false}>
|
}} wrapper={false}>
|
||||||
Documentation
|
Documentation
|
||||||
</Lightcord.Api.Components.inputs.Button>
|
</Lightcord.Api.Components.inputs.Button>
|
||||||
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -2104,13 +2104,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"roarr": {
|
"roarr": {
|
||||||
"version": "2.15.3",
|
"version": "2.15.4",
|
||||||
"resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz",
|
"resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",
|
||||||
"integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==",
|
"integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"boolean": "^3.0.0",
|
"boolean": "^3.0.1",
|
||||||
"detect-node": "^2.0.4",
|
"detect-node": "^2.0.4",
|
||||||
"globalthis": "^1.0.1",
|
"globalthis": "^1.0.1",
|
||||||
"json-stringify-safe": "^5.0.1",
|
"json-stringify-safe": "^5.0.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user