Moved version information into class
This commit is contained in:
parent
c5a95d5868
commit
24df9bc2fc
@ -9,11 +9,12 @@ def preloadExceptionHandler(exc_type, exc_value, tb):
|
|||||||
#sys.excepthook = preloadExceptionHandler
|
#sys.excepthook = preloadExceptionHandler
|
||||||
|
|
||||||
#Imports and variables
|
#Imports and variables
|
||||||
umlVer = 0
|
class uml:
|
||||||
umlSubVer = 7
|
version = 0
|
||||||
umlFeatureSet = 4
|
versionSub = 7
|
||||||
umlBranch = "beta (dev)"
|
versionSub2 = 4
|
||||||
umlVerStr = str(umlVer) + "." + str(umlSubVer) + "." +str(umlFeatureSet)+ " " + umlBranch
|
versionBranch = "beta (dev)"
|
||||||
|
versionString = str(version) + "." + str(versionSub) + "." +str(versionSub2)+ " " + versionBranch
|
||||||
|
|
||||||
import ctypes
|
import ctypes
|
||||||
import os
|
import os
|
||||||
@ -330,7 +331,7 @@ def requestAppPath():
|
|||||||
def console():
|
def console():
|
||||||
clear()
|
clear()
|
||||||
print("UniversalModloader Console")
|
print("UniversalModloader Console")
|
||||||
print("Version: " +umlVerStr)
|
print("Version: " +uml.versionString)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
print("")
|
print("")
|
||||||
@ -393,9 +394,9 @@ def setupVariables():
|
|||||||
originalModPath = modPath
|
originalModPath = modPath
|
||||||
|
|
||||||
#Init
|
#Init
|
||||||
title("Fier's Universal Modloader - " +umlVerStr)
|
title("Fier's Universal Modloader - " +uml.versionString)
|
||||||
setupVariables()
|
setupVariables()
|
||||||
title("Fier's Universal Modloader - " +umlVerStr+ " : " +appName)
|
title("Fier's Universal Modloader - " +uml.versionString+ " : " +appName)
|
||||||
|
|
||||||
cleanUp()
|
cleanUp()
|
||||||
checkUp()
|
checkUp()
|
||||||
|
Loading…
Reference in New Issue
Block a user