mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Try chmod update.exe for linux systems test
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Velopack.Packaging.Unix;
|
||||
namespace Velopack.Core;
|
||||
|
||||
public class Chmod
|
||||
{
|
||||
@@ -1,4 +1,5 @@
|
||||
using Velopack.Packaging.Unix;
|
||||
using Velopack.Core;
|
||||
using Velopack.Packaging.Unix;
|
||||
using Velopack.Util;
|
||||
|
||||
namespace Velopack.Packaging.Tests;
|
||||
|
||||
@@ -547,6 +547,7 @@ public class UpdateManagerTests
|
||||
File.Copy(basePkgFixturePath, basePkgPath);
|
||||
|
||||
var updateExe = PathHelper.CopyUpdateTo(packagesDir);
|
||||
Chmod.ChmodFileAsExecutable(updateExe);
|
||||
var locator = new TestVelopackLocator(
|
||||
id,
|
||||
fromVersion,
|
||||
|
||||
Reference in New Issue
Block a user