1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Desktop: Resolves #10424: Move the note viewer to a separate process (#10678)

This commit is contained in:
Henry Heino
2024-07-26 04:22:49 -07:00
committed by GitHub
parent 4b99c2062c
commit d2028588e8
25 changed files with 581 additions and 29 deletions

View File

@@ -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_))) {