add file headers that were missing and add a readme
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 31s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 31s
This commit is contained in:
parent
12d0a00ad0
commit
11ae94dc3e
14
README.md
Normal file
14
README.md
Normal file
@ -0,0 +1,14 @@
|
||||
# ScoreSaber Utils (UserScript)
|
||||
|
||||
This is a UserScript that adds some useful features to the ScoreSaber website.
|
||||
|
||||
## Features
|
||||
|
||||
- **+1 PP**: See how much raw pp it takes to gain +1 global pp.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install a UserScript manager for your browser:
|
||||
- [Tampermonkey](https://www.tampermonkey.net/) for Chrome, Firefox, Edge, Safari, Opera, and other browsers.
|
||||
|
||||
2. Install the UserScript by clicking [here](https://ssu.fascinated.cc/scripts/bundle.user.js).
|
@ -1,9 +1,10 @@
|
||||
const path = require('path');
|
||||
const { UserscriptPlugin } = require('webpack-userscript');
|
||||
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.ts',
|
||||
mode: process.env.NODE_ENV || 'development',
|
||||
mode: 'production',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
@ -21,7 +22,11 @@ module.exports = {
|
||||
headers: {
|
||||
name: "ScoreSaber Utils",
|
||||
"run-at": "document-end",
|
||||
match: "https://scoresaber.com/*"
|
||||
match: "https://scoresaber.com/*",
|
||||
updateURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
|
||||
downloadURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
|
||||
require: ["https://ssu.fascinated.cc/scripts/bundle.meta.js"],
|
||||
version: `1.0.0-${process.env.GIT_REV || 'dev'}`,
|
||||
}
|
||||
})
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user