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:
Vasily
2019-04-19 22:29:20 +02:00
parent 6cf009e915
commit a74f0cad49
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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