diff --git a/SDelete-Gui/SDelete-Gui/ViewModel/MainViewModel.cs b/SDelete-Gui/SDelete-Gui/ViewModel/MainViewModel.cs index 4118240..1ce1e64 100644 --- a/SDelete-Gui/SDelete-Gui/ViewModel/MainViewModel.cs +++ b/SDelete-Gui/SDelete-Gui/ViewModel/MainViewModel.cs @@ -69,7 +69,14 @@ private bool DownloadSdelete(string downloadPath) { try { - client.DownloadFile("https://live.sysinternals.com/sdelete.exe", downloadPath); + if (Environment.Is64BitOperatingSystem) + { + client.DownloadFile("https://live.sysinternals.com/sdelete64.exe", downloadPath); + } + else + { + client.DownloadFile("https://live.sysinternals.com/sdelete.exe", downloadPath); + } return true; } catch