Skip to content

Commit

Permalink
chore(app): log name + version on start
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku authored and merge-me[bot] committed Feb 13, 2019
1 parent 0ee1f4e commit 625bebb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/lib/index.js
Expand Up @@ -42,6 +42,11 @@ const clientLog = Log('client');

bootstrapLogging();

app.version = require('../package').version;
app.name = 'Camunda Modeler';

bootstrapLog.info('starting %s v%s', app.name, app.version);

const {
config,
clientConfig,
Expand All @@ -55,9 +60,6 @@ app.flags = flags;

Platform.create(process.platform, app, config);

app.version = require('../package').version;
app.name = 'Camunda Modeler';

// this is shared variable between main and renderer processes
global.metaData = {
version: app.version,
Expand Down

0 comments on commit 625bebb

Please sign in to comment.