proton-native icon indicating copy to clipboard operation
proton-native copied to clipboard

How to bundle and distribute the app

Open Sparkenstein opened this issue 4 years ago • 3 comments

Not sure if I missed something from reading docs, but is there a way to bundle and distribute binaries? electron-builder can generate .AppImage, .snap etc. Can we build such packages? If we can, is there a way to cross-compile packages as well. I am really considering using proton native for a huge open source project. I left PySide2 (python QT official wrapper) exactly because there's no good way available for bundling and distributing.

I see in some issues that you are experimenting with pkg or nexe. How is the progress?

PS: apart from bundling I'd like to help in documentation, the current docs are not really helpful for new comers. Are you planning to fix them soon or let me know if I can be of any help

Sparkenstein avatar Mar 05 '20 06:03 Sparkenstein

I believe Electron Builder also supports Proton Native; https://www.electron.build/configuration/configuration#proton-native

alizahid avatar Mar 14 '20 21:03 alizahid

As of v2 electron builder doesn't support Proton Native. Distribution is very tricky, but its not that high of a priority right now. I did get it to work with nexe: https://proton-native.js.org/#/packaging, but it isn't ideal. I want to keep on adding components. Feel free to contribute to the docs by just submitting a PR.

kusti8 avatar Mar 16 '20 19:03 kusti8

#283 if you want a rough idea of what you could do.

IngwiePhoenix avatar May 04 '20 08:05 IngwiePhoenix