Updated readme and made clicking the profile optional
This commit is contained in:
parent
5ef325676f
commit
0ec7cbb248
|
@ -9,7 +9,8 @@ type ```npm i``` to install necessary necessary.
|
||||||
|
|
||||||
## Running
|
## 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
|
## FAQ
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"clientId": "1111111111111111111",
|
||||||
|
"apiKey": 22222222222222222222222222222",
|
||||||
|
"username": "Retard",
|
||||||
|
"clickable": "true"
|
||||||
|
}
|
2
main.js
2
main.js
|
@ -63,7 +63,7 @@ async function updateStatus() {
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: `${formatNumber(data.scrobbles)} total shits.`,
|
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);"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
git pull
|
Loading…
Reference in New Issue