Skip to content

Installation instructions do not work any more #125

@mgabeler-lee-6rs

Description

@mgabeler-lee-6rs
  1. go get fyne.io/fyne/v2/cmd/fyne means 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
  2. But then with the non-deprecated version of the fyne CLI, 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 . inside cmd/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 ...

All of this has workarounds, but it for sure will be confusing to new users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions