Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any plan to support linux? #245

Open
GiftShower opened this issue Feb 27, 2024 · 3 comments
Open

Is there any plan to support linux? #245

GiftShower opened this issue Feb 27, 2024 · 3 comments

Comments

@GiftShower
Copy link

It would be really nice to play with others, but linux too. MSFS itself runs on linux, so I think it should be possible to make this plugin also available.

@BenedettiLucca
Copy link

The problem with making it run on linux is the current incompatibility between WebView2 and wine/proton. If this wasn't the case i think it would run smoothly on linux.

Would also love to see linux support.

@vsTerminus
Copy link

Problem 1 seems to be the use of https://docs.rs/tauri-web-view/latest/web_view/ which as BenedettiLucca mentioned uses webview2 when compiling for Windows and WINE has extremely limited support for webview2 right now (certain versions of WINE can install the runtime and not much else)

Problem 2 is the SimConnect bindings which seem to require a Windows Visual Studio environment to build.

So if you try to compile on Linux with a native target you fail to compile the simconnect dependency, and if you try to cross-compile for Windows even if you could build simconnect you'd just end up with a webview2 ui that doesn't work.

(I could also be misunderstanding how this all works)

So basically we're waiting for one of

  1. The app moves away from webview2
  2. WINE gets better support for webview2
  3. The UI gets decoupled from the SimConnect components so the two can run separately, allowing the UI to be compiled natively for Linux
  4. Support gets added for Command Line options allowing us to effectively bypass the UI entirely

Or maybe there are other/better options. I dunno. Unfortunately I don't think I'm able to do any of those things myself.

@Creative-Difficulty
Copy link

Number 3 would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants