Fix some ubuntu tests

This commit is contained in:
Caelan
2024-01-10 23:45:06 +00:00
parent 7ca64f9e23
commit 103e5e271a
2 changed files with 27 additions and 9 deletions

View File

@@ -50,10 +50,7 @@ public static class PathHelper
public static string CopyUpdateTo(string dir)
{
var updateName = "update.exe";
if (VelopackRuntimeInfo.IsOSX) {
updateName = "update";
}
var updateName = VelopackRuntimeInfo.IsWindows ? "update.exe" : "update";
var path = GetRustAsset(updateName);
var newPath = Path.Combine(dir, updateName);
File.Copy(path, newPath);