ShareShortcuts

Dra1n 2.0 Installer

dra1ndev
Fork “Dra1n 2.0 Installer”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so dra1ndev gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
16K
Saved
2
Actions
14
Category
API
Version
2.0
Language
EN

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.

Version History
2.0 Apr 15, 2025

Website maker, no file found fix, and new explore page.

1.1 Apr 13, 2025

OTA Updates, Discord help support, and users now exist in store!

1.0 Apr 12, 2025

First release

What it does

14 actions
  1. Choose from Menu
    Welcome to Dra1n!
  2. Choose from Menu
    Install Dra1n
  3. Show Alert
  4. Get Device Details
  5. Get Device Details
  6. Get Device Details
  7. Get Device Details
  8. Wait
  9. Show Alert
  10. Text
  11. Save File
  12. Open URLs
  13. Choose from Menu
    report issue
  14. Open URLs

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement