v0.12.4
This commit is contained in:
parent
3076c6cffd
commit
8b6c61c6bc
3 changed files with 21 additions and 3 deletions
20
dist/main.js
vendored
20
dist/main.js
vendored
|
@ -5,7 +5,7 @@
|
|||
// @supportURL https://github.com/Xmader/musescore-downloader/issues
|
||||
// @updateURL https://msdl.librescore.org/install.user.js
|
||||
// @downloadURL https://msdl.librescore.org/install.user.js
|
||||
// @version 0.12.3
|
||||
// @version 0.12.4
|
||||
// @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
|
||||
// @author Xmader
|
||||
// @match https://musescore.com/*/*
|
||||
|
@ -26803,6 +26803,24 @@ Please pipe the document into a Node stream.\
|
|||
}
|
||||
return btn;
|
||||
};
|
||||
const SCORE_BTN_MODULE_ID = 'WYqd';
|
||||
webpackGlobalOverride(SCORE_BTN_MODULE_ID, (_, r, t) => {
|
||||
const fn = r.a;
|
||||
let firstTime = true;
|
||||
// the root container of btns refreshes every 1s
|
||||
t.d(r, 'a', () => {
|
||||
return function () {
|
||||
if (!firstTime) {
|
||||
// force state update
|
||||
this.__H.__[0].__[0] = 0;
|
||||
}
|
||||
else {
|
||||
firstTime = false;
|
||||
}
|
||||
return fn();
|
||||
};
|
||||
});
|
||||
});
|
||||
class BtnList {
|
||||
constructor(templateBtn) {
|
||||
this.templateBtn = templateBtn;
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "musescore-downloader",
|
||||
"version": "0.12.3",
|
||||
"version": "0.12.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "musescore-downloader",
|
||||
"version": "0.12.3",
|
||||
"version": "0.12.4",
|
||||
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱",
|
||||
"main": "dist/main.js",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue