Skip to content
Discussion options

You must be logged in to vote

hmm i don't see why that would be the case. The IPC should work the same 🤔 Not impossible of course since the security checks may be a bit different but i don't see how that could end up in such a difference.

I used build --release and found a key error message in dev-tools:

[Error] Refused to connect to ipc://localhost/plugin%3Awindow%7Cis_visible because it appears in neither the connect-src directive nor the default-src directive of the Content Security Policy.
[Warning] IPC custom protocol failed, Tauri will now use the postMessage interface instead – TypeError: Load failed (user-script:3, line 102)

My problem can be solved by adding below content to tauri.conf.json:

  "app": {
    "…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Horbin-Magician
Comment options

@Horbin-Magician
Comment options

Answer selected by Horbin-Magician
Comment options

You must be logged in to vote
5 replies
@Horbin-Magician
Comment options

@Think-M
Comment options

@Horbin-Magician
Comment options

@Think-M
Comment options

@Horbin-Magician
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants