Updated usermanual to installer changes.
This commit is contained in:
parent
90b64a257f
commit
66f4041cb3
2 changed files with 1 additions and 4 deletions
Binary file not shown.
|
@ -148,7 +148,6 @@ Your system is now able to compile Cockatrice. You do not have to repeat the pro
|
||||||
\item Click Configure, choose MinGW, leave the rest default
|
\item Click Configure, choose MinGW, leave the rest default
|
||||||
\item An error will occur, set the following:
|
\item An error will occur, set the following:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Set CMAKE\_INSTALL\_PREFIX to a directory you like
|
|
||||||
\item Set PROTOBUF\_INCLUDE\_DIR to C:/MinGW/include/google/protobuf
|
\item Set PROTOBUF\_INCLUDE\_DIR to C:/MinGW/include/google/protobuf
|
||||||
\item Set PROTOBUF\_LIBRARY to C:/MinGW/lib/libprotobuf.dll.a
|
\item Set PROTOBUF\_LIBRARY to C:/MinGW/lib/libprotobuf.dll.a
|
||||||
\item Set PROTOBUF\_LITE\_LIBRARY to C:/MinGW/lib/libprotobuf-lite.dll.a
|
\item Set PROTOBUF\_LITE\_LIBRARY to C:/MinGW/lib/libprotobuf-lite.dll.a
|
||||||
|
@ -182,13 +181,11 @@ Cockatrice has now been updated and built. You may repeat this process every tim
|
||||||
\paragraph{Cockatrice installation}
|
\paragraph{Cockatrice installation}
|
||||||
To install Cockatrice, you have to create an installer with NSIS now.
|
To install Cockatrice, you have to create an installer with NSIS now.
|
||||||
Change to the directory \shellcmd{nsis} in the Cockatrice root directory, right click the cockatrice.nsi file and select \shellcmd{Compile NSIS Script}.
|
Change to the directory \shellcmd{nsis} in the Cockatrice root directory, right click the cockatrice.nsi file and select \shellcmd{Compile NSIS Script}.
|
||||||
The NSIS program then creates a file called cockatrice\_win32\_YYYYmmdd.exe. This is the complete, redistributable installer for your Cockatrice build.
|
The NSIS program then creates a file called cockatrice\_win32\_YYYYmmdd\_git-xxxxxxx.exe. This is the complete, redistributable installer for your Cockatrice build.
|
||||||
|
|
||||||
Now install Cockatrice by executing the installer.
|
Now install Cockatrice by executing the installer.
|
||||||
Note: if you installed MinGW or Qt in other than the default paths, you have to fix the paths in the cockatrice.nsi file (also if some libraries change); you can edit this file with a text editor.
|
Note: if you installed MinGW or Qt in other than the default paths, you have to fix the paths in the cockatrice.nsi file (also if some libraries change); you can edit this file with a text editor.
|
||||||
|
|
||||||
You should rename the exe file generated by NSIS to something like Cockatrice\_win32\_YYYYmmdd\_git-HASH.exe, where HASH is the git version you built (start cockatrice.exe after the installation and click the Help $\to$ About Cockatrice menu to find that out, it is a seven character alphanumerical string e.g. bd861bb).
|
|
||||||
|
|
||||||
\paragraph{Create a card database}
|
\paragraph{Create a card database}
|
||||||
Start the oracle.exe (the installer does this automatically) and let it generate a current cards.xml file:
|
Start the oracle.exe (the installer does this automatically) and let it generate a current cards.xml file:
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
|
|
Loading…
Reference in a new issue