diff --git a/app/lib/index.js b/app/lib/index.js index 87a0794bdc..cecd518dfd 100644 --- a/app/lib/index.js +++ b/app/lib/index.js @@ -419,7 +419,6 @@ app.createEditorWindow = function() { const windowOptions = { resizable: true, show: false, - title: 'Camunda Modeler' + getTitleSuffix(app.metadata.version), minWidth: MINIMUM_SIZE.width, minHeight: MINIMUM_SIZE.height, webPreferences: { @@ -694,20 +693,6 @@ function bootstrap() { }; } -/** - * Returns the app title suffix based on app version. - * - * @param {string} version - * @return {string} - */ -function getTitleSuffix(version) { - if (version.includes('dev')) { - return ' (dev)'; - } - - return ''; -} - function generatePluginsTag(plugins) { if (!plugins || !plugins.length) { diff --git a/client/public/index.html b/client/public/index.html index f0826d06cb..4a426c4049 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -4,6 +4,7 @@ + Camunda Modeler