Remove duplicated HMCLauncher.exe

This commit is contained in:
yushijinhun
2018-07-31 13:59:48 +08:00
parent afa6eb3bad
commit 8192ffec03
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -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 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
def bytes = new byte[8192]
while((read = is.read(bytes)) != -1)