Переходим на MineOS Standalone #1

This commit is contained in:
Igor Timofeev
2019-01-19 11:31:04 +03:00
parent 86678610ff
commit b8bc282b94
491 changed files with 15872 additions and 28167 deletions

View File

@@ -1,8 +1,9 @@
local MineOSPaths = require("MineOSPaths")
local MineOSCore = require("MineOSCore")
local MineOSInterface = require("MineOSInterface")
local icon, menu = select(1, ...), select(2, ...)
menu:addItem(MineOSCore.localization.edit).onTouch = function()
MineOSInterface.safeLaunch(MineOSPaths.editor, icon.path)
local paths = require("Paths")
local system = require("System")
local workspace, icon, menu = select(1, ...), select(2, ...), select(3, ...)
menu:addItem(system.localization.edit).onTouch = function()
system.execute(paths.editor, icon.path)
end