diff --git a/SparkleLib/SparkleFetcherBase.cs b/SparkleLib/SparkleFetcherBase.cs index 4ae714a6..dcae841c 100755 --- a/SparkleLib/SparkleFetcherBase.cs +++ b/SparkleLib/SparkleFetcherBase.cs @@ -162,7 +162,9 @@ namespace SparkleLib { IsActive = false; - bool repo_is_encrypted = RemoteUrl.AbsolutePath.Contains ("-crypto"); + bool repo_is_encrypted = + (RemoteUrl.AbsolutePath.Contains ("-crypto") || RemoteUrl.Host.Equals ("sparkleshare.net")); + Finished (repo_is_encrypted, IsFetchedRepoEmpty, Warnings); } else { @@ -220,7 +222,7 @@ namespace SparkleLib { n + "Have fun! :)" + n; - if (RemoteUrl.AbsolutePath.Contains ("-crypto")) + if (RemoteUrl.AbsolutePath.Contains ("-crypto") || RemoteUrl.Host.Equals ("sparkleshare.net")) text = text.Replace ("a SparkleShare repository", "an encrypted SparkleShare repository"); File.WriteAllText (file_path, text);