Skip to content

Commit

Permalink
Add script migration notice
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Jan 18, 2024
1 parent a7a35ee commit 14cd6de
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
5 changes: 4 additions & 1 deletion mh-metric.user.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,6 +9,7 @@
// @icon https://i.mouse.rip/mouse.png
// @grant none
// @run-at document-end
// @require https://cdn.jsdelivr.net/npm/[email protected]
// ==/UserScript==

((function () {
Expand Down Expand Up @@ -103,4 +104,6 @@
setTimeout(replaceMouseOverlay, 500);
}
});

migrateUserscript('🐭️ MouseHunt - Metric', 'https://greasyfork.org/en/scripts/449840-mousehunt-metric');
})());
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mh-metric",
"version": "1.0.2",
"version": "1.1.0",
"description": "",
"main": "mh-metric.user.js",
"scripts": {
Expand Down

0 comments on commit 14cd6de

Please sign in to comment.