Removed some dependencies.
Made sure paths correct on android
This commit is contained in:
parent
7c8acf199e
commit
412b23a1aa
2 changed files with 3 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue