Added installer code.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@561 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-07-12 22:48:20 +00:00
parent 858d7804c1
commit 8b069d3e6f
11 changed files with 127 additions and 49 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ IndexMap<FieldP,ValueP>& Settings::exportOptionsFor(const ExportTemplate& export
/// Retrieve the directory to use for settings and other data files
String user_settings_dir() {
String dir = wxStandardPaths::Get().GetUserDataDir();
if (!wxDirExists(dir)) wxMkDir(dir);
if (!wxDirExists(dir)) wxMkdir(dir);
return dir + _("/");
}