Closed jnsn closed 5 years ago
By default, gmailfilters doesn't work on Windows, neither when using go get, nor with the Windows release builds.
The culprit is the save location of the authentication token file. The default is set to /tmp/token.json. https://github.com/jessfraz/gmailfilters/blob/a058aacd97a9b71028c51b4fba4ea18882c6f52f/main.go#L21
/tmp/token.json
It might be better if this is constructed using the https://golang.org/pkg/os/#TempDir method to get a system independent temp folder.
By default, gmailfilters doesn't work on Windows, neither when using go get, nor with the Windows release builds.
The culprit is the save location of the authentication token file. The default is set to
/tmp/token.json
. https://github.com/jessfraz/gmailfilters/blob/a058aacd97a9b71028c51b4fba4ea18882c6f52f/main.go#L21It might be better if this is constructed using the https://golang.org/pkg/os/#TempDir method to get a system independent temp folder.