Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
- Fixed #3
- Added an option to disable auto update (download PitConfig.ini to get
the script)
  • Loading branch information
Marocco2 committed Mar 12, 2016
1 parent 68b17a1 commit 67f99ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apps/python/PitConfig/CheckNewVersion.ahk
Expand Up @@ -7,8 +7,9 @@ FileRead, CurrVer, version.txt
UrlDownloadToFile, https://raw.githubusercontent.com/Marocco2/PitConfig-Marocco2-version/master/apps/python/PitConfig/version.txt, version.txt
FileRead, NewVer, version.txt
IniRead, EnableOTA, PitConfig.ini, AUTOUPDATE, Enable, 1
if (CurrVer != NewVer) and (EnableOTA == 1)
if (CurrVer != NewVer and EnableOTA == 1) {
UrlDownloadToFile, https://raw.githubusercontent.com/Marocco2/PitConfig-Marocco2-plugin/%NewVer%/apps/python/PitConfig/Hotkey.exe, Hotkey.exe
UrlDownloadToFile, https://raw.githubusercontent.com/Marocco2/PitConfig-Marocco2-plugin/%NewVer%/apps/python/PitConfig/PitConfig.py, PitConfig.py
UrlDownloadToFile, https://raw.githubusercontent.com/Marocco2/PitConfig-Marocco2-plugin/%NewVer%/apps/python/PitConfig/CheckNewVersion.exe, CheckNewVersion.exe
}
Exit
Binary file modified apps/python/PitConfig/CheckNewVersion.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions apps/python/PitConfig/PitConfig.py
Expand Up @@ -33,7 +33,7 @@
import ctypes
from PitConfig_lib import sim_info

version = "1.2"
version = "1.2.1"
#r = get('https://api.github.com/repos/Marocco2/PitConfig-Marocco2-version/releases/latest')
#request = r.json()
#lastversion = request['tag_name']
Expand Down Expand Up @@ -687,7 +687,6 @@ def Preset3Event(name, state):
global Preset

WritePreset()

Preset = 3
ac.setValue(Preset1, 0)
ac.setValue(Preset2, 0)
Expand All @@ -709,6 +708,7 @@ def Preset4Event(name, state):
ReadPreset()

def acShutdown():
global superhot
WritePreset()
subprocess.Popen.kill(superhot)

Expand Down
2 changes: 1 addition & 1 deletion apps/python/PitConfig/version.txt
@@ -1 +1 @@
1.2
1.2.1

0 comments on commit 67f99ba

Please sign in to comment.