Live data from Hacker News

Sparkle: A software update framework for macOS

github.com

91–100 of 128 posts

Re: Sparkle: A software update framework for macOS

#91

Sparkles is a godsend. I use it on all my indie apps and it saves so much time. The best part is I could release with confidence knowing that I don’t have to ask for AppStore Review for each release. The new version with delta updates and flags for critical updates is amazing. 10/10

Thanks for that. As someone who is not a Mac user, let alone a developer, was wondering why it is useful given app stores exist.

Re: Sparkle: A software update framework for macOS

#92
post #83

Earlier quoted context omitted.

Windows installation system is so fundamentally different that it's hard to have a 1-size-fits-all update mechanism. When I shipped a cross-platform application, we used Sparkle on Mac, and a simple utility that downloaded and ran an MSI file for Windows. In general, I wouldn't worry too much about Sparkle being a vulnerability. It requires that your download servers are hacked: https://9to5mac.com/2017/05/08/handbra…

Currently I used Inno Setup to create a .exe installer on Windows and DropDMG to create a .dmg image on Mac. Presumably Sparkle and Winsparkle both use a similar update mechanism and that doesn't involve full Windows or Mac installers (otherwise, what would be the point?).

Sparkle works with a .dmg file, so you'd probably continue using DropDMG.

I can't speak much for Winsparkle; I remember looking at it and immediately concluding that it wouldn't work for us.

(FWIW: I ended up slipping in a few hacks so we could pop open browser windows on specific versions and commits, and even remotely kill them if needed.)

Re: Sparkle: A software update framework for macOS

#93
post #88

Earlier quoted context omitted.

Nowhere near as how many people use Chrome obviously, even on Mac.

Data from analytics.usa.gov [1] reveals that Chrome leads browser usage at 48%, closely followed by Safari at 35.7%, highlighting the competitive proximity of Safari to Chrome. Definitely much higher share than I thought. [1] https://analytics.usa.gov/

Those would almost entirely be from iPhones where all browsers are technically Safari

Re: Sparkle: A software update framework for macOS

#94

I write software for Mac and Windows (in C++/Qt). I put each new release out as a separate application for the user to install. Is there some equivalent to Sparkle that runs on both Mac AND Windows, so I don't have to integrate a separate system on each OS? Also I worry about update frameworks as way for bad guys to do bad things via my software. Should I be worried?

There is one that is .NET and cross platform (incl. Linux) here: https://github.com/NetSparkleUpdater/NetSparkle (disclaimer: I am the primary maintainer of this repository).

For C++, WinSparkle works too: https://github.com/vslavik/winsparkle/

Re: Sparkle: A software update framework for macOS

#95
post #51

Are you telling me macOS doesn't have a package manager already?

It has Homebrew, which many people use and is great. It also has its App Store but nobody uses it for anything non-trivial because it's so jailed.

> nobody uses it for anything non-trivial

I guess the Microsoft Office suite, LibreOffice, Adobe Lightroom, Pixelmator, Sketch, OmniGraffle, etc. are trivial?

Re: Sparkle: A software update framework for macOS

#96
post #4

This looks great. What would be the equivalent of this on Windows? It feels like everyone just invents their own.

Along with some of the other comments, there is NetSparkle for C#-based apps that is cross platform: https://github.com/NetSparkleUpdater/NetSparkle (disclaimer: I am the primary maintainer of this repository).

Re: Sparkle: A software update framework for macOS

#97
post #16

Earlier quoted context omitted.

I switched to MacPorts after becoming tired of Brew tainting my filesystem. MacPorts keeps things clean in /opt/. https://www.macports.org/ https://saagarjha.com/blog/2019/04/26/thoughts-on-macos-pack...

I used MacPorts back in the 00s and early 10s but switched to Homebrew when it came out because it was less hassle. Wanted to give it another shot with my latest clean OS install, but wound up installing Homebrew again due to broken packages on MacPorts. Probably should’ve tried to contribute by fixing those packages but didn’t have the time or mental energy available at that point in time.

How is it less hassle.

Installation is similar just a standard mac install. apps are the same.

The only difference is that Homebrew gets confused if you install your code or another build in /usr/local oh and Homebrew forces you to use non standard permissions on /usr/local

Re: Sparkle: A software update framework for macOS

#98

This makes me somewhat nostalgic for the days when I would regularly encounter software that used Sparkle for updates. The days when I’d mostly use downloadable native software for my Mac. The days when most of the software I regularly used had a somewhat consistent UX.

I miss Adium.

I still use Adium as an XMPP client. It has a fair share of bugs due to existing Cocoa APIs rotting, but it still works perfectly fine for the one XMPP server I browse (which has OMEMO encryption enabled!)

Re: Sparkle: A software update framework for macOS

#99

Earlier quoted context omitted.

So do I, so often. I made an Adiumy animation pack for my university that actually got mildly popular, and it was amazing. Such a quality app, and so nice when communication systems were standards not apps.

Well, they weren't really standards by design either, people just reverse engineered their protocols. One could still do that, it's just that... nobody does anymore?

The countless matrix bridges[1] to Discord, Slack, WhatsApp, etc. that are actively maintained, together with dozens of Pidgin plugins[2] serving similar purposes suggests otherwise.

Granted, I don't expect Pidgin plugins to be well maintained compared to the Matrix appservice bridges. But still, there is at least one protocol that bridges to almost everything, and that's Matrix. For several years I used Matrix as little more than a glorified IRC and Slack client.

[1] https://matrix.org/ecosystem/bridges/

[2] https://pidgin.im/plugins/?type=Protocol

Post reply on HN