Final updates
This commit is contained in:
parent
0e7a771cf3
commit
c7c28ef1f7
2
build.sh
2
build.sh
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p ./bin
|
mkdir -p ./bin
|
||||||
javac -cp ./lib/org.jfree.svg-5.0.5.jar:./src -encoding UTF-8 -d ./bin src/*.java
|
javac -cp ./lib/org.jfree.svg-5.0.5.jar:./lib/jfreechart-1.5.3.jar:./src -encoding UTF-8 -d ./bin src/*.java
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
javadoc -encoding UTF-8 -sourcepath ./src -cp ./src -d doc/javadoc -version -author ./src/*.java
|
javadoc -encoding UTF-8 -sourcepath ./src -cp ./lib/org.jfree.svg-5.0.5.jar:./lib/jfreechart-1.5.3.jar:./src -d doc/javadoc -version -author ./src/*.java
|
||||||
|
|
2
run.sh
2
run.sh
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
java -cp ./lib/org.jfree.svg-5.0.5.jar:./bin Chess $@
|
java -cp ./lib/org.jfree.svg-5.0.5.jar:./lib/jfreechart-1.5.3.jar:./bin Chess $@
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class Stockfish {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public Stockfish(String binary) throws IOException {
|
public Stockfish(String binary) throws IOException {
|
||||||
process = Runtime.getRuntime().exec(binary);
|
process = Runtime.getRuntime().exec(new String[]{binary});
|
||||||
reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
|
reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
|
||||||
writer = new OutputStreamWriter(process.getOutputStream());
|
writer = new OutputStreamWriter(process.getOutputStream());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue