mirror of
https://github.com/ayasa520/redroid-script.git
synced 2026-11-25 14:24:33 +08:00
litegapps configuration added
This commit is contained in:
1 parent
ad5ac36daa
commit
cde83ea1c3
3 files changed
+59
-1
No files matched your search
@@ -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',
|
||||
@@ -48,6 +53,10 @@ def main():
|
||||
Gapps().install()
|
||||
dockerfile = dockerfile + "COPY gapps /\n"
|
||||
tags.append("gapps")
|
||||
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]
|
||||
|
||||
Reference in new issue
Block a user