ShareShortcuts

MTerminal

It's a Terminal for iOS :D

toxbytes
Dupliquer « MTerminal »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que toxbytes soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
11K
Enregistré
1
Actions
121
Catégorie
API
Version
4.0
Langue
EN

It's a Terminal for iOS :D

Nouveautés

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

Historique des versions
4.0 19 oct. 2025

Added DEB commands witch allow for package instalation and allow adding them to the homescreen this is also the replacment to iJailShortcut

3.1 7 oct. 2025

Wuick bug fix with i genius not working

3.0 7 oct. 2025

Added iGenius main directory fix

2.0 19 sept. 2025

Added Custom CMD's AND a package maneger witch allows you to use iJailShortcut

1.0 17 sept. 2025

First release

Ce qu’il fait

121 actions
  1. Comment
    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 val…
  2. Ask for Input
    …:Terminal$
  3. Set Variable
    Entered-Command
  4. If
  5. Shut Down
  6. If
  7. If
  8. Shut Down
  9. If
  10. If
  11. Stop This Shortcut
  12. If
  13. If
  14. Replace Text
  15. Open URLs
  16. If
  17. If
  18. Replace Text
  19. Open App
  20. If
  21. If
  22. Get Device Details
  23. Get Device Details
  24. Get Device Details
  25. Get Device Details
  26. Text
  27. Show Alert
  28. If
  29. Dictionary
  30. Get Dictionary from Input
  31. If
  32. Run Shortcut
  33. If
  34. If
  35. Run Shortcut
  36. If
  37. If
  38. Run Shortcut
  39. If
  40. If
  41. Run Shortcut
  42. If
  43. If
  44. Run Shortcut
  45. If
  46. If
  47. Run Shortcut
  48. If
  49. If
  50. Run Shortcut
  51. If
  52. If
  53. Get Contents of Folder
  54. If
  55. Choose from List
  56. Add to Home Screen
  57. Shut Down
  58. If
  59. Show Web Page
  60. Dictionary
  61. Save File
  62. If
  63. If
  64. Show Alert
    A L E R T
  65. Text
  66. Add to Home Screen
  67. Shut Down
  68. Text
  69. Add to Home Screen
  70. If
  71. If
  72. Text
  73. Show Alert
    W E L C O M E
  74. Show Notification
    Installing iGenius_Unlocker Info
  75. Text
  76. Save File
  77. Text
  78. Save File
  79. Text
  80. Save File
  81. Wait
  82. Show Notification
    iGenius_Installer Info has completed
  83. Wait
  84. Show Notification
    Checking Compatibility...
  85. Text
  86. Wait
  87. If
  88. Show Alert
    Install F A I L E D
  89. If
  90. Show Notification
    Your Device is compatible
  91. Wait
  92. Show Notification
    Building Files...
  93. File
  94. Create Folder
  95. File
  96. Create Folder
  97. File
  98. Create Folder
  99. Create Folder
  100. Wait
  101. Text
  102. Show Alert
  103. Open URLs
  104. If
  105. If
  106. Show Notification
    Fetching Package...
  107. Replace Text
  108. Get Contents of URL
    …
  109. Get Dictionary from Input
  110. Repeat with Each
  111. Get Dictionary Value
  112. Save File
  113. Show Notification
    Building …...
  114. If
  115. If
  116. Replace Text
  117. Get Contents of Folder
  118. Get File
  119. Show Web Page
  120. If
  121. Run Shortcut
    MTerminal

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de toxbytes

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité