mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
refuse to run inside folders
This commit is contained in:
parent
5edf454e16
commit
685f0d991d
@ -11,10 +11,11 @@ that is copied directly into a modfile (commonly used for `SSE Terrain Tamriel.e
|
||||
* Fix crash caused by multiple downloads with the same SHA256
|
||||
* Putting `WABBAJACK_ALWAYS_INCLUDE` on a mod's notes/comments will cause it to always be included in the modlist, even if disabled
|
||||
* All `.json`, `.ini`, and `.yaml` files that contain remappable paths are now inlined and remapped.
|
||||
* If Wabbajack finds a file called `otherprofiles.txt` inside the compile'd profile's folder. Then that file is assumed
|
||||
* If Wabbajack finds a file called `otherprofiles.txt` inside the compiled profile's folder. Then that file is assumed
|
||||
to be a list of other profiles to be included in the install. This list should be the name of a profile, one name per line.
|
||||
* Can now set the download folder both during compilation and installation.
|
||||
* Any config files pointing to the download folder are remapped.
|
||||
* Refuse to run inside `downloads` folders (anti-virus watches these files too closely and it can cause VFS issues)
|
||||
|
||||
#### Version 0.8.1 - 8/29/2019
|
||||
* Fixed a bug that was causing VFS temp folders not to be cleaned
|
||||
|
@ -34,6 +34,7 @@ namespace VFS
|
||||
{
|
||||
VFS = new VirtualFileSystem();
|
||||
RootFolder = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
|
||||
|
||||
_stagedRoot = Path.Combine(RootFolder, "vfs_staged_files");
|
||||
Utils.OnQueue(() =>
|
||||
{
|
||||
|
@ -158,6 +158,17 @@ namespace Wabbajack
|
||||
|
||||
public AppState(Dispatcher d, String mode)
|
||||
{
|
||||
if (Assembly.GetEntryAssembly().Location.ToLower().Contains("\\downloads\\"))
|
||||
{
|
||||
MessageBox.Show(
|
||||
"This app seems to be running inside a folder called `Downloads`, such folders are often highly monitored by Antivirus software and they can often" +
|
||||
"conflict with the operations Wabbajack needs to perform. Please move this executable outside of your `Downloads` folder and then restart the app.",
|
||||
"Cannot run inside `Downloads`",
|
||||
MessageBoxButton.OK,
|
||||
MessageBoxImage.Error);
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
_startTime = DateTime.Now;
|
||||
LogFile = Assembly.GetExecutingAssembly().Location + ".log";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user