diff --git a/src/c#/GeneralUpdate.Zip/GeneralUpdate.Zip.nuspec b/src/c#/GeneralUpdate.Zip/GeneralUpdate.Zip.nuspec deleted file mode 100644 index f7762d5e..00000000 --- a/src/c#/GeneralUpdate.Zip/GeneralUpdate.Zip.nuspec +++ /dev/null @@ -1,18 +0,0 @@ - - - - $id$ - $version$ - $title$ - $author$ - $author$ - MIT - https://github.com/WELL-E/AutoUpdater.git - https://raw.githubusercontent.com/NuGet/Samples/master/PackageIconNuspecExample/icon.png - false - $description$ - Decompress the compressed file with progress notification. - Copyright 2021 - zip - - \ No newline at end of file diff --git a/src/c#/GeneralUpdate.Zip/GeneralZipFactory.cs b/src/c#/GeneralUpdate.Zip/GeneralZipFactory.cs index 521d391a..2edf7525 100644 --- a/src/c#/GeneralUpdate.Zip/GeneralZipFactory.cs +++ b/src/c#/GeneralUpdate.Zip/GeneralZipFactory.cs @@ -83,13 +83,13 @@ private void OnCompressProgress(object sender, BaseCompressProgressEventArgs e) public IFactory CreateZip() { - _operation.CreateZip(); + _operation?.CreateZip(); return this; } public IFactory UnZip() { - _operation.UnZip(); + _operation?.UnZip(); return this; } } diff --git a/src/c#/GeneralUpdate.Zip/nuget.exe b/src/c#/GeneralUpdate.Zip/nuget.exe deleted file mode 100644 index 3ae0060a..00000000 Binary files a/src/c#/GeneralUpdate.Zip/nuget.exe and /dev/null differ