go-watcher icon indicating copy to clipboard operation
go-watcher copied to clipboard

Use an idempotent, predictable output filename to prevent firewall warnings

Open Southclaws opened this issue 4 years ago • 0 comments

It seems this is unmaintained but figured I'd raise this anyway.

A reason I usually go build -o app.exe ; ./app.exe is to keep security software from treating each compilation as a new binary (because it uses a temporary directory). Otherwise, if the application wants access to certain resources such as network sockets, webcams, sound, etc. then you must hit "allow access" for every compilation.

I went to try this app, and it seems it also uses a different output name for every compilation. Resulting in this:

image

It also doesn't seem to clean up these temporary binaries, which has resulted in my %userprofile%/go/bin directory filling up with executables named watcher-.-(random ID).

Southclaws avatar May 15 '20 12:05 Southclaws