mirror of
https://github.com/kepler155c/opus
synced 2025-10-15 07:47:40 +00:00
web run applications
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
if _G.clipboard then
|
||||
return
|
||||
end
|
||||
|
||||
requireInjector(getfenv(1))
|
||||
|
||||
local Util = require('util')
|
||||
@@ -32,6 +36,8 @@ function clipboard.useInternal(mode)
|
||||
end
|
||||
end
|
||||
|
||||
multishell.addHotkey(20, function()
|
||||
clipboard.useInternal(not clipboard.isInternal())
|
||||
end)
|
||||
if multishell and multishell.addHotkey then
|
||||
multishell.addHotkey(20, function()
|
||||
clipboard.useInternal(not clipboard.isInternal())
|
||||
end)
|
||||
end
|
||||
|
@@ -1,3 +1,7 @@
|
||||
if _G.device then
|
||||
return
|
||||
end
|
||||
|
||||
requireInjector(getfenv(1))
|
||||
|
||||
local Peripheral = require('peripheral')
|
||||
|
@@ -1,4 +1,4 @@
|
||||
if not turtle then
|
||||
if not turtle or turtle.pathfind then
|
||||
return
|
||||
end
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
if not turtle then
|
||||
if not turtle or turtle.abortAction then
|
||||
return
|
||||
end
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
if not turtle then
|
||||
if not turtle or turtle.enableGPS then
|
||||
return
|
||||
end
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
if not turtle then
|
||||
if not turtle or turtle.getPoint then
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user