chore(branding): point firmware at wevisto.com
Flip APP_BASE_URL and the on-screen "go to <domain>/setup/..." text in the rendered setup_bg images from pictureframe.edholm.me to wevisto.com. Per the dual-domain migration plan (Option C — server keeps both alive indefinitely), this only affects newly-flashed units; field devices on the old URL keep working against the same backend. Regenerated both panels' setup_bg.bin via gen_screens*.py so the embedded URL in the on-screen QR overlay text matches the firmware's runtime poll URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ import os, sys
|
||||
|
||||
# URL for the user manual QR baked into Step 1/2. Static on purpose —
|
||||
# changing it requires regenerating the bg images + uploadfs.
|
||||
MANUAL_URL = "https://pictureframe.edholm.me/help"
|
||||
MANUAL_URL = "https://wevisto.com/help"
|
||||
|
||||
# ── Display ──────────────────────────────────────────────────────────────────
|
||||
W, H = 800, 480
|
||||
@@ -386,7 +386,7 @@ def gen_setup():
|
||||
url_y = BODY_Y + 278
|
||||
draw.rectangle([28, url_y, 284, url_y+32], fill=BK)
|
||||
draw.text((38, url_y+4), "URL", font=F_TINY, fill=GR)
|
||||
draw.text((38, url_y+16), "pictureframe.edholm.me/setup/...", font=ttf("DejaVuSans.ttf", 10), fill=WH)
|
||||
draw.text((38, url_y+16), "wevisto.com/setup/...", font=ttf("DejaVuSans.ttf", 10), fill=WH)
|
||||
|
||||
# Progress track
|
||||
prog_y = BODY_Y + 328
|
||||
|
||||
@@ -21,7 +21,7 @@ from PIL import Image, ImageDraw, ImageFont
|
||||
import qrcode
|
||||
import os, sys
|
||||
|
||||
MANUAL_URL = "https://pictureframe.edholm.me/help"
|
||||
MANUAL_URL = "https://wevisto.com/help"
|
||||
|
||||
W, H = 1200, 1600
|
||||
|
||||
@@ -388,7 +388,7 @@ def gen_setup():
|
||||
underline_x + text_w, underline_y + 6], fill=GR)
|
||||
|
||||
text_center(draw, W // 2, BODY_Y + 170, "Scan the QR to link this frame", F_STEP_B, BK)
|
||||
text_center(draw, W // 2, BODY_Y + 210, "to your pictureframe.edholm.me account.", F_STEP, BK)
|
||||
text_center(draw, W // 2, BODY_Y + 210, "to your wevisto.com account.", F_STEP, BK)
|
||||
|
||||
# Setup QR with decorative border + green/black double frame
|
||||
draw_qr_frame(draw, SETUP_QR_X, SETUP_QR_Y, SETUP_QR_PX, GR)
|
||||
|
||||
Reference in New Issue
Block a user