mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-14 07:35:07 +01:00
parent
317fb94198
commit
d296e27659
@ -628,7 +628,7 @@ if [ "$GAPPS_BRAND" != 'none' ]; then
|
|||||||
sudo patchelf --replace-needed libdl.so "../linker/$HOST_ARCH/libdl.so" "$WORK_DIR"/magisk/magiskpolicy || abort
|
sudo patchelf --replace-needed libdl.so "../linker/$HOST_ARCH/libdl.so" "$WORK_DIR"/magisk/magiskpolicy || abort
|
||||||
sudo patchelf --set-interpreter "../linker/$HOST_ARCH/linker64" "$WORK_DIR"/magisk/magiskpolicy || abort
|
sudo patchelf --set-interpreter "../linker/$HOST_ARCH/linker64" "$WORK_DIR"/magisk/magiskpolicy || abort
|
||||||
chmod +x "$WORK_DIR"/magisk/magiskpolicy || abort
|
chmod +x "$WORK_DIR"/magisk/magiskpolicy || abort
|
||||||
sudo "$WORK_DIR"/magisk/magiskpolicy --load "$MOUNT_DIR"/vendor/etc/selinux/precompiled_sepolicy --save "$MOUNT_DIR"/vendor/etc/selinux/precompiled_sepolicy "allow gmscore_app gmscore_app vsock_socket { create connect write read }" "allow gmscore_app device_config_runtime_native_boot_prop file read" "allow gmscore_app system_server_tmpfs dir search" "allow gmscore_app system_server_tmpfs file open" || abort
|
sudo "$WORK_DIR"/magisk/magiskpolicy --load "$MOUNT_DIR"/vendor/etc/selinux/precompiled_sepolicy --save "$MOUNT_DIR"/vendor/etc/selinux/precompiled_sepolicy "allow gmscore_app gmscore_app vsock_socket { create connect write read }" "allow gmscore_app device_config_runtime_native_boot_prop file read" "allow gmscore_app system_server_tmpfs dir search" "allow gmscore_app system_server_tmpfs file open" "allow gmscore_app system_server_tmpfs filesystem getattr" "allow gmscore_app gpu_device dir search" || abort
|
||||||
echo -e "Integrate GApps done\n"
|
echo -e "Integrate GApps done\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ if brand == "OpenGApps":
|
|||||||
j = json.loads(res.content)
|
j = json.loads(res.content)
|
||||||
link = {i["name"]: i for i in j["archs"][abi_map[arch]]
|
link = {i["name"]: i for i in j["archs"][abi_map[arch]]
|
||||||
["apis"][release]["variants"]}[variant]["zip"]
|
["apis"][release]["variants"]}[variant]["zip"]
|
||||||
# print(f"JSON={j}", flush=True)
|
|
||||||
DATE=j["archs"][abi_map[arch]]["date"]
|
DATE=j["archs"][abi_map[arch]]["date"]
|
||||||
print(f"DATE={DATE}", flush=True)
|
print(f"DATE={DATE}", flush=True)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
Reference in New Issue
Block a user