Upload user shared sheet && Add mail link support

This commit is contained in:
StageGuard
2021-01-02 17:04:38 +08:00
parent 91192550d9
commit 26ee689227
4 changed files with 31 additions and 4 deletions

View File

@@ -164,9 +164,9 @@ After finishing, you need to create a new `pull request` and wait it to be merge
### 2. 如果你不是很懂 Github...<br>If you are not familiar with Github...
只需要把乐谱发送到邮箱 beamiscool@qq.com 来交给我就行啦!别忘了附带乐谱简介!
只需要把乐谱发送到邮箱 [beamiscool@qq.com](mailto:beamiscool@qq.com) 来交给我就行啦!别忘了附带乐谱简介!
Just mail your sheet file to beamiscool@qq.com and don't forget the sheet description !
Just mail your sheet file to [beamiscool@qq.com](mailto:beamiscool@qq.com) and don't forget the sheet description !
# 注意! / Attention!
@@ -254,6 +254,8 @@ Twitter[Phoebe@huunhut1217](https://mobile.twitter.com/huunhut1217)
酷安[@Alusias](http://www.coolapk.com/u/808787)
[chikin](mailto:2869826936@qq.com)
## 翻译 / Translation
SkyAutoplayerScript 在版本 21 已支持多语言并可以在线获取语言列表,你可以查看 [contribute-translation.md](contribute-translation.md) (English) 来了解如何贡献翻译。

View File

@@ -1,5 +1,23 @@
{
"sheets": [
{
"name": "シルエット(Silhouette)",
"file": "Silhouette.txt",
"author": "chikin",
"desc": "<a href=mailto:2869826936@qq.com>@chikin<a/> 分享乐谱 シルエット(Silhouette)\n【火影忍者疾风传】 OP 16 シルエット(Silhouette)",
"bpm": 350,
"suggested_instrument": 1,
"keyCount": 15,
"pitchLevel": 0,
"noteCount": 1631,
"social": [
{
"platform": "mail",
"name": "2869826936@qq.com",
"link": "mailto:2869826936@qq.com"
}
]
},
{
"name": "のみこ/Masayoshi Minoshima - Bad Apple",
"file": "Bad_Apple.txt",

Binary file not shown.

View File

@@ -644,7 +644,7 @@ config = {
fetchResources: function(listener) {
var remoteHost = "https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript@" + this.values.gitVersion + "/resources/";
var resourceList = ["local.png", "online.png", "play.png", "pause.png", "refresh.png", "settings.png", "info.png", "download.png", "bin.png", "speedup.png", "search.png", "note.png", "user.png", "piano.png", "clock.png"/*, "filter.png"*/, "coolapk.png", "douyin.png", "github.png", "twitter.png", "bilibili.png"];
var resourceList = ["local.png", "online.png", "play.png", "pause.png", "refresh.png", "settings.png", "info.png", "download.png", "bin.png", "speedup.png", "search.png", "note.png", "user.png", "piano.png", "clock.png"/*, "filter.png"*/, "coolapk.png", "douyin.png", "github.png", "twitter.png", "bilibili.png", "mail.png"];
var localRootDir = android.os.Environment.getExternalStorageDirectory() + "/Documents/SkyAutoPlayer/bitmaps/";
var downloadQueue = [];
var tryCount = 1;
@@ -2648,6 +2648,13 @@ gui.dialogs.showProgressDialog(function(o) {
}
}());
case "bilibili": return "#FB7299";
case "mail": return (function(){
if(config.values.theme == "light") {
return "#24292E";
} else {
return "#FFFFFF";
}
}());
}
}
var filterBitmap = function(bitmap, replacedColor) {