Run fwkeys server for 32-bit only

This commit is contained in:
LukeZGD 2023-02-12 10:06:44 +08:00
parent 99dd128bd6
commit c2c20739dd

View File

@ -1070,7 +1070,7 @@ download_file() {
} }
device_fw_key_check() { device_fw_key_check() {
# sets the variable device_fw_key # check and download keys for device_target_build, then set the variable device_fw_key
local keys_path="$device_fw_dir/$device_target_build" local keys_path="$device_fw_dir/$device_target_build"
log "Checking firmware keys in $keys_path" log "Checking firmware keys in $keys_path"
if [[ -e "$keys_path/index.html" ]]; then if [[ -e "$keys_path/index.html" ]]; then
@ -1960,6 +1960,7 @@ restore_futurerestore() {
local mac_ver=0 local mac_ver=0
local port=8888 local port=8888
if (( device_proc < 7 )); then
if [[ $platform == "macos" ]]; then if [[ $platform == "macos" ]]; then
mac_ver=$(echo "$platform_ver" | cut -c -2) mac_ver=$(echo "$platform_ver" | cut -c -2)
fi fi
@ -1978,6 +1979,7 @@ restore_futurerestore() {
httpserver_pid=$! httpserver_pid=$!
fi fi
popd >/dev/null popd >/dev/null
fi
restore_download_bbsep restore_download_bbsep
# baseband args # baseband args