snyk / scoop-snyk

A Scoop Bucket for Snyk, making installation on Windows easier
https://snyk.io
9 stars 13 forks source link

Failed to install latest snyk (1.1292.2 at the moment) #23

Open fabasoad opened 1 month ago

fabasoad commented 1 month ago

Steps to reproduce

  1. Run commands below.
scoop bucket add snyk https://github.com/snyk/scoop-snyk
scoop install snyk

Expected behavior

snyk should be installed successfully.

Actual behavior

Checking repo... OK
The snyk bucket was added successfully.
Installing 'snyk' (1.1292.2) from 'snyk' bucket
Downloading https://static.snyk.io/cli/v1.1292.2/snyk-win.exe?utm_source=SCOOP (93.6 MB)...
The filename, directory name, or volume label syntax is incorrect. : 'C:\Users\runneradmin\scoop\cache\snyk#1.1292.2#f1a1924.exe?utm_source=SCOOP.download'
URL https://static.snyk.io/cli/v1.1292.2/snyk-win.exe?utm_source=SCOOP is not valid

Additional info

Windows version:

$ cmd /c ver
Microsoft Windows [Version 10.0.20348.2582]
(c) Microsoft Corporation. All rights reserved.

scoop version:

$ scoop --version
Current Scoop version:
859d1db5 chore(release): Bump to version 0.5.2
'main' bucket:
e5fedc700 garnet: Update to version 1.0.18
CreuwelsBCT commented 4 weeks ago

Same here. The filename contains a question mark which seems to be added since the 'utm_source' is in the url/filename?

MisileLab commented 1 week ago

I made fork that removes question mark, https://github.com/MisileLab/scoop-snyk-no-error