diff --git a/README.md b/README.md index 2e0d183..3d08125 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://cloud.drone.io/api/badges/Shywim/github-repo-size/status.svg)](https://cloud.drone.io/Shywim/github-repo-size) [![Mozilla Add-on](https://img.shields.io/amo/v/github-repo-size.svg?style=flat-square)][amo] -[![UserScript](https://img.shields.io/badge/userscript-v1.2.0-blue.svg?style=flat-square)][openjs] +[![UserScript](https://img.shields.io/badge/userscript-v1.6.0-blue.svg?style=flat-square)][ujs] Add repository size to the Github's summary. @@ -15,8 +15,7 @@ innacurate due to how GitHub stores git repositories! See [here][soq] and ## Usage Download the addon from **[addons.mozilla.org][amo]** or, if you prefer, you -can download this project as a userscript on **[OpenUserJs][openjs]** (also -available on the [GitHub releases page][ghreleases]). +can download this project as a userscript from the **[GitHub releases page][ghreleases]**. ### Private Repositories @@ -35,7 +34,7 @@ addon or you can visit the addon's settings page (Firefox only). - Use `npm run webext` to have an automated build on changes [amo]: https://addons.mozilla.org/firefox/addon/github-repo-size/ -[openjs]: https://openuserjs.org/scripts/Shywim/GitHub_Repository_Size +[ujs]: https://github.com/Shywim/github-repo-size/releases/latest/download/github-repo-size.user.js [ghreleases]: https://github.com/Shywim/github-repo-size/releases [soq]: https://stackoverflow.com/a/8679592/1424030 [ghb]: https://git-blame.blogspot.fr/2012/08/bringing-bit-more-sanity-to-alternates.html diff --git a/manifest.json b/manifest.json index dfa6bb6..e9aaf5c 100644 --- a/manifest.json +++ b/manifest.json @@ -3,13 +3,13 @@ "name": "Github Repo Size", "author": "Matthieu Harlé", "homepage_url": "https://github.com/Shywim/github-repo-size", - "version": "1.5.0", + "version": "1.6.0", "description": "Add repository size to their github homepage.", "options_ui": { "page": "src/options.html", "browser_style": true }, - "applications": { + "browser_specific_settings": { "gecko": { "id": "github-repo-size@mattelrah.com" } diff --git a/package.json b/package.json index 016e0db..1c352bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-repo-size", - "version": "1.5.0", + "version": "1.6.0", "description": "Firefox addon to add repository size to their Github homepage", "main": "src/index.js", "scripts": { diff --git a/src/userscript.js b/src/userscript.js index d12b303..5d7cfdb 100644 --- a/src/userscript.js +++ b/src/userscript.js @@ -5,13 +5,13 @@ // @grant GM_getValue // @grant GM_setValue // @description Add repository size to their GitHub homepage -// @icon https://raw.githubusercontent.com/Shywim/github-repo-size/master/icon/48.png +// @icon https://raw.githubusercontent.com/Shywim/github-repo-size/master/icon/icon.svg // @homepageURL https://github.com/Shywim/github-repo-size // @supportURL https://github.com/Shywim/github-repo-size/issues // @author Matthieu Harlé // @copyright 2017, Matthieu Harlé (https://matthieuharle.com) // @license MIT; https://github.com/Shywim/github-repo-size/blob/master/LICENSE.md -// @version 1.2.0 +// @version 1.6.0 // ==/UserScript== /* global GM_getValue, GM_setValue */