mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix a few more broken tests
This commit is contained in:
parent
8af841f3d6
commit
c22e40f752
@ -7,6 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
|
@ -126,6 +126,8 @@ namespace Wabbajack.Common
|
||||
public static AbsolutePath SettingsFile => LocalAppDataPath.Combine("settings.json");
|
||||
public static RelativePath SettingsIni = (RelativePath)"settings.ini";
|
||||
public static byte SettingsVersion => 1;
|
||||
public static Extension TempExtension = new Extension(".temp");
|
||||
|
||||
public static Extension OctoSig = new Extension(".octo_sig");
|
||||
|
||||
public static RelativePath ModListTxt = (RelativePath)"modlist.txt";
|
||||
|
@ -22,7 +22,7 @@ namespace Wabbajack.Common
|
||||
|
||||
private static AbsolutePath GetTempFilePath()
|
||||
{
|
||||
var path = (@"temp\" + Guid.NewGuid()).RelativeTo(AbsolutePath.EntryPoint);
|
||||
var path = (@"temp\" + Guid.NewGuid()).RelativeTo(AbsolutePath.EntryPoint).WithExtension(Consts.TempExtension);
|
||||
path.Parent.CreateDirectory();
|
||||
return path;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user