feat(window): add `incognito` option (#418)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
pull/407/head^2
Amr Bashir 2 years ago committed by GitHub
parent c81dff292a
commit 2fc420ba37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
---
"window-js": "minor"
---
Add `incognito` window configuration option

@ -1884,6 +1884,14 @@ interface WindowOptions {
* The user agent for the webview.
*/
userAgent?: string;
/**
* Whether or not the webview should be launched in incognito mode.
*
* #### Platform-specific
*
* - **Android:** Unsupported.
*/
incognito?: boolean;
}
function mapMonitor(m: Monitor | null): Monitor | null {

Loading…
Cancel
Save