MainActivity>SoftwareUpdateSimulatorInstall
This is a shortcut to update iOS for no reason and yes…
demoloopОтсканируй на iPhone, чтобы установить
This is a shortcut to update iOS for no reason and yes…
Что нового
Версия 1.0
First release
Что делает
Действий: 20-
Show NotificationChecking for updates... This may take 7 seconds.
-
Wait
-
Show AlertBuild and Details
-
Choose from MenuAre you sure?
-
Choose from MenuInstall Update
-
Ask for InputEnter the passcode if you can confirm that you will install the update.
-
If
-
Wait
-
Wait
-
Wait
-
Choose from MenuThe update is downloaded.
-
Choose from MenuRestart
-
Show NotificationVerifying update...
-
Wait
-
Set Wi-Fi
-
Run ShortcutiPhone Setup
-
Set Wi-Fi
-
Choose from MenuCancel
-
Choose from MenuCancel
-
Nothing
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/device'
#define color taupe
#define glyph paintbrush
showNotification("Checking for updates... This may take 7 seconds.", "Software Update", false)
wait(8)
alert("iOS {Device['System Version']} Beta - iOS beta gives you an early preview of upcoming apps, features, and technologies. Please back up your iPhone before you install the beta.\nFor more information, please visit one of the following programs:\nApple Beta Software Program at beta.apple.com\nApple Developer Program at developer.apple.com", "Build and Details")
menu "Are you sure?" {
item "Install Update":
const AskForInput = prompt("Enter the passcode if you can confirm that you will install the update.", "Number")
if AskForInput == 6396 {
wait(9)
wait(9)
wait(9)
menu "The update is downloaded." {
item "Restart":
showNotification("Verifying update...", false, AskForInput)
wait(8)
setWifi(0)
runSelf()
setWifi(1)
item "Cancel":
}
}
item "Cancel":
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от demoloop
Вам также может понравиться
Реклама