Move OS detection to common and PowerToysInterop (#5120)

* Remove os-detection project

* Removed os-detection project from sln

* Added os-detection to PowerToysInterop

* Removed references to os-detection and added PowerToysInterop.dll to the ImageResizer folder
This commit is contained in:
Arjun Balgovind
2020-07-21 12:01:59 -07:00
committed by GitHub
parent b31d9761fa
commit d01b93ae5f
23 changed files with 37 additions and 274 deletions

View File

@@ -7,6 +7,7 @@
#include "..\two_way_pipe_message_ipc.h"
#include "..\common.h"
#include "..\shared_constants.h"
#include "..\os-detect.h"
using namespace System;
using namespace System::Runtime::InteropServices;
@@ -113,7 +114,12 @@ public
static String^ GetProductVersion()
{
return gcnew String(get_product_version().c_str());
}
}
static bool ShouldNewSettingsBeUsed()
{
return UseNewSettings();
}
};
public