|
|
|
@ -24,9 +24,13 @@
|
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
import time, sys, os, shutil, subprocess, distutils.dir_util, tarfile
|
|
|
|
|
import time, sys, os, shutil, subprocess, distutils.dir_util, tarfile, argparse
|
|
|
|
|
sys.path.append("configuration")
|
|
|
|
|
|
|
|
|
|
parser = argparse.ArgumentParser(description='Ryzom Core - Build Gamedata - Shard Patch')
|
|
|
|
|
parser.add_argument('--admininstall', '-ai', action='store_true')
|
|
|
|
|
args = parser.parse_args()
|
|
|
|
|
|
|
|
|
|
if os.path.isfile("log.log"):
|
|
|
|
|
os.remove("log.log")
|
|
|
|
|
log = open("log.log", "w")
|
|
|
|
@ -84,6 +88,7 @@ else:
|
|
|
|
|
printLog(log, "SKIP " + adminInstallTgz)
|
|
|
|
|
printLog(log, "")
|
|
|
|
|
|
|
|
|
|
if not args.admininstall:
|
|
|
|
|
printLog(log, ">>> Create new version <<<")
|
|
|
|
|
newVersion = 1
|
|
|
|
|
vstr = str(newVersion).zfill(6)
|
|
|
|
|