Shortcut marketplace that you can upload and download from, and website builders and such coming next release!
Novidades
Versão 2.0
Website maker, no file found fix, and new explore page.
O que ele faz
14 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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")
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de dra1ndev
Você também pode gostar
Publicidade