Skip to content

Commit

Permalink
Normalize CLIFp versions
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 18, 2024
1 parent 84e781b commit 3e684ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/clifp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//Public:
Qx::VersionNumber CLIFp::internalVersion()
{
static Qx::VersionNumber v = Qx::VersionNumber::fromString(PROJECT_BUNDLED_CLIFP_VERSION);
static Qx::VersionNumber v = Qx::VersionNumber::fromString(PROJECT_BUNDLED_CLIFP_VERSION).normalized();
return v;
}

Expand All @@ -31,7 +31,7 @@ Qx::VersionNumber CLIFp::installedVersion(const Fp::Install& fpInstall)
else
{
#ifdef _WIN32
return Qx::FileDetails::readFileDetails(standardCLIFpPath(fpInstall)).fileVersion();
return Qx::FileDetails::readFileDetails(standardCLIFpPath(fpInstall)).fileVersion().normalized();
#endif
/* TODO: For now on Linux we just return a null version so that deployment always
* occurs. Eventually, find a good way to grab version info from the installed ELF.
Expand Down

0 comments on commit 3e684ea

Please sign in to comment.