Merge branch 'development' of https://github.com/MatterHackers/MatterControl into development

This commit is contained in:
Lars Brubaker 2015-06-30 18:49:24 -07:00
commit d2f497b3d1
3 changed files with 8 additions and 4 deletions

View file

@ -50,7 +50,14 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
libraryProviders.Add(new LibraryProviderSQLite(null, this));
// and any directory providers (sd card provider, etc...)
libraryProviders.Add(new LibraryProviderFileSystem(Path.Combine("C:\\", "Users", "LarsBrubaker", "Downloads"), "Downloads", this));
//
// Add "Downloads" file system example
string downloadsDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads");
if (Directory.Exists(downloadsDirectory))
{
libraryProviders.Add(new LibraryProviderFileSystem(downloadsDirectory, "Downloads", this));
}
//#if __ANDROID__
//libraryProviders.Add(new LibraryProviderFileSystem(ApplicationDataStorage.Instance.PublicDataStoragePath, "Downloads", this.ProviderKey));