-
Notifications
You must be signed in to change notification settings - Fork 80
Fix some files not being included in windows-msi #176
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
Conversation
| if len(hoverYaml) == 0 { | ||
| hoverYaml = "hover.yaml" | ||
| } | ||
| return hoverYaml | ||
| } | ||
|
|
||
| // SetDefaultFlavorFile sets the default hover.yaml | ||
| func SetDefaultHoverYamlFile() { | ||
| hoverYaml = "hover.yaml" | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes were needed, because the config needed to be loaded for init-packaging. It removes the need to call SetDefaultHoverYamlFile().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes, sense. I was not aware that len returns 0 on a nil
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strings are never nil they are just empty
| if buildOrRunHoverFlavor == "" { | ||
| config.SetDefaultHoverYamlFile() | ||
| } else { | ||
| if buildOrRunHoverFlavor != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See other comment
97f014b to
af8014f
Compare
|
Seems like both the changes mentioned by @GeertJohan has been fixed, |
Fixes go-flutter-desktop/go-flutter#533