mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-08 12:12:40 +01:00
ХМ!
This commit is contained in:
parent
ed41de28c9
commit
d0d3322163
@ -272,7 +272,7 @@
|
||||
url="IgorTimofeev/OpenComputers/master/lib/ECSAPI.lua",
|
||||
type="Library",
|
||||
preLoadFile=true,
|
||||
version=1.01,
|
||||
version=1.02,
|
||||
},
|
||||
{
|
||||
name="lib/colorlib.lua",
|
||||
|
||||
@ -1267,7 +1267,7 @@ function ecs.newApplication(path, startName)
|
||||
fs.makeDirectory(name)
|
||||
fs.copy("MineOS/System/OS/Icons/SampleIcon.pic", name .. "Icon.pic")
|
||||
local file = io.open(path .. inputs[1] .. ".app/" .. inputs[1] .. ".lua", "w")
|
||||
file:write("local ecs = require(\"ecs\")", "\n")
|
||||
file:write("local ecs = require(\"ECSAPI\")", "\n")
|
||||
file:write("ecs.universalWindow(\"auto\", \"auto\", 30, 0xeeeeee, true, {\"EmptyLine\"}, {\"CenterText\", 0x262626, \"Hello world!\"}, {\"EmptyLine\"}, {\"Button\", {0x880000, 0xffffff, \"Hello!\"}})", "\n")
|
||||
file:close()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user