feat(settings): Add the ability to make the window transparent (#457)
This commit is contained in:
parent
6e22a96d9e
commit
072ad3d7e6
3 changed files with 13 additions and 0 deletions
|
|
@ -80,6 +80,10 @@ if (!process.argv.includes("--vanilla")) {
|
|||
if (settings.frameless) {
|
||||
options.frame = false;
|
||||
}
|
||||
if (settings.transparent) {
|
||||
options.transparent = true;
|
||||
options.backgroundColor = "#00000000";
|
||||
}
|
||||
|
||||
process.env.DISCORD_PRELOAD = original;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue