Skip to content

Commit

Permalink
changed version to 0.9.6.3, versionconverter updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicnkt committed Aug 26, 2016
1 parent e6e1187 commit 4415450
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion WPKG-GP-Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ def __init__(self, title='Temp'):
self.reboot_scheduled = False
self.log = ""
self.InitUI()
self.SetSize((410, 273))
size_y = self.GetEffectiveMinSize()[1]
#self.SetSize(size)
self.SetSize((410, size_y))
#self.SetSize((410, 273))

def InitUI(self):

Expand Down Expand Up @@ -527,6 +530,7 @@ def main():
# Translation Configuration
localedir = os.path.join(path, "locale")
mylocale = wx.Locale()
#mylocale = wx.Locale(wx.LANGUAGE_SPANISH)
# Forcing any language to wx.Locale() results in changes of the win32evtlog time format and breaking the parser!
mylocale.AddCatalogLookupPathPrefix(localedir)
mylocale.AddCatalog('wpkg-gp-client')
Expand Down
6 changes: 4 additions & 2 deletions build_script.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
# WPKG-GP Client BUILD SCRIPT

VERSION = "0.9.6.2" # str + max 4 numbers seperated by a "."
VERSION = "0.9.6.3" # str + max 4 numbers seperated by a "."
NAME = "WPKG-GP Client" # Application Name
AUTHOR = "Nils Thiele"
INNOSETUPCMD = r'%PROGRAMFILES(X86)%\Inno Setup 5\iscc.exe' # Inno Setup with PreProcessor Support!
Expand Down Expand Up @@ -55,7 +55,9 @@ def v_convert(ver_str):
ver = [num for f, num in enumerate(ver) if f < 4]
print ver
elif len(ver) < 4:
ver.append('0')
add = 4 - len(ver)
for n in range(0, add):
ver.append('0')
new_ver_str = ' ,'.join(ver)
return new_ver_str

Expand Down

0 comments on commit 4415450

Please sign in to comment.