Updates desktopManager to handle extServer, bump dependencies, 3.0.22
This commit is contained in:
@@ -32,9 +32,9 @@ class DesktopManager {
|
||||
this.majorDataChangeHandler && this.majorDataChangeHandler();
|
||||
}
|
||||
|
||||
getApplicationDataPath() {
|
||||
console.assert(this.applicationDataPath, "applicationDataPath is null");
|
||||
return this.applicationDataPath;
|
||||
getExtServerHost() {
|
||||
console.assert(this.extServerHost, "extServerHost is null");
|
||||
return this.extServerHost;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -152,9 +152,9 @@ class DesktopManager {
|
||||
}
|
||||
|
||||
/* Used to resolve "sn://" */
|
||||
desktop_setApplicationDataPath(path) {
|
||||
this.applicationDataPath = path;
|
||||
this.$rootScope.$broadcast("desktop-did-set-application-path");
|
||||
desktop_setExtServerHost(host) {
|
||||
this.extServerHost = host;
|
||||
this.$rootScope.$broadcast("desktop-did-set-ext-server-host");
|
||||
}
|
||||
|
||||
desktop_setComponentInstallationSyncHandler(handler) {
|
||||
|
||||
@@ -18,7 +18,7 @@ class ThemeManager {
|
||||
})
|
||||
|
||||
if(desktopManager.isDesktop) {
|
||||
$rootScope.$on("desktop-did-set-application-path", () => {
|
||||
$rootScope.$on("desktop-did-set-ext-server-host", () => {
|
||||
this.activateCachedThemes();
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user