Skip to content

Commit f9f2bd5

Browse files
author
Turnermator13
committed
push v2.0.16, laps remaining estimate
1 parent b1728aa commit f9f2bd5

6 files changed

Lines changed: 20 additions & 10 deletions

File tree

Changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Arduino 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+
48
v2.0.12:
59
Update Optimisations
610
Fixes

acSLI/acSLI.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import sys
22
sys.path.insert(0, 'apps/python/acSLI/dll')
3+
import os
4+
import shutil
35

46
from acSLIApp.logger import Logger
57
import 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")

acSLI/acSLIApp/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import acSLIApp.utils as Utils
1111

1212
#################
13-
Version = "2.0.15"
13+
Version = "2.0.16"
1414
ArduinoVersion = "2.0.15"
1515
#################
1616

acSLI/acSLIApp/updater.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import shutil
32
import http.client
43
import re
54
import 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":

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USE
55
--------------
66
button 1 - lap counter, gear, speed
77
button 2 - lap counter, gear, fuel percent left
8-
button 3 - lap counter, gear, boost pressure
8+
button 3 - gear, fuel
99
button 4 - boost pressure, gear, speed
1010
button 5 - gear, engine rpms
1111
button 6 - gear, delta (to thousandth)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.12|0|Optimisations and Fixes|/miIkZT
1+
2.0.16|1|Added Laps Remaining Fuel Estimate|/miIkZT

0 commit comments

Comments
 (0)