1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-15 07:47:40 +00:00

web run applications

This commit is contained in:
kepler155c@gmail.com
2017-09-05 21:21:43 -04:00
parent f7a03b2eea
commit 9f5c58cc4c
10 changed files with 72 additions and 30 deletions

View File

@@ -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

View File

@@ -1,3 +1,7 @@
if _G.device then
return
end
requireInjector(getfenv(1))
local Peripheral = require('peripheral')

View File

@@ -1,4 +1,4 @@
if not turtle then
if not turtle or turtle.pathfind then
return
end

View File

@@ -1,4 +1,4 @@
if not turtle then
if not turtle or turtle.abortAction then
return
end

View File

@@ -1,4 +1,4 @@
if not turtle then
if not turtle or turtle.enableGPS then
return
end

View File

@@ -1,4 +1,4 @@
if not turtle then
if not turtle or turtle.getPoint then
return
end