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:41:02 +01:00 committed by GitHub
parent aa4cb344b8
commit 12621aae9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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