Changeset - 234ae2144a25
[Not reviewed]
default
0 1 0
Jason Maltzen (jmaltzen) - 8 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
...
 
@@ -8,6 +8,15 @@ namespace DesertPaintLab
 
        {
 
        }
 

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

	
 
        public static string FindApplicationResourceDirectory(string dirname)
 
        {
 
            string dirPath = System.IO.Path.Combine(
0 comments (0 inline, 0 general)