Skip to content

Feature parity with tauri build #1437

@heyrict

Description

@heyrict

Specific Demand

Currently, dioxus has two building systems, dx build and dx bundle. While dx build is a wrapper around cargo build with side-effects, dx bundle is a wrapper around tauri_bundler::bundle::bundle_project.

What tauri does in tauri build is to Run side-effects in tauri_build::build(), check the config, then bundle_project(), and update the build binary/installer after bundling.

Currently, both two building commands lacks the side-effects from tauri, resulting in webview not properly bundled in the windows installer (see #1321), no app signing, and potentially some mobile/Mac related issues.

Implement Suggestion

The pre- and post-bundling side-effects should be implemented in either command, or preferrably use the same command for building (see #1387).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the dioxus-cli program

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions