Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom Application variable %N not working as intended. #52

Open
b8two opened this issue Dec 22, 2022 · 4 comments
Open

Custom Application variable %N not working as intended. #52

b8two opened this issue Dec 22, 2022 · 4 comments
Assignees
Labels

Comments

@b8two
Copy link

b8two commented Dec 22, 2022

MeshCentral Router Version 1.8.8231

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

@b8two b8two added the bug label Dec 22, 2022
@b8two
Copy link
Author

b8two commented Jun 24, 2024

Still an issue with V 1.8.8795

@b8two
Copy link
Author

b8two commented Jun 24, 2024

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
Copy link
Author

b8two commented Oct 9, 2024

Still an issue with V 1.8.9021

@si458
Copy link
Collaborator

si458 commented Oct 10, 2024

I will try have a look at this later as not seen this issue before

@si458 si458 self-assigned this Oct 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants