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

Automate build number update on Windows build #90

Open
amwebexpert opened this issue Aug 6, 2022 · 0 comments
Open

Automate build number update on Windows build #90

amwebexpert opened this issue Aug 6, 2022 · 0 comments

Comments

@amwebexpert
Copy link
Owner

Actually the build number and version default to 1.0.0 and blank strings

  • update build-windows.cmd to automate replacement inside Runner.rc
  • update attributes ProductVersion and FileVersion to match [pubspec.yaml](https://github.com/amwebexpert/guess_the_text/blob/master/pubspec.yaml)
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904e4"
        BEGIN
            VALUE "CompanyName", "Open Source software (MIT LICENSE)" "\0"
            VALUE "FileDescription", "Open Source Educational game application" "\0"
            VALUE "FileVersion", VERSION_AS_STRING "\0"
            VALUE "InternalName", "GuessTheText" "\0"
            VALUE "LegalCopyright", "Copyright (C) 2022 André Masson. All rights reserved." "\0"
            VALUE "OriginalFilename", "GuessTheText.exe" "\0"
            VALUE "ProductName", "Guest the text" "\0"
            VALUE "ProductVersion", VERSION_AS_STRING "\0"
        END
    END
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

No branches or pull requests

1 participant