Skip to content

Commit

Permalink
Update 1.0.0.5
Browse files Browse the repository at this point in the history
Implemented error handling when a file could not be packed into the archive.
  • Loading branch information
Andy16823 committed Jun 10, 2024
1 parent a912ee8 commit cc7d13b
Show file tree
Hide file tree
Showing 103 changed files with 767 additions and 6 deletions.
Binary file modified Source/.vs/ProjectEvaluation/sbwpf.metadata.v7.bin
Binary file not shown.
Binary file modified Source/.vs/ProjectEvaluation/sbwpf.projects.v7.bin
Binary file not shown.
Binary file modified Source/.vs/SBWPF/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Source/.vs/SBWPF/v17/.futdcache.v2
Binary file not shown.
Binary file modified Source/.vs/SBWPF/v17/.suo
Binary file not shown.
12 changes: 10 additions & 2 deletions Source/SBWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void CreateBackup(BackupPlan plan, int index)
HandyControl.Controls.Growl.InfoGlobal("Backup creation started!");
object[] args = { index, backupWorker.Guid };

Backuper.Backuper.CreateBackupAsync(plan, BackupsPath, (a) =>
Backuper.Backuper.CreateBackupAsync(plan, BackupsPath, (a, result) =>
{
Console.WriteLine("Backup completed");
this.Dispatcher.Invoke(new Action(() =>
Expand All @@ -200,7 +200,15 @@ public void CreateBackup(BackupPlan plan, int index)

// End backup process
this.SavePlans();
HandyControl.Controls.Growl.SuccessGlobal("Backup created");
if(result == true)
{
HandyControl.Controls.Growl.SuccessGlobal("Backup created");
}
else
{
HandyControl.Controls.Growl.ErrorGlobal("The backup could not be performed, which is usually the case when a file to be backed up is being used by another process.");
}

RefreshPlan(itemIndex);
}));
}, args);
Expand Down
5 changes: 5 additions & 0 deletions Source/SBWPF/SBWPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
Expand All @@ -28,6 +29,10 @@
<None Remove="Images\trash.svg" />
</ItemGroup>

<ItemGroup>
<Content Include="favicon.ico" />
</ItemGroup>

<ItemGroup>
<Resource Include="Images\archive.png" />
<Resource Include="Images\edit.png" />
Expand Down
Binary file modified Source/SBWPF/bin/Debug/net8.0-windows/Backuper.dll
Binary file not shown.
Binary file modified Source/SBWPF/bin/Debug/net8.0-windows/Backuper.pdb
Binary file not shown.
Binary file modified Source/SBWPF/bin/Debug/net8.0-windows/SBWPF.dll
Binary file not shown.
Binary file modified Source/SBWPF/bin/Debug/net8.0-windows/SBWPF.pdb
Binary file not shown.
Binary file modified Source/SBWPF/bin/Release/net8.0-windows/Backuper.dll
Binary file not shown.
Binary file modified Source/SBWPF/bin/Release/net8.0-windows/Backuper.pdb
Binary file not shown.
Binary file modified Source/SBWPF/bin/Release/net8.0-windows/SBWPF.dll
Binary file not shown.
Binary file modified Source/SBWPF/bin/Release/net8.0-windows/SBWPF.exe
Binary file not shown.
Binary file modified Source/SBWPF/bin/Release/net8.0-windows/SBWPF.pdb
Binary file not shown.
Binary file added Source/SBWPF/favicon.ico
Binary file not shown.
Binary file not shown.
Binary file modified Source/SBWPF/obj/Debug/net8.0-windows/SBWPF.dll
Binary file not shown.
Binary file modified Source/SBWPF/obj/Debug/net8.0-windows/SBWPF.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_aeh1qimi_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_c5enbzmd_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_gy5t41gs_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_lmdqf0dc_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_mxmvl0ax_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_ned212jt_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("SBWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

// Von der MSBuild WriteCodeFragment-Klasse generiert.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a31238605d3a29ce482c1384edcfc032d487adaa518a5dc58cb04092564d48e0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SBWPF_nx2giefd_wpftmp
build_property.ProjectDir = C:\Users\andy1\source\repos\SBWPF\SBWPF\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Loading

0 comments on commit cc7d13b

Please sign in to comment.