fix: portable flag

This commit is contained in:
MystiPanda
2023-12-15 21:39:34 +08:00
parent 378666e3cc
commit e3a500e12c
10 changed files with 47 additions and 18 deletions

View File

@@ -141,6 +141,7 @@ pub fn delete_log() -> Result<()> {
/// Initialize all the config files
/// before tauri setup
pub fn init_config() -> Result<()> {
let _ = dirs::init_portable_flag();
let _ = init_log();
let _ = delete_log();