Move Windows build info to main README
This commit is contained in:
parent
fad7f1bb11
commit
aa804b0eac
27
README.md
27
README.md
|
@ -146,6 +146,33 @@ Copy `/Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib` to
|
|||
|
||||
Now you should have a working bundle that you can run.
|
||||
|
||||
## Build on Windows
|
||||
|
||||
* Install [.NET Framework 4.0](http://www.microsoft.com/download/en/details.aspx?id=17851) (if not installed yet)
|
||||
|
||||
* Install [msysGit](http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.8-preview20111206.exe)
|
||||
* Change install location to `C:\msysgit` (location is hard-coded in the build scrits)
|
||||
* Use default settings for all other questions during installation
|
||||
|
||||
* Copy the entire contents of the msysGit folder to `{clone folder}\bin\msysgit`
|
||||
|
||||
* _Build step_: Open a command shell (available in Start Menu > Accessories > Command Prompt) and execute (Note to Windows 7 x64 users: change the WinDirNet variable in build.cmd to "%WinDir%\Microsoft.NET\Framework64")
|
||||
|
||||
C:
|
||||
cd {clone folder}
|
||||
cd SparkleShare\Windows
|
||||
build
|
||||
|
||||
* `{clone folder}\bin` should now contain `SparkleLib.dll` and `SparkleShare.exe`, apart from folders `plugins`, `po` and `msysgit`
|
||||
|
||||
* If you want to build the Windows installer download and install [WiX 3.6](http://wix.sourceforge.net/)
|
||||
|
||||
* _Installer build step_: Then open a command shell and write almost the same as before, but with `installer` at the end
|
||||
|
||||
C:
|
||||
cd {clone folder}
|
||||
cd SparkleShare\Windows
|
||||
build installer
|
||||
|
||||
## Info
|
||||
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
# Build on windows
|
||||
|
||||
* Install [.NET Framework 4.0](http://www.microsoft.com/download/en/details.aspx?id=17851) (if not installed yet)
|
||||
|
||||
* Install [msysGit](http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.8-preview20111206.exe)
|
||||
* Change install location to `C:\msysgit` (location is hard-coded in the build scrits)
|
||||
* Use default settings for all other questions during installation
|
||||
|
||||
* _Clone step_: Open a Git console (available in Start Menu > Git > Git Bash). On the command line write
|
||||
|
||||
cd /c
|
||||
git clone -b gettext-cs git://github.com/serras/SparkleShare.git
|
||||
cd SparkleShare
|
||||
git submodule update --init
|
||||
|
||||
* This way you will get the SparkleShare source code in `C:\SparkleShare`
|
||||
|
||||
* Download [CefSharp-0.3.1.7z](https://github.com/downloads/chillitom/CefSharp/CefSharp-0.3.1.7z)
|
||||
* Copy `avcodec-52.dll`, `avformat-52.dll`, `avutil-50.dll`, `CefSharp.dll`, `icudt42.dll` and `libcef.dll` from the 7z file in `CefSharp-0.3.1\Release\` to `c:\SparkleShare\bin` (create that directory if it does not exist)
|
||||
|
||||
* Copy the entire contents of the msysGit folder to `C:\SparkleShare\bin\msysgit`
|
||||
|
||||
* _Build step_: Open a command shell (available in Start Menu > Accessories > Command Prompt) and execute (Note to Windows 7 x64 users: change the WinDirNet variable in build.cmd to "%WinDir%\Microsoft.NET\Framework64")
|
||||
|
||||
C:
|
||||
cd C:\SparkleShare
|
||||
cd SparkleShare\Windows
|
||||
build
|
||||
|
||||
* `C:\SparkleShare\bin` should now contain `SparkleLib.dll` and `SparkleShare.exe`, apart from folders `plugins`, `po` and `msysgit`
|
||||
|
||||
* If you want to build the Windows installer download and install [WiX 3.6](http://wix.sourceforge.net/)
|
||||
|
||||
* _Installer build step_: Then open a command shell and write almost the same as before, but with `installer` at the end
|
||||
|
||||
C:
|
||||
cd C:\SparkleShare
|
||||
cd SparkleShare\Windows
|
||||
build installer
|
||||
|
||||
Now, each time you would like to get the latest changes open a Git console and run
|
||||
|
||||
cd /c/SparkleShare
|
||||
git pull
|
||||
git submodule update
|
||||
|
||||
and then run the build step and/or build installer step in the command shell.
|
Loading…
Reference in a new issue