Fix deploy instructions: zip upload now required, not a single file
Since the static-overlay feature bundled images/static.gif, the app needs
its asset uploaded alongside the .star file. A single-file upload (the
old instructions) will fail to resolve the load("images/static.gif", ...)
path. Updated Deploy section to match ormakers-tronbyt's zip-upload
instructions; also gitignored *.zip as a build artifact.
This commit is contained in:
1 parent
5a54376f8e
commit
667899d258
2 files changed
+11
-4
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
.starcache/
|
.starcache/
|
||||||
*.gif
|
*.gif
|
||||||
*.webp
|
*.webp
|
||||||
|
*.zip
|
||||||
@@ -206,7 +206,13 @@ ever changes.
|
|||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
Upload `subwave_nowplaying.star` directly through your Tronbyt server's
|
On the Tronbyt server, go to the device's **Add App** page → **Upload app**,
|
||||||
"Upload app" button on a device's Add App page (single file, no bundled
|
and upload a zip of this repo's contents (`subwave_nowplaying.star` +
|
||||||
assets — no need to zip). Configure the Station URL field when adding it to
|
`images/`, zipped at the root, no extra parent folder) — it bundles
|
||||||
your device's schedule.
|
`images/static.gif` for the static-overlay effect, so a single-file upload
|
||||||
|
of just the `.star` file will fail. Configure the Station URL field when
|
||||||
|
adding it to your device's schedule.
|
||||||
|
|
||||||
|
```
|
||||||
|
zip -r subwave-nowplaying.zip subwave_nowplaying.star images/
|
||||||
|
```
|
||||||