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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user