-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
cmd/fyne package can't find FyneApp.toml when -src option has given #3459
Comments
I'm not too sure about this and would appreciate others feedback on this. What do others think about the request? |
…ase builds" This reverts commit 3a66730.
After spending some time with cmd/fyne I agree with you that FyneApp.toml should be in the srcdir. Thats because multiple main fyne applications can be in same project. But the issue still needs to be fixed. |
Thanks. Nice summary. Yes we still need to resolve the issue :) |
Fix #3459 by changing srcdir to it's absolute path
Checklist
Describe the bug
I am trying to build project with fyne cmd but I get an error:
Missing application icon at "cmd\myapp\Icon.png"
My project structure is like this:
FyneApp.toml
I am running this command in the root but it doesn't work and gives the error:
fyne package -release -os windows -src cmd/myapp
I tried moving icon to cmd/myapp/Icon.png but it also doesn't work
Moving FyneApp.toml to cmd/myapp and running command
fyne package -release -os windows
in cmd/myapp works so I think the problem happens only with -src optionWhat I want is fyne should look FyneApp.toml in cwd and load it from there so I can put FyneApp.toml to root and run fyne package in root
How to reproduce
fyne package -release -os windows -src cmd/myapp
in rootScreenshots
No response
Example code
No response
Fyne version
2.2.3
Go compiler version
1.19.1
Operating system
Windows
Operating system version
11
Additional Information
No response
The text was updated successfully, but these errors were encountered: