That's interesting, it should have just worked - if there's a detailed error message I'd love to hear it, as well as your Operating System version and anything else you might have.
I don't have Win11 to test it - does it give an error message? Like a missing dll or something?
(Tauri is an alternative to Electron built in Rust and, on Windows at least, uses Edge instead of Chrome - so I have no idea why it wouldn't run on Win11.)