DioxusLabs / DioxusLabs/dioxus

Assets aren't loading when bundling desktop app

Open
#4,161 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.