Skip to content

Free, open-source Windows optimization tool for performance, privacy, and simplicity.

fix(shellservice): remove unused variable

itsfatduck7b778ca448b7
diff --git a/optimizerDuck/src/Core/Services/ShellService.cs b/optimizerDuck/src/Core/Services/ShellService.cs
index a52a161..f33d769 100644
--- a/optimizerDuck/src/Core/Services/ShellService.cs
+++ b/optimizerDuck/src/Core/Services/ShellService.cs
@@ -18,10 +18,6 @@ public static class ShellService
{
private static ShellResult Run(string fileName, string arguments, string command, string serviceName)
{
- var decoded = command.DecodeBase64()
- .Replace("\"", "\\\"")
- .Replace("\r", " ")
- .Replace("\n", " ");
var fullCommandForUser =
$"{fileName} {arguments.Replace("-EncodedCommand", "-Command")} {command.DecodeBase64()}"; // let user see the real command