mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Infrastructure for shipping and auto-updating experimental releases (#131)
This commit is contained in:
parent
e147c1b4a6
commit
d8da8a54a6
16 changed files with 261 additions and 122 deletions
|
@ -112,7 +112,12 @@ bool LaunchSettings::HandleCommandline(const std::vector<std::wstring>& args)
|
|||
if (vm.count("version"))
|
||||
{
|
||||
requireConsole();
|
||||
std::string versionStr = fmt::format("{}.{}{}", EMULATOR_VERSION_LEAD, EMULATOR_VERSION_MAJOR, EMULATOR_VERSION_SUFFIX);
|
||||
std::string versionStr;
|
||||
#if EMULATOR_VERSION_MINOR == 0
|
||||
versionStr = fmt::format("{}.{}{}", EMULATOR_VERSION_LEAD, EMULATOR_VERSION_MAJOR, EMULATOR_VERSION_SUFFIX);
|
||||
#else
|
||||
versionStr = fmt::format("{}.{}-{}{}", EMULATOR_VERSION_LEAD, EMULATOR_VERSION_MAJOR, EMULATOR_VERSION_MINOR, EMULATOR_VERSION_SUFFIX);
|
||||
#endif
|
||||
std::cout << versionStr << std::endl;
|
||||
return false; // exit in main
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue