mirror of
https://github.com/kepler155c/opus
synced 2025-05-15 13:54:10 +00:00
bugssss...
This commit is contained in:
parent
5969b71dbe
commit
2af6f098c8
@ -241,6 +241,9 @@ if #tArgs > 0 then
|
|||||||
local isUrl = not not path:match("^(https?:)//(([^/:]+):?([0-9]*))(/?.*)$")
|
local isUrl = not not path:match("^(https?:)//(([^/:]+):?([0-9]*))(/?.*)$")
|
||||||
if not isUrl then
|
if not isUrl then
|
||||||
path = shell.resolveProgram(path)
|
path = shell.resolveProgram(path)
|
||||||
|
if not path then
|
||||||
|
error('No such program')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local fn, err
|
local fn, err
|
||||||
|
@ -256,7 +256,7 @@
|
|||||||
\030f\031dshell]\0304\0314 \
|
\030f\031dshell]\0304\0314 \
|
||||||
\0304\031f ",
|
\0304\031f ",
|
||||||
title = "Mwm",
|
title = "Mwm",
|
||||||
run = "wmw.lua usr/config/mwm",
|
run = "mwm.lua usr/config/mwm",
|
||||||
},
|
},
|
||||||
[ "8d1b0a73bedc0dc492377c2f6ab880940b97ec6e" ] = {
|
[ "8d1b0a73bedc0dc492377c2f6ab880940b97ec6e" ] = {
|
||||||
icon = "\030 \031f \0305 \030 \030d \030 \
|
icon = "\030 \031f \0305 \030 \030d \030 \
|
||||||
|
@ -233,9 +233,9 @@ function turtle.dropDown(count, slot) return _drop(actions.down, count, slot)
|
|||||||
|
|
||||||
function turtle.refuel(qtyOrName, qty)
|
function turtle.refuel(qtyOrName, qty)
|
||||||
if not qtyOrName or type(qtyOrName) == 'number' then
|
if not qtyOrName or type(qtyOrName) == 'number' then
|
||||||
return turtle.native.refuel(qtyOrName)
|
return turtle.native.refuel(qtyOrName or 64)
|
||||||
end
|
end
|
||||||
return inventoryAction(turtle.native.refuel, qtyOrName, qty)
|
return inventoryAction(turtle.native.refuel, qtyOrName, qty or 64)
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user