' Silent launcher for the Proton -> qBittorrent port sync.
' Runs the PowerShell script with no visible window (0) so Task Scheduler
' doesn't flash a console every 5 minutes. Path is resolved relative to this
' .vbs file, so the whole auto-port-forward folder can live anywhere.
Set objShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
scriptDir = objFSO.GetParentFolderName(WScript.ScriptFullName)
ps1 = scriptDir & "\ProtonPortUpdate.ps1"
objShell.Run "powershell.exe -NoProfile -ExecutionPolicy Bypass -File """ & ps1 & """", 0, False
