Migrate native app from Tauri v1 to v2#1649
Open
grMLEqomlkkU5Eeinz4brIrOVCUCkJuN wants to merge 1 commit into
Open
Migrate native app from Tauri v1 to v2#1649grMLEqomlkkU5Eeinz4brIrOVCUCkJuN wants to merge 1 commit into
grMLEqomlkkU5Eeinz4brIrOVCUCkJuN wants to merge 1 commit into
Conversation
Builds the desktop app against webkit2gtk-4.1 (in the official repos) instead of the removed webkit2gtk-4.0, so it no longer needs the old library compiled from source. - Bump tauri and tauri-build to 2; split the v1 api-all surface into the plugins actually used (fs, dialog, updater, process) - Convert tauri.conf.json to the v2 schema and add capabilities - Port the frontend to the v2 plugin imports and the new fs, updater, and window APIs - Drop window-shadows in favour of the built-in window shadow - Pin tauri-runtime 2.10.1 and wry 0.54.0 to match the published tauri-runtime-wry 2.10.1; newer versions of either break the build - Update CI to libwebkit2gtk-4.1-dev and the v2 signing env vars
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
tauriandtauri-buildto2; split the v1api-allsurface into the plugins actually used (fs,dialog,updater,process)tauri.conf.jsonto the v2 schema and add capabilitiesfs,updater, andwindowAPIswindow-shadowsin favour of the built-in window shadowtauri-runtime2.10.1andwry0.54.0to match the publishedtauri-runtime-wry2.10.1; newer versions of either break the buildlibwebkit2gtk-4.1-devand the v2 signing environment variablesMotivation
Builds the desktop app against webkit2gtk-4.1 (in the official repos) instead of the removed webkit2gtk-4.0, so it no longer needs the old library compiled from source. (It is incredibly annoying to wait for legacy version with no precompile binary on my i3 6th gen machine, but I understand that everyone are busy. <3)
Additional Context
Thank you for your time <3