mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
Now updater is comparing versions instead of comparing thier strings
This commit is contained in:
committed by
Andrey Nekrasov
parent
0016836022
commit
f015995ac4
15
src/common/VersionHelper.h
Normal file
15
src/common/VersionHelper.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
struct VersionHelper
|
||||
{
|
||||
VersionHelper(std::string str);
|
||||
VersionHelper(int major, int minor, int revision);
|
||||
|
||||
bool operator>(const VersionHelper& rhs);
|
||||
|
||||
int major;
|
||||
int minor;
|
||||
int revision;
|
||||
};
|
||||
Reference in New Issue
Block a user