Closed quite closed 10 months ago
Rebased on main, and restored gotools/go-winres which we accidentally removed when we moved golangci-lint to GH actions.
Also tested the results on windows and mac.
The problem seems to be that the exit-function including the agentPath-removal has been moved below
signer := NewSigner(devPath, speed, enterUSS, fileUSS, pinentry, exit)
, which takes the exit-function as an input. So when one does Ctrl-C it is not removing the agentPath. The error is present in main, but not in v0.0.6 release. Will fix tomorrow.
Rearranged and fix an issue that, if an agent already is running with the same agentPath, this instance would remove the agentPath for the already running agent when exiting.