From c09c29097383b43b48ec1942599ea4213f3ee0b9 Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Sun, 1 Mar 2026 01:19:37 +0530 Subject: [PATCH] minimuxer: removed old minimuxer binaries fetch from the fetch script --- AltStore.xcodeproj/project.pbxproj | 2 -- Dependencies/fetch-prebuilt.sh | 38 +++++------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj index a6d5520e..b044494b 100644 --- a/AltStore.xcodeproj/project.pbxproj +++ b/AltStore.xcodeproj/project.pbxproj @@ -2861,7 +2861,6 @@ A8A5A7F22F4C2CFC00572B4A /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = ""; }; A8A5A7F32F4C2CFC00572B4A /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; A8A5AB682F4C2CFC00572B4A /* .last-prebuilt-fetch-em_proxy */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".last-prebuilt-fetch-em_proxy"; sourceTree = ""; }; - A8A5AB692F4C2CFC00572B4A /* .last-prebuilt-fetch-minimuxer */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".last-prebuilt-fetch-minimuxer"; sourceTree = ""; }; A8A5AB6A2F4C2CFC00572B4A /* AltSign */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = AltSign; sourceTree = ""; }; A8A5AB6B2F4C2CFC00572B4A /* em_proxy.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = em_proxy.xcodeproj; sourceTree = ""; }; A8A5AB6C2F4C2CFC00572B4A /* fetch-prebuilt.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "fetch-prebuilt.sh"; sourceTree = ""; }; @@ -4211,7 +4210,6 @@ A8A5AB6B2F4C2CFC00572B4A /* em_proxy.xcodeproj */, A8A5A7F42F4C2CFC00572B4A /* em_proxy */, A8A5AB682F4C2CFC00572B4A /* .last-prebuilt-fetch-em_proxy */, - A8A5AB692F4C2CFC00572B4A /* .last-prebuilt-fetch-minimuxer */, A8A5AB6C2F4C2CFC00572B4A /* fetch-prebuilt.sh */, ); path = Dependencies; diff --git a/Dependencies/fetch-prebuilt.sh b/Dependencies/fetch-prebuilt.sh index 12b9b9b0..c3391cfe 100755 --- a/Dependencies/fetch-prebuilt.sh +++ b/Dependencies/fetch-prebuilt.sh @@ -75,28 +75,11 @@ check_for_update() { if [ "$FORCE_DOWNLOAD" = true ] || [ "$NOT_UPTODATE" = true ] ;then echo "downloading binaries" echo - if [[ "$1" != "minimuxer" ]]; then - wget -O "$1/lib$1-sim.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-sim.a" - wget -O "$1/lib$1-ios.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-ios.a" - wget -O "$1/$1.h" "https://github.com/SideStore/$1/releases/latest/download/$1.h" - wget -O "$1/$1.swift" "https://github.com/SideStore/$1/releases/latest/download/$1.swift" - echo - else - wget -O "$1/lib$1-sim.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-sim.a" - wget -O "$1/lib$1-ios.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-ios.a" - wget -O "$1/generated.zip" "https://github.com/SideStore/$1/releases/latest/download/generated.zip" - echo - echo "Unzipping generated.zip" - cd "$1" - unzip ./generated.zip - cp -v generated/* . - # Remove all files except ones that comes checked-in from minimuxer repository - find generated -type f ! -name 'minimuxer-Bridging-Header.h' ! -name 'minimuxer-helpers.swift' -exec rm -v {} \; - rm generated.zip - rmdir generated/ - cd .. - echo "Done" - fi + wget -O "$1/lib$1-sim.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-sim.a" + wget -O "$1/lib$1-ios.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-ios.a" + wget -O "$1/$1.h" "https://github.com/SideStore/$1/releases/latest/download/$1.h" + wget -O "$1/$1.swift" "https://github.com/SideStore/$1/releases/latest/download/$1.swift" + echo else echo "Up-to-date" fi @@ -106,13 +89,4 @@ check_for_update() { fi } -# Allow for Xcode to check minimuxer and em_proxy separately by skipping the update check if the other one is specified as an argument -if [[ "$1" != "em_proxy" ]]; then - check_for_update minimuxer "$1" - if [[ "$1" != "minimuxer" ]]; then - echo - fi -fi -if [[ "$1" != "minimuxer" ]]; then - check_for_update em_proxy "$1" -fi +check_for_update em_proxy "$1"