Fix build. Closes #403
This commit is contained in:
parent
667e63d1a4
commit
9855c1b154
|
@ -202,7 +202,7 @@ namespace SparkleLib {
|
|||
new_ssh_config += line + Environment.NewLine;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace (new_ssh_config)) {
|
||||
if (string.IsNullOrEmpty (new_ssh_config.Trim ())) {
|
||||
File.Delete (ssh_config_file_path);
|
||||
|
||||
} else {
|
||||
|
|
|
@ -177,7 +177,7 @@ namespace SparkleLib {
|
|||
if (this.queue_up.Count > 0) {
|
||||
SparkleHelpers.DebugInfo ("Listener", "Delivering " + this.queue_up.Count + " queued messages...");
|
||||
|
||||
foreach (SparkleAnnouncement announcement in this.queue_up.GetRange(0, this.queue_up.Count)) {
|
||||
foreach (SparkleAnnouncement announcement in this.queue_up.GetRange (0, this.queue_up.Count)) {
|
||||
AnnounceBase (announcement);
|
||||
this.queue_up.Remove (announcement);
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace SparkleLib {
|
|||
SyncDownBase ();
|
||||
|
||||
string message;
|
||||
while ((message = this.listener.NextQueueDownMessage (identifier)) != null) {
|
||||
while ((message = this.listener.NextQueueDownMessage (Identifier)) != null) {
|
||||
if (!message.Equals (CurrentRevision))
|
||||
SyncDownBase ();
|
||||
}
|
||||
|
|
4
SparkleShare/Mac/SparkleShare.csproj
Executable file → Normal file
4
SparkleShare/Mac/SparkleShare.csproj
Executable file → Normal file
|
@ -6,7 +6,7 @@
|
|||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{CF5BC8DB-A633-4FCC-8A3E-E3AC9B59FABC}</ProjectGuid>
|
||||
<ProjectTypeGuids>{1C533B1C-72DD-4CB1-9F6B-BF11D93BCFBE};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>SparkleShare</RootNamespace>
|
||||
<AssemblyName>SparkleShare</AssemblyName>
|
||||
|
@ -114,7 +114,7 @@
|
|||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Include="MainMenu.xib" />
|
||||
<InterfaceDefinition Include="MainMenu.xib" xmlns="" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Info.plist" />
|
||||
|
|
Loading…
Reference in a new issue