Added simple python install check

Now tries to run the "python" command first, if it fails it tries default install path "C:\python27\python.exe".
Returns "Check Python install" if those 2 fail.
This commit is contained in:
Dwerg 2018-02-06 13:32:22 +01:00 committed by GitHub
parent ebc6db30b5
commit aa4cb344b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,11 @@
@echo off
python walletaid.py
IF ERRORLEVEL 1 (
CLS
"C:\python27\python.ee" walletaid.py
)
if ERRORLEVEL 1 (
CLS
ECHO Check Python install
)
@pause