coreybutler / coreybutler/node-windows

Service name : remove ".exe" extension ?

Open
#66 11 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.