Skip to content

Commit

Permalink
v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
user413 committed Oct 15, 2022
1 parent 2fc9af1 commit 7b2dfa0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/packages
/test
/BackupHelper/test

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down
18 changes: 9 additions & 9 deletions BackupHelper/FormOptionsMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,16 @@ private void ButtonExecute_Click(object sender, EventArgs args)
return;
}

List<Options> options = Options.OrderBy(o => o.ListViewIndex).Select(o => o.Clone()).ToList();
foreach (Options o in options)
{
if (!o.AllowIgnoreFileExt) o.SpecifiedFileNamesAndExtensions.Clear(); //-- Names must be ignored
o.SourcePath = Environment.ExpandEnvironmentVariables(o.SourcePath);
o.DestinyPath = Environment.ExpandEnvironmentVariables(o.DestinyPath);
}

FileControl = new FileControlImpl(this);
progressBarOptions.Maximum = FileControl.FilesTotal(Options.ToList<TransferSettings>());
progressBarOptions.Maximum = FileControl.FilesTotal(options.ToList<TransferSettings>());

//this.OptionIsExecuting = true;
LogManager.BeginWritter();
Expand All @@ -367,14 +375,6 @@ private void ButtonExecute_Click(object sender, EventArgs args)
buttonCancel.Visible = true;
buttonCancel.BackColor = Color.FromArgb(255, 128, 128);

List<Options> options = Options.OrderBy(o => o.ListViewIndex).Select(o => o.Clone()).ToList();
foreach (Options o in options)
{
if (!o.AllowIgnoreFileExt) o.SpecifiedFileNamesAndExtensions.Clear(); //-- Names must be ignored
o.SourcePath = Environment.ExpandEnvironmentVariables(o.SourcePath);
o.DestinyPath = Environment.ExpandEnvironmentVariables(o.DestinyPath);
}

Program.UpdateLastTimeExecuted(Profile);

ExecutionThread = new Thread(() =>
Expand Down
4 changes: 2 additions & 2 deletions BackupHelper/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
[assembly: AssemblyProduct("BackupHelper")]
[assembly: AssemblyCopyright("Copyright © Nain 2021")]
[assembly: AssemblyTrademark("Nain")]
[assembly: AssemblyVersion("1.4.1")]
[assembly: AssemblyFileVersion("1.4.1")]
[assembly: AssemblyVersion("1.4.2")]
[assembly: AssemblyFileVersion("1.4.2")]
[assembly: NeutralResourcesLanguage("en-US")]
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.4.2

Fixed/altered:
- Execution for source paths containing environment variables - fix

## 1.4.1

Fixed/altered:
Expand Down

0 comments on commit 7b2dfa0

Please sign in to comment.