Skip to content

Commit

Permalink
Ensure LWJGL install matches Pojlib
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie committed Dec 24, 2024
1 parent 5706518 commit 144199a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/pojlib/UnityPlayerActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public static String installLWJGL(Activity activity) throws IOException {
Objects.requireNonNull(lwjgl.getParentFile()).mkdirs();
FileUtil.write(lwjgl.getAbsolutePath(), lwjglAsset);
} else if (!FileUtil.matchingAssetFile(lwjgl, lwjglAsset)) {
lwjgl.delete();
Objects.requireNonNull(lwjgl.getParentFile()).mkdirs();
FileUtil.write(lwjgl.getAbsolutePath(), lwjglAsset);
}
Expand Down

0 comments on commit 144199a

Please sign in to comment.