Closed jakeecn closed 5 years ago
When running edge.exe, it is determined that if there is edge.conf in the program directory, it will be read automatically, and the version information will be displayed if there is no edge.conf in the program directory.
Please try "edge.exe edge.conf" after fix in 9cc2aee7fc232b4b393be8f0c91806da4fd61000
Thank you! 1、Can you enable the running edge.exe to automatically read the edge.conf by default? 2、Whether registration as a windows service can be implemented?
Yes, it can read edge.conf. However, the version number will not change? 2.5.0
D:\software\Remote\n2n>edge.exe Welcome to n2n v.2.5.1 for Windows Built on Jul 8 2019 23:18:29 Copyright 2007-19 - ntop.org and contributors
edge
-d
Environment variables: N2N_KEY | Encryption key (ASCII). Not with -k.
Running edge.exe does not read the configuration file [edge.conf] by default?
D:\software\Remote\n2n 2019-07-08 23:30
OK, I see. Very good! It's for my compiler. Run edge, display help. ^_^
I've changed the title. In essence this is useful in Windows because it makes it easy to run edge without an additional edge.bat script. However, maybe this behavior should be common between linux and windows. A pull request for windows is already provided in #166
Thank you so much!
Implemented in 0b965c37c0e2b98f2b14592bdfc6e7f68bf8ac4b
The edge.conf file cannot be read, edge for windows?