diff --git a/LICENSE.md b/LICENSE.md index 744b908..221015e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2022 Brad Parbs +Copyright (c) 2023 Brad Parbs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index dfe4627..9e15a41 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A Userscript for [MouseHunt](https://mousehuntgame.com) that displays measurements in metric. +> [!TIP] +> You should install [MouseHunt Improved](https://github.com/MHCommunity/mousehunt-improved) instead of this script, as it includes this functionality and tons more! + + ## Installation Install via [GreasyFork](https://greasyfork.org/en/scripts/449840-mousehunt-metric). diff --git a/mh-metric.user.js b/mh-metric.user.js index 2e0c601..3ae5732 100644 --- a/mh-metric.user.js +++ b/mh-metric.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 🐭️ MouseHunt - Metric -// @version 1.0.2 +// @version 1.1.0 // @description Convert mice weight to metric. // @license MIT // @author bradp @@ -9,6 +9,7 @@ // @icon https://i.mouse.rip/mouse.png // @grant none // @run-at document-end +// @require https://cdn.jsdelivr.net/npm/script-migration@1.1.1 // ==/UserScript== ((function () { @@ -103,4 +104,6 @@ setTimeout(replaceMouseOverlay, 500); } }); + + migrateUserscript('🐭️ MouseHunt - Metric', 'https://greasyfork.org/en/scripts/449840-mousehunt-metric'); })()); diff --git a/package-lock.json b/package-lock.json index acc6abb..ea543fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mh-metric", - "version": "1.0.2", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mh-metric", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "devDependencies": { "@wordpress/eslint-plugin": "^12.9.0", diff --git a/package.json b/package.json index 49809d3..11004cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mh-metric", - "version": "1.0.2", + "version": "1.1.0", "description": "", "main": "mh-metric.user.js", "scripts": {