From ece2c0ef9f2a85df0f528d5c89fa547de1fac2e3 Mon Sep 17 00:00:00 2001 From: travisutk Date: Sun, 24 Apr 2011 16:39:18 +0000 Subject: [PATCH] SmartRF 7 is now found in Windows Vista 64-bit. (64-bit Windows, 32-bit Python.) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1009 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETCC.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/GoodFETCC.py b/client/GoodFETCC.py index 622dae0..165aa73 100644 --- a/client/GoodFETCC.py +++ b/client/GoodFETCC.py @@ -24,7 +24,10 @@ class GoodFETCC(GoodFET): if self.smartrfpath==None: self.smartrfpath=os.environ.get("SMARTRF"); if self.smartrfpath==None and os.name=='nt': - self.smartrfpath="c:/Program Files/Texas Instruments/SmartRF Tools/SmartRF Studio 7"; + self.smartrfpath="c:/Program Files (x86)/Texas Instruments/SmartRF Tools/SmartRF Studio 7"; + if not os.path.exists(self.smartrfpath): + self.smartrfpath="c:/Program Files/Texas Instruments/SmartRF Tools/SmartRF Studio 7"; + if self.smartrfpath==None: self.smartrfpath="/opt/smartrf7"; -- 2.20.1