#Can't bundle a desktop app on Arch

1 messages · Page 1 of 1 (latest)

cyan forum
#

I'm using Arch. Dioxus version 0.6.1. The app is really simple slight modification from template.
Whenever I run dioxus bundle --platform desktop. I get an error:

   8.557s ERROR Failed to bundle project: BundlerError(
    Error {
        context: "error running build_appimage.sh",
        source: GenericError(
            "failed to run /home/patrik/Downloads/simple-timer/target/dx/simple-timer/bundle/linux/bundle/appimage/build_appimage.sh",
        ),
    },
)
   8.559s ERROR err=BundleFailed(BundlerError(error running build_appimage.sh

Caused by:
    `failed to run /home/patrik/Downloads/simple-timer/target/dx/simple-timer/bundle/linux/bundle/appimage/build_appimage.sh`))

This is my dioxus.toml.

[application]

# App (Project) Name
name = "simple-timer"

[bundle]
icon = ["assets/favicon.ico", "assets/favicon.png"]

[web.app]

# HTML title tag content
title = "simple-timer"

# include `assets` in web platform
[web.resource]

# Additional CSS style files
style = []

# Additional JavaScript files
script = []

[web.resource.dev]

# Javascript code file
# serve: [dev-server] only
script = []
cyan forum
#

I think the error occurs at this line: cp -r ../appimage_deb/data/usr "BundleTest.AppDir"
Because the folder doesn't exist.

cyan forum
#

Can confirm this doesn't happen on Ubuntu

cyan forum
#

anyone?

hidden vortex
#

hi, I had an issue on fedora where I had to use NO_STRIP=true dx bundle --release --platform=desktop but the assets wheren't bundled correctly
hope It can help ^^

novel hawk
cyan forum
#

Will do