Skip to content

Conversation

@provokateurin
Copy link
Member

Comment on lines +16 to -23
if len(hoverYaml) == 0 {
hoverYaml = "hover.yaml"
}
return hoverYaml
}

// SetDefaultFlavorFile sets the default hover.yaml
func SetDefaultHoverYamlFile() {
hoverYaml = "hover.yaml"
}

Copy link
Member Author

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().

Copy link
Contributor

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

Copy link
Member Author

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

Comment on lines -267 to +284
if buildOrRunHoverFlavor == "" {
config.SetDefaultHoverYamlFile()
} else {
if buildOrRunHoverFlavor != "" {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See other comment

@provokateurin provokateurin force-pushed the fix/windows-msi-files-not-included branch from 97f014b to af8014f Compare November 30, 2020 09:16
@sidevesh
Copy link
Contributor

Seems like both the changes mentioned by @GeertJohan has been fixed,
can we get this merged, currently facing the issue of windows builds not launching after installing, and just crashing right after the launch.

@provokateurin provokateurin merged commit 0cbf662 into master Dec 16, 2020
@provokateurin provokateurin deleted the fix/windows-msi-files-not-included branch December 16, 2020 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

libapp.so Not added into Windows release installation.

5 participants