Skip to content

Commit 09561d7

Browse files
committed
fix: include pre-built device_page/dist in resources to fix empty Filament Manager
The `resources/web/device_page/dist/` directory was excluded from the repository by the `**/dist/` gitignore rule. All other web assets in `resources/web/` are pre-built static files committed directly to git, but `device_page/dist/` was only generated at CMake build time and never packaged into the Linux AppImage or macOS DMG releases. Add a gitignore exception to track `resources/web/device_page/dist/` and commit the pre-built assets (index.html, assets/index.{css,js}, img/**). This mirrors how all other embedded web pages in BambuStudio are shipped. The CMake `device_page_build` target will still rebuild these files on a full source build; the committed dist serves as the fallback that release packages rely on. Closes #10799 Closes #10806
1 parent 7b7b27a commit 09561d7

13 files changed

Lines changed: 85 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ compile_commands.json
3838
**/node_modules/
3939
.worktrees/
4040
**/dist/
41+
# Pre-built web assets for Filament Manager — committed so release packages include them
42+
!resources/web/device_page/dist/
43+
!resources/web/device_page/dist/**
4144

resources/web/device_page/dist/assets/index.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/web/device_page/dist/assets/index.js

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

resources/web/device_page/dist/img/machine_icon.svg

Lines changed: 10 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)