coreybutler / coreybutler/node-windows
Uninstalling a service will break other services installed in the same directory
Open
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 368
- PR merge metrics
- No merged PRs in 30d
Description
**Issue:**
Uninstalling a service deletes all _*.exe.config_ files from the daemon folder, not only the one of the service to be uninstalled.
**Expected Behavior:**
All other _*.exe.config_ files except the one of the service to unistall should not be touched.
**Possible solution:**
In the file _lib/daemon.js_, line 646, change
`const regex = /^.+\.((wrapper|out|err)\.log)|(exe|xml)$/g`
to
`const regex = /^.+\.((wrapper|out|err)\.log)|(exe|exe\.config|xml)$/g`
I would create a pull request, if I would have the rights to do it.
Contributor guide
Assessment
This issue has not been assessed yet.