Commit f19b7eeb authored by nanahira's avatar nanahira

copy_everything

parent e1388e16
...@@ -75,13 +75,8 @@ var copyToYGOPRO = function(msg) { ...@@ -75,13 +75,8 @@ var copyToYGOPRO = function(msg) {
sendResponse("Permission denied"); sendResponse("Permission denied");
return; return;
} }
execSync('rm -rf ' + config.ygopro_path + 'expansions/*' + ''); execSync('rm -rf ' + config.ygopro_path + 'expansions/*');
execSync('cp -rf "' + config.git_db_path + 'expansions' + '" "' + config.ygopro_path + '"'); execSync('cp -rf ' + config.git_db_path + '* ' + config.ygopro_path);
execSync('cp -rf "' + config.git_db_path + 'gframe' + '" "' + config.ygopro_path + '"');
execSync('cp -rf "' + config.git_db_path + 'ocgcore' + '" "' + config.ygopro_path + '"');
execSync('cp -rf "' + config.git_db_path + 'premake' + '" "' + config.ygopro_path + '"');
execSync('cp -rf "' + config.git_db_path + 'lflist.conf' + '" "' + 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' + '"');
......
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