Commit 04889f48 authored by nanahira's avatar nanahira

add extra_script_path

parent f45edfda
Pipeline #40466 failed with stages
in 2 minutes and 30 seconds
......@@ -40,6 +40,7 @@
"expansions_path": [
"./expansions"
],
"extra_script_path": [],
"i18n": {
"auto_pick": false,
"default": "zh-cn",
......
......@@ -1627,6 +1627,11 @@ class Room
path.resolve(settings.modules.ygopro_path, s)
)
.join(',')
YGOPRO_EXTRA_SCRIPT: settings.modules.extra_script_path
.map((s) ->
path.resolve(settings.modules.ygopro_path, s)
)
.join(',')
}
}
)
......
......@@ -2085,6 +2085,9 @@
...process.env,
YGOPRO_EXPANSIONS: settings.modules.expansions_path.map(function(s) {
return path.resolve(settings.modules.ygopro_path, s);
}).join(','),
YGOPRO_EXTRA_SCRIPT: settings.modules.extra_script_path.map(function(s) {
return path.resolve(settings.modules.ygopro_path, s);
}).join(',')
}
});
......
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