You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
fetchblob
This commit is contained in:
@ -46,6 +46,7 @@ class Setting extends BaseModel {
|
||||
}
|
||||
|
||||
static setConstant(key, value) {
|
||||
if (!(key in this.constants_)) throw new Error('Unknown constant key: ' + key);
|
||||
this.constants_[key] = value;
|
||||
}
|
||||
|
||||
@ -152,6 +153,9 @@ Setting.defaults_ = {
|
||||
Setting.constants_ = {
|
||||
'appName': 'joplin',
|
||||
'appId': 'SET_ME', // Each app should set this identifier
|
||||
'resourceDir': '',
|
||||
'profileDir': '',
|
||||
'tempDir': '',
|
||||
}
|
||||
|
||||
export { Setting };
|
Reference in New Issue
Block a user