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