remouseable icon indicating copy to clipboard operation
remouseable copied to clipboard

Kevin's home directory hardcoded into release file.

Open thariq-shanavas opened this issue 3 years ago • 1 comments

Hi,

Looks like the author's home directory is hard coded into the prebuilt release. Here's an error message I'm getting on Windows.

remouseable connected and running.
panic: EOF

goroutine 1 [running]:
main.main()
        C:/Users/kc/code/kevinconway/remouseable/main.go:188 +0x1e93

thariq-shanavas avatar Mar 24 '21 00:03 thariq-shanavas

This is a feature of Go and not something I intended.

I think there are two things that would improve this. One is replacing use of panic in main.go with something like log.Fatalf which would give more control over the error message and suppress the stack trace that includes the build path. The other is to change the Makefile and README build instructions to use go build -trimpath main.go which should remove the build directory from the file metadata.

I'll keep this issue open as a reminder for the next release.

kevinconway avatar Mar 24 '21 08:03 kevinconway