Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit fc04f34

Browse files
authored
Update LibsManager.java
1 parent d34d5d4 commit fc04f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/id.my.alvinq.prokitid.app/libs/LibsManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private String getMainClassFromManifest(File jarFile) {
8888
}
8989

9090
JSONObject json = new JSONObject(jsonBuilder.toString());
91-
if(!json.has("main") return null;
91+
if(!json.has("main")) return null;
9292
return json.getString("main");
9393

9494
} catch (Exception e) {
@@ -112,7 +112,7 @@ private Boolean getNaviteLibsFromManifest(File jarFile) {
112112
}
113113

114114
JSONObject json = new JSONObject(jsonBuilder.toString());
115-
if(!json.has("native") return false;
115+
if(!json.has("native")) return false;
116116
return json.getBoolean("native");
117117

118118
} catch (Exception e) {

0 commit comments

Comments
 (0)