diff --git a/Timelapse.Pack/Program.cs b/Timelapse.Pack/Program.cs index deb907a..dd9c332 100644 --- a/Timelapse.Pack/Program.cs +++ b/Timelapse.Pack/Program.cs @@ -82,7 +82,7 @@ public class TimelapsePack { //build the library Process p = new Process(); - p.StartInfo = new ProcessStartInfo("dotnet","build --configuration release"); + p.StartInfo = new ProcessStartInfo("dotnet","build --configuration Release"); p.StartInfo.UseShellExecute=false; if(p.Start()) { @@ -110,7 +110,7 @@ public class TimelapsePack } string fname =Path.GetFileName(f); - DirCopy(f,fname,copyItem); + DirCopy(f,Path.Combine(src,fname),copyItem); } foreach(var f in Directory.GetFiles(src)) @@ -120,7 +120,7 @@ public class TimelapsePack continue; } string fname =Path.GetFileName(f); - File.Copy(f,fname); + File.Copy(f,Path.Combine(src,fname)); } } public static string? Pack(string? outname) diff --git a/Timelapse.Pack/Timelapse.Pack.csproj b/Timelapse.Pack/Timelapse.Pack.csproj index a829f2c..92937ea 100644 --- a/Timelapse.Pack/Timelapse.Pack.csproj +++ b/Timelapse.Pack/Timelapse.Pack.csproj @@ -2,8 +2,8 @@ - - + + Exe @@ -17,9 +17,9 @@ Tesses.TimelapsePack Mike Nolan Tesses - 1.0.0 - 1.0.0 - 1.0.0 + 1.0.1 + 1.0.1 + 1.0.1 Extension Packaging tool for TimelapseNow GPL-3.0-only true