GeezerVison is showing github.com — null point · forkandroid/FakerAndroid@23b1dbb
File tree
Expand file treeCollapse file tree
Open diff view settings
controller/src/main/java/faker/android/decoder/transforms distribution/il2cpp-dumper/src/main/java/faker/android/decoder/il2cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: controller/src/main/java/faker/android/decoder/transforms/Il2cppDumper.java +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,9 +18,8 @@ public boolean transform(TransformInvocation transformInvocation) { |
18 | 18 | transformInvocation.callBack("Checking or generating il2cppscafoding..."); |
19 | 19 | try { |
20 | 20 | Il2cppBinary.dumpIl2cpp(apk.getApkFile(),androidProject.getCpp()); |
21 | | - } catch (BinaryException e) { |
22 | | - e.printStackTrace(); |
23 | | - } catch (FakerAndroidException e) { |
| 21 | + } catch (Exception e) { |
| 22 | + transformInvocation.callBack("exception while excute il2cpp binary"); |
24 | 23 | e.printStackTrace(); |
25 | 24 | } |
26 | 25 | return true; |
|
Collapse file
Copy file name to clipboardExpand all lines: distribution/il2cpp-dumper/src/main/java/faker/android/decoder/il2cpp/Il2cppBinary.java +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -28,6 +28,10 @@ private static File getIl2cppBinary() throws BinaryException { |
28 | 28 | public static void dumpIl2cpp(File in,File out) throws BinaryException, FakerAndroidException { |
29 | 29 | List<String> il2cppBinaryCommad = new ArrayList<>(); |
30 | 30 | File il2cppBinary = getIl2cppBinary(); |
| 31 | + if(il2cppBinary==null){ |
| 32 | + return; |
| 33 | + } |
| 34 | + |
31 | 35 | il2cppBinaryCommad.add(il2cppBinary.getAbsolutePath()); |
32 | 36 |
|
33 | 37 | il2cppBinaryCommad.add("-i"); |
|