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 f764f82 commit cc62e13
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) to automatically clicks the "Resume Hunting" button after solving a King's Reward.

> [!TIP]
> You should install [MouseHunt Improved](https://github.com/MHCommunity/mousehunt-improved) instead of this script, as it includes this functionality and tons more!

Check failure on line 8 in README.md

View workflow job for this annotation

GitHub Actions / build

Multiple consecutive blank lines: Expected: 1; Actual: 2

Check failure on line 8 in README.md

View workflow job for this annotation

GitHub Actions / build

More than 1 blank line not allowed
## Installation

Install via [GreasyFork](https://greasyfork.org/en/scripts/459629-mousehunt-fancy-king-s-reward).
Expand Down
5 changes: 4 additions & 1 deletion mh-fancy-kings-reward.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 🐭️ Mousehunt - Fancy King's Reward
// @version 2.0.0
// @version 2.1.0
// @description Clicks the 'Resume Hunting' button after solving a King's Reward.
// @license MIT
// @author bradp
Expand All @@ -10,6 +10,7 @@
// @grant none
// @run-at document-end
// @require https://cdn.jsdelivr.net/npm/[email protected]/mousehunt-utils.js
// @require https://cdn.jsdelivr.net/npm/[email protected]
// ==/UserScript==

((function () {
Expand All @@ -23,4 +24,6 @@
}
}
}, 'managers/ajax/users/puzzle.php', true);

migrateUserscript('🐭️ MouseHunt - Fancy King\'s Reward', 'https://greasyfork.org/en/scripts/459629-mousehunt-fancy-king-s-reward');
})());
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-fancy-kings-reward",
"version": "2.0.0",
"version": "2.1.0",
"description": "",
"main": "mh-fancy-kings-reward.user.js",
"scripts": {
Expand Down

0 comments on commit cc62e13

Please sign in to comment.