From cb70b8c4158dd3bb7dfdf47f68ac2398c3f38b35 Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Thu, 26 Oct 2023 06:25:12 +0200 Subject: [PATCH] add av info on permission denied --- src/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.rs b/src/http.rs index b749015..ea122fb 100644 --- a/src/http.rs +++ b/src/http.rs @@ -66,7 +66,7 @@ pub fn download_file(url: &str, file_path: &Path) { } std::io::ErrorKind::PermissionDenied => { misc::fatal_error(&format!( - "Permission to {} denied.\n Please try:\n 1. Running the launcher as administrator.\n 2. Manually deleting the last downloaded file.\n 3. If your game is in the program files directory try moving it to another location.\n\n\n{}", + "Permission to {} denied.\n Please try:\n 1. Running the launcher as administrator.\n 2. Manually deleting the last downloaded file.\n 3. If your game is in the program files directory try moving it to another location.\n 4. Create an exception/exclusion in your Anti-Virus Software for either the last downloaded file or the entire game directory.\n\n\n{}", file_path.to_str().unwrap(), e ));