Добавить MacSploit.sh
parent
c9ba29756c
commit
b11affca4e
|
@ -0,0 +1,72 @@
|
|||
main() {
|
||||
|
||||
echo -e " Done.\nWhitelist Status Verified."
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "Downloading Latest Roblox..."
|
||||
[ -f ./RobloxPlayer.zip ] && rm ./RobloxPlayer.zip
|
||||
local robloxVersionInfo=$(curl -s "https://clientsettingscdn.roblox.com/v2/client-version/MacPlayer")
|
||||
local versionInfo=$(curl -s "https://git.raptor.fun/main/version.json")
|
||||
|
||||
local mChannel=$(echo $versionInfo | ./jq -r ".channel")
|
||||
local version=$(echo $versionInfo | ./jq -r ".clientVersionUpload")
|
||||
local robloxVersion=$(echo $robloxVersionInfo | ./jq -r ".clientVersionUpload")
|
||||
|
||||
if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ]
|
||||
then
|
||||
curl "http://setup.rbxcdn.com/mac/$robloxVersion-RobloxPlayer.zip" -o "./RobloxPlayer.zip"
|
||||
else
|
||||
curl "http://setup.rbxcdn.com/mac/$version-RobloxPlayer.zip" -o "./RobloxPlayer.zip"
|
||||
fi
|
||||
|
||||
rm ./jq
|
||||
echo -n "Installing Latest Roblox... "
|
||||
[ -d "/Applications/Roblox.app" ] && rm -rf "/Applications/Roblox.app"
|
||||
unzip -o -q "./RobloxPlayer.zip"
|
||||
mv ./RobloxPlayer.app /Applications/Roblox.app
|
||||
rm ./RobloxPlayer.zip
|
||||
echo -e "Done."
|
||||
|
||||
echo -e "Downloading MacSploit..."
|
||||
curl "https://git.raptor.fun/main/macsploit.zip" -o "./MacSploit.zip"
|
||||
|
||||
echo -n "Installing MacSploit... "
|
||||
unzip -o -q "./MacSploit.zip"
|
||||
echo -e "Done."
|
||||
|
||||
echo -n "Updating Dylib..."
|
||||
if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ]
|
||||
then
|
||||
curl -Os "https://git.raptor.fun/preview/macsploit.dylib"
|
||||
else
|
||||
curl -Os "https://git.raptor.fun/main/macsploit.dylib"
|
||||
fi
|
||||
|
||||
echo -e " Done."
|
||||
echo -e "Patching Roblox..."
|
||||
mv ./macsploit.dylib "/Applications/Roblox.app/Contents/MacOS/macsploit.dylib"
|
||||
mv ./libdiscord-rpc.dylib "/Applications/Roblox.app/Contents/MacOS/libdiscord-rpc.dylib"
|
||||
./insert_dylib "/Applications/Roblox.app/Contents/MacOS/macsploit.dylib" "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer" --strip-codesig --all-yes
|
||||
mv "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer_patched" "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer"
|
||||
rm -r "/Applications/Roblox.app/Contents/MacOS/RobloxPlayerInstaller.app"
|
||||
rm ./insert_dylib
|
||||
|
||||
echo -n "Installing MacSploit App... "
|
||||
[ -d "/Applications/MacSploit.app" ] && rm -rf "/Applications/MacSploit.app"
|
||||
mv ./MacSploit.app /Applications/MacSploit.app
|
||||
rm ./MacSploit.zip
|
||||
|
||||
touch ~/Downloads/ms-version.json
|
||||
echo $versionInfo > ~/Downloads/ms-version.json
|
||||
if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ]
|
||||
then
|
||||
cat <<< $(./jq '.channel = "previewb"' ~/Downloads/ms-version.json) > ~/Downloads/ms-version.json
|
||||
fi
|
||||
|
||||
echo -e "Done."
|
||||
echo -e "Install Complete! Developed by Nexus42!"
|
||||
exit
|
||||
}
|
||||
|
||||
main
|
Loading…
Reference in New Issue