Detect version inside macos Content directory

This commit is contained in:
Caelan Sayler
2022-05-23 15:45:01 +01:00
parent 6f696c848e
commit 209761a9cd
4 changed files with 17 additions and 6 deletions

View File

@@ -108,7 +108,7 @@ namespace Squirrel.Tests
Assert.True(File.Exists(Path.Combine(localAppDir, "current", "ReactiveUI.dll")));
Assert.True(File.Exists(Path.Combine(localAppDir, "current", "NSync.Core.dll")));
var manifest = NuspecManifest.ParseFromFile(Path.Combine(localAppDir, "current", "current.version"));
var manifest = NuspecManifest.ParseFromFile(Path.Combine(localAppDir, "current", Utility.SpecVersionFileName));
Assert.Equal(new NuGetVersion(1, 0, 0, 0), manifest.Version);
}
}