mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Few more fixes
This commit is contained in:
parent
daf7eba26a
commit
223b6d4e92
@ -156,16 +156,16 @@ namespace Wabbajack.Lib
|
||||
from.IsReadOnly = false;
|
||||
}
|
||||
|
||||
if (vf!.IsNative && vf.AbsoluteName == from)
|
||||
if (vf!.IsNative)
|
||||
{
|
||||
await from.HardLinkIfOversize(to);
|
||||
return;
|
||||
}
|
||||
|
||||
if (useMove)
|
||||
from.MoveTo(to);
|
||||
await @from.MoveToAsync(to);
|
||||
else
|
||||
from.CopyTo(to);
|
||||
await @from.CopyToAsync(to);
|
||||
// If we don't do this, the file will use the last-modified date of the file when it was compressed
|
||||
// into an archive, which isn't really what we want in the case of files installed archives
|
||||
to.LastModified = DateTime.Now;
|
||||
|
@ -81,7 +81,7 @@ namespace Wabbajack.Lib.WebAutomation
|
||||
IWindowInfo windowInfo, IBrowserSettings browserSettings, ref bool noJavascriptAccess, out IWebBrowser? newBrowser)
|
||||
{
|
||||
// Block popups
|
||||
newBrowser = chromiumWebBrowser;
|
||||
newBrowser = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user