"%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\legendary.exe" --location "https://github.com/legendary-gl/legendary/releases/latest/download/legendary.exe" --progress-bar && MKDIR "%ProgramFiles%\Legendary" & MOVE /Y "%UserProfile%\Downloads\legendary.exe" "%ProgramFiles%\Legendary" && DIR /B "%ProgramFiles%\Legendary\legendary.exe"
"%ProgramFiles%\Legendary\legendary.exe" auth
"%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.config"