Changeset 3215

Show
Ignore:
Timestamp:
01/16/10 00:28:42 (8 weeks ago)
Author:
ghoulsblade
Message:
moved desktop dir to config folder
Location:
trunk
Files:
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/lua/main.lua

    r3214 r3215  
    1111gMainPluginDir      = gMainWorkingDir.."plugins/" 
    1212gConfigPath         = gMainWorkingDir.."config/" 
    13 gDesktopDir                     = gMainWorkingDir.."data/desktop/" 
    1413gScreenshotDir          = gMainWorkingDir.."screenshots/" 
    1514gMacroFile          = "mymacros.lua" 
     
    2019gConfigPathFile_old = datapath..gConfigFile         -- only as Fallback for old users 
    2120gIrisWidgetDir      = libpath.."widgets/" 
     21gDesktopDir                     = gConfigPath.."desktop/" -- old was data/desktop/ 
    2222gTempPath           = datapath.."tmp/" 
    2323gSecondsSinceLastFrame = 0 
     
    4444                gConfigPathFile     = gConfigPath..gConfigFile 
    4545                gMacroPathFile      = gConfigPath..gMacroFile 
     46                gDesktopDir                     = gConfigPath.."desktop/" 
     47                 
    4648                 
    4749                if (not file_exists(gHomeIrisPath)) then 
     
    5153                        mkdir(gScreenshotDir) 
    5254                        mkdir(gConfigPath) 
    53                         MyCopyDir(gMainWorkingDir.."config/",gConfigPath) 
     55                        mkdir(gDesktopDir) 
     56                        CopyDir(gMainWorkingDir.."config/",gConfigPath) 
    5457                end 
    5558        end