From aa4cb344b86f321c9fc48741787da89ee3f3bf9d Mon Sep 17 00:00:00 2001 From: Dwerg <35254268+Dwerg@users.noreply.github.com> Date: Tue, 6 Feb 2018 13:32:22 +0100 Subject: [PATCH] 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. --- Extract keys.bat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Extract keys.bat b/Extract keys.bat index 54b819c..881fd5c 100644 --- a/Extract keys.bat +++ b/Extract keys.bat @@ -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 \ No newline at end of file