Skip to content

fix(bundler): stop bundling xdg-open and xdg-utils - #15804

Merged
FabianLars merged 2 commits into
devfrom
fix/appimage-xdg-utils
Aug 3, 2026
Merged

fix(bundler): stop bundling xdg-open and xdg-utils#15804
FabianLars merged 2 commits into
devfrom
fix/appimage-xdg-utils

Conversation

@FabianLars

@FabianLars FabianLars commented Aug 1, 2026

Copy link
Copy Markdown
Member

This rarely actually worked. xdg-open had a bunch of problems (see list below) but xdg-mime especially requires the host system to have xdg-mime / update-desktop-database or rather support for mime handling for this to properly work. In other words: there's no value in bundling them.

fixes #15430
fixes #10617
fixes #10078
fixes #6172 (or maybe not, that's too generic)

And yes this means that if the host system does not have these the relevant functionality breaks but this is not our problem to fix (though we could have a popup warning or something idk)

@FabianLars
FabianLars requested a review from a team as a code owner August 1, 2026 12:59
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through f9e8ec8

There are 14 changes which include tauri with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-bundler with minor, tauri-build with minor, tauri-macos-sign with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor, @tauri-apps/api with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.11.1 2.12.0
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.12.0
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars FabianLars added this to the 2.12 milestone Aug 1, 2026

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The theory sounds good, have no means to test this though

@FabianLars
FabianLars merged commit eaf9669 into dev Aug 3, 2026
21 checks passed
@FabianLars
FabianLars deleted the fix/appimage-xdg-utils branch August 3, 2026 07:09
@FabianLars

Copy link
Copy Markdown
Member Author

This likely still has issues because we're not cleaning up the env vars im the Command calls but issues caused by that should get worse by this pr.

I don't think linuxdeploy intercepts calls like the new appimage does so we'll have to fix this in the plugin instead but i'll double check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment