Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

Starting with loda-cpp v25.12.1, Windows binaries are distributed as zip archives (containing loda.exe + libcurl.dll) instead of standalone executables.

Changes

  • Download .zip archive instead of .exe
  • Use native PowerShell Invoke-WebRequest for downloading
  • Extract using PowerShell's Expand-Archive cmdlet
  • Clean up zip file after extraction
  • Switch from Git CMD to PowerShell for better compatibility

Updated instructions

md "$env:USERPROFILE\loda\bin"
cd "$env:USERPROFILE\loda\bin"
Invoke-WebRequest -Uri https://github.com/loda-lang/loda-cpp/releases/latest/download/loda-windows-x86.zip -OutFile loda.zip
Expand-Archive -Path loda.zip -DestinationPath .
del loda.zip
.\loda setup
Original prompt

This section details on the original issue you should resolve

<issue_title>Update installation instructions for Windows</issue_title>
<issue_description>loda-cpp changed the format of the Windows release artifacts in v25.12.1: https://github.com/loda-lang/loda-cpp/releases/tag/v25.12.1
For Windows, the binaries are now in a zip archive and include DLL dependencies. Update the installation instructions in install.md accordingly. Try it out and make sure that you can execute the loda command and see the help text.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 1, 2025 17:01
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Copilot AI changed the title [WIP] Update installation instructions for Windows Update Windows installation instructions for zip artifact format Dec 1, 2025
Copilot AI requested a review from ckrause December 1, 2025 17:04
@ckrause
Copy link
Collaborator

ckrause commented Dec 1, 2025

@copilot Thanks. Does tar really support zip files?

Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 1, 2025

@copilot Thanks. Does tar really support zip files?

Good question! The Windows 10+ built-in tar.exe (based on libarchive) does support zip files, but you're right that it's not universally known. I've updated the instructions in commit 615195e to use PowerShell with Expand-Archive instead, which is the standard and more explicit way to extract zip files on Windows.

@ckrause
Copy link
Collaborator

ckrause commented Dec 1, 2025

@copilot Would it be possible to also replace the curl command by a native Powershell command?

Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 1, 2025

@copilot Would it be possible to also replace the curl command by a native Powershell command?

Done in commit dda1c66. Replaced curl with Invoke-WebRequest -Uri ... -OutFile loda.zip, which is the native PowerShell cmdlet for downloading files.

@ckrause ckrause marked this pull request as ready for review December 1, 2025 17:28
@ckrause ckrause requested a review from neoneye as a code owner December 1, 2025 17:28
@ckrause ckrause merged commit cfdbcc3 into master Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update installation instructions for Windows

2 participants