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:
parent
ebc6db30b5
commit
aa4cb344b8
|
@ -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
|
Loading…
Reference in New Issue