mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Remove legacy apk codebase
Remove the legacy view-based APK module (:apk-legacy), along with its subcommands, configurations, release packaging steps, and associated unused dependencies. Assisted-by: Gemini 3.8 Flash
This commit is contained in:
+3
-6
@@ -131,7 +131,6 @@ build() {
|
||||
$build_cmd clean
|
||||
$build_cmd all
|
||||
$build_cmd -r all
|
||||
$build_cmd -r app-legacy
|
||||
verify_apks
|
||||
}
|
||||
|
||||
@@ -145,7 +144,7 @@ upload() {
|
||||
|
||||
verify_apks
|
||||
|
||||
if [ ! -f "out/app-release.apk" ] || [ ! -f "out/apk-legacy-release.apk" ] || [ ! -f "out/app-debug.apk" ]; then
|
||||
if [ ! -f "out/app-release.apk" ] || [ ! -f "out/app-debug.apk" ]; then
|
||||
echo "Error: Required APKs missing in out" >&2
|
||||
exit 1
|
||||
fi
|
||||
@@ -161,12 +160,10 @@ upload() {
|
||||
|
||||
# Publish release
|
||||
local release_apk="Magisk-v${ver}.apk"
|
||||
local legacy_apk="Magisk-v${ver}-legacy.apk"
|
||||
cp "out/app-release.apk" "$release_apk"
|
||||
cp "out/apk-legacy-release.apk" "$legacy_apk"
|
||||
gh release create --verify-tag "$tag" -d -t "$title" -F "$NOTES" "$release_apk" "$legacy_apk" "out/app-debug.apk"
|
||||
gh release create --verify-tag "$tag" -d -t "$title" -F "$NOTES" "$release_apk" "out/app-debug.apk"
|
||||
|
||||
rm -f "$release_apk" "$legacy_apk"
|
||||
rm -f "$release_apk"
|
||||
}
|
||||
|
||||
usage() {
|
||||
|
||||
Reference in New Issue
Block a user