mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 19:22:40 +01:00
Ы
This commit is contained in:
parent
6e914bbf90
commit
780dcacd08
@ -500,7 +500,7 @@ while true do
|
|||||||
elseif action == "Загрузить на Pastebin" then
|
elseif action == "Загрузить на Pastebin" then
|
||||||
shell.execute("System/Applications/Pastebin.app/Pastebin.lua upload " .. path)
|
shell.execute("System/Applications/Pastebin.app/Pastebin.lua upload " .. path)
|
||||||
elseif action == "Установить как обои" then
|
elseif action == "Установить как обои" then
|
||||||
ecs.error(path)
|
--ecs.error(path)
|
||||||
ecs.createShortCut("MineOS/System/OS/Wallpaper.lnk", path)
|
ecs.createShortCut("MineOS/System/OS/Wallpaper.lnk", path)
|
||||||
computer.pushSignal("OSWallpaperChanged")
|
computer.pushSignal("OSWallpaperChanged")
|
||||||
buffer.paste(1, 1, oldPixelsOfFullScreen)
|
buffer.paste(1, 1, oldPixelsOfFullScreen)
|
||||||
|
|||||||
@ -476,6 +476,10 @@ while true do
|
|||||||
drawAll()
|
drawAll()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
elseif eventData[1] == "OSWallpaperChanged" then
|
||||||
|
ecs.createShortCut(pathToWallpaper, path)
|
||||||
|
changeWallpaper()
|
||||||
|
drawAll(true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user