File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Arduino Racing Dash ChangeLog
22--------------------
33
4+ v2.0.16:
5+ Added Laps remaining fuel estimate
6+ Changed display page 3 to fuel and gear only
7+
48v2.0.12:
59 Update Optimisations
610 Fixes
Original file line number Diff line number Diff line change 11import sys
22sys .path .insert (0 , 'apps/python/acSLI/dll' )
3+ import os
4+ import shutil
35
46from acSLIApp .logger import Logger
57import acSLIApp .app as App
@@ -19,6 +21,7 @@ def acMain(acVerison):
1921 Log .info ("Start Loading acSLI v" + App .Version )
2022 Loader .ConfigLoader ()
2123 Updater .Updater (App .Version )
24+ cleanInstall ()
2225
2326 if not Updater .instance .isOpen :
2427 hasInit = True
@@ -55,4 +58,13 @@ def acShutdown(deltaT):
5558 acSLI .onClose ()
5659
5760 except Exception as e :
58- Log .error ("On Close: %s" % e )
61+ Log .error ("On Close: %s" % e )
62+
63+
64+ def cleanInstall ():
65+ if os .path .exists ("apps/python/acSLI/acSLIUpdater.py" ):
66+ os .remove ("apps/python/acSLI/acSLIUpdater.py" )
67+ if os .path .exists ("apps/python/acSLI/ArduinoDash/" ):
68+ shutil .rmtree ("apps/python/acSLI/ArduinoDash" )
69+ if os .path .exists ("apps/python/acSLI/acSLIApp/.cache" ):
70+ os .remove ("apps/python/acSLI/acSLIApp/.cache" )
Original file line number Diff line number Diff line change 1010import acSLIApp .utils as Utils
1111
1212#################
13- Version = "2.0.15 "
13+ Version = "2.0.16 "
1414ArduinoVersion = "2.0.15"
1515#################
1616
Original file line number Diff line number Diff line change 11import os
2- import shutil
32import http .client
43import re
54import threading
@@ -125,11 +124,6 @@ def run(self):
125124
126125 conn .close ()
127126
128- if os .path .exists ("apps/python/acSLI/acSLIUpdater.py" ):
129- os .remove ("apps/python/acSLI/acSLIUpdater.py" )
130- if os .path .exists ("apps/python/acSLI/ArduinoDash/" ):
131- shutil .rmtree ("apps/python/acSLI/ArduinoDash" )
132-
133127 Log .info ("Successfully Updated to " + instance .remoteVersion + " , please restart AC Session" )
134128 progInstance .lblMsg .setText ("Update Successful. Please Restart Session" )
135129 if instance .reqArduinoUpdate == "1" :
Original file line number Diff line number Diff line change 55--------------
66button 1 - lap counter, gear, speed
77button 2 - lap counter, gear, fuel percent left
8- button 3 - lap counter, gear, boost pressure
8+ button 3 - gear, fuel
99button 4 - boost pressure, gear, speed
1010button 5 - gear, engine rpms
1111button 6 - gear, delta (to thousandth)
Original file line number Diff line number Diff line change 1- 2.0.12|0|Optimisations and Fixes |/miIkZT
1+ 2.0.16|1|Added Laps Remaining Fuel Estimate |/miIkZT
You can’t perform that action at this time.
0 commit comments