Simplify README.md
This commit is contained in:
parent
a5ddd20343
commit
fadacd75ba
|
@ -1,18 +1,14 @@
|
|||
|
||||
|
||||
### Mac
|
||||
|
||||
Download, unzip and open the SparkleShare bundle.
|
||||
|
||||
|
||||
|
||||
|
||||
## Building on Mac
|
||||
|
||||
You can choose to build SparkleShare from source or download the SparkleShare bundle.
|
||||
|
||||
|
||||
### Installing build requirements
|
||||
|
||||
Install [Xcode](https://developer.apple.com/xcode/), the [Mono Framework](http://www.mono-project.com/)
|
||||
and [MonoDevelop](http://monodevelop.com/).
|
||||
|
||||
Start MonoDevelop and install the MonoMac add-in (it's in <tt>MonoDevelop</tt> > <tt>Add-in Manager</tt>).
|
||||
Start MonoDevelop and install the MonoMac add-in (it's in the menus: <tt>MonoDevelop</tt> > <tt>Add-in Manager</tt>).
|
||||
|
||||
|
||||
You may need to adjust some environment variables to let the build environment tools find mono:
|
||||
|
@ -37,22 +33,21 @@ $ make
|
|||
```
|
||||
|
||||
Now that you have compiled the libraries, open `SparkleShare/Mac/SparkleShare.sln` in
|
||||
MonoDevelop and start the build.
|
||||
MonoDevelop and start the build (Build > Build All).
|
||||
|
||||
|
||||
### Creating a Mac bundle
|
||||
|
||||
To create the <tt>SparkleShare.app</tt>, make sure the project is focused and select Project from the menu bar
|
||||
and click <tt>"Create Mac Installer..."</tt>. Make sure to select <tt>"Don't link assemblies"</tt>.
|
||||
To create the <tt>SparkleShare.app</tt>, make sure the project is focused, select <tt>Project</tt> from the menu bar
|
||||
and click <tt>"Create Mac Installer..."</tt>. Make sure to select <tt>Don't link assemblies</tt>.
|
||||
|
||||
Save the <tt>SparkleShare.app</tt> somewhere. Copy `SparkleShare/Mac/config` to
|
||||
`SparkleShare.app/Contents/MonoBundle/config` (adjust the paths to where you saved the .app):
|
||||
|
||||
```
|
||||
cp SparkleShare/Mac/config SparkleShare.app/Contents/MonoBundle/config
|
||||
cp /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib SparkleShare.app/Contents/Resources
|
||||
```
|
||||
|
||||
Copy `/Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib` to `SparkleShare.app/Contents/Resources`
|
||||
|
||||
Now you should have a working bundle that you can run.
|
||||
Now you have a working bundle that you can run.
|
||||
|
||||
|
|
Loading…
Reference in a new issue