Skip to content

Commit

Permalink
Code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
IviriusMain committed Oct 9, 2024
1 parent ed79ab7 commit d2337bc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion Defrag/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.UI.Xaml;
Expand Down
1 change: 0 additions & 1 deletion Defrag/Helpers/DefragHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static List<VolumeInfo> GetSystemVolumes()
{
List<VolumeInfo> volumes = [];

// WMI query to get all volumes, including GUID paths
var query = "SELECT * FROM Win32_Volume WHERE DriveLetter IS NULL";
using (ManagementObjectSearcher searcher = new(query))
{
Expand Down
1 change: 0 additions & 1 deletion Defrag/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using HardwareProviders.HDD;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
Expand Down
3 changes: 2 additions & 1 deletion Defrag/Rebound.Defrag.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Powershell" Version="4.0.0" />
<PackageReference Include="Cake.Powershell" Version="4.0.0" />
<PackageReference Include="HardwareProviders.HDD.Standard" Version="2.0.1" />
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.5" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.5" />
Expand All @@ -61,6 +61,7 @@
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240701003-experimental2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.0-preview.6.24327.7" />
<PackageReference Include="System.Management" Version="8.0.0" />
<PackageReference Include="TaskScheduler" Version="2.11.0" />
<PackageReference Include="WinUIEx" Version="2.3.4" />
<Manifest Include="$(ApplicationManifest)" />
Expand Down

0 comments on commit d2337bc

Please sign in to comment.