[MM-35131] Set default app downloads path to specified path in config (#1574)
This commit is contained in:
@@ -257,6 +257,7 @@ function handleConfigSynchronize() {
|
|||||||
// TODO: send this to server manager
|
// TODO: send this to server manager
|
||||||
WindowManager.setConfig(config.data);
|
WindowManager.setConfig(config.data);
|
||||||
setUnreadBadgeSetting(config.data.showUnreadBadge);
|
setUnreadBadgeSetting(config.data.showUnreadBadge);
|
||||||
|
app.setPath('downloads', config.data.downloadLocation);
|
||||||
if (app.isReady()) {
|
if (app.isReady()) {
|
||||||
WindowManager.sendToRenderer(RELOAD_CONFIGURATION);
|
WindowManager.sendToRenderer(RELOAD_CONFIGURATION);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user