feat: add architecture-specific binary naming in installation script

- Introduced a new binary naming format for the cursor-id-modifier to include the latest release tag and support the x86_64 architecture.
- This change enhances version tracking and aligns with standard naming conventions for better clarity in the installation process.
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2024-12-30 19:54:23 +08:00
parent a0d84c8290
commit d32476d827

View File

@ -103,6 +103,7 @@ function Install-CursorModifier {
# Look for Windows binary with our architecture # Look for Windows binary with our architecture
$possibleNames = @( $possibleNames = @(
"cursor-id-modifier_$($latestRelease.tag_name)_windows_x86_64.exe",
"cursor-id-modifier_$($latestRelease.tag_name)_windows_$($arch).exe", "cursor-id-modifier_$($latestRelease.tag_name)_windows_$($arch).exe",
"cursor-id-modifier_windows_$($arch).exe" "cursor-id-modifier_windows_$($arch).exe"
) )