Replies: 2 comments 11 replies
-
|
Hi, Just sharing how I do it. I have a branch named "app-loader" that I point my gh pages to. Then I merge in branches where I work on different things when I want to load them from my app loader. |
Beta Was this translation helpful? Give feedback.
-
|
I'd be interested to see what others think about this - you've had to do a lot of code to get that working! Personally I find that having the App Loader able to check versions and remind me only when I need to update an app is really useful. Out of interest, what's the reasoning behind manually creating the metadata in espruino/BangleApps@master...kidneyhex:BangleApps:install-app-from-files#diff-3b1e99bc6bdd9d53a60e32feb6ac9b5be61e9e77138bf6dd4d714ea05b9356a4R107-R119 - couldn't you just use the file as-is? I'd be a bit concerned that if we added any fields in the future it's unlikely that'd be updated and then the file upload might break. I'd have thought that not much work would be needed before calling
Just delete it - as long as you're serving from a server that has directory listings enabled (which is easy enough to do usually), the app loader will automatically load all the apps even without that file. It's what I do here (I have a few apps that aren't even in Git). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Would there be interest in adding an
Install App from Filesfeature to the App Loader?This would let you select an app's files directly and install them, without needing to manage branches or rebuild
apps.local.json.I've built a working version here:
Demo: https://kidneyhex.github.io/BangleApps/
Code: https://github.com/kidneyhex/BangleApps/tree/install-app-from-files
(Under "More..." there's a new "Install App from Files" button.)
I'm still testing edge cases, but it's working well so far. Initially I considered folder uploads, but that required a change to
espruinotools.js, so for now I'm using "select all" within a folder.Why
My BangleApps repo is a tangle of poorly named branches and commits, that I keep on my laptop out of shame for their unspeakable horror. And I constantly forget to rebuild
apps.local.jsoneach time I change branches.I'd rather just keep my temp apps in their own private folders/repos with just their own code, unless I plan on sharing them.
I know the App Forge app exists, but this just feels like a more complete and user-friendly option.
Beta Was this translation helpful? Give feedback.
All reactions