mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix some ubuntu tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user