ported apps lscor, mv, and rm

there's partially rtest too, if you count that
This commit is contained in:
Ponali
2025-09-15 07:08:19 +02:00
parent ff04e730f9
commit 66783e455c
4 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
local file = ...
local shell = require("shell")
local fs = require("filesystem")
if not file then
@@ -6,7 +7,7 @@ if not file then
return
end
if file:sub(1, 1) ~= "/" then
file = fs.concat(shell.workingDirectory, file)
file = fs.concat(shell.getWorkingDirectory(), file)
end
if not fs.exists(file) then
print("\27[91mFile does not exist.")