第一次上传

This commit is contained in:
HKXluo
2025-11-12 14:41:51 +08:00
parent 2f24529af0
commit 93e163525e
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.history

View File

@@ -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 http://alist.liulikeji.cn/d/HFS/Installer/lib/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.3/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.."/speaker.lua") then shell.run("wget https://git.liulikeji.cn/xingluo/ComputerCraft-Music168-Player/releases/download/v1.0.0/speaker.lua") end
--*GUI库导入 --*GUI库导入
basalt = require(mypath.."/lib/basalt") basalt = require(mypath.."/lib/basalt")