Skip to content

Commit

Permalink
Update MainWindowViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
JusterZhu committed Dec 10, 2024
1 parent 90b952a commit cb62827
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ await DifferentialCore.Instance.Clean(ConfigModel.AppDirectory,
var parentDirectory = directoryInfo.Parent!.FullName;
var operationType = ConfigModel.Format.Value;
var encoding = ConfigModel.Encoding.Value;
CompressProvider.Compress(operationType, ConfigModel.PatchDirectory, parentDirectory, false, encoding);

CompressProvider.Compress(operationType
, ConfigModel.PatchDirectory
, Path.Combine(parentDirectory,ConfigModel.Name+ ConfigModel.Format.Value)
, false, encoding);

if (Directory.Exists(ConfigModel.PatchDirectory))
DeleteDirectoryRecursively(ConfigModel.PatchDirectory);

Expand Down

0 comments on commit cb62827

Please sign in to comment.