You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop: Resolves #7934: Don't create an extra copy of default plugins (load directly from the app bundle) (#9508)
This commit is contained in:
@@ -32,6 +32,7 @@ export default class Plugin {
|
||||
private dispatch_: Function;
|
||||
private eventEmitter_: any;
|
||||
private devMode_ = false;
|
||||
private builtIn_ = false;
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
private messageListener_: Function = null;
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
@@ -61,6 +62,14 @@ export default class Plugin {
|
||||
this.devMode_ = v;
|
||||
}
|
||||
|
||||
public get builtIn(): boolean {
|
||||
return this.builtIn_;
|
||||
}
|
||||
|
||||
public set builtIn(builtIn: boolean) {
|
||||
this.builtIn_ = builtIn;
|
||||
}
|
||||
|
||||
public get manifest(): PluginManifest {
|
||||
return this.manifest_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user