1
0

Removed all the Markdown crap

This commit is contained in:
Benjamin Höglinger-Stelzer 2019-03-01 15:51:06 +01:00
parent 9fc2dc0c89
commit 9329056cc7
17 changed files with 10 additions and 230 deletions

View File

@ -11,7 +11,7 @@
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="DotNetZip" publicKeyToken="6583c7c814667745" culture="neutral" /> <assemblyIdentity name="DotNetZip" publicKeyToken="6583c7c814667745" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.13.2.0" newVersion="1.13.2.0" /> <bindingRedirect oldVersion="0.0.0.0-1.13.3.0" newVersion="1.13.3.0" />
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>

View File

@ -53,8 +53,8 @@
<Reference Include="Costura, Version=3.3.2.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL"> <Reference Include="Costura, Version=3.3.2.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.3.3.2\lib\net40\Costura.dll</HintPath> <HintPath>..\packages\Costura.Fody.3.3.2\lib\net40\Costura.dll</HintPath>
</Reference> </Reference>
<Reference Include="DotNetZip, Version=1.13.2.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL"> <Reference Include="DotNetZip, Version=1.13.3.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
<HintPath>..\packages\DotNetZip.1.13.2\lib\net40\DotNetZip.dll</HintPath> <HintPath>..\packages\DotNetZip.1.13.3\lib\net40\DotNetZip.dll</HintPath>
</Reference> </Reference>
<Reference Include="ExceptionReporter.NET, Version=4.0.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="ExceptionReporter.NET, Version=4.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExceptionReporter.4.0.2\lib\net40\ExceptionReporter.NET.dll</HintPath> <HintPath>..\packages\ExceptionReporter.4.0.2\lib\net40\ExceptionReporter.NET.dll</HintPath>
@ -68,12 +68,6 @@
<Reference Include="MahApps.Metro.IconPacks.FontAwesome, Version=2.3.0.4, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MahApps.Metro.IconPacks.FontAwesome, Version=2.3.0.4, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MahApps.Metro.IconPacks.FontAwesome.2.3.0\lib\net46\MahApps.Metro.IconPacks.FontAwesome.dll</HintPath> <HintPath>..\packages\MahApps.Metro.IconPacks.FontAwesome.2.3.0\lib\net46\MahApps.Metro.IconPacks.FontAwesome.dll</HintPath>
</Reference> </Reference>
<Reference Include="Markdig, Version=0.15.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Markdig.0.15.4\lib\net40\Markdig.dll</HintPath>
</Reference>
<Reference Include="Markdig.Wpf, Version=0.2.5.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Markdig.Wpf.0.2.5\lib\net452\Markdig.Wpf.dll</HintPath>
</Reference>
<Reference Include="PInvoke.Kernel32, Version=0.5.0.0, Culture=neutral, PublicKeyToken=9e300f9f87f04a7a, processorArchitecture=MSIL"> <Reference Include="PInvoke.Kernel32, Version=0.5.0.0, Culture=neutral, PublicKeyToken=9e300f9f87f04a7a, processorArchitecture=MSIL">
<HintPath>..\packages\PInvoke.Kernel32.0.5.184\lib\net45\PInvoke.Kernel32.dll</HintPath> <HintPath>..\packages\PInvoke.Kernel32.0.5.184\lib\net45\PInvoke.Kernel32.dll</HintPath>
</Reference> </Reference>
@ -150,6 +144,7 @@
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<None Include="app.manifest"> <None Include="app.manifest">
<SubType>Designer</SubType> <SubType>Designer</SubType>
@ -159,14 +154,6 @@
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None> </None>
<None Include="Resources\win10_x64_uefi_clean.md" />
<None Include="Resources\win10_x64_uefi_secure_clean.md" />
<None Include="Resources\win10_x64_uefi_secure_upgraded.md" />
<None Include="Resources\win10_x64_uefi_upgraded.md" />
<None Include="Resources\win10_x86_uefi_clean.md" />
<None Include="Resources\win10_x86_uefi_secure_clean.md" />
<None Include="Resources\win10_x86_uefi_secure_upgraded.md" />
<None Include="Resources\win10_x86_uefi_upgraded.md" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="App.config" /> <None Include="App.config" />
@ -177,16 +164,13 @@
<ItemGroup> <ItemGroup>
<Resource Include="favicon.ico" /> <Resource Include="favicon.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="Resources\testsigning.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Fody.3.3.5\build\Fody.targets" Condition="Exists('..\packages\Fody.3.3.5\build\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\Fody.3.3.5\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.3.3.5\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.3.3.2\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.3.3.2\build\Costura.Fody.props'))" /> <Error Condition="!Exists('..\packages\Costura.Fody.3.3.2\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.3.3.2\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Fody.4.0.2\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.4.0.2\build\Fody.targets'))" />
</Target> </Target>
<Import Project="..\packages\Fody.4.0.2\build\Fody.targets" Condition="Exists('..\packages\Fody.4.0.2\build\Fody.targets')" />
</Project> </Project>

View File

@ -6,7 +6,6 @@
xmlns:local="clr-namespace:DerpingDrivers" xmlns:local="clr-namespace:DerpingDrivers"
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"
mc:Ignorable="d" mc:Ignorable="d"
Title="Derping Drivers - Windows driver compatibility detection tool" Title="Derping Drivers - Windows driver compatibility detection tool"
Height="440" Width="700" Height="440" Width="700"
@ -16,9 +15,6 @@
BorderThickness="0" BorderThickness="0"
GlowBrush="{DynamicResource AccentColorBrush}" GlowBrush="{DynamicResource AccentColorBrush}"
DataContext="{Binding RelativeSource={RelativeSource Self}}"> DataContext="{Binding RelativeSource={RelativeSource Self}}">
<FrameworkElement.CommandBindings>
<CommandBinding Command="{x:Static markdig:Commands.Hyperlink}" Executed="OpenHyperlink" />
</FrameworkElement.CommandBindings>
<TabControl Margin="15"> <TabControl Margin="15">
@ -78,11 +74,6 @@
</Grid> </Grid>
</TabItem> </TabItem>
<!-- System Details -->
<TabItem Header="System Details" IsEnabled="False">
<markdig:MarkdownViewer x:Name="SummaryViewer" />
</TabItem>
<!-- Test Settings --> <!-- Test Settings -->
<TabItem Header="Test Settings"> <TabItem Header="Test Settings">
<Grid> <Grid>

View File

@ -1,11 +1,7 @@
using System.Diagnostics; using System.Diagnostics;
using System.Text;
using System.Windows; using System.Windows;
using System.Windows.Input;
using DerpingDrivers.Util; using DerpingDrivers.Util;
using MahApps.Metro.Controls; using MahApps.Metro.Controls;
using Markdig;
using Markdig.Wpf;
namespace DerpingDrivers namespace DerpingDrivers
{ {
@ -17,8 +13,6 @@ namespace DerpingDrivers
public MainWindow() public MainWindow()
{ {
InitializeComponent(); InitializeComponent();
Loaded += OnLoaded;
} }
/// <summary> /// <summary>
@ -51,7 +45,7 @@ namespace DerpingDrivers
/// Gets Secure Boot status. /// Gets Secure Boot status.
/// </summary> /// </summary>
public string SecureBootEnabled => UefiHelper.IsRunningInUefiMode public string SecureBootEnabled => UefiHelper.IsRunningInUefiMode
? (UefiHelper.IsSecureBootEnabled ? "Enabled" : "Disabled") ? UefiHelper.IsSecureBootEnabled ? "Enabled" : "Disabled"
: "Not available"; : "Not available";
/// <summary> /// <summary>
@ -88,61 +82,6 @@ namespace DerpingDrivers
/// </summary> /// </summary>
public bool IsWindows10 => OsVersionInfo.IsWindows10; public bool IsWindows10 => OsVersionInfo.IsWindows10;
private string MatchingSummaryContent
{
get
{
#region TESTSIGNING mode
if (CodeIntegrityHelper.IsTestSignEnabled)
return Encoding.UTF8.GetString(Properties.Resources.testsigning);
#endregion
#region Windows 10, x64
if (OsVersionInfo.IsWindows10
&& OsVersionInfo.OsBits == OsVersionInfo.SoftwareArchitecture.Bit64)
{
if (UefiHelper.IsRunningInUefiMode
&& !UefiHelper.IsSecureBootEnabled
&& !OsUpgradeDetection.IsGrandfathered)
return Encoding.UTF8.GetString(Properties.Resources.win10_x64_uefi_clean);
if (UefiHelper.IsRunningInUefiMode
&& UefiHelper.IsSecureBootEnabled
&& !OsUpgradeDetection.IsGrandfathered)
return Encoding.UTF8.GetString(Properties.Resources.win10_x64_uefi_secure_clean);
if (UefiHelper.IsRunningInUefiMode
&& UefiHelper.IsSecureBootEnabled
&& OsUpgradeDetection.IsGrandfathered)
return Encoding.UTF8.GetString(Properties.Resources.win10_x64_uefi_secure_upgraded);
if (UefiHelper.IsRunningInUefiMode
&& !UefiHelper.IsSecureBootEnabled
&& OsUpgradeDetection.IsGrandfathered)
return Encoding.UTF8.GetString(Properties.Resources.win10_x64_uefi_upgraded);
}
#endregion
return "*None available*";
}
}
private void OnLoaded(object sender, RoutedEventArgs e)
{
SummaryViewer.Pipeline = new MarkdownPipelineBuilder().UseSupportedExtensions().Build();
SummaryViewer.Markdown = MatchingSummaryContent;
}
private void OpenHyperlink(object sender, ExecutedRoutedEventArgs e)
{
Process.Start(e.Parameter.ToString());
}
private void Web_OnClick(object sender, RoutedEventArgs e) private void Web_OnClick(object sender, RoutedEventArgs e)
{ {
Process.Start("https://vigem.org"); Process.Start("https://vigem.org");

View File

@ -59,95 +59,5 @@ namespace DerpingDrivers.Properties {
resourceCulture = value; resourceCulture = value;
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] testsigning {
get {
object obj = ResourceManager.GetObject("testsigning", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x64_uefi_clean {
get {
object obj = ResourceManager.GetObject("win10_x64_uefi_clean", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x64_uefi_secure_clean {
get {
object obj = ResourceManager.GetObject("win10_x64_uefi_secure_clean", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x64_uefi_secure_upgraded {
get {
object obj = ResourceManager.GetObject("win10_x64_uefi_secure_upgraded", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x64_uefi_upgraded {
get {
object obj = ResourceManager.GetObject("win10_x64_uefi_upgraded", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x86_uefi_clean {
get {
object obj = ResourceManager.GetObject("win10_x86_uefi_clean", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x86_uefi_secure_clean {
get {
object obj = ResourceManager.GetObject("win10_x86_uefi_secure_clean", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x86_uefi_secure_upgraded {
get {
object obj = ResourceManager.GetObject("win10_x86_uefi_secure_upgraded", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] win10_x86_uefi_upgraded {
get {
object obj = ResourceManager.GetObject("win10_x86_uefi_upgraded", resourceCulture);
return ((byte[])(obj));
}
}
} }
} }

View File

@ -118,31 +118,4 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="testsigning" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\testsigning.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x64_uefi_clean" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x64_uefi_clean.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x64_uefi_secure_clean" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x64_uefi_secure_clean.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x64_uefi_secure_upgraded" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x64_uefi_secure_upgraded.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x64_uefi_upgraded" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x64_uefi_upgraded.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x86_uefi_clean" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x86_uefi_clean.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x86_uefi_secure_clean" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x86_uefi_secure_clean.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x86_uefi_secure_upgraded" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x86_uefi_secure_upgraded.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="win10_x86_uefi_upgraded" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win10_x86_uefi_upgraded.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@ -1,7 +0,0 @@
# ☠️ TESTSIGNING enabled ☠️
To disable test-signing, execute the following command in an [elevated prompt](https://www.thewindowsclub.com/how-to-run-command-prompt-as-an-administrator):
```cmd
bcdedit.exe -set TESTSIGNING OFF
```

View File

@ -1,7 +0,0 @@
# Windows 10 64-bits (UEFI)
## Abstract
- 👌 running on [64-Bit](https://en.wikipedia.org/wiki/X86-64) installation; you can use more than 4 GiB of memory.
- 👌 running in [UEFI mode](https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface); you can use all modern features of your mainboard and processor like booting from drives greater than 2 TiB and advanced security solutions like [TPM chips](https://en.wikipedia.org/wiki/Trusted_Platform_Module) and [Secure Boot](https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Secure_boot_criticism).
- ⚠️ Secure Boot is available but disabled.

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using Markdig.Helpers;
using Microsoft.Win32; using Microsoft.Win32;
// http://www.codeproject.com/Articles/73000/Getting-Operating-System-Version-Info-Even-for-Win // http://www.codeproject.com/Articles/73000/Getting-Operating-System-Version-Info-Even-for-Win
@ -21,7 +20,7 @@ namespace DerpingDrivers.Util
/// </summary> /// </summary>
public static class OsVersionInfo public static class OsVersionInfo
{ {
private static readonly List<string> Windows10ReleaseIds = new OrderedList<string> private static readonly List<string> Windows10ReleaseIds = new List<string>
{ {
"1507", "1507",
"1607", "1607",

View File

@ -2,14 +2,12 @@
<packages> <packages>
<package id="ControlzEx" version="3.0.2.4" targetFramework="net461" /> <package id="ControlzEx" version="3.0.2.4" targetFramework="net461" />
<package id="Costura.Fody" version="3.3.2" targetFramework="net461" /> <package id="Costura.Fody" version="3.3.2" targetFramework="net461" />
<package id="DotNetZip" version="1.13.2" targetFramework="net461" /> <package id="DotNetZip" version="1.13.3" targetFramework="net461" />
<package id="ExceptionReporter" version="4.0.2" targetFramework="net461" /> <package id="ExceptionReporter" version="4.0.2" targetFramework="net461" />
<package id="Fody" version="3.3.5" targetFramework="net461" developmentDependency="true" /> <package id="Fody" version="4.0.2" targetFramework="net461" developmentDependency="true" />
<package id="Handlebars.Net" version="1.9.5" targetFramework="net461" /> <package id="Handlebars.Net" version="1.9.5" targetFramework="net461" />
<package id="MahApps.Metro" version="1.6.5" targetFramework="net461" /> <package id="MahApps.Metro" version="1.6.5" targetFramework="net461" />
<package id="MahApps.Metro.IconPacks.FontAwesome" version="2.3.0" targetFramework="net461" /> <package id="MahApps.Metro.IconPacks.FontAwesome" version="2.3.0" targetFramework="net461" />
<package id="Markdig" version="0.15.4" targetFramework="net461" />
<package id="Markdig.Wpf" version="0.2.5" targetFramework="net461" />
<package id="PInvoke.Kernel32" version="0.5.184" targetFramework="net461" /> <package id="PInvoke.Kernel32" version="0.5.184" targetFramework="net461" />
<package id="PInvoke.Windows.Core" version="0.5.184" targetFramework="net461" /> <package id="PInvoke.Windows.Core" version="0.5.184" targetFramework="net461" />
<package id="Simple-MAPI.NET" version="1.1.0" targetFramework="net461" /> <package id="Simple-MAPI.NET" version="1.1.0" targetFramework="net461" />