clayrisser / react-gtk

react Native bridge for gtk desktop applications
https://clayrisser.com
MIT License
316 stars 19 forks source link

How to package as snap or flatpack #23

Closed actuallyabhi closed 4 years ago

actuallyabhi commented 4 years ago

Hii jam! I just finished my simple app with react-gtk . But i confused how to distribute this. Please help..

clayrisser commented 4 years ago

@mabhishek7081 I have not setup packaging yet, but if you are willing to share your code, I would love to help you get it packaged. Is your code open source?

actuallyabhi commented 4 years ago

got it ! but while using react-gtk i am facing few issues like how to use packstart or pack end with Hbox here? i can't figure out it . i am really sorry for my stupid questions.'

        <Button label="Click Me!" borderWidth={50} />
        <SearchBar />
        <HBox />
      </Box>
clayrisser commented 4 years ago

I’m trying to make the api consistent with the official api. Until I get docs generated, I would recommend looking at the official docs.

The following book I would highly recommend, it covers the entire gtk api.

(This is my copy 😃)

image

Chapter 3 talks about packing.

image

clayrisser commented 4 years ago

You can find this book on amazon at this link

https://www.amazon.com/Foundations-Development-Experts-Voice-Source/dp/1590597931

clayrisser commented 4 years ago

It’s also quite possible that my current experimental api doesn’t support packing. I’ll make sure it’s supported in my next release .

actuallyabhi commented 4 years ago

Got my all queries resolved. Thanks a lot jam :) I love to contribute in this awesome project.

clayrisser commented 4 years ago

You should join the slack channel. I’d love to setup a call so I can go over how it all works. You can join the slack my sending me your email at the following link.

https://codejam.ninja/#hire