Shortcut marketplace that you can upload and download from, and website builders and such coming next release!
What's New
Version 2.0
Website maker, no file found fix, and new explore page.
What it does
14 actions-
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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")
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by dra1ndev
You Might Also Like
Advertisement