Skip to content

Commit 5f10d61

Browse files
android support
1 parent 195d08d commit 5f10d61

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# you need to have fasm installed
1+
# you need to have fasm and build tools(for d8) installed
22
this is really just a one day project
33
ignore it

build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ rm bytecode.inc
1919
cd ..
2020
cp mod.json mod/
2121
cd mod
22+
ls .|grep ".class">list.txt
23+
d8 *.class --main-dex-list list.txt
24+
rm list.txt
2225
echo "zipping it into the jar"
2326
zip mod.jar *
2427
rm *.class

clean.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rm -rf mod/

0 commit comments

Comments
 (0)