Remove duplicated HMCLauncher.exe
This commit is contained in:
Binary file not shown.
@@ -60,7 +60,7 @@ task makeExecutable(dependsOn: jar) doLast {
|
|||||||
}
|
}
|
||||||
def loc = new File(project.buildDir, "libs/" + makeExecutableoutjar.getName().substring(0, makeExecutableoutjar.getName().length() - 4) + ".exe")
|
def loc = new File(project.buildDir, "libs/" + makeExecutableoutjar.getName().substring(0, makeExecutableoutjar.getName().length() - 4) + ".exe")
|
||||||
def fos = new FileOutputStream(loc)
|
def fos = new FileOutputStream(loc)
|
||||||
def is = new FileInputStream(new File(project.buildDir, '../HMCLauncher.exe'))
|
def is = new FileInputStream(new File(project.projectDir, "src/main/resources/assets/HMCLauncher.exe"))
|
||||||
int read
|
int read
|
||||||
def bytes = new byte[8192]
|
def bytes = new byte[8192]
|
||||||
while((read = is.read(bytes)) != -1)
|
while((read = is.read(bytes)) != -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user