Отсканируй на iPhone, чтобы установить
Shortcut marketplace that you can upload and download from, and website builders and such coming next release!
Что нового
Версия 2.0
Website maker, no file found fix, and new explore page.
Что делает
Действий: 14-
Choose from MenuWelcome to Dra1n!
-
Choose from MenuInstall Dra1n
-
Show Alert
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Wait
-
Show Alert
-
Text
-
Save File
-
Open URLs
-
Choose from Menureport issue
-
Open URLs
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/documents'
#include 'actions/device'
#define color lightblue
#define glyph downloadArrow
menu "Welcome to Dra1n!" {
item "Install Dra1n":
confirm("This installer is split into 2 stages. This stage will gather all information needed for installation. Press OK to start it")
getDeviceDetail("")
getDeviceDetail("Device Model")
getDeviceDetail("System Version")
getDeviceDetail("Current Appearance")
wait(2)
confirm("Stage one is finished. Stage 2 will write specific files needed for Dra1n to run. Press OK to start it.")
const Text = "{}\n{}\n{}"
saveFile("drain/sys/info.txt", Text)
openURL("https://www.icloud.com/shortcuts/c0021116a0774bd782ace84400301c9b")
item "report issue":
openURL("https://forms.gle/uiq64sckkTrqWrLx5")
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от dra1ndev
Вам также может понравиться
Реклама