-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add fyne run command to cli #12
Comments
This relates to new functionality, and for the CLI tool we are moving development to fyne-io/tools - so I will move this issue over. |
I wonder if this relates to fyne-io/fyne#4688 |
Issue fyne-io/fyne#4688 relates to go build . and this one relates to go run . |
Related, but it doesn't seem like a duplicate. The request in 4688 is a way to embed the FyneApp.toml metadata without also doing -H=windowsgui (presumably so that debug logs can be seen during development, but still have the FyneApp metadata in the build) |
If fyne-io/fyne#4715 lands I think this is request no longer adds anything - from the OP:
With the proposed change "go run" behaves like that without needing any new fyne command. |
From v2.5.0 the metadata will be included with go tools. Do we still need a "fyne run" command? |
If from v2.5.0 while using go run . it will notice FyneApp.toml. It might make fyne run command redundant, unless I do not know how else go run . would differ from running the built binary from fyne build |
Checklist
Is your feature request related to a problem?
The command go run . will not see FyneApp.toml and error out that appID is missing.
Is it possible to construct a solution with the existing API?
It should be able to modify fyne build, to create a new feature, fyne run that will work similar to go run . but it will recognize FyneApp.toml, without building a copy of the app in the project directory
Describe the solution you'd like to see.
Create a fyne run cli command which would act like go run . but will be able to see FyneApp.toml and not error out about missing appID if in main.go you have app.New instead of app.NewWithID()
The text was updated successfully, but these errors were encountered: