diff --git a/src-tauri/src/utils/init.rs b/src-tauri/src/utils/init.rs index 1cb509ea0..b46d1d0c4 100644 --- a/src-tauri/src/utils/init.rs +++ b/src-tauri/src/utils/init.rs @@ -193,12 +193,7 @@ pub fn init_resources() -> Result<()> { let _ = fs::create_dir_all(&res_dir); } - #[cfg(target_os = "windows")] let file_list = ["Country.mmdb", "geoip.dat", "geosite.dat"]; - #[cfg(target_os = "macos")] - let file_list = ["Country.mmdb", "geoip.dat", "geosite.dat"]; - #[cfg(target_os = "linux")] - let file_list: [&str; 0] = []; // copy the resource file // if the source file is newer than the destination file, copy it over