@echo off rem ScriptDock installer launcher. Double-click to install or update. rem RULES: ASCII only, no BOM (cmd parses with the console code page before chcp can help; see installer/README.md). rem This file only hands over to PowerShell; install.ps1 on the server is the single source of the logic. rem The PowerShell command is wrapped in double quotes, so the URL inside is single-quoted. powershell -NoProfile -ExecutionPolicy Bypass -Command "try { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 } catch {}; $w = New-Object Net.WebClient; $w.Encoding = [Text.Encoding]::UTF8; iex ($w.DownloadString('https://scriptdock.turinghost.org/install.ps1'))" if not "%SCRIPTDOCK_NO_PAUSE%"=="1" pause