diff --git a/package.json b/package.json index 9be9bc8..f5a4afc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@z1g-project/injectify", "description": "A improved version of Sodiums Plugin Injector ready to use in all your projects.", - "version": "0.0.4", + "version": "0.1.0", "author": "z1g Project", "type": "module", "main": "lib/index.cjs", diff --git a/src/index.ts b/src/index.ts index f7d3d28..1648c27 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,6 +12,9 @@ export default async function injectify() { let plugins = await LFS(cfg.fsItem) let frameView = cfg.whereTo let blacklist = cfg.blacklist + if (cfg.extraLogging === true) { + console.log(frameView) + } plugins.forEach(script => { if (blacklist && blacklist.includes(script)) { return @@ -57,6 +60,9 @@ export default async function injectify() { // Filer is very slow so this may take up some time. This is not suitible for injecting things such as Vencord. Read the docs for more info let frameView = cfg.whereTo let blacklist = cfg.blacklist + if (cfg.extraLogging === true) { + console.log(frameView) + } plugins.forEach(script => { if (blacklist && blacklist.includes(script)) { return