MeshCentralRouter icon indicating copy to clipboard operation
MeshCentralRouter copied to clipboard

Custom Application variable %N not working as intended.

Open b8two opened this issue 3 years ago • 4 comments

MeshCentral Router Version 1.8.8231

When using the Custom Application option, the variable %N for Computer name expands to "xxx"

b8two avatar Dec 22 '22 00:12 b8two

Still an issue with V 1.8.8795

b8two avatar Jun 24 '24 04:06 b8two

MapUserControl.cs

foreach (String[] app in apps) { if (app[1].ToLower() == appIdStr.ToLower()) { appCmd = app[2]; if (app[3] != null) { appArgs = app[3].Replace("%P", mapper.localport.ToString()).Replace("%L", "127.0.0.1").Replace("%N", "xxx"); } } }

the xxx should be something like "node.name.ToString()" not static text "xxx".

b8two avatar Jun 24 '24 04:06 b8two