Make sure editor path is set
This commit is contained in:
parent
d75b907ae4
commit
665a7818c9
|
@ -309,6 +309,7 @@ export class BetterDiscord {
|
||||||
this.config.addPath('userdata', userdata);
|
this.config.addPath('userdata', userdata);
|
||||||
this.config.addPath('userfiles', userfiles);
|
this.config.addPath('userfiles', userfiles);
|
||||||
this.config.addPath('snippets', snippets);
|
this.config.addPath('snippets', snippets);
|
||||||
|
if (!this.config.getPath('editor')) this.config.addPath('editor', path.resolve(base, 'editor'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue