Skip to content

Commit cc4974c

Browse files
committed
Prepare 0.3.2
1 parent fdb6115 commit cc4974c

9 files changed

Lines changed: 73 additions & 64 deletions

File tree

SimpleDnsCrypt/Config/Global.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,22 @@ public static class Global
107107
/// <summary>
108108
/// The default pimary resolver, if no resolver is set (on start up)
109109
/// </summary>
110-
public const string DefaultPrimaryResolverName = "dnscrypt.me";
110+
public const string DefaultPrimaryResolverName = "dnscrypt.org-fr";
111111

112112
/// <summary>
113113
/// The backup primary resolver, if DefaultPrimaryResolverName is not in the list.
114114
/// </summary>
115-
public const string DefaultPrimaryBackupResolverName = "dnscrypt.org-fr";
115+
public const string DefaultPrimaryBackupResolverName = "d0wn-random-ns1";
116116

117117
/// <summary>
118118
/// The default secondary resolver, if no resolver is set (on start up)
119119
/// </summary>
120-
public const string DefaultSecondaryResolverName = "d0wn-random-ns1";
120+
public const string DefaultSecondaryResolverName = "d0wn-random-ns2";
121121

122122
/// <summary>
123123
/// The backup secondary resolver, if DefaultSecondaryResolverName is not in the list.
124124
/// </summary>
125-
public const string DefaultSecondaryBackupResolverName = "dnscrypt.org-fr";
125+
public const string DefaultSecondaryBackupResolverName = "dnscrypt.eu-nl";
126126

127127
/// <summary>
128128
/// Time we wait on a service restart (ms).
23.7 KB
Loading

SimpleDnsCrypt/SimpleDnsCrypt.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@
276276
<Generator>ResXFileCodeGenerator</Generator>
277277
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
278278
</EmbeddedResource>
279-
<None Include="dnscrypt-proxy\dnscrypt-resolvers.csv.minisig">
279+
<Content Include="dnscrypt-proxy\dnscrypt-resolvers.csv.minisig">
280280
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
281-
</None>
281+
</Content>
282282
<None Include="Properties\app.manifest" />
283-
<None Include="dnscrypt-proxy\dnscrypt-resolvers.csv">
283+
<Content Include="dnscrypt-proxy\dnscrypt-resolvers.csv">
284284
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
285-
</None>
285+
</Content>
286286
<None Include="packages.config" />
287287
<None Include="Properties\Settings.settings">
288288
<Generator>SettingsSingleFileGenerator</Generator>
@@ -329,6 +329,7 @@
329329
<Content Include="dnscrypt-proxy\libwinpthread-1.dll">
330330
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
331331
</Content>
332+
<Resource Include="Images\bytejail_logo.png" />
332333
<Resource Include="Resources\Entypo-license.txt" />
333334
<Resource Include="Resources\WindowsIcons-license.txt" />
334335
<Resource Include="FodyWeavers.xml" />
@@ -341,9 +342,8 @@
341342
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
342343
</PropertyGroup>
343344
<Error Condition="!Exists('..\packages\Baseclass.Contrib.Nuget.Output.2.1.0\build\net40\Baseclass.Contrib.Nuget.Output.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Baseclass.Contrib.Nuget.Output.2.1.0\build\net40\Baseclass.Contrib.Nuget.Output.targets'))" />
344-
<Error Condition="!Exists('..\packages\Fody.1.29.3\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.3\build\dotnet\Fody.targets'))" />
345+
<Error Condition="!Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.4\build\dotnet\Fody.targets'))" />
345346
</Target>
346-
<Import Project="..\packages\Fody.1.29.3\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.3\build\dotnet\Fody.targets')" />
347347
<UsingTask TaskName="CosturaCleanup" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll" TaskFactory="CodeTaskFactory">
348348
<ParameterGroup>
349349
<Config Output="false" Required="true" ParameterType="Microsoft.Build.Framework.ITaskItem" />
@@ -380,6 +380,7 @@ foreach (var item in filesToCleanup)
380380
<Target Name="CleanReferenceCopyLocalPaths" AfterTargets="AfterBuild;NonWinFodyTarget">
381381
<CosturaCleanup Config="FodyWeavers.xml" Files="@(ReferenceCopyLocalPaths->'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" />
382382
</Target>
383+
<Import Project="..\packages\Fody.1.29.4\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" />
383384
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
384385
Other similar extension points exist, see Microsoft.Common.targets.
385386
<Target Name="BeforeBuild">

SimpleDnsCrypt/Tools/DnscryptProxyManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public bool IsDnsCryptProxyInstalled()
5858
/// <returns><c>true</c> if the service is running, otherwise <c>false</c></returns>
5959
public bool IsDnsCryptProxyRunning()
6060
{
61+
if (DnsCryptProxy.DisplayName == null) return false;
6162
try
6263
{
6364
if (!DnsCryptProxy.IsReady) return false;

SimpleDnsCrypt/ViewModels/MainViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using SimpleDnsCrypt.Config;
1616
using SimpleDnsCrypt.Models;
1717
using SimpleDnsCrypt.Tools;
18-
using Sodium;
1918
using WPFLocalizeExtension.Engine;
2019

2120
namespace SimpleDnsCrypt.ViewModels
@@ -725,7 +724,7 @@ public static bool IsAdministrator()
725724
/// <summary>
726725
/// Check the dnscrypt-proxy directory on completeness.
727726
/// </summary>
728-
/// <returns><c>true</c> if alle files are available, otherwise <c>false</c></returns>
727+
/// <returns><c>true</c> if all files are available, otherwise <c>false</c></returns>
729728
private static bool ValidateDnsCryptProxyFolder()
730729
{
731730
foreach (var proxyFile in Global.DnsCryptProxyFiles)

SimpleDnsCrypt/Views/MainView.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@
887887
The MIT License (MIT)
888888
<LineBreak />
889889
<LineBreak />
890-
Copyright (c) 2015 Christian Hermann
890+
Copyright (c) 2015 - 2016 Christian Hermann
891891
<LineBreak />
892892
<LineBreak />
893893
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -925,6 +925,8 @@
925925
<TextBlock FontSize="14" Foreground="#FF575757" Margin="0,3,0,0" Width="450"
926926
TextWrapping="Wrap"
927927
tools:NavigationService.Text="{lex:Loc Key=about_thanks_bytejail_text}" />
928+
929+
<Image Source="/SimpleDnsCrypt;component/Images/bytejail_logo.png" Width="250" Stretch="UniformToFill" Margin="0,30,0,0"/>
928930
</StackPanel>
929931
</StackPanel>
930932
</Border>

0 commit comments

Comments
 (0)