Update README to build on OSX. Closes #383
This commit is contained in:
parent
645fcdcc78
commit
3a47ec752c
5
README
5
README
|
@ -109,9 +109,10 @@ Now that you have compiled the libraries, open 'SparkleShare/Mac/SparkleShare.sl
|
||||||
MonoDevelop and start the build.
|
MonoDevelop and start the build.
|
||||||
|
|
||||||
To create the SparkleShare.app, make sure the project is focused and select Project from the menu bar
|
To create the SparkleShare.app, make sure the project is focused and select Project from the menu bar
|
||||||
and click "Create Mac Installer..." Save the SparkleShare.app somewhere.
|
and click "Create Mac Installer...". Make sure to select "Don't link assemblies".
|
||||||
|
|
||||||
Paste the contents of the following file in SparkleShare.app/Contents/MonoBundle/config:
|
Save the SparkleShare.app somewhere. Paste the contents of
|
||||||
|
the following file in SparkleShare.app/Contents/MonoBundle/config:
|
||||||
https://raw.github.com/gist/1aeffa61bac73fc08eca/0c0f09ef9e36864c35f34fd5e8bf4f99886be193/gistfile1.txt
|
https://raw.github.com/gist/1aeffa61bac73fc08eca/0c0f09ef9e36864c35f34fd5e8bf4f99886be193/gistfile1.txt
|
||||||
|
|
||||||
Copy /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib
|
Copy /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib
|
||||||
|
|
|
@ -117,7 +117,8 @@ namespace SparkleLib {
|
||||||
"<sparkleshare>" + n +
|
"<sparkleshare>" + n +
|
||||||
" <user>" + n +
|
" <user>" + n +
|
||||||
" <name>" + user_name + "</name>" + n +
|
" <name>" + user_name + "</name>" + n +
|
||||||
" <email>Unknown</email>" + n + " </user>" + n +
|
" <email>Unknown</email>" + n +
|
||||||
|
" </user>" + n +
|
||||||
"</sparkleshare>");
|
"</sparkleshare>");
|
||||||
|
|
||||||
SparkleHelpers.DebugInfo ("Config", "Created \"" + FullPath + "\"");
|
SparkleHelpers.DebugInfo ("Config", "Created \"" + FullPath + "\"");
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
|
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="System.Net" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AppDelegate.cs">
|
<Compile Include="AppDelegate.cs">
|
||||||
|
|
|
@ -886,15 +886,14 @@ namespace SparkleShare {
|
||||||
|
|
||||||
// Add some restrictions to what the key can
|
// Add some restrictions to what the key can
|
||||||
// do when uploaded to the server
|
// do when uploaded to the server
|
||||||
string public_key = File.ReadAllText (key_file_path + ".pub");
|
// string public_key = File.ReadAllText (key_file_path + ".pub");
|
||||||
public_key = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty " + public_key;
|
// public_key = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty " + public_key;
|
||||||
File.WriteAllText (key_file_path + ".pub", public_key);
|
// File.WriteAllText (key_file_path + ".pub", public_key);
|
||||||
|
|
||||||
// Create an easily accessible copy of the public
|
// Create an easily accessible copy of the public
|
||||||
// key in the user's SparkleShare folder
|
// key in the user's SparkleShare folder
|
||||||
File.Copy (key_file_path + ".pub",
|
File.Copy (key_file_path + ".pub",
|
||||||
Path.Combine (SparklePath, UserName + "'s key.txt"));
|
Path.Combine (SparklePath, UserName + "'s key.txt"));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue