Skip to content

Commit

Permalink
ifdef out cert dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerra24 committed Jan 15, 2025
1 parent d62dec4 commit cd4a3e6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<PlatformTarget>AnyCPU</PlatformTarget>
<AssemblyName>CertInstaller</AssemblyName>
<ApplicationIcon>logo.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<Content Include="logo.ico" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\LRReader.UWP.Servicing\LRReader.UWP.Servicing.csproj" />
</ItemGroup>
Expand All @@ -31,7 +26,6 @@

<ItemGroup>
<Resource Include="FodyWeavers.xml" />
<Resource Include="logo.ico" />
</ItemGroup>

</Project>
Binary file removed LRReader.UWP.Servicing.CertInstaller/logo.ico
Binary file not shown.
9 changes: 1 addition & 8 deletions LRReader.UWP.Servicing/LRReader.UWP.Servicing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>13.0</LangVersion>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>


</Project>
2 changes: 2 additions & 0 deletions LRReader.UWP/Views/Main/LoadingPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private void TitleBar_LayoutMetricsChanged(CoreApplicationViewTitleBar coreTitle

private async void Page_Loaded(object sender, RoutedEventArgs e)
{
#if SIDELOAD || NIGHTLY
try
{
CertUtil.Open();
Expand All @@ -85,6 +86,7 @@ private async void Page_Loaded(object sender, RoutedEventArgs e)
{
CertUtil.Close();
}
#endif
await ViewModel.Startup();
}

Expand Down

0 comments on commit cd4a3e6

Please sign in to comment.