Skip to content

Uninstalling a service will break other services installed in the same directory #383

@gissahh

Description

@gissahh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions