mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-04-04 07:02:47 +02:00
Переходим на MineOS Standalone #1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user