mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-18 15:34:01 +02:00
* Change config.hjson path from ~/.enigma-bbs/config.hjson to ~/.config/enigma-bbs/config.hjson
* Note about first user being sysop
This commit is contained in:
parent
a1d3ab9f0e
commit
da460dfc7b
2 changed files with 10 additions and 2 deletions
|
@ -52,7 +52,8 @@ function init(configPath, cb) {
|
||||||
function getDefaultPath() {
|
function getDefaultPath() {
|
||||||
var base = miscUtil.resolvePath('~/');
|
var base = miscUtil.resolvePath('~/');
|
||||||
if(base) {
|
if(base) {
|
||||||
return paths.join(base, '.enigma-bbs', 'config.hjson');
|
// e.g. /home/users/joeuser/.config/enigma-bbs/config.hjson
|
||||||
|
return paths.join(base, '.config', 'enigma-bbs', 'config.hjson');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,3 +38,10 @@ messages: {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5\. Launch!
|
||||||
|
```bash
|
||||||
|
./main.js
|
||||||
|
```
|
||||||
|
|
||||||
|
The first user you create via applying is the root SysOp.
|
Loading…
Add table
Add a link
Reference in a new issue