mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Partially fix invites on Windows
This commit is contained in:
parent
09a1b388e3
commit
472a46f0a8
2 changed files with 4 additions and 1 deletions
4
main.js
4
main.js
|
@ -114,6 +114,10 @@ app.whenReady().then(() => {
|
|||
// Approves the permissions request
|
||||
callback(true);
|
||||
}
|
||||
if (!url.startsWith("discord://")) {
|
||||
// Denies the permissions request
|
||||
return callback(false);
|
||||
}
|
||||
});
|
||||
app.on("activate", function () {
|
||||
// On macOS it's common to re-create a window in the app when the
|
||||
|
|
|
@ -5,7 +5,6 @@ const { remote } = require("electron");
|
|||
window.addEventListener('DOMContentLoaded', () => {
|
||||
new customTitlebar.Titlebar({
|
||||
backgroundColor: customTitlebar.Color.fromHex("#202225"),
|
||||
menu: false,
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue