A lot of things

This commit is contained in:
2025-10-28 19:02:19 +01:00
parent 393ef60c82
commit 47cff5e7f6
21 changed files with 794 additions and 60 deletions

View File

@@ -33,6 +33,7 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />

View File

@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Perfect11 Inbox Plugins")]
[assembly: AssemblyTitle("Perfect11 Inbox Tweaks")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Vichingo455")]

View File

@@ -4,6 +4,7 @@ using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace Perfect11.Inbox.UninstallOneDrive
{
@@ -47,7 +48,10 @@ namespace Perfect11.Inbox.UninstallOneDrive
string oneDrivePath = Path.Combine(dir, "OneDrive");
if (Directory.Exists(oneDrivePath) && Directory.EnumerateFileSystemEntries(oneDrivePath).Any())
{
throw new Exception("OneDrive files found, cannot continue!");
if (MessageBox.Show("OneDrive files and/or folder was found, it might be empty or it might contain some files (who knows?). Are you sure to continue","Perfect11",MessageBoxButtons.YesNo,MessageBoxIcon.Warning,MessageBoxDefaultButton.Button2) == DialogResult.No)
{
throw new Exception("OneDrive files found, cannot continue!");
}
}
}