Skip to content

Commit

Permalink
Noesis: Fix CheckAndInstall
Browse files Browse the repository at this point in the history
Also, Rollback changes to Github Actions
  • Loading branch information
Lemon-King committed Oct 16, 2023
1 parent 5223b6e commit a1516f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gluon-build-windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:
run: cp -r ${env:GRAALVM_HOME}/bin/awt.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/java.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/server/jvm.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/windowsaccessbridge-64.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/net.dll staging
cp -r ${env:GRAALVM_HOME}/bin/windowsaccessbridge-64.dll staging

- name: Copy Licenses
shell: pwsh
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/gluon-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ jobs:
run: cp -r ${env:GRAALVM_HOME}/bin/awt.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/java.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/server/jvm.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/windowsaccessbridge-64.dll staging &&
cp -r ${env:GRAALVM_HOME}/bin/net.dll staging
cp -r ${env:GRAALVM_HOME}/bin/windowsaccessbridge-64.dll staging

- name: Copy Licenses
shell: pwsh
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/lemon/hxdd/builder/Noesis.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public boolean CheckAndInstall() {
os.write(zis.readAllBytes());
os.close();
}
zis.closeEntry();
}
zis.close();
fis.close();
Expand All @@ -68,7 +69,7 @@ public boolean CheckAndInstall() {
}
}
}
return hasNoesis;
return new File(SETTINGS_PATH_NOESIS).exists();
}

public void ExtractPak(File pak, File destination) {
Expand Down

0 comments on commit a1516f2

Please sign in to comment.