Fix travis hopefully
This commit is contained in:
@@ -9,3 +9,5 @@ jdk:
|
|||||||
- openjdk11
|
- openjdk11
|
||||||
install: true
|
install: true
|
||||||
script: ./travis/build.sh
|
script: ./travis/build.sh
|
||||||
|
before_install:
|
||||||
|
- chmod +x ./travis/build.sh
|
||||||
@@ -150,7 +150,7 @@ public class ClientLoader
|
|||||||
INJECTED_CLIENT.mkdirs();
|
INJECTED_CLIENT.mkdirs();
|
||||||
if (INJECTED_CLIENT.exists())
|
if (INJECTED_CLIENT.exists())
|
||||||
{
|
{
|
||||||
if (getFileSize(INJECTED_CLIENT.toURI().toURL())!= getFileSize(url))
|
if (getFileSize(INJECTED_CLIENT.toURI().toURL()) != getFileSize(url))
|
||||||
{
|
{
|
||||||
INJECTED_CLIENT.delete();
|
INJECTED_CLIENT.delete();
|
||||||
INJECTED_CLIENT.createNewFile();
|
INJECTED_CLIENT.createNewFile();
|
||||||
@@ -269,7 +269,7 @@ public class ClientLoader
|
|||||||
|
|
||||||
private void updateInjectedClient(ReadableByteChannel readableByteChannel)
|
private void updateInjectedClient(ReadableByteChannel readableByteChannel)
|
||||||
{
|
{
|
||||||
File INJECTED_CLIENT = new File(RUNELITE_DIR,"injected-client.jar");
|
File INJECTED_CLIENT = new File(RUNELITE_DIR, "injected-client.jar");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
FileOutputStream fileOutputStream = new FileOutputStream(INJECTED_CLIENT);
|
FileOutputStream fileOutputStream = new FileOutputStream(INJECTED_CLIENT);
|
||||||
|
|||||||
Reference in New Issue
Block a user