mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v2, windows] Add WebviewUserDataPath to windows options
This commit is contained in:
@@ -46,6 +46,7 @@ func main() {
|
||||
WindowIsTranslucent: false,
|
||||
DisableWindowIcon: false,
|
||||
EnableFramelessBorder: false,
|
||||
WebviewUserDataPath: "",
|
||||
},
|
||||
Mac: &mac.Options{
|
||||
TitleBar: &mac.TitleBar{
|
||||
@@ -363,6 +364,14 @@ Type: bool
|
||||
Setting this to `true` will add a border around the window if [Frameless](#Frameless) has been activated.
|
||||
This allows hiding the title bar but still having a border around the window.
|
||||
|
||||
### WebviewUserDataPath
|
||||
|
||||
Name: WebviewUserDataPath
|
||||
|
||||
Type: string
|
||||
|
||||
This defines the path where the WebView2 stores the user data. If empty `%APPDATA%\[BinaryName.exe]` will be used.
|
||||
|
||||
## Mac Specific Options
|
||||
|
||||
### TitleBar
|
||||
|
||||
Reference in New Issue
Block a user