diff --git a/Mage.Client/release/how to start.txt b/Mage.Client/release/how to start.txt new file mode 100644 index 0000000000..14c3ee711f --- /dev/null +++ b/Mage.Client/release/how to start.txt @@ -0,0 +1,5 @@ +use .exe or one of the scripts: + startClient.bat - for Windows + startClientWin7.bat - for Windows 7 + startClient.sh - for Linux + startClient.command - for MacOS \ No newline at end of file diff --git a/Mage.Client/release/startClient.command b/Mage.Client/release/startClient.command new file mode 100644 index 0000000000..ff2b7f9d05 --- /dev/null +++ b/Mage.Client/release/startClient.command @@ -0,0 +1,5 @@ +#!/bin/sh + +cd "`dirname "$0"`" + +java -jar ./lib/Mage-Client-0.8.jar -Xms256M -Xmx1024M & \ No newline at end of file diff --git a/Mage.Client/release/startClientWin7.bat b/Mage.Client/release/startClientWin7.bat new file mode 100644 index 0000000000..cbd98fa866 --- /dev/null +++ b/Mage.Client/release/startClientWin7.bat @@ -0,0 +1,7 @@ +@ECHO OFF +IF NOT EXIST "C:\Program Files (x86)\Java\jre6\bin\" GOTO NOJAVADIR +set JAVA_HOME="C:\Program Files (x86)\Java\jre6\" +set CLASSPATH=%JAVA_HOME%/bin;%CLASSPATH% +set PATH=%JAVA_HOME%/bin;%PATH% +:NOJAVADIR +start javaw -jar .\lib\Mage-Client-${project.version}.jar -Xms256M -Xmx1024M \ No newline at end of file diff --git a/Mage.Server/release/how to start.txt b/Mage.Server/release/how to start.txt new file mode 100644 index 0000000000..9d4a6e7ea5 --- /dev/null +++ b/Mage.Server/release/how to start.txt @@ -0,0 +1,4 @@ +use .exe or one of the scripts: + startServer.bat - for Windows + startServer.sh - for Linux + startServer.command - for MacOS \ No newline at end of file diff --git a/Mage.Server/release/startServer.command b/Mage.Server/release/startServer.command new file mode 100644 index 0000000000..697fbc8737 --- /dev/null +++ b/Mage.Server/release/startServer.command @@ -0,0 +1,5 @@ +#!/bin/sh + +cd "`dirname "$0"`" + +java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-0.8.jar