Merge branch 'Vencord:main' into tray-icon

This commit is contained in:
Oleh Polisan 2024-05-20 16:11:35 +03:00 committed by GitHub
commit 36ebc202e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3226 additions and 2677 deletions

View file

@ -32,10 +32,10 @@
"devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@types/node": "^20.11.26",
"@types/react": "^18.2.65",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vencord/types": "^0.1.2",
"@vencord/types": "^1.8.4",
"dotenv": "^16.4.5",
"electron": "^29.1.1",
"electron-builder": "^24.13.3",
@ -139,8 +139,8 @@
"width": 512,
"height": 340
},
"contents": [{
"contents": [
{
"x": 140,
"y": 160
},
@ -149,7 +149,8 @@
"y": 160,
"type": "link",
"path": "/Applications"
}]
}
]
},
"nsis": {
"include": "build/installer.nsh",

File diff suppressed because it is too large Load diff

View file

@ -40,6 +40,10 @@ function init() {
app.commandLine.appendSwitch("disable-smooth-scrolling");
}
// disable renderer backgrounding to prevent the app from unloading when in the background
// https://github.com/electron/electron/issues/2822
app.commandLine.appendSwitch("disable-renderer-backgrounding");
// work around chrome 66 disabling autoplay by default
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.