From 490b95bcc68ad2f8f0f71faf4977201776489431 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Fri, 28 Oct 2011 11:40:39 +0400 Subject: [PATCH] added additional scripts for Win 7 and MacOs. added "how to start" instructions. --- Mage.Client/release/how to start.txt | 5 +++++ Mage.Client/release/startClient.command | 5 +++++ Mage.Client/release/startClientWin7.bat | 7 +++++++ Mage.Server/release/how to start.txt | 4 ++++ Mage.Server/release/startServer.command | 5 +++++ 5 files changed, 26 insertions(+) create mode 100644 Mage.Client/release/how to start.txt create mode 100644 Mage.Client/release/startClient.command create mode 100644 Mage.Client/release/startClientWin7.bat create mode 100644 Mage.Server/release/how to start.txt create mode 100644 Mage.Server/release/startServer.command 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