mas icon indicating copy to clipboard operation
mas copied to clipboard

🐛 [BUG] App ID integer type confusion in search results

Open algorythmic opened this issue 3 years ago • 0 comments

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): 13.0 (22A380)

mas Install Method

  • [X] brew install mas (homebrew-core)

Describe the Bug

The App ID reported in mas search output is incorrect if the ID is a number larger than Int32.max.

To Reproduce

Search for a term that includes results with a high App ID.

Expected Behavior

mas search KeepPass
...
  6443922649  KeepPass Password Manager      (1.1)
...

Actual Behavior

mas search KeepPass
...
 -2146011943  KeepPass Password Manager      (1.1)
...

algorythmic avatar Nov 01 '22 06:11 algorythmic