Skip to content

Agent download tools for Windows 32-bit instead of 64-bit #812

Closed
@cmaglie

Description

@cmaglie

Describe the problem

The agent looks for the Windows 32 bit version of the tools even if the OS runs 64 bit.

To reproduce

Just look at the downloaded tools.

Expected behavior

The agent should use 64 bit version of a tool if available, and fallback to 32 bit only if 64 is missing.

Arduino Create Agent version

nightly

Operating system

Windows

Operating system version

N/A

Browser

N/A

Browser version

N/A

Additional context

the issue may lies here:

var systems = map[string]string{
"linuxamd64": "x86_64-linux-gnu",
"linux386": "i686-linux-gnu",
"darwinamd64": "i686-apple-darwin",
"darwinarm64": "arm64-apple-darwin",
"windows386": "i686-mingw32",
"windowsamd64": "i686-mingw32",
"linuxarm": "arm-linux-gnueabihf",
}

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Labels

os: windowsSpecific to Windows operating systemtype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions