@echo off :: Alterspective Brand Fonts - Windows Installer :: Double-click this file to install all brand fonts :: :: This script downloads and runs the font installer automatically. setlocal enabledelayedexpansion echo. echo ============================================== echo Alterspective Brand Fonts Installer echo ============================================== echo. :: Create temp directory set "TEMP_DIR=%TEMP%\alterspective-fonts-installer" if exist "%TEMP_DIR%" rmdir /s /q "%TEMP_DIR%" mkdir "%TEMP_DIR%" :: Download the PowerShell installer echo Downloading installer... powershell -Command "& {Invoke-WebRequest -Uri 'https://brand.alterspective.com.au/api/fonts/install-windows.ps1' -OutFile '%TEMP_DIR%\install-fonts.ps1'}" if not exist "%TEMP_DIR%\install-fonts.ps1" ( echo. echo ERROR: Failed to download installer. echo Please check your internet connection. echo. pause exit /b 1 ) echo Running installer... echo. :: Run the PowerShell installer with bypass policy powershell -ExecutionPolicy Bypass -File "%TEMP_DIR%\install-fonts.ps1" -BaseUrl "https://brand.alterspective.com.au" :: Cleanup rmdir /s /q "%TEMP_DIR%" endlocal