mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
added check if Download path is alongside wabbajack.exe to match existing check for installpath (#2363)
trigger CI to test github action secret was succesfully added another CI trigger retrigger CI Co-authored-by: Timothy Baldridge <tbaldridge@gmail.com>
This commit is contained in:
parent
c57219dc37
commit
b0a2058c19
@ -3,6 +3,7 @@
|
||||
#### Version TBD
|
||||
* Fixed issues related to high RAM usage
|
||||
* The resumable downloads now reserve drive space to write to in advance instead of being managed in system RAM
|
||||
* Added a check if Downloadpath is alongside Wabbajack.exe location, to match the install path check that already exists
|
||||
* Added check for identical download and install paths
|
||||
|
||||
#### Version - 3.1.0.0 - 5/7/2023
|
||||
|
@ -294,7 +294,8 @@ public class InstallerVM : BackNavigatingVM, IBackNavigatingVM, ICpuStatusVM
|
||||
|
||||
if (installPath.InFolder(KnownFolders.EntryPoint))
|
||||
yield return ErrorResponse.Fail("Can't install a modlist into the Wabbajack.exe path");
|
||||
|
||||
if (downloadPath.InFolder(KnownFolders.EntryPoint))
|
||||
yield return ErrorResponse.Fail("Can't download a modlist into the Wabbajack.exe path");
|
||||
if (KnownFolders.EntryPoint.ThisAndAllParents().Any(path => installPath == path))
|
||||
{
|
||||
yield return ErrorResponse.Fail("Installing in this folder may overwrite Wabbajack");
|
||||
|
Loading…
Reference in New Issue
Block a user