Skip to content

Commit

Permalink
module updater
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Nov 11, 2024
1 parent 2a01422 commit f46375c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { getSetting } from "./ipc/settings";
const electronPath = require.resolve("electron");
const discordPath = join(dirname(require.main!.filename), "app.orig");
const discordPackage = require(join(discordPath, "package.json"));
require.main!.filename = join(discordPath, discordPackage.main);
require.main!.filename = join(discordPath, "..", discordPackage.main);

Object.defineProperty(global, "appSettings", {
set: (v /* : typeof global.appSettings*/) => {
Expand Down

0 comments on commit f46375c

Please sign in to comment.