Move Disabling Stack Dumping To NoTrack
This commit is contained in:
parent
0979c5c82c
commit
0b750f6100
2 changed files with 8 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ if (!IS_VANILLA) {
|
|||
});
|
||||
|
||||
process.env.DATA_DIR = join(app.getPath("userData"), "..", "Equicord");
|
||||
process.env.ELECTRON_ENABLE_STACK_DUMPING = "true";
|
||||
if (settings.plugins?.NoTrack?.disableStackDumping !== false) process.env.ELECTRON_ENABLE_STACK_DUMPING = "true";
|
||||
} else {
|
||||
console.log("[Equicord] Running in vanilla mode. Not loading Equicord");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,13 @@ const settings = definePluginSettings({
|
|||
description: "Disable Discord's tracking (analytics/'science')",
|
||||
default: true,
|
||||
restartNeeded: true
|
||||
},
|
||||
disableStackDumping: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Print a native stack trace to the console when Discord crashes. Requires full restart.",
|
||||
default: false,
|
||||
restartNeeded: true,
|
||||
target: "DESKTOP"
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue