Skip to content
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

Fix VR patch list reference #17

Merged
merged 2 commits into from
Feb 23, 2021
Merged

Fix VR patch list reference #17

merged 2 commits into from
Feb 23, 2021

Conversation

LostDragonist
Copy link

According to Nexus user gordhead, this is the correct file. There is a FNIS VR XXL version that uses this file so it seems likely to be correct.

According to Nexus user gordhead, this is the correct file.  There is a FNIS VR XXL version that uses this file so it seems likely to be correct.
@@ -88,7 +88,7 @@ def description(self):
return self.__tr("Configures the patches which FNIS applies to the game.")

def version(self):
return mobase.VersionInfo(1, 0, 0, mobase.ReleaseType.prealpha)
return mobase.VersionInfo(1, 0, 1, 0)
Copy link
Member

Choose a reason for hiding this comment

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

The last argument's still supposed to be an enum, isn't it? 0 is still pre-alpha, so it's not making the text in the GUI any better if it's zero.

Copy link
Member

Choose a reason for hiding this comment

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

There is a 4-int overload, not sure if it works properly though since enums are classes that extends int for Boost.Python.

Copy link
Author

Choose a reason for hiding this comment

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

It works. I can't tell you why it works but it does. The version in the plugins settings goes from "1.0.0.0 pre-alpha" to "1.0.1.0". /shrug

Copy link
Member

Choose a reason for hiding this comment

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

Does Final make it show up as 1.0.1 Final or just 1.0.1?

Copy link
Author

Choose a reason for hiding this comment

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

1.0.1.0. So I guess putting final in there would work or we could just reclaim the 4th build number as otherwise it always shows 0.

Copy link
Member

Choose a reason for hiding this comment

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

Final is the default release type, so mobase.VersionInfo(1, 0, 1, 0) is 1.0.1.0 Final and mobase.VersionInfo(1, 0, 1) is 1.0.1 Final, but Final is not shown.

Copy link
Author

Choose a reason for hiding this comment

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

Changed to final for this since all the other plugins do that. It kind of sounds like the most appropriate thing would be to update the plugins settings page to only display the first 3 versions and then a text flag if needed. Maybe. Not like it really matters.

Copy link
Member

Choose a reason for hiding this comment

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

Not that it really matters but you should use the uppercase version FINAL or omit the argument.

@Holt59 Holt59 merged commit 55d49df into ModOrganizer2:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants