Removed some dependencies.

Made sure paths correct on android
This commit is contained in:
Lars Brubaker 2015-04-07 17:29:38 -07:00
parent 7c8acf199e
commit 412b23a1aa
2 changed files with 3 additions and 19 deletions

View file

@ -72,10 +72,10 @@ namespace MatterHackers.MatterControl
public RootedObjectEventHandler UpdateStatusChanged = new RootedObjectEventHandler();
#if __ANDROID__
static string applicationDataPath = DataStorage.ApplicationDataStorage.Instance.ApplicationUserDataPath;
static string updateFileLocation = Path.Combine(applicationDataPath, "updates");
#else
static string updateFileLocation = Path.Combine(DataStorage.ApplicationDataStorage.Instance.PublicDataStoragePath, "updates");
#else
static string applicationDataPath = DataStorage.ApplicationDataStorage.Instance.ApplicationUserDataPath;
static string updateFileLocation = Path.Combine(applicationDataPath, "updates");
#endif
UpdateStatusStates updateStatus;