Skip to content

Commit

Permalink
Update ActivationStatus.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
winexe0 authored Feb 19, 2021
1 parent f01ceeb commit cec0337
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ActivationStatus.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
#include <iostream>
#include <windows.h>
#include <string>
#include <VersionHelpers.h>
using namespace std;
int main() {
string confirm;
system("title ActivationStatus v1.2.0 Console");
system("title ActivationStatus v1.2.1 Console");
system("echo Detected Processor is %PROCESSOR_ARCHITECTURE%");
if (!IsWindowsVistaOrGreater())
{
MessageBox(NULL, "ActivationStatus requires at least Windows Vista to function", "Windows Version Not Supported", MB_ICONSTOP | MB_OK);
cout << "Exiting due to Windows version not supported" << endl;
exit(1);
}
int license = MessageBox(
NULL,
"Do you accept the license terms?\nIt can be found at https://github.com/winexe0/ActivationStatus/blob/master/LICENSE ",
Expand Down

0 comments on commit cec0337

Please sign in to comment.