Skip to content

Commit 8c68cc2

Browse files
committed
First commit. There may be errors in the build process
0 parents  commit 8c68cc2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1963
-0
lines changed

.github/workflows/release-app.yaml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: Generated APK AAB (Upload - Create Artifact To Github Action)
2+
3+
env:
4+
main_project_module: app
5+
playstore_name: IL2CPP Inspector
6+
7+
on:
8+
9+
push:
10+
branches:
11+
- 'release/**'
12+
13+
workflow_dispatch:
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Set current date as env variable
24+
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
25+
26+
- name: Set repository name as env variable
27+
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
28+
29+
- name: Download frida-inject binaries for arm and arm64
30+
run: |
31+
mkdir -p frida_binaries/armeabi-v7a
32+
mkdir -p frida_binaries/arm64-v8a
33+
34+
# Download the frida-inject files
35+
curl -L https://github.com/frida/frida/releases/latest/download/frida-inject-16.6.5-android-arm.xz -o frida-inject-arm.xz
36+
curl -L https://github.com/frida/frida/releases/latest/download/frida-inject-16.6.5-android-arm64.xz -o frida-inject-arm64.xz
37+
38+
# Extract the binaries
39+
unxz frida-inject-arm.xz
40+
unxz frida-inject-arm64.xz
41+
42+
# Move the binaries to the appropriate directories
43+
mv frida-inject-16.6.5-android-arm frida_binaries/armeabi-v7a/libinjector.so
44+
mv frida-inject-16.6.5-android-arm64 frida_binaries/arm64-v8a/libinjector.so
45+
46+
# Copy the binaries to the jniLibs directories
47+
cp frida_binaries/armeabi-v7a/libinjector.so $GITHUB_WORKSPACE/${{ env.main_project_module }}/src/main/jniLibs/armeabi-v7a/
48+
cp frida_binaries/arm64-v8a/libinjector.so $GITHUB_WORKSPACE/${{ env.main_project_module }}/src/main/jniLibs/arm64-v8a/
49+
50+
- name: Set Up JDK
51+
uses: actions/setup-java@v4
52+
with:
53+
distribution: 'zulu'
54+
java-version: '17'
55+
cache: 'gradle'
56+
57+
- name: Change wrapper permissions
58+
run: chmod +x ./gradlew
59+
60+
# Run Tests Build
61+
- name: Run gradle tests
62+
run: ./gradlew test
63+
64+
# Run Build Project
65+
- name: Build gradle project
66+
run: ./gradlew build
67+
68+
# Create APK Debug
69+
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
70+
run: ./gradlew assembleDebug
71+
72+
# Create APK Release
73+
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
74+
run: ./gradlew assemble
75+
76+
# Upload Artifact Build
77+
# Noted For Output [main_project_module]/build/outputs/apk/debug/
78+
- name: Upload APK Debug - ${{ env.repository_name }}
79+
uses: actions/upload-artifact@v4
80+
with:
81+
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) debug generated
82+
path: ${{ env.main_project_module }}/build/outputs/apk/debug/
83+
84+
# Noted For Output [main_project_module]/build/outputs/apk/release/
85+
- name: Upload APK Release - ${{ env.repository_name }}
86+
uses: actions/upload-artifact@v4
87+
with:
88+
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) release generated
89+
path: ${{ env.main_project_module }}/build/outputs/apk/release/

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetSelector.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/migrations.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README-id.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<div align="center">
2+
<img src="./il2cppinspector-icon.png" width="200px" height="200px"/>
3+
<h1>IL2CPP Inspector</h1>
4+
<em>Aplikasi Android untuk melakukan debugging game yang mengandung IL2CPP tanpa memerlukan perubahan apapun dari file aplikasi tersebut (AKSES ROOT PERANGKAT DIBUTUHKAN!)</em>
5+
</div>
6+
7+
---
8+
9+
<div align="center">
10+
<a href="./README.md">english</a> | Indonesia
11+
</div>
12+
13+
> [!NOTE]
14+
> _dokumentasi sedang dalam pengerjaan..._
15+

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<div align="center">
2+
<img src="./il2cppinspector-icon.png" width="200px" height="200px"/>
3+
<h1>IL2CPP Inspector</h1>
4+
<em>Android app for debugging games that contain IL2CPP without requiring any changes to the app files (DEVICE ROOT ACCESS REQUIRED!)</em>
5+
</div>
6+
7+
---
8+
9+
<div align="center">
10+
English | <a href="./README-id.md">Indonesia</a>
11+
</div>
12+
13+
> [!NOTE]
14+
> _documentation in progress..._
15+

app/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build
2+
/release

0 commit comments

Comments
 (0)