ec8fffe61c
Distribute Magisk directly with Magisk Manager APK. The APK will contain all required binaries and scripts for installation and uninstallation. App versions will now align with Magisk releases. Extra effort is spent to make the APK itself also a flashable zip that can be used in custom recoveries, so those still prefer to install Magisk with recoveries will not be affected with this change. As a bonus, this makes the whole installation and uninstallation process 100% offline. The existing Magisk Manager was not really functional without an Internet connection, as the installation process was highly tied to zips hosted on the server. An additional bonus: since all binaries are now shipped as "native libraries" of the APK, we can finally bump the target SDK version higher than 28. The target SDK version was stuck at 28 for a long time because newer SELinux restricts running executables from internal storage. More details can be found here: https://github.com/termux/termux-app/issues/1072 The target SDK bump will be addressed in a future commit. Co-authored with @vvb2060
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
##########################################################
|
|
# All variables in config.prop are optional
|
|
# Removing or leaving them blank will keep default values
|
|
##########################################################
|
|
|
|
# The version name of Magisk. Default: git HEAD short SHA1
|
|
version=string
|
|
|
|
# Output path. Default: out
|
|
outdir=string
|
|
|
|
################################################################
|
|
# Whether to use pretty names for zips
|
|
# e.g. Magisk-v${version}.zip, Magisk-uninstaller-${date}.zip
|
|
# Default names are magisk-${release/debug/uninstaller}.zip
|
|
################################################################
|
|
|
|
# Default: false
|
|
prettyName=bool
|
|
|
|
#####################################################
|
|
# Signing configs for signing zips and APKs
|
|
# These 4 variables has to be either all set or not
|
|
#####################################################
|
|
|
|
# Path to keystore file
|
|
keyStore=string
|
|
# Keystore password
|
|
keyStorePass=string
|
|
# The desired key alias in the keystore
|
|
keyAlias=string
|
|
# Password of specified key alias
|
|
keyPass=string
|