File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ public static class Global
16
16
/// <summary>
17
17
/// Remote URI where the application will find the update informations.
18
18
/// </summary>
19
- public const string ApplicationUpdateUri64 =
19
+ public const string ApplicationUpdateUri64 =
20
20
"https://raw.githubusercontent.com/bitbeans/SimpleDnsCrypt/master/update64.yml" ;
21
21
22
- /// <summary>
23
- /// The public key to validate the installer.
24
- /// </summary>
25
- public const string ApplicationUpdatePublicKey = "RWTSM+4BNNvkZPNkHgE88ETlhWa+0HDzU5CN8TvbyvmhVUcr6aQXfssV" ;
22
+ /// <summary>
23
+ /// The public key to validate the installer.
24
+ /// </summary>
25
+ public const string ApplicationUpdatePublicKey = "RWTSM+4BNNvkZPNkHgE88ETlhWa+0HDzU5CN8TvbyvmhVUcr6aQXfssV" ;
26
26
27
27
/// <summary>
28
28
/// The folder where the dnscrypt-proxy lives in.
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public static async Task<RemoteUpdate> CheckForRemoteUpdateAsync(UpdateType minU
61
61
else
62
62
{
63
63
// the remote version is newer as the local version
64
- if ( ( int ) remoteUpdate . Update . Type >= ( int ) minUpdateType )
64
+ if ( ( int ) minUpdateType >= ( int ) remoteUpdate . Update . Type )
65
65
{
66
66
remoteUpdate . CanUpdate = true ;
67
67
}
You can’t perform that action at this time.
0 commit comments