mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
added additional scripts for Win 7 and MacOs. added "how to start" instructions.
This commit is contained in:
parent
e302a12f5d
commit
490b95bcc6
5 changed files with 26 additions and 0 deletions
5
Mage.Client/release/how to start.txt
Normal file
5
Mage.Client/release/how to start.txt
Normal file
|
@ -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
|
5
Mage.Client/release/startClient.command
Normal file
5
Mage.Client/release/startClient.command
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd "`dirname "$0"`"
|
||||||
|
|
||||||
|
java -jar ./lib/Mage-Client-0.8.jar -Xms256M -Xmx1024M &
|
7
Mage.Client/release/startClientWin7.bat
Normal file
7
Mage.Client/release/startClientWin7.bat
Normal file
|
@ -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
|
4
Mage.Server/release/how to start.txt
Normal file
4
Mage.Server/release/how to start.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
use .exe or one of the scripts:
|
||||||
|
startServer.bat - for Windows
|
||||||
|
startServer.sh - for Linux
|
||||||
|
startServer.command - for MacOS
|
5
Mage.Server/release/startServer.command
Normal file
5
Mage.Server/release/startServer.command
Normal file
|
@ -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
|
Loading…
Reference in a new issue