mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 19:20:41 +02:00
POSSIBLY BREAKING:
config/menu.hjson and config/prompt.hjson are now moved to misc/menu_template.in.hjson and config/prompt_template.in.hjson. These are now simply used as template files and copied to config/ with proper naming when issuing 'oputil.js config new'
This commit is contained in:
parent
f59b4b883f
commit
96d30af5d2
4 changed files with 4 additions and 4 deletions
|
@ -263,14 +263,14 @@ function buildNewConfig() {
|
|||
.toLowerCase();
|
||||
const menuFile = `${bn}-menu.hjson`;
|
||||
copyFileSyncSilent(
|
||||
paths.join(__dirname, '../../config/menu.hjson'),
|
||||
paths.join(__dirname, '../../misc/menu_template.in.hjson'),
|
||||
paths.join(__dirname, '../../config/', menuFile),
|
||||
fs.constants.COPYFILE_EXCL
|
||||
);
|
||||
|
||||
const promptFile = `${bn}-prompt.hjson`;
|
||||
copyFileSyncSilent(
|
||||
paths.join(__dirname, '../../config/prompt.hjson'),
|
||||
paths.join(__dirname, '../../misc/prompt_template.in.hjson'),
|
||||
paths.join(__dirname, '../../config/', promptFile),
|
||||
fs.constants.COPYFILE_EXCL
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue