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