Update main.ts
Signed-off-by: AvaLilac <amyshimplays@gmail.com>
This commit is contained in:
parent
e20818fb5b
commit
175fb81bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ const loadInject = () => {
|
||||||
const pluginCode = fs.readFileSync(pluginPath, "utf8");
|
const pluginCode = fs.readFileSync(pluginPath, "utf8");
|
||||||
await mainWindow.webContents.executeJavaScript(pluginCode, true);
|
await mainWindow.webContents.executeJavaScript(pluginCode, true);
|
||||||
|
|
||||||
const badgePath = path.join(__dirname, "userbadges.js");
|
const badgePath = path.join(__dirname, "aviaversion.js");
|
||||||
const badgeCode = fs.readFileSync(badgePath, "utf8");
|
const badgeCode = fs.readFileSync(badgePath, "utf8");
|
||||||
await mainWindow.webContents.executeJavaScript(badgeCode, true);
|
await mainWindow.webContents.executeJavaScript(badgeCode, true);
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue