mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
фуафу
This commit is contained in:
parent
4d3af8cced
commit
92a77780df
@ -253,7 +253,7 @@
|
||||
name="lib/MineOSCore.lua",
|
||||
url="IgorTimofeev/OpenComputers/master/lib/MineOSCore.lua",
|
||||
type="Library",
|
||||
version=1.37,
|
||||
version=1.38,
|
||||
},
|
||||
{
|
||||
name="lib/advancedLua.lua",
|
||||
|
||||
@ -238,7 +238,7 @@ local function waitForPressingAnyKey()
|
||||
end
|
||||
end
|
||||
|
||||
function MineOSCore.analyseIconFormat(iconObject)
|
||||
function MineOSCore.analyzeIconFormat(iconObject)
|
||||
if iconObject.isDirectory then
|
||||
if iconObject.format == ".app" then
|
||||
if MineOSCore.showApplicationIcons then
|
||||
@ -264,7 +264,7 @@ function MineOSCore.analyseIconFormat(iconObject)
|
||||
iconObject.shortcutIsDirectory = fs.isDirectory(iconObject.shortcutPath)
|
||||
iconObject.isShortcut = true
|
||||
|
||||
local shortcutIconObject = MineOSCore.analyseIconFormat({
|
||||
local shortcutIconObject = MineOSCore.analyzeIconFormat({
|
||||
path = iconObject.shortcutPath,
|
||||
format = iconObject.shortcutFormat,
|
||||
isDirectory = iconObject.shortcutIsDirectory,
|
||||
@ -385,7 +385,7 @@ function MineOSCore.createIconObject(x, y, path, textColor, showFileFormat)
|
||||
end
|
||||
|
||||
-- Онализ формата и прочего говна иконки для последующего получения изображения иконки и функции-лаунчера
|
||||
MineOSCore.analyseIconFormat(iconObject)
|
||||
MineOSCore.analyzeIconFormat(iconObject)
|
||||
|
||||
return iconObject
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user