Open-Jellycore
Open-Jellycore copied to clipboard
Magic variable not used as input to block
Describe the bug
In the following code from https://blog.routinehub.co/how-to-encode-images-in-base64-using-jellycuts/
import Shortcuts
selectPhoto(types: [Images], multiple: false) >> selectedImage
encode(input: selectedImage) >> base64EncodedImage
showResult(text: base64EncodedImage)
base64EncodedImage is not used as input to show results
To Reproduce
Steps to reproduce the behavior:
-
Create a file called x.jelly, and cut and paste the above code
-
jelly x.jelly --export --out u_x.shortcut
-
shortcuts sign --mode anyone --input u_x.shortcut --output x.shortcut
-
open -a Shortcuts x.shortcut
-
click "Add Shortcut"
-
In Shortcuts app, click on shortcut "x" to select
-
In Shortcuts app, click on shortcut "x" to open
-
see second and third boxes are not connected with a vertical line
-
run the app, and see it merely displays the string "base64EncodedImage" not the actually base 64 encoding of the image as a string
Expected behavior
Below is a screen shot from AppStore-Jellycuts showing second box feeding into third box When shortcut is run, it displays the base 64 coding, not the literal string "base64EncodedImage"
Screenshots
Information
jelly, shortcuts -sign, open, Shortcuts screenshot
- Device: [macBook Pro, 14 inch, 2021]
- OS: [Sonoma 14.5]
- Jellycuts Version [??? jelly has no way to display version] (Can be found in Settings -> About)
- Jailbroken? [No]
screen shot AppStore Jellycuts
- Device: [iPhoneSE]
- OS: [iOS 17.5.1]
- Jellycuts Version [v2.3(0)]
- Jailbroken? [Yes / No]