Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

False positive results when running Bootstrapper #19

@Larusso

Description

@Larusso

The Bootstrapper fails only with exit code -1 if the to be downloaded program file doesn't exist.
In case of IO errors with corrupted files means we have a false positive.

catch (Exception exn)
{
if (!File.Exists(target))
Environment.ExitCode = 1;
var oldColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(exn.Message);
Console.ForegroundColor = oldColor;

We should check the file checksum with the value provided by github.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions