-
Notifications
You must be signed in to change notification settings - Fork 42
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
Discussion: Packaging #172
Comments
If one of us has the energy, it would be nice to make a little graphical launcher: https://docs.nodegui.org/ is a lightweight alternative to Electron |
Yup, I had a PR open for adding Electron #42 but it didn't get any attention so I assumed others didn't dig it. The only really big concern I have is that we don't have an auto-updater, and most of the butts I know irl don't update their Patchwork unless I beg them to. Evil idea: if we build an Electron installer, make it stop working after 90 days so that people are absolutely forced to update. 😈 |
Signal messenger actually does this lol. |
I'm very much tending away from Electron. Maybe nodegui is the answer as @cinnamon-bun said? |
Electron has consistently been a pain in my ass, and I hate working with it, but it's the only solution I've found that lets us compile native modules and pack them into an ASAR archive without constant trouble. It's also how Patchwork and Patchbay work, and so we already have all of the configs written and battle-tested in Patchwork. I've banged my head against pkg and nexe and a few other "node compiler" apps for dozens of hours and not made any progress. If someone would like to use nodegui (packer) I'd be supportive, but personally I don't think it's something I can spend any more sanity trying to explore. 😵 |
No problem. I don't really have any knowledge in this area so happy to defer to those that do. |
I'm just wondering whether we should package something up on the next "stable" release. I think there's probably a silent majority of people who don't want to wrestle with npm but want to try Oasis but could be tempted into contributing if they like the concept. Could we use an additional label to prioritise the important issues e.g. #47 #205 and #208 before an initial packaged release. I feel like Patchwork Parity has become a slightly more ambitious list than we actually need. Then perhaps we could recruit people from the community to work together on each issue. I won't call it a "sprint" but maybe more an amble towards the specific goal of a packaged release with a minimum set of features without goalposts that keep moving. Then we list Oasis on the Scuttlebutt website or anywhere else there are lists of SSB clients. |
Rômulo Alves has got Oasis working on Android! They posted about it on SSB.
|
I just had a really silly idea: what if we just distribute a
Bonus points for pre-installing These were build with the code in #251. I think if you unzip the directory then you should be able to double-click the On my machine, double-clicking a shell script did nothing, so I had to tell my computer to prompt me to run it with:
Anyway -- is this a dead end, or something worth exploring? |
(Just updated my above comment with new binaries -- the old ones weren't working correctly.) |
I think it is worth exploring. But what happens when there's a build error? A non-technical person is just stuck at that point. |
I agree that it's best to do the least building on their machine, and since we have prebuilds for our native modules we shouldn't have to deal with that, but whenever we ship binaries to someone's machines we have a risk that they won't work. Ideally we can build |
Can we close this now? We have two ways of packaging now:
|
I'd like to have #251 merged or have the Oasis-Desktop more usable before closing this, if possible. I don't think I'd be comfortable recommending either option to non-programmer friends yet. |
#251 is merged now. |
Yup! And Oasis-Desktop works too, which is much easier to use than the binary thing I worked on. Now all we need is some install instructions in the readme pointing to https://github.com/fraction/oasis-desktop/releases/latest |
Perhaps, one day we can have a simple website that helps you download in a visually nicer way than Github. |
I think this is ready to close now that oasis-desktop is a thing that works. 🎆 |
Once everything on the Roadmap is done, should we perhaps package up a stable release? If we could do a cross platform release like Patchwork, that would be amazing.
I've been using Oasis as my day to day SSB client and I've had few issues. I think we need to attract more users and therefore more developers for the low hanging fruit.
@christianbundy I think you identified some issues with packaging before but I can't find what you said. Perhaps it was on SSB.
All I'm gonna say, is if we have to go electron... it's a price we have to pay 😩 😢
Maybe if we improved some of the documentation and linked to some good sources for getting setup with node on different operating systems, anyone who is vaguely techy-y can use that.
The text was updated successfully, but these errors were encountered: