mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fixing CR feedback
This commit is contained in:
@@ -293,14 +293,7 @@ public class WindowsPackCommandRunner : PackageBuilder<WindowsPackOptions>
|
||||
|
||||
nupkgStream.Position = 0;
|
||||
|
||||
string parentDir = NugetUtil.BinDirectory + Path.AltDirectorySeparatorChar;
|
||||
if (Environment.Is64BitOperatingSystem) {
|
||||
parentDir += "x64";
|
||||
} else {
|
||||
parentDir += "x86";
|
||||
}
|
||||
parentDir += Path.AltDirectorySeparatorChar;
|
||||
|
||||
string parentDir = NugetUtil.BinDirectory + Path.AltDirectorySeparatorChar + "x64" + Path.AltDirectorySeparatorChar;
|
||||
|
||||
ZipArchive zipPackage = new(nupkgStream);
|
||||
var entries = zipPackage.Entries.Where(x => x.FullName.StartsWith(parentDir, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
@@ -41,7 +41,7 @@ public class TrustedSigningTests
|
||||
public async void CanSignWithTrustedSigning()
|
||||
{
|
||||
Skip.If(!VelopackRuntimeInfo.IsWindows);
|
||||
Skip.If(await IsAuthenticatedForCodeSigningAsync());
|
||||
Skip.If(!await IsAuthenticatedForCodeSigningAsync());
|
||||
|
||||
using var logger = _output.BuildLoggerFor<TrustedSigningTests>();
|
||||
using var _ = TempUtil.GetTempDirectory(out var releaseDir);
|
||||
|
||||
Reference in New Issue
Block a user