From f8b29751e5b5b01a2fc86f292034b864d00b28cc Mon Sep 17 00:00:00 2001 From: vantezzen Date: Fri, 25 Oct 2019 11:46:10 +0200 Subject: Extend debug information --- src/stores/AppStore.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src') 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 { release: os.release(), screens: screen.getAllDisplays(), }, - franz: { + ferdi: { version: app.getVersion(), electron: process.versions.electron, installedRecipes: this.stores.recipes.all.map(recipe => ({ id: recipe.id, version: recipe.version })), devRecipes: this.stores.recipePreviews.dev.map(recipe => ({ id: recipe.id, version: recipe.version })), - services: this.stores.services.all.map(service => ({ id: service.id, recipe: service.recipe.id })), + services: this.stores.services.all.map(service => ({ + id: service.id, + recipe: service.recipe.id, + isAttached: service.isAttached, + isActive: service.isActive, + isEnabled: service.isEnabled, + isHibernating: service.isHibernating, + hasCrashed: service.hasCrashed, + isDarkModeEnabled: service.isDarkModeEnabled, + })), workspaces: this.stores.workspaces.workspaces.map(workspace => ({ id: workspace.id, services: workspace.services })), windowSettings: readJsonSync(path.join(app.getPath('userData'), 'window-state.json')), + settings: this.stores.settings.app, + features: this.stores.features.features, user: this.stores.user.data.id, }, }; -- cgit v1.2.3-70-g09d2