mariadb.bat 417 B

12345678910111213141516
  1. @echo off
  2. WHERE powershell.exe >nul 2>nul
  3. IF %ERRORLEVEL% NEQ 0 (
  4. ECHO ERROR: PowerShell is not installed on this computer!
  5. ECHO Please download it here:
  6. ECHO https://github.com/PowerShell/PowerShell#get-powershell
  7. ECHO.
  8. ECHO Once it is installed, please re-launch mariadb.bat
  9. pause >nul
  10. exit
  11. )
  12. powershell -NoLogo -ExecutionPolicy Bypass -File "%~dp0\tools\setup_mariadb.ps1"
  13. pause >nul