Skip to content

fix: run tauri's internal init scripts before user's scripts#12424

Merged
amrbashir merged 5 commits into
tauri-apps:devfrom
mattyg:feat/run-user-initialization-scripts-after-builtin-initialization-scripts
Jan 17, 2025
Merged

fix: run tauri's internal init scripts before user's scripts#12424
amrbashir merged 5 commits into
tauri-apps:devfrom
mattyg:feat/run-user-initialization-scripts-after-builtin-initialization-scripts

Conversation

@mattyg
Copy link
Copy Markdown
Contributor

@mattyg mattyg commented Jan 16, 2025

Closes #12404

I manually confirmed this resolves the issue on ubuntu 22.04, android, macos 14, ios 17, and windows 10.

@mattyg mattyg requested a review from a team as a code owner January 16, 2025 22:03
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 16, 2025

Package Changes Through cb9fca7

There are 1 changes which include tauri 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
tauri 2.2.2 2.2.3

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


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

Copy link
Copy Markdown
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

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

Thank you, just need to fix CI and this should be good to go.

@mattyg mattyg requested a review from amrbashir January 17, 2025 00:13
@amrbashir amrbashir changed the title fix: Run tauri's builtin initialization scripts before user-added initialization scripts fix: run tauri's internal init scripts before user's scripts Jan 17, 2025
@amrbashir amrbashir merged commit d2c8f0e into tauri-apps:dev Jan 17, 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.

[bug] Unable to call window.__TAURI_INTERNALS__.invoke from within an initialization_script

2 participants