fix: case insensitive arch
Signed-off-by: jolheiser <john.olheiser@gmail.com>main v0.0.7
parent
e8303793b2
commit
123857ac73
|
@ -12,8 +12,8 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
amd64Re = regexp.MustCompile(`amd64|x86_64|64-bit|[^mhv]64`)
|
amd64Re = regexp.MustCompile(`amd64|x86_64|64-bit|[^mhv]64`)
|
||||||
linuxRe = regexp.MustCompile(`linux`)
|
linuxRe = regexp.MustCompile(`(?i)linux`)
|
||||||
windowsRe = regexp.MustCompile(`windows|\Awin`)
|
windowsRe = regexp.MustCompile(`(?i)windows|\Awin`)
|
||||||
installerRe = regexp.MustCompile(`\.deb|\.msi`)
|
installerRe = regexp.MustCompile(`\.deb|\.msi`)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Reference in New Issue