Fix travis hopefully
This commit is contained in:
@@ -8,4 +8,6 @@ jdk:
|
||||
- openjdk8
|
||||
- openjdk11
|
||||
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();
|
||||
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.createNewFile();
|
||||
@@ -269,7 +269,7 @@ public class ClientLoader
|
||||
|
||||
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
|
||||
{
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(INJECTED_CLIENT);
|
||||
|
||||
Reference in New Issue
Block a user