Generate dev client folder without binaries to match dev shard behaviour

ryzomclassic-develop
kaetemi 3 years ago
parent 614da137ac
commit 45668dcbfe
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -250,13 +250,13 @@ if not args.noconf:
DummyUnknownName DummyUnknownName
LinuxServiceExecutableDirectory LinuxServiceExecutableDirectory
except NameError: except NameError:
LinuxServiceExecutableDirectory = "R:/build/gcc_server/bin" LinuxServiceExecutableDirectory = "R:/build/server_gcc/bin"
try: try:
if args.preset: if args.preset:
DummyUnknownName DummyUnknownName
LinuxClientExecutableDirectory LinuxClientExecutableDirectory
except NameError: except NameError:
LinuxClientExecutableDirectory = "R:/build/gcc_client/bin" LinuxClientExecutableDirectory = "R:/build/client_gcc/bin"
try: try:
if args.preset: if args.preset:
DummyUnknownName DummyUnknownName

@ -92,8 +92,13 @@ for category in InstallClientData:
for package in category["Packages"]: for package in category["Packages"]:
printLog(log, "PACKAGE " + package[0]) printLog(log, "PACKAGE " + package[0])
mkPath(log, InstallDirectory + "/" + package[0]) mkPath(log, InstallDirectory + "/" + package[0])
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPath) if "exedll" in package[0]:
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPathLive) if package[0] == "exedll": # or package[0] == platformExeDll # TODO: 64-bit and Linux separation of exedll, only include one
copyFileIfNeeded(log, InstallDirectory + "/" + package[0] + "/client_default.cfg", targetPath)
copyFileIfNeeded(log, InstallDirectory + "/" + package[0] + "/client_default.cfg", targetPathLive)
else:
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPath)
copyFilesNoTreeIfNeeded(log, InstallDirectory + "/" + package[0], targetPathLive)
printLog(log, "") printLog(log, "")
log.close() log.close()

Loading…
Cancel
Save