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