Skip to content

Commit 20298e5

Browse files
committed
v0.24.1
1 parent 49880d6 commit 20298e5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

dist/main.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @supportURL https://github.com/Xmader/musescore-downloader/issues
66
// @updateURL https://msdl.librescore.org/install.user.js
77
// @downloadURL https://msdl.librescore.org/install.user.js
8-
// @version 0.24.0
8+
// @version 0.24.1
99
// @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
1010
// @author Xmader
1111
// @match https://musescore.com/*/*
@@ -26575,7 +26575,7 @@ Please pipe the document into a Node stream.\
2657526575
}
2657626576

2657726577
/* eslint-disable no-extend-native */
26578-
const TYPE_REG = /id=(\d+)&type=(img|mp3|midi)/;
26578+
const TYPE_REG = /type=(img|mp3|midi)/;
2657926579
/**
2658026580
* I know this is super hacky.
2658126581
*/
@@ -26596,8 +26596,9 @@ Please pipe the document into a Node stream.\
2659626596
const token = (_a = init === null || init === void 0 ? void 0 : init.headers) === null || _a === void 0 ? void 0 : _a.Authorization;
2659726597
if (typeof url === 'string' && token) {
2659826598
const m = url.match(TYPE_REG);
26599+
console$1.debug(url, token, m);
2659926600
if (m) {
26600-
const type = m[2];
26601+
const type = m[1];
2660126602
// eslint-disable-next-line no-unused-expressions
2660226603
(_b = l[type]) === null || _b === void 0 ? void 0 : _b.call(l, token);
2660326604
}

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "musescore-downloader",
3-
"version": "0.24.0",
3+
"version": "0.24.1",
44
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱",
55
"main": "dist/main.js",
66
"bin": "dist/cli.js",

0 commit comments

Comments
 (0)