Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
plugin v1.0.1 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scaryghost committed Jun 25, 2018
1 parent da63063 commit 1f5eede
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions MetaWear.NetStandard/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ public static void RemoveMetaWearBoard(string mac) {
/// <param name="mac">Mac address of the information to remove</param>
/// <returns></returns>
public static async Task ClearDeviceCacheAsync(string mac) {
var path = Path.Combine(CacheRoot, mac);
var path = Path.Combine(CacheRoot, mac.Replace(":", ""));

File.Delete(path);
if (Directory.Exists(path)) {
Directory.Delete(path, true);
}
await Task.CompletedTask;
}
}
Expand Down
3 changes: 3 additions & 0 deletions MetaWear.NetStandard/MetaWear.NetStandard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>MbientLab.MetaWear.NetStandard</AssemblyName>
<RootNamespace>MbientLab.MetaWear.NetStandard</RootNamespace>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
<Version>1.0.1</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down

0 comments on commit 1f5eede

Please sign in to comment.