You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
This commit is contained in:
@@ -96,7 +96,11 @@ export default class Plugin {
|
||||
this.running_ = running;
|
||||
}
|
||||
|
||||
public async dataDir(): Promise<string> {
|
||||
public get dataDir(): string {
|
||||
return shim.fsDriver().resolve(this.dataDir_);
|
||||
}
|
||||
|
||||
public async createAndGetDataDir(): Promise<string> {
|
||||
if (this.dataDirCreated_) return this.dataDir_;
|
||||
|
||||
if (!(await shim.fsDriver().exists(this.dataDir_))) {
|
||||
|
||||
Reference in New Issue
Block a user