aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-25 11:46:10 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-25 11:46:10 +0200
commitf8b29751e5b5b01a2fc86f292034b864d00b28cc (patch)
treef0641b403d9a9c3538963555bc04f4df1b4dc997 /src/stores/AppStore.js
parent#65 Remove & sign from menu bar (diff)
downloadferdium-app-f8b29751e5b5b01a2fc86f292034b864d00b28cc.tar.gz
ferdium-app-f8b29751e5b5b01a2fc86f292034b864d00b28cc.tar.zst
ferdium-app-f8b29751e5b5b01a2fc86f292034b864d00b28cc.zip
Extend debug information
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js15
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 };