I developed the application https://github.com/kostya-main/Aurora-tauri on the Windows operating system and decided to try to build it for other operating systems. I copied the pipeline example from the documentation and got the following errors (build logs in the archive). What am I doing wrong?
#Error while cross compiling application in Github Actions
2 messages · Page 1 of 1 (latest)
you'll have to guard the windows specific dependencies and code behind OS checks.
For the deps it's similar to https://github.com/kostya-main/Aurora-tauri/blob/master/src-tauri/Cargo.toml#L45-L46 but with 'cfg(windows)' for example.
In code you can guard it with #[cfg(windows)] if needed.
Looks like in your case it's mainly tauri-plugin-prevent-default