Changeset 3217

Show
Ignore:
Timestamp:
01/16/10 15:23:14 (8 months ago)
Author:
sience
Message:
-USE_HOME_DIR option added for windows too (currently only works for german...later i took a look into other lang support)
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/lua/main.lua

    r3216 r3217  
    3535function InitHomeDirInfos () 
    3636        -- todo : shardlist : display shards from original dir also ? 
    37         if ((not WIN32) and file_exists(gMainWorkingDir.."USE_HOME_DIR")) then 
     37        if (file_exists(gMainWorkingDir.."USE_HOME_DIR")) then 
    3838                local home = GetHomePath() 
    3939                if (not home) then return end 
     40 
     41                if (WIN32) then home = home .. "/Anwendungsdaten" end 
    4042                 
    4143                gHomeIrisPath           = home.."/.iris/" 
     
    5759                        mkdir(gDesktopDir) 
    5860                        mkdir(gPacketVideoFileName_folderpath) 
     61 
     62                        print("Copy config from: " .. gMainWorkingDir.."config/" .. " to: " .. gConfigPath) 
    5963                        CopyDir(gMainWorkingDir.."config/",gConfigPath) 
    6064                end