Changeset - 234ae2144a25
[Not reviewed]
default
0 1 0
Jason Maltzen (jmaltzen) - 9 years ago 2016-01-15 17:21:36
jason.maltzen@unsanctioned.net
Add a utility function to fetch the app data path (reducing code duplication)
1 file changed with 9 insertions and 0 deletions:
0 comments (0 inline, 0 general)
FileUtils.cs
Show inline comments
...
 
@@ -9,4 +9,13 @@ namespace DesertPaintLab
 
        }
 

	
 
        public static string AppDataPath
 
        {
 
            get {
 
                return System.IO.Path.Combine(
 
                    Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
 
                    "DesertPaintLab");
 
            }
 
        }
 

	
 
        public static string FindApplicationResourceDirectory(string dirname)
 
        {
0 comments (0 inline, 0 general)