Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add background preview capture and picture-in-picture support #4397

Mergedjuliusmarmingemerged 32 commits intomain fromrefs/pull/4397/headmerged by juliusmarminge View on GitHub

Showing 60 changed files with 15 additions and 0 deletions (loading 57).

x
0 of 60 viewed, 60 left
1 addition and 0 deletionsapps/desktop/src/electron/ElectronWindow.test.tsModified
View file
@@ -94,6 +94,7 @@
webPreferences: {
preload: "/tmp/preload.js",
partition: "persist:t3code-preview-test",
+ backgroundThrottling: null,
sandbox: true,
contextIsolation: true,
nodeIntegration: false,
2 additions and 0 deletionsapps/desktop/src/electron/ElectronWindow.tsModified
View file
@@ -22,6 +22,7 @@
webPreferences: Schema.Struct({
preload: Schema.NullOr(Schema.String),
partition: Schema.NullOr(Schema.String),
+ backgroundThrottling: Schema.NullOr(Schema.Boolean),
sandbox: Schema.NullOr(Schema.Boolean),
contextIsolation: Schema.NullOr(Schema.Boolean),
nodeIntegration: Schema.NullOr(Schema.Boolean),
@@ -179,6 +180,7 @@
webPreferences: {
preload: webPreferences?.preload ?? null,
partition: webPreferences?.partition ?? null,
+ backgroundThrottling: webPreferences?.backgroundThrottling ?? null,
sandbox: webPreferences?.sandbox ?? null,
contextIsolation: webPreferences?.contextIsolation ?? null,
nodeIntegration: webPreferences?.nodeIntegration ?? null,