{"id":13572641,"url":"https://github.com/mxcl/AppUpdater","last_synced_at":"2025-04-04T10:31:01.424Z","repository":{"id":49968592,"uuid":"170758212","full_name":"mxcl/AppUpdater","owner":"mxcl","description":"Automatically update open source macOS apps from GitHub releases.","archived":false,"fork":false,"pushed_at":"2024-02-22T11:50:35.000Z","size":26,"stargazers_count":251,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T10:47:41.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mxcl.png","metadata":{"funding":{"github":"mxcl","patreon":"mxcl"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T21:07:26.000Z","updated_at":"2024-07-26T02:38:45.399Z","dependencies_parsed_at":"2024-07-26T02:50:11.513Z","dependency_job_id":null,"html_url":"https://github.com/mxcl/AppUpdater","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":0.09999999999999998,"last_synced_commit":"eccf36491b77b76f9bd678552c0a5de5691a7501"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxcl%2FAppUpdater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxcl%2FAppUpdater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxcl%2FAppUpdater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxcl%2FAppUpdater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mxcl","download_url":"https://codeload.github.com/mxcl/AppUpdater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247160331,"owners_count":20893811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T14:01:29.533Z","updated_at":"2025-04-04T10:31:01.125Z","avatar_url":"https://github.com/mxcl.png","language":"Swift","funding_links":["https://github.com/sponsors/mxcl","https://patreon.com/mxcl","https://www.patreon.com/mxcl"],"categories":["Swift"],"sub_categories":[],"readme":"# AppUpdater\n\nA simple app-updater for macOS, checks your GitHub releases for a binary asset\nonce a day and silently updates your app.\n\n## Caveats\n\n* We make no allowances for ensuring your app is not being actively used by the user\n    at the time of update. PR welcome.\n* Assets must be named: `\\(reponame)-\\(semanticVersion).ext`.\n* Will not work if App is installed as a root user.\n\n## Features\n\n* Full semantic versioning support: we understand alpha/beta etc.\n* We check the code-sign identity of the download matches the app that is\n    running before doing the update. Thus if you don’t code-sign I’m not sure what\n    would happen.\n* We support zip files or tarballs.\n\n# Support mxcl\n\nHey there, I’m Max Howell. I’m a prolific producer of open source software and\nprobably you already use some of it (for example, I created [`brew`]). I work\nfull-time on open source and it’s hard; currently *I earn less than minimum\nwage*. Please help me continue my work, I appreciate it 🙏🏻\n\n\u003ca href=\"https://www.patreon.com/mxcl\"\u003e\n\t\u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\"\u003e\n\u003c/a\u003e\n\n[Other ways to say thanks](http://mxcl.dev/#donate).\n\n[`brew`]: https://brew.sh\n\n## Usage\n\n```swift\npackage.dependencies.append(.package(url: \"https://github.com/mxcl/AppUpdater.git\", from: \"1.0.0\"))\n```\n\nThen:\n\n```swift\nimport AppUpdater\n\n@NSApplicationMain\nclass AppDelegate: NSObject, NSApplicationDelegate {\n    \n    let updater = AppUpdater(owner: \"your-github-username\", repo: \"your-github-repo-name\")\n\n    //NOTE this is optional, the `AppUpdater` object schedules a daily update check itself    \n    @IBAction func userRequestedAnExplicitUpdateCheck() {\n        updater.check().catch(policy: .allErrors) { error in\n            if error.isCancelled {\n                // promise is cancelled if we are already up-to-date\n            } else {\n                // show alert for this error\n            }\n        }\n    }\n}\n```\n\n## Alternatives\n\n* [Sparkle](https://github.com/sparkle-project/Sparkle)\n* [Squirrel](https://github.com/Squirrel/Squirrel.Mac)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxcl%2FAppUpdater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmxcl%2FAppUpdater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxcl%2FAppUpdater/lists"}