coreybutler / coreybutler/node-windows
Service name : remove ".exe" extension ?
Open
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 368
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When I create a service, when I check its properties, I can see `Service name :` followed by a name with a `.exe` extension.
Could you remove the `.exe` extension ?
I think that the problem is in `lib/daemon.js` near
```
_xml: {
enumerable: false,
get: function(){
return require('./winsw').generateXml({
name: this.name,
id: this._exe,
```
the line `id: this._exe` should be replaced with something like `id: this.name` or something similar (I am not sure about `this.name`, so do not copy/paste my suggestion before thinking about the consequences on the service !)
Regards,
Yves
Contributor guide
Assessment
This issue has not been assessed yet.