Skip to content

Commit 74abf05

Browse files
Fix dock icon reverting to green after app launch
The app programmatically sets the dock icon via wxTaskBarIcon to BambuStudio-mac_256px.ico at startup, overriding the bundle Icon.icns. Now dev-build.sh also swaps the ico file with the orange-tinted version.
1 parent 7f6ef52 commit 74abf05

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

dev-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ cp -R "$APP_SRC" "$APP_DST"
5252
if [ -f "$PROJECT_DIR/resources/images/IconDev.icns" ]; then
5353
cp "$PROJECT_DIR/resources/images/IconDev.icns" "$APP_DST/Contents/Resources/Icon.icns"
5454
fi
55+
if [ -f "$PROJECT_DIR/resources/images/BambuStudioDev-mac_256px.ico" ]; then
56+
cp "$PROJECT_DIR/resources/images/BambuStudioDev-mac_256px.ico" "$APP_DST/Contents/Resources/images/BambuStudio-mac_256px.ico"
57+
fi
5558

5659
echo ""
5760
echo "✓ Installed: $APP_DST"
2.88 KB
Binary file not shown.

0 commit comments

Comments
 (0)