fix: correct binary name duplication in PowerShell installation script

- Removed redundant ".exe" suffix from binary names in install.ps1 to ensure unique and accurate naming for Windows binaries based on architecture.
This commit is contained in:
Vaggelis kavouras 2024-12-29 00:08:04 +02:00
parent 96af6471e4
commit fc9ebdec98

View File

@ -89,9 +89,9 @@ function Install-CursorModifier {
# Look for Windows binary with our architecture # Look for Windows binary with our architecture
$possibleNames = @( $possibleNames = @(
"cursor-id-modifier_windows_$($arch).exe", "cursor-id-modifier_windows_$($arch).exe",
"cursor-id-modifier_windows_$($arch).exe.exe", "cursor-id-modifier_windows_$($arch).exe",
"cursor-id-modifier_Windows_$($arch).exe", "cursor-id-modifier_Windows_$($arch).exe",
"cursor-id-modifier_Windows_$($arch).exe.exe" "cursor-id-modifier_Windows_$($arch).exe"
) )
$asset = $null $asset = $null