summaryrefslogblamecommitdiff
path: root/mariadb.bat
blob: 67d7c39a30dd07f00ccfc4c380b3b6dc6a3bdcb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                
@echo off

WHERE powershell.exe >nul 2>nul
IF %ERRORLEVEL% NEQ 0 (
    ECHO ERROR: PowerShell is not installed on this computer!
    ECHO Please download it here:
    ECHO https://github.com/PowerShell/PowerShell#get-powershell
    ECHO.
    ECHO Once it is installed, please re-launch mariadb.bat
    pause >nul
    exit
)

powershell -NoLogo -ExecutionPolicy Bypass -File "%~dp0\tools\setup_mariadb.ps1"
pause >nul