CapSoftware / Cap

Open source Loom alternative. Effortless, instant screen sharing.
https://cap.so
GNU Affero General Public License v3.0
3.63k stars 169 forks source link

fix: build error on linux due to tauri-plugin-context-menu #12

Closed thisislvca closed 7 months ago

thisislvca commented 7 months ago

This PR fixes the following error when compiling tauri-plugin-context-menu on linux as discussed over on Discord: error[E0433]: failed to resolve: use of undeclared crate or module 'os'

Extended error:

error[E0433]: failed to resolve: use of undeclared crate or module `os`
  --> /home/luca/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-plugin-context-menu-0.5.0/src/lib.rs:60:9
   |
60 |         os::show_context_menu(context_menu, window, pos, items);
   |         ^^ use of undeclared crate or module `os`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `tauri-plugin-context-menu` (lib) due to previous error
vercel[bot] commented 7 months ago

@thisislvca is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.