更新 music168.lua
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
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.6/basalt.lua "..mypath.."/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 "..mypath.."/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/main/speakerlib.lua"..mypath.."/speakerlib.lua") end
|
if not fs.exists(mypath.."/speakerlib.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/main/speakerlib.lua "..mypath.."/speakerlib.lua") end
|
||||||
if not fs.exists(mypath.."/MusicLyrics.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/main/MusicLyrics.lua"..mypath.."/MusicLyrics.lua") end
|
if not fs.exists(mypath.."/MusicLyrics.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/raw/branch/main/MusicLyrics.lua "..mypath.."/MusicLyrics.lua") end
|
||||||
|
|
||||||
--*GUI库导入
|
--*GUI库导入
|
||||||
basalt = require(mypath.."/lib/basalt")
|
basalt = require(mypath.."/lib/basalt")
|
||||||
|
|||||||
Reference in New Issue
Block a user