MyUpdater
Basically like Shortcuts Updater but much more lightweight, and basically much better
daboyEscanea con tu iPhone para instalar
Basically like Shortcuts Updater but much more lightweight, and basically much better. It works the same because I don’t want to confuse anyone. So just find how to use Shortcuts Updater, and do it but with this. If you need any help, tell me in the comments.
Novedades
Versión 1.4
Fixed a slight bug.
Qué hace
53 acciones-
Number
-
Get IP Address
-
If
-
Stop This Shortcut
-
If
-
Choose from MenuWhich do you want to do? (Messaging me shows your name to me, but if you don't trust me then you don't have to send anything.)
-
Choose from MenuCheck for updates
-
Get Contents of URLshareshortcuts.com/1444.update
-
Get Dictionary Value
-
Get Numbers from Input
-
If
-
Get Item from List
-
Text
-
Choose from Menu…
-
Choose from MenuYes
-
Get Dictionary Value
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuNo
-
Nothing
-
If
-
Show NotificationMyUpdater has no new updates.
-
Choose from MenuCheck for updates on any shortcut
-
Ask for InputWhat is the name of the shortcut? (Optional)
-
Ask for InputWhat is the version you are currently using on that shortcut? (Not optional)
-
Ask for InputWhat is the shareshortcuts ID? (Not optional. To find the ID look at the URL and find what comes before the name.)
-
Dictionary
-
Run ShortcutMyUpdater
-
Choose from MenuMessage developer
-
Send Email
-
Stop This Shortcut
-
Get Dictionary Value
-
Set VariableName
-
Get Dictionary Value
-
Set VariableVersion
-
Get Dictionary Value
-
Set VariableID
-
Replace Text
-
Get Contents of URLshareshortcuts.com/….update
-
Get Dictionary Value
-
Get Dictionary Value
-
If
-
Get Item from List
-
Text
-
Choose from Menu…
-
Choose from MenuYes
-
Get Dictionary Value
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuNo
-
Nothing
-
If
-
Nothing
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/web'
#include 'actions/network'
#define color green
#define glyph smileyFace
const CurrentVersion = 1.4
const CurrentIPAddress = getExternalIP()
if !CurrentIPAddress {
stop()
}
if !ShortcutInput {
menu "Which do you want to do? (Messaging me shows your name to me, but if you don't trust me then you don't have to send anything.) " {
item "Check for updates":
const ContentsOfURL = downloadURL("shareshortcuts.com/1444.update")
const CVersion = getValue(ContentsOfURL['Shortcut'], "Version")
const Version = getNumbers(CVersion)
if Version > CurrentVersion {
getFirstItem(ContentsOfURL['Changelog'])
menu {
item "Yes":
const DictionaryValue = getValue(ContentsOfURL['Shortcut'], "URL-download")
openURL(DictionaryValue)
stop()
item "No":
}
} else {
showNotification("MyUpdater has no new updates.", "Hm", false)
}
item "Check for updates on any shortcut":
const Name = prompt("What is the name of the shortcut? (Optional)")
const Version1 = prompt("What is the version you are currently using on that shortcut? (Not optional)", "Number")
const ID = prompt("What is the shareshortcuts ID? (Not optional. To find the ID look at the URL and find what comes before the name.)", "Number")
const Dictionary = {
"name": "{Name}",
"sharei": "{ID}",
"version": "{Version1}"
}
runSelf(Dictionary)
item "Message developer":
sendEmail(, "[email protected]", "", "")
}
stop()
}
@Name = ShortcutInput['name']
@Version = ShortcutInput['version']
@ID = ShortcutInput['shareid']
const ShortName = replaceText(" ", "", @Name)
const ContentsOfURL1 = downloadURL("shareshortcuts.com/{@ID}.update")
const Shortcut = getValue(ContentsOfURL1, "Shortcut")
const Version2 = getValue(Shortcut, "Version")
if Version2 > @Version {
getRandomItem(ContentsOfURL1['Changelog'])
menu {
item "Yes":
const DictionaryValue1 = getValue(Shortcut, "URL-download")
openURL(DictionaryValue1)
stop()
item "No":
nothing()
}
} else {
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de daboy
También te puede gustar
Publicidad