File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ public static class Global
1616 /// <summary>
1717 /// Remote URI where the application will find the update informations.
1818 /// </summary>
19- public const string ApplicationUpdateUri64 =
19+ public const string ApplicationUpdateUri64 =
2020 "https://raw.githubusercontent.com/bitbeans/SimpleDnsCrypt/master/update64.yml" ;
2121
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" ;
2626
2727 /// <summary>
2828 /// 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
6161 else
6262 {
6363 // 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 )
6565 {
6666 remoteUpdate . CanUpdate = true ;
6767 }
You can’t perform that action at this time.
0 commit comments