Elevation for utility app on unix platforms that have gksudo or kdesudo. Small change to Folder.cs to create empty folder if it doesn't exist.

This commit is contained in:
Matthew Bowra-Dean
2011-01-23 16:51:30 +13:00
committed by Paul Chote
parent 1bdadb6631
commit 4c053dae24
2 changed files with 64 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ namespace OpenRA.FileFormats
{
this.path = path;
this.priority = priority;
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
}
public Stream GetContent(string filename)