From 7c75a1277db632f519a1667109a357931aaae895 Mon Sep 17 00:00:00 2001 From: Damon To Date: Sun, 21 Jul 2024 12:28:01 +0800 Subject: [PATCH] chore: remove unnecessary code --- internal/lpac/download.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/lpac/download.go b/internal/lpac/download.go index 7b4a443..4cb2295 100644 --- a/internal/lpac/download.go +++ b/internal/lpac/download.go @@ -43,11 +43,6 @@ func packageName() string { default: return "lpac-linux-" + runtime.GOARCH + ".zip" } - case "windows": - if runtime.GOARCH == "amd64" || runtime.GOARCH == "386" { - return "lpac-windows-x86_64-mingw.zip" - } - return "lpac-windows-" + runtime.GOARCH + "-mingw.zip" case "darwin": return "lpac-darwin-universal.zip" }