Squirrel / Squirrel.Mac

:shipit: Cocoa framework for updating OS X apps :shipit:
MIT License
1.59k stars 128 forks source link

Add CDN based releases #219

Closed MarshallOfSound closed 6 years ago

MarshallOfSound commented 6 years ago

Fixes #64

This PR supersedes #211 and contains just a few extra fixes on top of it to satisfy the outstanding comments from @joshaber

MarshallOfSound commented 6 years ago

Please note the only place this touches the existing code path is the modification of the cache policy and timeout. Neither of which should have any negative impacts on existing users.

MarshallOfSound commented 6 years ago

Submodule changes are being reverted πŸ‘

MarshallOfSound commented 6 years ago

@joshaber Feedback addressed, the JSON structure is now in the README, it is also in the test docs πŸ‘

MarshallOfSound commented 6 years ago

Timeout removed and nil check comment addressed

zeke commented 6 years ago

Awesome!

What's the next step? Do we need to update Squirrel in https://github.com/electron/electron-frameworks ?

joshaber commented 6 years ago

Yup! I'll make a release of Squirrel next week and then we'll need to make a new release with that.

anaisbetts commented 6 years ago

This is the Hero We Deserveβ„’

zeke commented 6 years ago

@joshaber is the Squirrel release process documented somewhere? Maybe I can take a shot at it?

joshaber commented 6 years ago

Sorry for the delay!

It's not documented, but in theory it's carthage build --platform macos --no-skip-current && carthage archive. Lemme know if you run into any trouble @zeke. I'm keen to enable you all as much as possible πŸ˜„

zeke commented 6 years ago

Ok, first question: what's carthage :)

joshaber commented 6 years ago

It's a dependency manager for Cocoa: https://github.com/Carthage/Carthage. You should be able to brew install carthage.

MarshallOfSound commented 6 years ago

It's a bit of a pain to build Squirrel.Mac locally, you need to be running an old XCode version πŸ˜„ Here is a build from the latest master πŸ‘

Squirrel.framework.zip

EDIT: To be exact you need XCode 8.2