Sorry that the README is not complete

This commit is contained in:
Mike Nolan 2022-05-20 02:13:08 -05:00
parent 3e76fef7cb
commit 76cd0a4e75
2 changed files with 8 additions and 8 deletions

View File

@ -82,7 +82,7 @@ public class TimelapsePack
{ {
//build the library //build the library
Process p = new Process(); Process p = new Process();
p.StartInfo = new ProcessStartInfo("dotnet","build --configuration release"); p.StartInfo = new ProcessStartInfo("dotnet","build --configuration Release");
p.StartInfo.UseShellExecute=false; p.StartInfo.UseShellExecute=false;
if(p.Start()) if(p.Start())
{ {
@ -110,7 +110,7 @@ public class TimelapsePack
} }
string fname =Path.GetFileName(f); string fname =Path.GetFileName(f);
DirCopy(f,fname,copyItem); DirCopy(f,Path.Combine(src,fname),copyItem);
} }
foreach(var f in Directory.GetFiles(src)) foreach(var f in Directory.GetFiles(src))
@ -120,7 +120,7 @@ public class TimelapsePack
continue; continue;
} }
string fname =Path.GetFileName(f); string fname =Path.GetFileName(f);
File.Copy(f,fname); File.Copy(f,Path.Combine(src,fname));
} }
} }
public static string? Pack(string? outname) public static string? Pack(string? outname)

View File

@ -2,8 +2,8 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" /> <PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\TimelapseApi\TimelapseApi.csproj" /> <ProjectReference Include="..\TimelapseApi\TimelapseApi.csproj" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
@ -17,9 +17,9 @@
<PackageId>Tesses.TimelapsePack</PackageId> <PackageId>Tesses.TimelapsePack</PackageId>
<Authors>Mike Nolan</Authors> <Authors>Mike Nolan</Authors>
<Company>Tesses</Company> <Company>Tesses</Company>
<Version>1.0.0</Version> <Version>1.0.1</Version>
<AssemblyVersion>1.0.0</AssemblyVersion> <AssemblyVersion>1.0.1</AssemblyVersion>
<FileVersion>1.0.0</FileVersion> <FileVersion>1.0.1</FileVersion>
<Description>Extension Packaging tool for TimelapseNow</Description> <Description>Extension Packaging tool for TimelapseNow</Description>
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression> <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>