Merge branch 'litegapps'

This commit is contained in:
Rikka committed 2024-10-29 00:09:25 +08:00
commit ccc8d9701d
3 files changed
+59 -1

No files matched your search

+9
View File
@@ -2,6 +2,7 @@
import argparse
from stuffs.gapps import Gapps
from stuffs.litegapps import LiteGapps
from stuffs.magisk import Magisk
from stuffs.ndk import Ndk
from stuffs.widevine import Widevine
@@ -23,6 +24,10 @@ def main():
dest='gapps',
help='Install OpenGapps to ReDroid',
action='store_true')
parser.add_argument('-lg', '--install-litegapps',
dest='litegapps',
help='Install LiteGapps to ReDroid',
action='store_true')
parser.add_argument('-n', '--install-ndk-translation',
dest='ndk',
help='Install libndk translation files',
@@ -51,6 +56,10 @@ def main():
tags.append("gapps")
else:
helper.print_color( "WARNING: OpenGapps only supports 11.0.0", helper.bcolors.YELLOW)
if args.litegapps:
LiteGapps(args.android).install()
dockerfile = dockerfile + "COPY litegapps /\n"
tags.append("litegapps")
if args.ndk:
if args.android in ["11.0.0", "12.0.0", "12.0.0_64only"]:
arch = helper.host()[0]