# jeungba.gg naejeon recorder - installer # irm https://jeungba.gg/rec | iex # Downloads https://jeungba.gg/recorder/recorder.ps1 into %LOCALAPPDATA%\JeungbaRecorder and runs it with -Install. # -Install adds a Start menu shortcut and a Startup shortcut, then starts the recorder in the notification area. # The recorder only reads the League client and uploads custom games whose lobby name has a JB- code. # Source: https://jeungba.gg/recorder/recorder.ps1 Remove: irm https://jeungba.gg/rec-remove | iex & { $ErrorActionPreference = 'Stop' $ProgressPreference = 'SilentlyContinue' try { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 } catch { } $base = 'https://jeungba.gg' if ($env:JB_RECORDER_BASE) { $base = $env:JB_RECORDER_BASE } $dir = Join-Path $env:LOCALAPPDATA 'JeungbaRecorder' New-Item -ItemType Directory -Force -Path $dir | Out-Null $ps1 = Join-Path $dir 'recorder.ps1' $tmp = "$ps1.download" Invoke-WebRequest -UseBasicParsing -Uri "$base/recorder/recorder.ps1" -OutFile $tmp Move-Item -Force -LiteralPath $tmp -Destination $ps1 & (Join-Path $env:WINDIR 'System32\WindowsPowerShell\v1.0\powershell.exe') -NoProfile -ExecutionPolicy Bypass -File $ps1 -Install }