Support changing su requester package name

This commit is contained in:
topjohnwu
2017-10-28 16:20:31 +08:00
parent 2bc30e5c22
commit fe1439fbac
4 changed files with 7 additions and 12 deletions

View File

@@ -89,16 +89,6 @@ def build_apk(args):
os.chdir('java')
# Build unhide app and place in assets
proc = subprocess.run('{} unhide:assembleRelease'.format(os.path.join('.', 'gradlew')), shell=True)
if proc.returncode != 0:
error('Build Magisk Manager failed!')
source = os.path.join('unhide', 'build', 'outputs', 'apk', 'release', 'unhide-release-unsigned.apk')
target = os.path.join('app', 'src', 'main', 'assets', 'unhide.apk')
cp(source, target)
print('')
if args.release:
if not os.path.exists(os.path.join('..', 'release_signature.jks')):
error('Please generate a java keystore and place it in \'release_signature.jks\'')