From 782200f3eee87423815d06532f0f6c25cbbd6dd7 Mon Sep 17 00:00:00 2001 From: josh Date: Wed, 26 Nov 2025 13:53:22 +1000 Subject: [PATCH] Reversion --- TuneBladeSupressor/Program.fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TuneBladeSupressor/Program.fs b/TuneBladeSupressor/Program.fs index 5131fa0..7063f66 100644 --- a/TuneBladeSupressor/Program.fs +++ b/TuneBladeSupressor/Program.fs @@ -51,10 +51,10 @@ let startTuneBlade (exePath: string) = false [] -let main argv = +let main _ = let tuneBladeExe = @"C:\Program Files (x86)\TuneBlade\TuneBlade\TuneBlade.exe" - printfn "TuneBlade Auto-Restarter" + printfn "TuneBlade Suppressor" printfn "Monitoring for errors and restarting from: %s" tuneBladeExe printfn "Press Ctrl+C to exit" printfn "" @@ -71,7 +71,7 @@ let main argv = startTuneBlade tuneBladeExe |> ignore System.Threading.Thread.Sleep(3000) - let mutable child = FindWindowEx(IntPtr.Zero, IntPtr.Zero, "#32770", "TuneBlade") + let child = FindWindowEx(IntPtr.Zero, IntPtr.Zero, "#32770", "TuneBlade") if child <> IntPtr.Zero then printfn "TuneBlade dialog window detected — restarting application..." if killTuneBlade() then