Updated readme and made clicking the profile optional

This commit is contained in:
Wizzard 2023-07-13 13:10:48 -04:00
parent 5ef325676f
commit 0ec7cbb248
4 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,8 @@ type ```npm i``` to install necessary necessary.
## Running
Open the scripts folder and run either start.bat or start.sh depending on OS.
Renamed "config.example.json" to "config.json and fill it out with the correct information.
After that, open the scripts folder and run either start.bat or start.sh depending on OS.
## FAQ

6
config.example.json Normal file
View File

@ -0,0 +1,6 @@
{
"clientId": "1111111111111111111",
"apiKey": 22222222222222222222222222222",
"username": "Retard",
"clickable": "true"
}

View File

@ -63,7 +63,7 @@ async function updateStatus() {
buttons: [
{
label: `${formatNumber(data.scrobbles)} total shits.`,
url: "javascript:void(0);",
url: JSON.parse(config.clickable) ? `https://www.last.fm/user/${config.username}/` : "javascript:void(0);"
},
],
});

1
update.bat Normal file
View File

@ -0,0 +1 @@
git pull