Skip to content

Commit e15d2a1

Browse files
committed
installer: fix branding BMPs to use Edge Impulse logo instead of project graph image
The previous header.bmp and welcome.bmp were generated from img/linux-collection.png which is a raw sensor data graph screenshot, not the Edge Impulse brand logo. Regenerate from studio/public/themes/default/png/logo.png (same source as the serial-daemon installer). Also update prepare-branding.ps1 to look for img/edge-impulse-logo.png first, falling back to the monorepo logo path.
1 parent 0d40192 commit e15d2a1

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

windows-installer/prepare-branding.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ Set-StrictMode -Version Latest
55
$ErrorActionPreference = 'Stop'
66

77
$repoRoot = Resolve-Path "$PSScriptRoot\.."
8-
$sourceImage = Join-Path $repoRoot "img\linux-collection.png"
8+
$sourceImage = Join-Path $repoRoot "img\edge-impulse-logo.png"
9+
# Fall back to the monorepo logo if running from within the edgeimpulse monorepo checkout
10+
if (-not (Test-Path $sourceImage)) {
11+
$sourceImage = Join-Path $repoRoot "studio\public\themes\default\png\logo.png"
12+
}
913
$brandingDir = Join-Path $PSScriptRoot "branding"
1014
$headerBmp = Join-Path $brandingDir "header.bmp"
1115
$welcomeBmp = Join-Path $brandingDir "welcome.bmp"

0 commit comments

Comments
 (0)