MyUpdater
Basically like Shortcuts Updater but much more lightweight, and basically much better
daboyScan med din iPhone for at installere
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.
Nyheder
Version 1.4
Fixed a slight bug.
Hvad den gør
53 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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 {
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra daboy
Du vil måske også kunne lide
Annonce