1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-09 12:03:41 +00:00

Added support for displayName

This commit is contained in:
Bryan Roe
2020-11-06 13:39:20 -08:00
parent a8f36f278d
commit 7389e6c975
6 changed files with 106 additions and 72 deletions

View File

@@ -45,6 +45,8 @@ function Toaster()
{
var retVal = new promise(function (res, rej) { this._res = res; this._rej = rej; });
retVal.title = title;
if (title == 'MeshCentral') { try { retVal.title = require('MeshAgent').displayName; } catch (x) { } }
retVal.caption = caption;
switch (process.platform)