第一次上传
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.history
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
--*获取程序所在目录
|
||||
local mypath = "/"..fs.getDir(shell.getRunningProgram())
|
||||
|
||||
if not fs.exists(mypath.."/lib/basalt.lua") then shell.run("wget http://alist.liulikeji.cn/d/HFS/Installer/lib/basalt.lua lib/basalt.lua") end
|
||||
if not fs.exists(mypath.."/speaker.lua") then shell.run("wget http://alist.liulikeji.cn/d/HFS/music168/speaker.lua") end
|
||||
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.."/speaker.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/releases/download/v1.0.0/speaker.lua") end
|
||||
|
||||
--*GUI库导入
|
||||
basalt = require(mypath.."/lib/basalt")
|
||||
|
||||
Reference in New Issue
Block a user