This commit is contained in:
Igor Timofeev 2015-10-30 07:58:08 +03:00
parent 393e028a4c
commit 91b4c1ec65

View File

@ -444,11 +444,10 @@ local dockApps = {
local desktopPath = "MineOS/System/OS/Desktop/"
local dockPath = "MineOS/System/OS/Dock/"
local applicationsPath = "MineOS/Applications/"
local picturesPath = "MineOS/Pictures/"
fs.makeDirectory(desktopPath .. "My files")
ecs.createShortCut(desktopPath, "MineOS/Pictures/")
for i = 1, #apps do
local pathToShortcut = desktopPath .. ecs.hideFileFormat(apps[i]) .. ".lnk"
if not fs.exists(pathToShortcut) then
@ -465,6 +464,9 @@ for i = 1, #dockApps do
end
end
ecs.createShortCut(desktopPath, picturesPath)
ecs.createShortCut("MineOS/System/OS/Wallpaper.lnk", picturesPath .. "AhsokaTano.pic")
computer.shutdown(true)