diff --git a/src/vpk/Velopack.Packaging.Unix/Chmod.cs b/src/vpk/Velopack.Core/Chmod.cs similarity index 97% rename from src/vpk/Velopack.Packaging.Unix/Chmod.cs rename to src/vpk/Velopack.Core/Chmod.cs index 6ec899da..230a70db 100644 --- a/src/vpk/Velopack.Packaging.Unix/Chmod.cs +++ b/src/vpk/Velopack.Core/Chmod.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; -namespace Velopack.Packaging.Unix; +namespace Velopack.Core; public class Chmod { diff --git a/test/Velopack.Packaging.Tests/CrossCompile.cs b/test/Velopack.Packaging.Tests/CrossCompile.cs index 1a373fe3..d0733849 100644 --- a/test/Velopack.Packaging.Tests/CrossCompile.cs +++ b/test/Velopack.Packaging.Tests/CrossCompile.cs @@ -1,4 +1,5 @@ -using Velopack.Packaging.Unix; +using Velopack.Core; +using Velopack.Packaging.Unix; using Velopack.Util; namespace Velopack.Packaging.Tests; diff --git a/test/Velopack.Tests/UpdateManagerTests.cs b/test/Velopack.Tests/UpdateManagerTests.cs index a6a86434..34e013a9 100644 --- a/test/Velopack.Tests/UpdateManagerTests.cs +++ b/test/Velopack.Tests/UpdateManagerTests.cs @@ -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,