* 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
|
@ -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…
Reference in New Issue