GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Project format · forkandroid/FakerAndroid@029c1b6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bin
    • FakerAndroid-cli
      • build.gradle
      • src/main/java/faker/android/decoder
        • Main.java
    • FakerAndroid-gui
      • build.gradle
  • build.gradle
  • controller/src/test/java/faker/android/decoder
    • TestProject.java
  • distribution
    • il2cpp-dumper/src/main/java/faker/android/decoder/il2cpp
      • Il2cppBinary.java
    • runtime-base/src/main/resources/libs/java
      • note.txt
  • library/src/main/java/faker/android/decoder/util
    • OS.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bin/FakerAndroid-cli/build.gradle‎

Copy file name to clipboardExpand all lines: bin/FakerAndroid-cli/build.gradle
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
plugins {
22
id 'java'
33
}
4-
4+
apply plugin: 'com.github.johnrengelman.shadow'
55
group 'faker.android'
66
version '1.0-SNAPSHOT'
7-
87
repositories {
98
google()
109
jcenter()
1110
mavenCentral()
1211
}
13-
12+
jar {
13+
manifest {
14+
attributes 'Main-Class' : 'faker.android.decoder.Main'
15+
}
16+
}
1417
dependencies {
1518
implementation 'com.luhuiguo:chinese-utils:1.0'
1619
implementation project(':controller')
Collapse file

‎bin/FakerAndroid-cli/src/main/java/faker/android/decoder/Main.java‎

Copy file name to clipboardExpand all lines: bin/FakerAndroid-cli/src/main/java/faker/android/decoder/Main.java
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
import java.io.IOException;
3333
import java.util.logging.*;
3434

35-
/**
36-
* @author Ryszard Wiśniewski <[email protected]>
37-
* @author Connor Tumbleson <[email protected]>
38-
*/
3935
public class Main {
4036
public static void main(String[] args) throws IOException, InterruptedException, BrutException {
4137

Collapse file

‎bin/FakerAndroid-gui/build.gradle‎

Copy file name to clipboardExpand all lines: bin/FakerAndroid-gui/build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
dependencies {
1414
}
1515
}
16-
16+
apply plugin: 'com.github.johnrengelman.shadow'
1717
jar {
1818
manifest {
1919
attributes 'Main-Class' : 'FakerAndroidGui'
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,15 @@ allprojects {
2222
jcenter()
2323
google()
2424
}
25+
}
26+
buildscript {
27+
repositories {
28+
jcenter()
29+
}
30+
tasks.withType(JavaCompile) {
31+
options.encoding = "UTF-8"
32+
}
33+
dependencies {
34+
classpath 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
35+
}
2536
}
Collapse file

‎controller/src/test/java/faker/android/decoder/TestProject.java‎

Copy file name to clipboardExpand all lines: controller/src/test/java/faker/android/decoder/TestProject.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
public class TestProject {
1717
private static final Logger LOG = LoggerFactory.getLogger(TestProject.class);
18-
static File in = TestUtils.getFileFromSampleDir("niuzai.apk");
18+
static File in = TestUtils.getFileFromSampleDir("app-with-fake-dex.apk");
1919
@Test
2020
public void fakeRroject() throws IOException {
2121
File out = TestUtils.getFileOutSampleDir("fakeRroject","niuzai");
Collapse file

‎distribution/il2cpp-dumper/src/main/java/faker/android/decoder/il2cpp/Il2cppBinary.java‎

Copy file name to clipboardExpand all lines: distribution/il2cpp-dumper/src/main/java/faker/android/decoder/il2cpp/Il2cppBinary.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public static void dumpIl2cpp(File in,File out) throws BinaryException, FakerAnd
5151
il2cppBinaryCommad.add("-o");
5252
il2cppBinaryCommad.add(new File(il2cppScaffoldingHelper,"help.json").getAbsolutePath());
5353

54-
OS.exec(il2cppBinaryCommad.toArray(new String[0]));
55-
try {
5654

55+
try {
56+
OS.exec(il2cppBinaryCommad.toArray(new String[0]));
5757
File scaffolding_ARM = new File(out,"Il2cpp-Scaffolding-ARM");
5858
if(scaffolding_ARM.exists()){
5959
formatScaffolding(scaffolding_ARM);
@@ -62,8 +62,8 @@ public static void dumpIl2cpp(File in,File out) throws BinaryException, FakerAnd
6262
if(Scaffolding_ARM64.exists()){
6363
formatScaffolding(Scaffolding_ARM64);
6464
}
65-
} catch (IOException e) {
66-
e.printStackTrace();
65+
} catch (Exception e) {
66+
//
6767
}
6868
}
6969
private static void formatScaffolding(File scaffolding) throws IOException {
Collapse file

‎distribution/runtime-base/src/main/resources/libs/java/note.txt‎

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This dir you can custom you jar files
Collapse file

‎library/src/main/java/faker/android/decoder/util/OS.java‎

Copy file name to clipboardExpand all lines: library/src/main/java/faker/android/decoder/util/OS.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static void cpdir(String src, String dest) throws FakerAndroidException {
8282
cpdir(new File(src), new File(dest));
8383
}
8484

85-
public static void exec(String[] cmd) throws FakerAndroidException {
85+
public static void exec(String[] cmd) throws Exception {
8686
Process ps = null;
8787
int exitValue = -99;
8888
try {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.