-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
go get fyne.io/fyne/v2/cmd/fynemeans something different since the introduction of go modules, but I think even before that this wouldn't have installed the binary in the user's path- So presumably this should be
go install... which needs a version number, so really... go install fyne.io/fyne/v2/cmd/fyne@latest- Oops, that tool is deprecated, it's really
go install fyne.io/tools/cmd/fyne@latest- And then the user needs to ensure that the
${GOBIN:-$(go env GOPATH)/bin}is in their$PATH
- So presumably this should be
- But then with the non-deprecated version of the
fyneCLI, we get:failed to load metadata: open /tmp/fyne-install-fyneterm-2333942535/FyneApp.toml: no such file or directory- Workaround: clone this repo manually and run
fyne get .insidecmd/fyneterm/ - Oops, still doesn't work, needs to run as
root, which is a bit icky:failed to copy application binary file: open /usr/local/bin/fyneterm: permission denied - OK ...
fyne get --dst ~/bin/ .perhaps since I don't need this to be installed system-wide as root? - That doesn't return an error, but it doesn't do what I would expect ... not your fault, but ...
- Workaround: clone this repo manually and run
All of this has workarounds, but it for sure will be confusing to new users
Metadata
Metadata
Assignees
Labels
No labels