Skip to content

Commit

Permalink
Merge pull request #587 from WildernessLabs/initial
Browse files Browse the repository at this point in the history
fix Meadow file initial
  • Loading branch information
ctacke authored Jul 24, 2024
2 parents 1c15780 + 6da0aa5 commit f5ca927
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@ private async Task DeleteFileRecursive(IMeadowDevice device, string directorynam
Logger?.LogInformation($"Deleting file '{meadowFile}' from device...");

await device.DeleteFile(meadowFile, cancellationToken);
await Task.Delay(100);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override async ValueTask ExecuteCommand()

Logger?.LogInformation($"Reading file '{MeadowFile}' from device...\n");

var data = await device.ReadFileString(AppTools.SanitizeMeadowFilename(MeadowFile), CancellationToken);
var data = await device.ReadFileString(MeadowFile, CancellationToken);

if (data == null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ private async Task WriteEspFiles(IMeadowConnection? connection, DeviceInfo? devi
foreach (var file in fileList)
{
await connection!.Device!.WriteFile(file, $"/{AppTools.MeadowRootFolder}/update/os/{Path.GetFileName(file)}");
await Task.Delay(500);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/v2/Meadow.Cli/Meadow.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Authors>Wilderness Labs, Inc</Authors>
<Company>Wilderness Labs, Inc</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>2.0.53.0</PackageVersion>
<PackageVersion>2.0.54.0</PackageVersion>
<Platforms>AnyCPU</Platforms>
<PackageProjectUrl>http://developer.wildernesslabs.co/Meadow/Meadow.CLI/</PackageProjectUrl>
<RepositoryUrl>https://github.com/WildernessLabs/Meadow.CLI</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ namespace Meadow.CLI;

public static class Constants
{
public const string CLI_VERSION = "2.0.53.0";
public const string CLI_VERSION = "2.0.54.0";
}
2 changes: 1 addition & 1 deletion Source/v2/Meadow.Cli/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"File initial": {
"commandName": "Project",
"commandLineArgs": "file initial meadow.log"
"commandLineArgs": "file initial app.build.yaml"
},
"File Read Large": {
"commandName": "Project",
Expand Down

0 comments on commit f5ca927

Please sign in to comment.