Commit 4b872c75 authored by nanahira's avatar nanahira

add arg -y

parent 04f51469
......@@ -1917,7 +1917,7 @@ if settings.modules.http
else
try
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip"
archive_args = ["a", "-mx0", archive_name]
archive_args = ["a", "-mx0", "-y", archive_name]
for replay in settings.modules.tournament_mode.duel_log
archive_args.push(replay.replay_filename)
archive_process = spawn settings.modules.tournament_mode.replay_archive_tool, archive_args, {cwd: settings.modules.tournament_mode.replay_path}
......
......@@ -2420,7 +2420,7 @@
} else {
try {
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip";
archive_args = ["a", "-mx0", archive_name];
archive_args = ["a", "-mx0", "-y", archive_name];
ref = settings.modules.tournament_mode.duel_log;
for (j = 0, len = ref.length; j < len; j++) {
replay = ref[j];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment