Nick Jonas
Nick Jonas
Hi, i have the same question,have you got the solution? @DeManHemZelfe
+1. ``` tauri_plugin_log::Builder::new() .target(tauri_plugin_log::Target::new( tauri_plugin_log::TargetKind::LogDir { file_name: None }, )) .max_file_size(50* 1024) .rotation_strategy(tauri_plugin_log::RotationStrategy::KeepAll) .level(log::LevelFilter::Error) .timezone_strategy(tauri_plugin_log::TimezoneStrategy::UseLocal) .build() ``` I use `log = "0.4.27"` and `"@tauri-apps/plugin-fs": "^2.2.0"`
按照推荐来,不要在渲染进程使用 node:fs 至于`Dynamic require is not supported`, 这是另一个问题
@RSS1102 Really Thanks for your reply! I guess no. If the directory path were wrong, the error will be another one (i have tried) But maybe I am wrong :...
Unfortunately, it does not work
@RSS1102 oh my god, I convert the .png to .ico, then it works! But why? NSIS document says we can set it both of .png and .ico. Additionally, there is...
@RSS1102 Hi, Thanks for your help. I have fixed it. ``` "win": { "icon": "public/logo.ico", "target": [ { "target": "nsis", "arch": [ "x64" ] } ] } ``` I add...
Ah it's so odd, can you show the metadata of your png?
> ``` > "win": { > "icon": "public/logo.ico", > "target": [ > { > "target": "nsis", > "arch": [ > "x64" > ] > } > ] > } >...