|
@@ -154,6 +154,8 @@ namespace PackageUploader
|
|
|
string compressName = Untility.GetFileVersion(exePath).ToString().ToCompressKey();
|
|
|
RefrushState("正在进行压缩");
|
|
|
string compressPath = @"C:\VersionsTest";
|
|
|
+ if (!Directory.Exists(compressPath))
|
|
|
+ Directory.CreateDirectory(compressPath);
|
|
|
string compressFullPath = Path.Combine(compressPath, compressName);
|
|
|
|
|
|
Untility.CompressDir(compressFullPath, dirList.ToArray(), RefrushState);
|