mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 03:02:38 +01:00
гм
This commit is contained in:
parent
9753de15eb
commit
c2a21777c2
@ -22,8 +22,8 @@
|
||||
["version"]=1.0,
|
||||
},
|
||||
{
|
||||
["name"]="MineOS/Pictures/Harp.pic",
|
||||
["url"]="IgorTimofeev/OpenComputers/master/MineOS/Wallpapers/Harp.pic",
|
||||
["name"]="MineOS/Pictures/Nettle.pic",
|
||||
["url"]="IgorTimofeev/OpenComputers/master/MineOS/Wallpapers/Nettle.pic",
|
||||
["type"]="Wallpaper",
|
||||
["version"]=1.0,
|
||||
},
|
||||
|
||||
Binary file not shown.
@ -386,7 +386,7 @@ end
|
||||
--Создаем базовые обои рабочего стола
|
||||
if downloadWallpapers then
|
||||
ecs.createShortCut(desktopPath .. "Pictures.lnk", picturesPath)
|
||||
ecs.createShortCut("MineOS/System/OS/Wallpaper.lnk", picturesPath .. "Girl.pic")
|
||||
ecs.createShortCut("MineOS/System/OS/Wallpaper.lnk", picturesPath .. "Nettle.pic")
|
||||
end
|
||||
|
||||
--Автозагрузка
|
||||
|
||||
@ -444,7 +444,7 @@ while true do
|
||||
if clickedAtEmptyArea then
|
||||
for _, icon in pairs(obj.DesktopIcons) do
|
||||
if icon:isClicked(eventData[3], eventData[4]) then
|
||||
if MineOSCore.iconClick(icon, eventData, colors.selection, colors.iconsSelectionTransparency, 0xFFFFFF, 0.2, showFileFormat, {method = getFileListAndDrawAll, arguments = {}}, {method = getFileListAndDrawAll, arguments = {true}}, {method = function() MineOSCore.safeLaunch("Finder.lua", "open", icon.path) end, arguments = {icon.path}}) then return end
|
||||
if MineOSCore.iconClick(icon, eventData, colors.selection, colors.iconsSelectionTransparency, 0xFFFFFF, 0.2, showFileFormat, {method = getFileListAndDrawAll, arguments = {}}, {method = getFileListAndDrawAll, arguments = {true}}, {method = function() MineOSCore.safeLaunch("Finder.lua", "open", icon.path) end, arguments = {}}) then return end
|
||||
clickedAtEmptyArea = false
|
||||
break
|
||||
end
|
||||
|
||||
BIN
MineOS/Wallpapers/Nettle.pic
Normal file
BIN
MineOS/Wallpapers/Nettle.pic
Normal file
Binary file not shown.
@ -155,7 +155,7 @@ function MineOSCore.launchIcon(path, translate)
|
||||
MineOSCore.safeLaunch(path .. "/" .. ecs.hideFileFormat(fs.name(path)) .. ".lua")
|
||||
--Если это папка
|
||||
elseif (fileFormat == "" or fileFormat == nil) and isDirectory then
|
||||
MineOSCore.safeLaunch("MineOS/Applications/Finder.app/Finder.lua " .. path)
|
||||
MineOSCore.safeLaunch("MineOS/Applications/Finder.app/Finder.lua", "open", path)
|
||||
--Если это обычный луа файл - т.е. скрипт
|
||||
elseif fileFormat == ".lua" or fileFormat == nil then
|
||||
buffer.clear(MineOSCore.colors.background)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user