mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: remove deprecated app.enableMixedSandbox() (#17894)
This commit is contained in:
committed by
Shelley Vohr
parent
9b779657fb
commit
253d049ac9
@@ -32,10 +32,7 @@ Object.assign(app, {
|
||||
getSwitchValue: (theSwitch: string) => commandLine.getSwitchValue(String(theSwitch)),
|
||||
appendSwitch: (theSwitch: string, value?: string) => commandLine.appendSwitch(String(theSwitch), typeof value === 'undefined' ? value : String(value)),
|
||||
appendArgument: (arg: string) => commandLine.appendArgument(String(arg))
|
||||
} as Electron.CommandLine,
|
||||
enableMixedSandbox () {
|
||||
deprecate.log(`'enableMixedSandbox' is deprecated. Mixed-sandbox mode is now enabled by default. You can safely remove the call to enableMixedSandbox().`)
|
||||
}
|
||||
} as Electron.CommandLine
|
||||
})
|
||||
|
||||
// we define this here because it'd be overly complicated to
|
||||
|
||||
Reference in New Issue
Block a user