dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Assets aren't loading when bundling desktop app

Open I-ABD-I opened this issue 7 months ago • 0 comments

Problem When running a bundled dioxus app it runs without any assets I believe it is because dioxus searches for the assets in the wrong place as when I unpack the appimage I can find them at /usr/lib/Gui/assets

Steps To Reproduce

Steps to reproduce the behavior:

  • bundle a linux app with assets
  • try and run the bundle

Expected behavior

Loaded assets and stylesheets

Environment:

  • Dioxus version: 0.6.3
  • Rust version: 1.87.0
  • OS info: wsl 2.4.13.0
  • App platform: desktop

I need this for a school project I'm running wayland from my main laptop (not the current one in testing the bundle in) and when I tried to run the app I built there on this it said missing some wayland dll and a libc dll if you could help me build it such that it works both on wayland and x11 that would be great and I'm not going to need the bundle

I-ABD-I avatar May 20 '25 21:05 I-ABD-I