Skip to content

Commit f92d9c8

Browse files
committed
allowRendererProcessReuse
1 parent 04533a6 commit f92d9c8

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

app/lib/app.ts

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export class Application {
8282
app.commandLine.appendSwitch('disable-http-cache')
8383
app.commandLine.appendSwitch('max-active-webgl-contexts', '9000')
8484
app.commandLine.appendSwitch('lang', 'EN')
85-
app.allowRendererProcessReuse = false
8685

8786
for (const flag of configData.flags || [['force_discrete_gpu', '0']]) {
8887
app.commandLine.appendSwitch(flag[0], flag[1])

app/lib/window.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { loadConfig } from './config'
1414

1515
let DwmEnableBlurBehindWindow: any = null
1616
if (process.platform === 'win32') {
17-
DwmEnableBlurBehindWindow = require('windows-blurbehind').DwmEnableBlurBehindWindow
17+
DwmEnableBlurBehindWindow = require('@tabby-gang/windows-blurbehind').DwmEnableBlurBehindWindow
1818
}
1919

2020
export interface WindowOptions {

app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"optionalDependencies": {
3838
"macos-native-processlist": "^2.0.0",
3939
"serialport": "^10.0.0",
40-
"windows-blurbehind": "^1.0.1",
40+
"@tabby-gang/windows-blurbehind": "^1.0.1",
4141
"windows-native-registry": "^3.1.0",
4242
"windows-process-tree": "^0.3.2"
4343
},

app/webpack.main.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = {
5151
'source-map-support': 'commonjs source-map-support',
5252
'windows-swca': 'commonjs windows-swca',
5353
'windows-native-registry': 'commonjs windows-native-registry',
54-
'windows-blurbehind': 'commonjs windows-blurbehind',
54+
'@tabby-gang/windows-blurbehind': 'commonjs @tabby-gang/windows-blurbehind',
5555
'yargs/yargs': 'commonjs yargs/yargs',
5656
},
5757
plugins: [

app/yarn.lock

+12-5
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@
103103
dependencies:
104104
nan "^2.14.0"
105105

106+
"@tabby-gang/windows-blurbehind@^1.0.1":
107+
version "3.0.0"
108+
resolved "https://registry.yarnpkg.com/@tabby-gang/windows-blurbehind/-/windows-blurbehind-3.0.0.tgz#48d409c2eb14a12c867b70de5ee4d6769ef45e8f"
109+
integrity sha512-ah6eJcoQZWOZfu9sd2pWlOJmfl1v+2EZQMeIp7MWvg+/16WS16UFNdnOtlV6AUiABHfZo2QKfCNUEuorCM+Q2A==
110+
dependencies:
111+
"@types/node" "^10.12.18"
112+
106113
107114
version "2.7.4"
108115
resolved "https://registry.yarnpkg.com/@types/mz/-/mz-2.7.4.tgz#f9d1535cb5171199b28ae6abd6ec29e856551401"
@@ -115,6 +122,11 @@
115122
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.0.1.tgz#70cedfda26af7a2ca073fdcc9beb2fff4aa693f8"
116123
integrity sha512-hBOx4SUlEPKwRi6PrXuTGw1z6lz0fjsibcWCM378YxsSu/6+C30L6CR49zIBKHiwNWCYIcOLjg4OHKZaFeLAug==
117124

125+
"@types/node@^10.12.18":
126+
version "10.17.60"
127+
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b"
128+
integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==
129+
118130
"@types/semver@^7.3.6":
119131
version "7.3.9"
120132
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.9.tgz#152c6c20a7688c30b967ec1841d31ace569863fc"
@@ -3741,11 +3753,6 @@ widest-line@^2.0.0:
37413753
dependencies:
37423754
string-width "^2.1.1"
37433755

3744-
windows-blurbehind@^1.0.1:
3745-
version "1.0.1"
3746-
resolved "https://registry.yarnpkg.com/windows-blurbehind/-/windows-blurbehind-1.0.1.tgz#ff098713873304e38330b2c54cc41bb369b587b9"
3747-
integrity sha512-1HzHfCiM1ayrbACJu5qE9zELV24uX/tINT6kxaZwLY3rtQAoeav6x9z7LFHWoLaGDN/sYbnK+9Vk0cz7fsk5HQ==
3748-
37493756
windows-native-registry@^3.1.0:
37503757
version "3.1.0"
37513758
resolved "https://registry.yarnpkg.com/windows-native-registry/-/windows-native-registry-3.1.0.tgz#909ef3254519fdec57d2f149ac59a2c9dc84419a"

0 commit comments

Comments
 (0)