Merge pull request #1236 from cjs0131/fix-nativeshell-injection-race

Inject nativeshell script at the profile level to fix first-load race
This commit is contained in:
Niels van Velzen authored and GitHub committed 2026-08-31 09:43:51 +02:00
commit 2cb4a4456f
1 file changed
+1 -1
+1 -1
View File
@@ -275,7 +275,7 @@ Window
worldId: WebEngineScript.MainWorld
}
web.userScripts.collection = [ nativeshell ];
web.profile.userScripts.collection = [ nativeshell ];
}
onLoadingChanged: function(loadingInfo)