Commit 11f0295e authored by nanahira's avatar nanahira

fixcol

parent 3af96c6b
...@@ -83,7 +83,7 @@ var copyToYGOPRO = function(msg) { ...@@ -83,7 +83,7 @@ var copyToYGOPRO = function(msg) {
execSync('cp -rf "' + config.git_db_path + 'cards.cdb' + '" "' + config.ygopro_path + '"'); execSync('cp -rf "' + config.git_db_path + 'cards.cdb' + '" "' + config.ygopro_path + '"');
sendResponse("Finished copying to YGOPro"); sendResponse("Finished copying to YGOPro");
if (config.pre_scripts_git_db_path) { if (config.pre_scripts_git_db_path) {
execSync('mkdir ' + config.ygopro_path + 'expansions/script' + ''); execSync('mkdir "' + config.ygopro_path + 'expansions/script' + '"');
execSync('find "' + config.pre_scripts_git_db_path + 'scripts' + '" -name c?????????.lua | xargs -I {} cp -rf {} "' + config.ygopro_path + 'expansions/script/"'); execSync('find "' + config.pre_scripts_git_db_path + 'scripts' + '" -name c?????????.lua | xargs -I {} cp -rf {} "' + config.ygopro_path + 'expansions/script/"');
sendResponse("Finished copying Pre-release scripts to YGOPro"); sendResponse("Finished copying Pre-release scripts to YGOPro");
} }
......
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