Scan with your iPhone to install
It's a Terminal for iOS :D
What's New
Version 4.0
Added DEB commands witch allow for package instalation and allow adding them to the homescreen this is also the replacment to iJailShortcut
What it does
121 actions-
CommentCommands: Restart Shut down Exit Browse:example.com Open:app-name About Package.Install RestartSpringBoard Install.iGenius_Pack DEB commands: Deb install:example-url.com (URL contents must be json file with the key being the package name and the val…
-
Ask for Input…:Terminal$
-
Set VariableEntered-Command
-
If
-
Shut Down
-
If
-
If
-
Shut Down
-
If
-
If
-
Stop This Shortcut
-
If
-
If
-
Replace Text
-
Open URLs
-
If
-
If
-
Replace Text
-
Open App
-
If
-
If
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Text
-
Show Alert
-
If
-
Dictionary
-
Get Dictionary from Input
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Run Shortcut
-
If
-
If
-
Get Contents of Folder
-
If
-
Choose from List
-
Add to Home Screen
-
Shut Down
-
If
-
Show Web Page
-
Dictionary
-
Save File
-
If
-
If
-
Show AlertA L E R T
-
Text
-
Add to Home Screen
-
Shut Down
-
Text
-
Add to Home Screen
-
If
-
If
-
Text
-
Show AlertW E L C O M E
-
Show NotificationInstalling iGenius_Unlocker Info
-
Text
-
Save File
-
Text
-
Save File
-
Text
-
Save File
-
Wait
-
Show NotificationiGenius_Installer Info has completed
-
Wait
-
Show NotificationChecking Compatibility...
-
Text
-
Wait
-
If
-
Show AlertInstall F A I L E D
-
If
-
Show NotificationYour Device is compatible
-
Wait
-
Show NotificationBuilding Files...
-
File
-
Create Folder
-
File
-
Create Folder
-
File
-
Create Folder
-
Create Folder
-
Wait
-
Text
-
Show Alert
-
Open URLs
-
If
-
If
-
Show NotificationFetching Package...
-
Replace Text
-
Get Contents of URL…
-
Get Dictionary from Input
-
Repeat with Each
-
Get Dictionary Value
-
Save File
-
Show NotificationBuilding …...
-
If
-
If
-
Replace Text
-
Get Contents of Folder
-
Get File
-
Show Web Page
-
If
-
Run ShortcutMTerminal
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/text'
#include 'actions/device'
/*
Commands:
Restart
Shut down
Exit
Browse:example.com
Open:app-name
About
Package.Install
RestartSpringBoard
Install.iGenius_Pack
DEB commands:
Deb install:example-url.com (URL contents must be json file with the key being the package name and the value is the URL of the package that will be added to springboard)
Deb open:installed.package.name
*/
const AskForInput = prompt("{Device['Name']}:Terminal$", false)
@EnteredCommand = AskForInput
if AskForInput == "Restart" {
shutdown()
} else {
if AskForInput == "Shut down" {
reboot()
} else {
if AskForInput == "Exit" {
stop()
} else {
if AskForInput contains "Browse:" {
const UpdatedText = replaceText("Browse:", "", AskForInput)
openURL(UpdatedText)
} else {
if AskForInput contains "Open:" {
const UpdatedText1 = replaceText("Open:", "", AskForInput)
openApp()
} else {
if AskForInput == "About" {
getDeviceDetail("")
getDeviceDetail("Device Hostname")
getDeviceDetail("Device Model")
getDeviceDetail("System Version")
confirm()
} else {
const Dictionary = {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"7": ""
}
const CustomCMDs = getDictionary(Dictionary)
if AskForInput == CustomCMDs['1'] {
run(CustomCMDs['1'], CustomCMDs)
} else {
if AskForInput == CustomCMDs['2'] {
run(CustomCMDs['2'], CustomCMDs)
} else {
if AskForInput == CustomCMDs['3'] {
run(CustomCMDs['3'], CustomCMDs)
} else {
if AskForInput == CustomCMDs['4'] {
run(CustomCMDs['4'], nil)
} else {
if AskForInput == CustomCMDs['5'] {
run(CustomCMDs['5'], CustomCMDs)
} else {
if AskForInput == CustomCMDs['6'] {
run(CustomCMDs['6'], CustomCMDs)
} else {
if AskForInput == CustomCMDs['7'] {
run(CustomCMDs['7'], CustomCMDs)
} else {
if @EnteredCommand == "Install.Package" {
const FolderContents = getFolderContents()
if FolderContents {
const SelectedItem = chooseFromList(FolderContents, "Welcome to iJailShortcut this menu allows you to install packages")
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"shortcut": "SelectedItem"
})
shutdown()
} else {
showWebpage("https://ijailbreakshortcut.tiiny.site", true)
const Dictionary1 = {
"Cydia": "",
"Shortcut Wide Web": "",
"iLinux": "",
"iSkin": ""
}
saveFilePrompt(Dictionary1['Cydia'])
}
} else {
if @EnteredCommand == "RestartSpringboard" {
alert("Do you want to continue? This will restart the springboard!", "A L E R T")
const Text = "iGenius Unlocker"
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"shortcut": "Text"
})
reboot()
const Text1 = "MTerminal"
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"shortcut": "Text1"
})
} else {
if @EnteredCommand == "Install.iGenius_Pack" {
alert(, "W E L C O M E")
showNotification("Installing iGenius_Unlocker Info", "iGenius Installer")
const AssetRecources = "Cydia"
saveFile("/iGenius_Temp/Assets/Application.Main.Pack.Name", AssetRecources, true)
const CustomTweakFolderSubpath = "/Cydia/Custom Tweaks"
saveFile("/iGenius_Temp/Assets/Custom_Tweaks_Subpath", CustomTweakFolderSubpath, true)
const TweaksInstalled_Folder_Subpath = "/Cydia/Tweaks.Installed"
saveFile("/iGenius_Temp/Assets/Tweaks.Installed_Subpath", TweaksInstalled_Folder_Subpath, true)
wait(20)
showNotification("iGenius_Installer Info has completed", "iGenius_Installer")
wait(0)
showNotification("Checking Compatibility...", "iGenius_Installer")
const SystemVersion = "{Device['System Version']}"
wait(3)
if SystemVersion contains "15" || SystemVersion contains "14" || SystemVersion contains "13" || SystemVersion contains "12" {
alert("Becuase:Your device is incompatible", "Install F A I L E D")
} else {
showNotification("Your Device is compatible", "iGenius_Installer")
}
wait(0)
showNotification("Building Files...", "iGenius_Installer")
file()
createFolder()
file()
createFolder()
file()
createFolder()
createFolder("/Cydia/Info")
wait(2)
confirm()
openURL("https://www.icloud.com/shortcuts/cbfe657e22d24d2bba9dbb7e4b2e815c")
} else {
if @EnteredCommand beginsWith "Deb install:" {
showNotification("Fetching Package...")
replaceText("Deb install:", "", @EnteredCommand)
const ContentsOfURL = downloadURL()
const FetchedPackage = getDictionary(ContentsOfURL)
for _ in FetchedPackage['Keys'] {
const PackageItem = getValue(FetchedPackage, @RepeatItem)
saveFile("/Debian/Packages/{@RepeatItem}", PackageItem, true)
showNotification("Building {@RepeatItem}...")
}
} else {
if @EnteredCommand beginsWith "Deb open:" {
replaceText("Deb open:", "", @EnteredCommand)
const FolderContents1 = getFolderContents()
getFile(, FolderContents1)
showWebpage()
} else {
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
runSelf(IfResult)
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 toxbytes
You Might Also Like
Advertisement