Add back window transparency with temporary unsafe settings key
This commit is contained in:
parent
84a649a671
commit
5340ea7ba0
1 changed files with 2 additions and 3 deletions
|
@ -83,12 +83,11 @@ if (!process.argv.includes("--vanilla")) {
|
|||
delete options.frame;
|
||||
}
|
||||
|
||||
/* This causes electron to freeze / white screen for some people
|
||||
if (settings.transparent) {
|
||||
// This causes electron to freeze / white screen for some people
|
||||
if ((settings as any).transparentUNSAFE_USE_AT_OWN_RISK) {
|
||||
options.transparent = true;
|
||||
options.backgroundColor = "#00000000";
|
||||
}
|
||||
*/
|
||||
|
||||
process.env.DISCORD_PRELOAD = original;
|
||||
|
||||
|
|
Loading…
Reference in a new issue