Escaneie com o iPhone para instalar
It's a Terminal for iOS :D
Novidades
Versão 4.0
Added DEB commands witch allow for package instalation and allow adding them to the homescreen this is also the replacment to iJailShortcut
O que ele faz
121 ações-
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
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/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)
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 toxbytes
Você também pode gostar
Publicidade