Customiziation options and pathing fixes
This commit is contained in:
parent
370646b5fe
commit
3089bc3a5e
|
@ -2,5 +2,6 @@
|
||||||
"clientId": "1111111111111111111",
|
"clientId": "1111111111111111111",
|
||||||
"apiKey": 22222222222222222222222222222",
|
"apiKey": 22222222222222222222222222222",
|
||||||
"username": "Retard",
|
"username": "Retard",
|
||||||
"clickable": "true"
|
"clickable": "true",
|
||||||
|
"label": "total shits"
|
||||||
}
|
}
|
||||||
|
|
2
main.js
2
main.js
|
@ -62,7 +62,7 @@ async function updateStatus() {
|
||||||
state: `${data.artist} - ${data.album}`,
|
state: `${data.artist} - ${data.album}`,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: `${formatNumber(data.scrobbles)} total shits.`,
|
label: `${formatNumber(data.scrobbles)} ${config.label}`,
|
||||||
url: JSON.parse(config.clickable) ? `https://www.last.fm/user/${config.username}/` : "javascript:void(0);"
|
url: JSON.parse(config.clickable) ? `https://www.last.fm/user/${config.username}/` : "javascript:void(0);"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#node main.js > /dev/null 2>&1 &
|
#node main.js > /dev/null 2>&1 &
|
||||||
./node_modules/.bin/pm2 start main.js
|
../node_modules/.bin/pm2 start main.js
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
./node_modules/.bin/pm2.cmd start main.js
|
../node_modules/.bin/pm2.cmd start main.js
|
||||||
|
|
Loading…
Reference in New Issue