mirror of
https://github.com/SideStore/SideStore.git
synced 2026-03-27 04:45:39 +01:00
minimuxer: removed old minimuxer binaries fetch from the fetch script
This commit is contained in:
@@ -2861,7 +2861,6 @@
|
||||
A8A5A7F22F4C2CFC00572B4A /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
|
||||
A8A5A7F32F4C2CFC00572B4A /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
||||
A8A5AB682F4C2CFC00572B4A /* .last-prebuilt-fetch-em_proxy */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".last-prebuilt-fetch-em_proxy"; sourceTree = "<group>"; };
|
||||
A8A5AB692F4C2CFC00572B4A /* .last-prebuilt-fetch-minimuxer */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".last-prebuilt-fetch-minimuxer"; sourceTree = "<group>"; };
|
||||
A8A5AB6A2F4C2CFC00572B4A /* AltSign */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = AltSign; sourceTree = "<group>"; };
|
||||
A8A5AB6B2F4C2CFC00572B4A /* em_proxy.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = em_proxy.xcodeproj; sourceTree = "<group>"; };
|
||||
A8A5AB6C2F4C2CFC00572B4A /* fetch-prebuilt.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "fetch-prebuilt.sh"; sourceTree = "<group>"; };
|
||||
@@ -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;
|
||||
|
||||
28
Dependencies/fetch-prebuilt.sh
vendored
28
Dependencies/fetch-prebuilt.sh
vendored
@@ -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
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user