|
@@ -321,7 +321,7 @@ pub fn build_desktop(
|
|
|
if !config.out_dir.is_dir() {
|
|
|
create_dir_all(&config.out_dir)?;
|
|
|
}
|
|
|
- copy(res_path, &config.out_dir.join(target_file))?;
|
|
|
+ copy(res_path, config.out_dir.join(target_file))?;
|
|
|
|
|
|
// this code will copy all public file to the output dir
|
|
|
if config.asset_dir.is_dir() {
|
|
@@ -467,7 +467,6 @@ pub fn gen_page(config: &CrateConfig, serve: bool, skip_assets: bool) -> String
|
|
|
String::from(include_str!("./assets/index.html"))
|
|
|
};
|
|
|
|
|
|
-
|
|
|
let resources = config.dioxus_config.web.resource.clone();
|
|
|
|
|
|
let mut style_list = resources.style.unwrap_or_default();
|