allow configering the root name in the desktop renderer
This commit is contained in:
1 parent
a42660a451
commit
f84166fb11
4 files changed
+27
-9
No files matched your search
@@ -164,6 +164,7 @@ fn build_webview(
|
||||
let custom_head = cfg.custom_head.clone();
|
||||
let resource_dir = cfg.resource_dir.clone();
|
||||
let index_file = cfg.custom_index.clone();
|
||||
let root_name = cfg.root_name.clone();
|
||||
|
||||
// We assume that if the icon is None in cfg, then the user just didnt set it
|
||||
if cfg.window.window.window_icon.is_none() {
|
||||
@@ -220,6 +221,7 @@ fn build_webview(
|
||||
resource_dir.clone(),
|
||||
custom_head.clone(),
|
||||
index_file.clone(),
|
||||
&root_name,
|
||||
)
|
||||
})
|
||||
.with_file_drop_handler(move |window, evet| {
|
||||
|
||||
Reference in new issue
Block a user