Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set-guid: Improve feedback on uuid command errors and support OSX #6

Closed
wants to merge 1 commit into from

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Feb 14, 2017

OSX's uuidgen doesn't support the -l flag. Leading to the following unfriendly error:

$ go-msi set-guid
exit status 1

The same happens in windows when myuuid.vbs isn't found

@2opremio
Copy link
Contributor Author

BTW, the OS-specific code should be split into different files, using build constraints instead of checking GOOS at runtime.

Even better, the uuids can be generated purely in Go: https://github.com/satori/go.uuid

@mh-cbon mh-cbon mentioned this pull request Feb 14, 2017
@mh-cbon
Copy link
Owner

mh-cbon commented Feb 14, 2017

Hi,

thanks! I will merge this, and other fixes, sometime soon.

@mh-cbon
Copy link
Owner

mh-cbon commented Feb 18, 2017

fixed in df31ee8

@mh-cbon mh-cbon closed this Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants