Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different release profiles for desktop and server builds #3693

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Feb 4, 2025

In release builds, both desktop and server builds were using the same target and profile so they output their binary to the same location. This was causing either the server or the client to be used for both bundles. This PR fixes the issue by introducing release variants of the desktop and server profiles. Now when the server and desktop targets are built they output to a separate profile folder inside of /target

Fixes #3689
Fixes #3600

@ealmloff ealmloff added bug Something isn't working desktop Suggestions related to the desktop renderer cli Related to the dioxus-cli program fullstack related to the fullstack crate labels Feb 4, 2025
@ealmloff ealmloff requested a review from a team as a code owner February 4, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program desktop Suggestions related to the desktop renderer fullstack related to the fullstack crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundled fullstack desktop apps don't work (Linux, Windows) dx bundle does not respect --profile
1 participant