@echo off
chcp 65001 >nul
title RUIX 个人助手版安装
set "PS=%TEMP%\ruix-setup-gui.ps1"
powershell -NoProfile -ExecutionPolicy Bypass -Command "try{Invoke-WebRequest -UseBasicParsing 'https://ruix.szrebloom.com/setup/ruix-setup-gui.ps1' -OutFile '%PS%' -TimeoutSec 60}catch{exit 1}"
if not exist "%PS%" (
  echo   准备失败，请检查网络后重试。
  pause
  exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%PS%"
