diff options
author | Haru <haru@dotalux.com> | 2019-06-01 16:37:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 16:37:20 +0200 |
commit | f6505f67237e7381eb364212789531421e60bd5a (patch) | |
tree | 529bf10ba9f0901691e171dbe3f4b93357308a08 /mariadb.bat | |
parent | 69abd68efd576efa86462cbed7c6d1579abd7d76 (diff) | |
parent | 9813890b1b0e9dfe1e795c4bcd7fbb0d9cfb7131 (diff) | |
download | hercules-f6505f67237e7381eb364212789531421e60bd5a.tar.gz hercules-f6505f67237e7381eb364212789531421e60bd5a.tar.bz2 hercules-f6505f67237e7381eb364212789531421e60bd5a.tar.xz hercules-f6505f67237e7381eb364212789531421e60bd5a.zip |
Merge pull request #2222 from Helianthella/scoop
Simplify windows installation
Diffstat (limited to 'mariadb.bat')
-rw-r--r-- | mariadb.bat | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mariadb.bat b/mariadb.bat new file mode 100644 index 000000000..67d7c39a3 --- /dev/null +++ b/mariadb.bat @@ -0,0 +1,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 |