[PR #242] [CLOSED] [WIP] Adding Sparkle for auto-update #1074

Closed
opened 2026-05-05 07:03:58 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MonitorControl/MonitorControl/pull/242
Author: @the0neyouseek
Created: 6/14/2020
Status: Closed

Base: masterHead: feat/updates


📝 Commits (2)

  • c6fa570 🔧 [WIP] Adding Sparkle for auto-update
  • 282ab24 🔧 [WIP] Fix publish_release script

📊 Changes

9 files changed (+218 additions, -54 deletions)

View changed files

📝 Cartfile (+1 -0)
📝 Cartfile.resolved (+2 -1)
📝 MonitorControl.xcodeproj/project.pbxproj (+12 -2)
📝 MonitorControl/AppDelegate.swift (+2 -2)
📝 MonitorControl/Info.plist (+5 -1)
📝 MonitorControl/UI/Base.lproj/Main.storyboard (+31 -44)
📝 MonitorControl/UI/Base.lproj/MainMenu.xib (+10 -3)
📝 MonitorControlHelper/Info.plist (+1 -1)
scripts/publish_release.sh (+154 -0)

📄 Description

Add auto-update system based on Sparkle.

This PR is WIP do not merge yet

Using the Sparkle Framework we can have an auto-update system as well as multiple features like incremental updates, periodical check for updated version and more.

Adding a "Check for updates…" item in the app menu will enable user to check manually for updates.

The goal of this PR is to be able to handle publishing a new release to GitHub using a script (publish_release.sh) that would generate all required files for the update (updates.xml, MonitorContorl.dmg, so on).

Here's a list of things left to do :

  • Add Sparkle Framework
  • Add "Check for updates…" button
  • Script to generate and publish release [in progress]
    • Check if git tag already exist for release
    • Generate appcast item and add it to updates.xml
    • Create Github Release and upload dmg file
  • Handle Changelog
  • Setup Github Pages

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MonitorControl/MonitorControl/pull/242 **Author:** [@the0neyouseek](https://github.com/the0neyouseek) **Created:** 6/14/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/updates` --- ### 📝 Commits (2) - [`c6fa570`](https://github.com/MonitorControl/MonitorControl/commit/c6fa570e3862abae3f2350d79502908fc84c547a) :wrench: [WIP] Adding Sparkle for auto-update - [`282ab24`](https://github.com/MonitorControl/MonitorControl/commit/282ab2464df5e316aa79f924c6e9271ab9dd3510) :wrench: [WIP] Fix publish_release script ### 📊 Changes **9 files changed** (+218 additions, -54 deletions) <details> <summary>View changed files</summary> 📝 `Cartfile` (+1 -0) 📝 `Cartfile.resolved` (+2 -1) 📝 `MonitorControl.xcodeproj/project.pbxproj` (+12 -2) 📝 `MonitorControl/AppDelegate.swift` (+2 -2) 📝 `MonitorControl/Info.plist` (+5 -1) 📝 `MonitorControl/UI/Base.lproj/Main.storyboard` (+31 -44) 📝 `MonitorControl/UI/Base.lproj/MainMenu.xib` (+10 -3) 📝 `MonitorControlHelper/Info.plist` (+1 -1) ➕ `scripts/publish_release.sh` (+154 -0) </details> ### 📄 Description ## Add auto-update system based on [Sparkle](https://github.com/sparkle-project/Sparkle). *This PR is WIP do not merge yet* Using the [Sparkle Framework](https://github.com/sparkle-project/Sparkle) we can have an auto-update system as well as multiple features like incremental updates, periodical check for updated version and more. Adding a "Check for updates…" item in the app menu will enable user to check manually for updates. The goal of this PR is to be able to handle publishing a new release to GitHub using a script (`publish_release.sh`) that would generate all required files for the update (`updates.xml`, `MonitorContorl.dmg`, so on). Here's a list of things left to do : - [x] Add Sparkle Framework - [x] Add "Check for updates…" button - [ ] Script to generate and publish release [in progress] - [ ] Check if git tag already exist for release - [ ] Generate appcast item and add it to `updates.xml` - [ ] Create Github Release and upload dmg file - [ ] Handle Changelog - [ ] Setup Github Pages --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:03:58 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#1074
No description provided.