Skip to content

Conversation

betamos
Copy link
Contributor

@betamos betamos commented Jan 2, 2025

From discussion on Discord. This PR checks that the path exists before shelling out to the "launcher". This helps with the common error that a file doesn't exist, and thus cannot be opened.

This is needed because we open files & urls "detached" in a separate thread, so we can't alert users if the action failed.

@betamos betamos requested a review from a team as a code owner January 2, 2025 23:32
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Package Changes Through 3e20861

There are 4 changes which include opener with patch, opener-js with patch, updater with patch, updater-js with patch

Planned Package Versions

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

package current next
api-example 2.0.11 2.0.12
api-example-js 2.0.8 2.0.9
opener 2.2.2 2.2.3
opener-js 2.2.2 2.2.3
updater 2.3.0 2.3.1
updater-js 2.3.0 2.3.1

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


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

@betamos betamos force-pushed the opener-err branch 2 times, most recently from 350fe5a to e76ebea Compare January 3, 2025 15:28
amrbashir
amrbashir previously approved these changes Jan 3, 2025
@betamos
Copy link
Contributor Author

betamos commented Jan 3, 2025

Thanks. Should be good to go. Let me know if there's something I need to do.

@amrbashir amrbashir merged commit a9ac1e3 into tauri-apps:v2 Jan 3, 2025
2 checks passed
gezihuzi pushed a commit to Hypobenthos/plugins-workspace that referenced this pull request Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants