dgiagio / warp

Create self-contained single binary applications
MIT License
1.92k stars 92 forks source link

warp-packer windows-x64 on linux #28

Open mocsharp opened 5 years ago

mocsharp commented 5 years ago

Tried to run the following command on Ubuntu 18.04:

warp-packer --arch windows-x64 --input_dir ./bin/Release/netcoreapp2.2/win-x64/publish --exec nvidia-dicom.exe --output nvidia-dicom.exe

and got the following error:

Downloading runner from https://github.com/dgiagio/warp/releases/download/v0.1.1/windows-x64.warp-runner... Error: Inner { kind: ClientError(404), url: Some("https://github.com/dgiagio/warp/releases/download/v0.1.1/windows-x64.warp-runner") }

Q: is this supported? packing a Windows build on Linux or vice versa?

Also, the link printed with the error points to 404 page.

ransagy commented 5 years ago

It seems like the URL is missing the ".exe" extension in this case (probably because it thinks its a linux binary, running on linux).