[Constants] Human name: use trim instead of query

This commit is contained in:
Ducko 2022-04-22 17:22:34 +01:00
parent e56ce23966
commit 513d004ce5
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module.exports = {
APP_COMPANY: p + ' Inc',
APP_DESCRIPTION: p + ' - ' + d,
APP_NAME: n,
APP_NAME_FOR_HUMANS: p + (s !== '' ? ' ' + s : ''),
APP_NAME_FOR_HUMANS: (p + ' ' + s).trim(),
APP_ID: [ 'com', 'squirrel', n, n ].join('.'),
APP_PROTOCOL: p,
API_ENDPOINT: settings.get('API_ENDPOINT') || (d + '/api'),