اطلاعیه

Collapse
هیچ اطلاعیه ای هنوز ایجاد نشده است .

جلوگیری از آپدیتهای آیتونز در مک

Collapse
X
 
  • فیلتر
  • زمان
  • نمایش
پاک کردن همه
new posts

  • جلوگیری از آپدیتهای آیتونز در مک

    به دلایل مختلف خیلی از کاربرها نمیخوان که آیتونز دانلودهای جدید مثل فرم ویرها رو بگیره.یا مثلا برای کسی آیفونش رو جیل برک کردید و نمیخواید اشتباها با هر پیغام آیتونزی ،آپدیت کنه و جیل برک یا آنلاکش بپره.این کد برای مک هست و پرمیشن شاخه دانلود آیتونز رو عوض میکنه تا دانلود اتفاق نیافته .این کدها رو توی یک فایل با پسوند sh ذخیره کنید و اونو توی مک اجرا کنید
    منبع:لایف هکر
    کد PHP:
     #!/bin/bash
    clear
    echo "This script will chmod the download locations for Firmware Files, So iTunes can not download firmware."
    echo "AKA it will prevent iTunes from auto updating your device."
    echo ""
    echo ""
    echo "To restore firmware just hold down option and manually select the firmware file."
    echo ""
    clear
    echo "Made By: Wesley K"
    echo "wesley@wesleyk.me"
    echo "http://wesleyk.me"
    echo "http://wesleyk.me/twitter"
    sleep 2
    read 
    -sn 1 -"Press any key to continue..."
    clear
    echo "Now I need your password to continue"
    echo "Killing iTunes now"
    sudo -v
    sudo killall 
    -9 iTunes
    sleep 2
    clear

    echo "Im going to make all the folder needed to future proof a few things"
    echo "If errors occur here, No big deals."
    sudo mkdir ~/Library/iTunes/iPadSoftwareUpdates/
    sudo mkdir ~/Library/iTunes/iPodSoftwareUpdates/
    sudo mkdir ~/Library/iTunes/iPhoneSoftwareUpdates/
    sleep 2
    clear

    echo "I am going to dump all the current files in your update folders."
    echo "This will prevent any updates from downloaded firmware."
    sudo rm -rf ~/Library/iTunes/iPadSoftwareUpdates/*
    sudo rm -rf ~/Library/iTunes/iPhone\ Software\ Updates/*
    sudo rm -rf ~/Library/iTunes/iPod\ Software\ Updates/*\
    sleep 2
    clear

    echo "Now preventing iTunes from downloading new firmwares."
    sudo chmod 444 ~/Library/iTunes/iPad\ Software\ Updates
    sudo chmod 444 ~/Library/iTunes/iPod\ Software\ Updates
    sudo chmod 444 ~/Library/iTunes/iPhone\ Software\ Updates
    sleep 2
    clear

    echo "Made By Wesley K"
    echo "Give me credit if you use it"
    echo "For safe measures I would run this script after iTunes updates, It shouldn't affect it but I don't know yet." 
    People!There is no way in the middle...
صبر کنید ..
X