mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 13:14:16 +01:00
Merge branch 'LSPosed:main' into master
This commit is contained in:
commit
facff36a4d
19
.github/workflows/magisk.yml
vendored
19
.github/workflows/magisk.yml
vendored
@ -189,11 +189,23 @@ jobs:
|
||||
with zipfile.ZipFile(out_file) as zip:
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagisk64.so", "magisk64", "magisk")
|
||||
extract_as(zip, f"lib/{ abi_map[arch][1] }/libmagisk32.so", "magisk32", "magisk")
|
||||
standalone_policy = False
|
||||
try:
|
||||
zip.getinfo(f"lib/{ abi_map[arch][0] }/libmagiskpolicy.so")
|
||||
standalone_policy = True
|
||||
except:
|
||||
pass
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagiskinit.so", "magiskinit", "magisk")
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagiskinit.so", "magiskpolicy", "magisk")
|
||||
if standalone_policy:
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagiskpolicy.so", "magiskpolicy", "magisk")
|
||||
else:
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagiskinit.so", "magiskpolicy", "magisk")
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libmagiskboot.so", "magiskboot", "magisk")
|
||||
extract_as(zip, f"lib/{ abi_map[arch][0] }/libbusybox.so", "busybox", "magisk")
|
||||
extract_as(zip, f"lib/{ abi_map['x64'][0] }/libmagiskinit.so", "magiskpolicy", ".")
|
||||
if standalone_policy:
|
||||
extract_as(zip, f"lib/{ abi_map['x64'][0] }/libmagiskpolicy.so", "magiskpolicy", ".")
|
||||
else:
|
||||
extract_as(zip, f"lib/{ abi_map['x64'][0] }/libmagiskinit.so", "magiskpolicy", ".")
|
||||
extract_as(zip, f"assets/boot_patch.sh", "boot_patch.sh", "magisk")
|
||||
extract_as(zip, f"assets/util_functions.sh", "util_functions.sh", "magisk")
|
||||
- name: Download OpenGApps
|
||||
@ -298,7 +310,8 @@ jobs:
|
||||
chmod 0755 /dev/wsa-magisk/magisk32
|
||||
copy /sbin/magiskinit /dev/wsa-magisk/magiskinit
|
||||
chmod 0755 /dev/wsa-magisk/magiskinit
|
||||
symlink ./magiskinit /dev/wsa-magisk/magiskpolicy
|
||||
copy /sbin/magiskpolicy /dev/wsa-magisk/magiskpolicy
|
||||
chmod 0755 /dev/wsa-magisk/magiskpolicy
|
||||
mkdir /dev/wsa-magisk/.magisk 700
|
||||
mkdir /dev/wsa-magisk/.magisk/mirror 700
|
||||
mkdir /dev/wsa-magisk/.magisk/block 700
|
||||
|
@ -18,7 +18,7 @@ https://user-images.githubusercontent.com/5022927/145696886-e13ebfc1-ff25-4410-8
|
||||
|
||||
## Text Guide
|
||||
|
||||
1. Star (if you like) and fork this repo
|
||||
1. Star (if you like) and fork this repo (keep it PUBLIC, private repo is not supported)
|
||||
1. Go to the **Action** tab in your forked repo
|
||||
![Action Tab](https://docs.github.com/assets/images/help/repository/actions-tab.png)
|
||||
1. In the left sidebar, click the **Build WSA** workflow.
|
||||
|
Loading…
Reference in New Issue
Block a user