ceifa / steamworks.js

A steamworks implementation for nw.js/electron games
MIT License
397 stars 64 forks source link

Tauri integration #71

Open antharuu opened 1 year ago

antharuu commented 1 year ago

Currently, steamworks.js only works with Electron for desktop applications. However, Tauri is an interesting alternative to Electron that offers improved security and a smaller package size. So we would like to propose an application to integrate Tauri with steamworks.js.

Tauri is a platform for building cross-platform desktop applications using web technologies such as Rust, HTML, CSS and JavaScript. It offers a secure environment by default, with sandboxing and a strong security policy. In addition, Tauri generates smaller binaries than those generated by Electron, which can be an advantage for developers looking to optimize the size of their application.

I understand that this integration may require significant changes to the steamworks.js code, but I think it's worth exploring this possibility. So I would like to ask the steamworks.js developers to look into the possibility of integrating Tauri for desktop applications.

I hope you will take this request into consideration and consider Tauri integration for desktop applications.

real2two commented 1 year ago

+1

DrummerSi commented 1 year ago

Tauri integration would require a complete re-write in a different language, as I believe Tauri utilises a Rust backend, not Node... Essentially you'd have to port this project to a new one

arthuro555 commented 1 year ago

You can already use steamworks-rs, which is what this library is based on. It'd likely be more idiomatic Tauri to do native things in rust land than in js anyways.