Make NSIS and Win build scripts remove " character
It is not strictly necessary in the Python version because it's being appended to a batch command, but in order to have things make sense if the mechanism of dispatching commands changes the program will strip double quotes.
This commit is contained in:
@@ -12,7 +12,7 @@ def get_version_string():
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
with open(dir_path + "/../compile_version_string.txt", "r") as file:
|
||||
contents = file.readline()
|
||||
return contents
|
||||
return contents.strip('"')
|
||||
|
||||
|
||||
#Const globals
|
||||
|
||||
Reference in New Issue
Block a user