winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3eefd8dd162b06aea2cf4ec93ec0eda1351462e9
parent dd38bbc817e86e5ff926429d89d7f072120df020
Author: jamespik <48262337+jamespik@users.noreply.github.com>
Date:   Wed,  6 May 2020 10:06:58 -0700

Add preview to the version output (#101)

Adding Preview to the version tag as requested.
Diffstat:
Msrc/AppInstallerCLICore/Command.cpp | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/AppInstallerCLICore/Command.cpp b/src/AppInstallerCLICore/Command.cpp @@ -26,8 +26,11 @@ namespace AppInstaller::CLI void Command::OutputIntroHeader(Execution::Reporter& reporter) const { + // TODO: When these strings are ported to resource file, + // Create both a Preview and a Non-Preview string. That way we can swap the value without + // incurring additional localization cost. reporter.Info() << - "Windows Package Manager v" << Runtime::GetClientVersion() << std::endl << + "Windows Package Manager v" << Runtime::GetClientVersion() << " Preview"<< std::endl << "Copyright (c) Microsoft Corporation. All rights reserved." << std::endl; }