Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
cmaglie opened this issue Aug 21, 2023 · 0 comments · Fixed by #813
Closed
3 tasks done

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

cmaglie opened this issue Aug 21, 2023 · 0 comments · Fixed by #813
Assignees
Labels
os: windows Specific to Windows operating system type: imperfection Perceived defect in any part of project

Comments

@cmaglie
Copy link
Member

cmaglie commented Aug 21, 2023

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
@cmaglie cmaglie added the type: imperfection Perceived defect in any part of project label Aug 21, 2023
@MatteoPologruto MatteoPologruto linked a pull request Aug 22, 2023 that will close this issue
2 tasks
@umbynos umbynos added the os: windows Specific to Windows operating system label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: windows Specific to Windows operating system type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants