-
Notifications
You must be signed in to change notification settings - Fork 39
Add Scratch Everywhere! to the repo #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
packages/io.github.scratcheverywhere
Outdated
|
|
||
| ## Usage instructions for webOS | ||
|
|
||
| Upload your Scratch projects (.sb3) with Dev Manager to your TV in `apps/usr/palm/applications/io.github.scratcheverywhere/projects/`, if the folder doesn't exist, create it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path starts with /media/developer. We don't really support cryptofs installations (yet?).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yeah, while making the port i was wondering what the best location for reading/writing user files would be, and my research on that was rather inconclusive as apparently apps can't access something like USB drives (or at least I don't think they can...?), so I just decided to place it inside the app folder. By the way, could you clarify what you mean by "cryptofs"? to my knowledge I don't think our project uses it, it uses the /media/developer/apps/usr/palm/applications/.../... path, which I don't know if that's what you're referring to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webOS has multiple locations to put apps/use/palm and I think he's referring to this.
Also webOS can access USB devices, which is located in /tmp/usb. However some devices has broken jail which prevents the app from accessing that mounting point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, thanks for the info!
By the way and just to confirm, do you support using /media/developer/apps/usr/palm/applications/<app>/<user files folder>, which is what the app is currently using? If not then I'd have to wait until the next beta release to change the path where it looks for the user's sb3 files. I'd like to know if there's actually a change that needs to be made or if this is just an observation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should be able to write to its own app directory.
|
How are you planning to generate manifests? FYI, the 30.1 IPK contains a static library: |
tbf no documentation was given on manifests, so I just took a look at manifests from other apps and assumed it would be something that I could just shove somewhere in our repo and just manually edit for every release (which is how we're updating the version number on our files anyway). I might do something like a github workflow and/or a python script in the future though.
Oh yeah, that's something our project requires to do on every CMake platform, because it needs to ensure curl is built with the right configuration (mostly enabling websockets support). |
|
@throwaway96 @mariotaku By the way, I still have one concern which I posted as a reply on the first review comment:
|
Check Results for io.github.scratcheverywhere.yml:Package Metadata
Compatibility CheckApp io.github.scratcheverywhere
scratch-webosOn Firmware 03.23.06.01, webOS 1.2.0, OTA ID: HE_DTV_WT1M_AFAAABAA
On Firmware 05.06.10.01, webOS 1.4.0, OTA ID: HE_DTV_WT1H_AFAAABAA
On Firmware 04.06.75.01, webOS 2.2.3, OTA ID: HE_DTV_W15M_AFAAABAA
On Firmware 05.60.30.01, webOS 3.4.0, OTA ID: HE_DTV_W16N_AFADABAA
On Firmware 06.19.80.01, webOS 3.9.2, OTA ID: HE_DTV_W17H_AFADABAA
On Firmware 05.50.15.01, webOS 4.4.2, OTA ID: HE_DTV_W18R_AFAAATAA
On Firmware 05.40.20.01, webOS 4.10.0, OTA ID: HE_DTV_W19P_AFADATAA
On Firmware 04.30.90.01, webOS 5.3.1, OTA ID: HE_DTV_W20L_AFAAJAAA
On Firmware 03.40.82.01, webOS 6.4.0, OTA ID: HE_DTV_W21P_AFADATAA
On Firmware 04.40.90.01, webOS 7.4.0, OTA ID: HE_DTV_W22O_AFABATAA
On Firmware 03.30.60.01, webOS 8.3.0, OTA ID: HE_DTV_W23O_AFABATAA
On Firmware 23.20.50.01, webOS 9.2.0, OTA ID: HE_DTV_W23O_AFABATAA
|
|
Did you remove |
Yeah, we'd have to wait until the next release for a new "stable" IPK. However, I have already applied the fix in the cmakelists for when that happens. |
mariotaku
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot the yml extension ;)
|
@Dogo6647 Does the program check for presence of those symbols like |
I figured out why it was doing that... Another maintainer built that ipk and it turns out it doesn't work, same thing for today's beta release which is how I found out about that issue. I'm going to talk to them to see if I can help them build working IPKs and provide a temporary working IPK I'll build myself in the meantime. EDIT: nvm, some recent change completely broke the webOS port and I can't produce functional builds anymore either |
btw i did manage to fix this issue |
|
Could it be choking on command line arguments? (Apps are run with a JSON string as the first argument.) Is it sensitive to the directory it's run from? Trying to access something not available when jailed? You can check the logs in |
Try |

👋 I'm the maintainer of the official webOS port for the Scratch Everywhere! app and would like to submit it to the homebrew channel. Let me know if any change/clarification is needed!