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
|
||||
|
||||
#Imports and variables
|
||||
umlVer = 0
|
||||
umlSubVer = 7
|
||||
umlFeatureSet = 4
|
||||
umlBranch = "beta (dev)"
|
||||
umlVerStr = str(umlVer) + "." + str(umlSubVer) + "." +str(umlFeatureSet)+ " " + umlBranch
|
||||
class uml:
|
||||
version = 0
|
||||
versionSub = 7
|
||||
versionSub2 = 4
|
||||
versionBranch = "beta (dev)"
|
||||
versionString = str(version) + "." + str(versionSub) + "." +str(versionSub2)+ " " + versionBranch
|
||||
|
||||
import ctypes
|
||||
import os
|
||||
@ -330,7 +331,7 @@ def requestAppPath():
|
||||
def console():
|
||||
clear()
|
||||
print("UniversalModloader Console")
|
||||
print("Version: " +umlVerStr)
|
||||
print("Version: " +uml.versionString)
|
||||
|
||||
while True:
|
||||
print("")
|
||||
@ -393,9 +394,9 @@ def setupVariables():
|
||||
originalModPath = modPath
|
||||
|
||||
#Init
|
||||
title("Fier's Universal Modloader - " +umlVerStr)
|
||||
title("Fier's Universal Modloader - " +uml.versionString)
|
||||
setupVariables()
|
||||
title("Fier's Universal Modloader - " +umlVerStr+ " : " +appName)
|
||||
title("Fier's Universal Modloader - " +uml.versionString+ " : " +appName)
|
||||
|
||||
cleanUp()
|
||||
checkUp()
|
||||
|
Loading…
Reference in New Issue
Block a user