Compare commits
3 Commits
1.1.0
...
3d3c7c1197
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d3c7c1197 | ||
|
|
895b6fcdad | ||
| 55683f69c5 |
@@ -207,9 +207,9 @@ local function displayLyrics(url, notzh, fontType, colorsConfig)
|
|||||||
-- 选择字体
|
-- 选择字体
|
||||||
local fontUrl
|
local fontUrl
|
||||||
if fontType == "12px" then
|
if fontType == "12px" then
|
||||||
fontUrl = "https://alist.liulikeji.cn/d/HFS/fusion-pixel-12px-proportional-zh_hans.lua"
|
fontUrl = "https://git.liulikeji.cn/xingluo/ComputerCraft-Utf8/raw/branch/main/fonts/fusion-pixel-12px-proportional-zh_hans.lua"
|
||||||
else
|
else
|
||||||
fontUrl = "https://alist.liulikeji.cn/d/HFS/fusion-pixel-8px-proportional-zh_hans.lua"
|
fontUrl = "https://git.liulikeji.cn/xingluo/ComputerCraft-Utf8/raw/branch/main/fonts/fusion-pixel-8px-proportional-zh_hans.lua"
|
||||||
end
|
end
|
||||||
|
|
||||||
local font = loadRemoteFont(fontUrl)
|
local font = loadRemoteFont(fontUrl)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
在 Minecraft 中安装好 [ComputerCraft](https://www.mcmod.cn/class/1681.html) 模组后在电脑终端:
|
在 Minecraft 中安装好 [ComputerCraft](https://www.mcmod.cn/class/1681.html) 模组后在电脑终端:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/releases/download/v1.1.0/music168.lua
|
wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/releases/download/1.1.0/music168.lua
|
||||||
```
|
```
|
||||||
|
|
||||||
运行:
|
运行:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
--*获取程序所在目录
|
--*获取程序所在目录
|
||||||
|
|
||||||
local mypath = "/"..fs.getDir(shell.getRunningProgram())
|
local mypath = "/"..fs.getDir(shell.getRunningProgram())
|
||||||
if not fs.exists(mypath.."/lib/basalt.lua") then shell.run("wget https://git.liulikeji.cn/GitHub/Basalt/releases/download/v1.6.3/basalt.lua lib/basalt.lua") end
|
if not fs.exists(mypath.."/lib/basalt.lua") then shell.run("wget https://git.liulikeji.cn/GitHub/Basalt/releases/download/v1.6.6/basalt.lua lib/basalt.lua") end
|
||||||
if not fs.exists(mypath.."/speakerlib.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/1.1.0/speakerlib.lua") end
|
if not fs.exists(mypath.."/speakerlib.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/1.1.0/speakerlib.lua") end
|
||||||
if not fs.exists(mypath.."/MusicLyrics.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/1.1.0/MusicLyrics.lua") end
|
if not fs.exists(mypath.."/MusicLyrics.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/1.1.0/MusicLyrics.lua") end
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@ function playmusic(music_name,music_id,play_table,index)
|
|||||||
--end)
|
--end)
|
||||||
end
|
end
|
||||||
|
|
||||||
printUtf8 = load(http.get("https://alist.liulikeji.cn/d/HFS/utf8ptrint.lua").readAll())()
|
printUtf8 = load(http.get("https://git.liulikeji.cn/xingluo/ComputerCraft-Utf8/raw/branch/main/utf8ptrint.lua").readAll())()
|
||||||
--搜索
|
--搜索
|
||||||
server_url = "http://music168.liulikeji.cn:15843/"
|
server_url = "http://music168.liulikeji.cn:15843/"
|
||||||
function Search(input_str,GUI_in,api)
|
function Search(input_str,GUI_in,api)
|
||||||
|
|||||||
Reference in New Issue
Block a user