Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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

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

b8two opened this issue Dec 22, 2022 · 2 comments
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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant