diff options
-rw-r--r-- | src/stores/AppStore.js | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index c6724c20f..59b100b55 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -233,14 +233,25 @@ export default class AppStore extends Store { | |||
233 | release: os.release(), | 233 | release: os.release(), |
234 | screens: screen.getAllDisplays(), | 234 | screens: screen.getAllDisplays(), |
235 | }, | 235 | }, |
236 | franz: { | 236 | ferdi: { |
237 | version: app.getVersion(), | 237 | version: app.getVersion(), |
238 | electron: process.versions.electron, | 238 | electron: process.versions.electron, |
239 | installedRecipes: this.stores.recipes.all.map(recipe => ({ id: recipe.id, version: recipe.version })), | 239 | installedRecipes: this.stores.recipes.all.map(recipe => ({ id: recipe.id, version: recipe.version })), |
240 | devRecipes: this.stores.recipePreviews.dev.map(recipe => ({ id: recipe.id, version: recipe.version })), | 240 | devRecipes: this.stores.recipePreviews.dev.map(recipe => ({ id: recipe.id, version: recipe.version })), |
241 | services: this.stores.services.all.map(service => ({ id: service.id, recipe: service.recipe.id })), | 241 | services: this.stores.services.all.map(service => ({ |
242 | id: service.id, | ||
243 | recipe: service.recipe.id, | ||
244 | isAttached: service.isAttached, | ||
245 | isActive: service.isActive, | ||
246 | isEnabled: service.isEnabled, | ||
247 | isHibernating: service.isHibernating, | ||
248 | hasCrashed: service.hasCrashed, | ||
249 | isDarkModeEnabled: service.isDarkModeEnabled, | ||
250 | })), | ||
242 | workspaces: this.stores.workspaces.workspaces.map(workspace => ({ id: workspace.id, services: workspace.services })), | 251 | workspaces: this.stores.workspaces.workspaces.map(workspace => ({ id: workspace.id, services: workspace.services })), |
243 | windowSettings: readJsonSync(path.join(app.getPath('userData'), 'window-state.json')), | 252 | windowSettings: readJsonSync(path.join(app.getPath('userData'), 'window-state.json')), |
253 | settings: this.stores.settings.app, | ||
254 | features: this.stores.features.features, | ||
244 | user: this.stores.user.data.id, | 255 | user: this.stores.user.data.id, |
245 | }, | 256 | }, |
246 | }; | 257 | }; |