From 651f00935bf58f1bbe173e18f726c6b6aef3c54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Scha=CC=88fer?= <101886095+PeterSchafer@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:58:46 +0200 Subject: [PATCH] fix: json file fix: file name issue --- render.rb | 2 +- snyk.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/render.rb b/render.rb index ffbc312..de82205 100755 --- a/render.rb +++ b/render.rb @@ -22,7 +22,7 @@ def get_latest_release() uri = URI.parse(url) new_query_ar = URI.decode_www_form(uri.query || '') << ["utm_source", "SCOOP"] uri.query = URI.encode_www_form(new_query_ar) - url_with_utm = uri.to_s + url_with_utm = uri.to_s + "#/snyk-win.exe" sha256 = obj["assets"][bin]["sha256"].split.first diff --git a/snyk.json b/snyk.json index 377472b..cb757a7 100644 --- a/snyk.json +++ b/snyk.json @@ -1,6 +1,6 @@ { "version": "1.1293.1", - "url": "https://downloads.snyk.io/cli/v1.1293.1/snyk-win.exe?utm_source=SCOOP", + "url": "https://downloads.snyk.io/cli/v1.1293.1/snyk-win.exe?utm_source=SCOOP#/snyk-win.exe", "bin": [ [ "snyk-win.exe",