Generate correct client.cfg data path for dev client

hg/feature/sse2
kaetemi 11 years ago
parent 2619033972
commit 3fa19d91a5

@ -50,7 +50,7 @@ if not os.path.isfile(ClientDevDirectory + "/client.cfg"):
cfg = open(ClientDevDirectory + "/client.cfg", "w") cfg = open(ClientDevDirectory + "/client.cfg", "w")
cfg.write("RootConfigFilename = \"client_default.cfg\";\n") cfg.write("RootConfigFilename = \"client_default.cfg\";\n")
cfg.write("PreDataPath = {\n") cfg.write("PreDataPath = {\n")
cfg.write("\t\"W:/install\", \"user\", \"patch\", \"data\", \"examples\" \n") cfg.write("\t\"" + InstallDirectory + "", \"user\", \"patch\", \"data\", \"examples\" \n")
cfg.write("};\n") cfg.write("};\n")
printLog(log, "") printLog(log, "")

Loading…
Cancel
Save