fix react types version
This commit is contained in:
parent
a8d72fa665
commit
d3b94fc4df
3 changed files with 3225 additions and 2676 deletions
29
package.json
29
package.json
|
@ -32,7 +32,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
||||||
"@types/node": "^20.11.26",
|
"@types/node": "^20.11.26",
|
||||||
"@types/react": "^18.2.65",
|
"@types/react": "^18.2.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
||||||
"@typescript-eslint/parser": "^7.2.0",
|
"@typescript-eslint/parser": "^7.2.0",
|
||||||
"@vencord/types": "^0.1.2",
|
"@vencord/types": "^0.1.2",
|
||||||
|
@ -136,20 +136,21 @@
|
||||||
"icon": "build/icon.icns",
|
"icon": "build/icon.icns",
|
||||||
"iconSize": 105,
|
"iconSize": 105,
|
||||||
"window": {
|
"window": {
|
||||||
"width": 512,
|
"width": 512,
|
||||||
"height": 340
|
"height": 340
|
||||||
},
|
},
|
||||||
|
"contents": [
|
||||||
"contents": [{
|
{
|
||||||
"x": 140,
|
"x": 140,
|
||||||
"y": 160
|
"y": 160
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 372,
|
"x": 372,
|
||||||
"y": 160,
|
"y": 160,
|
||||||
"type": "link",
|
"type": "link",
|
||||||
"path": "/Applications"
|
"path": "/Applications"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"include": "build/installer.nsh",
|
"include": "build/installer.nsh",
|
||||||
|
|
5868
pnpm-lock.yaml
5868
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -40,6 +40,10 @@ function init() {
|
||||||
app.commandLine.appendSwitch("disable-smooth-scrolling");
|
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
|
// work around chrome 66 disabling autoplay by default
|
||||||
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
|
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
|
||||||
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
|
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
|
||||||
|
|
Loading…
Reference in a new issue