Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wireguard not appearing in results, but installable by ID #221

Closed
davidjb opened this issue Feb 26, 2019 · 8 comments
Closed

[BUG] Wireguard not appearing in results, but installable by ID #221

davidjb opened this issue Feb 26, 2019 · 8 comments
Assignees
Labels

Comments

@davidjb
Copy link

davidjb commented Feb 26, 2019

Describe the bug
A search for WireGuard yields no results but if you go and manually find the ID of the app from the App Store, it's possible to mas install it successfully. Searching for other names works fine (eg garageband or xcode).

To Reproduce
Steps to reproduce the behavior:

  1. Run mas search wireguard
  2. See error: Error: no results found
  3. Open App Store, search for Wireguard.
  4. Find the ID of the app (... menu --> Copy Link) which is 1451685025
  5. Run mas install 1451685025
  6. See that installation succeeds:
==> Downloading WireGuard
==> Installed WireGuard

Expected behavior
Search results should show WireGuard.

Actual behavior
WireGuard is not listed in search results.

Desktop (please complete the following information):

  • mas version 1.6.2 (but affects at least 1.5.0 onwards)
  • macOS version: 10.14.3
  • How did you install mas? brew install mas
@phatblat phatblat self-assigned this Mar 17, 2019
@phatblat
Copy link
Member

Thanks for the detailed bug report! I am able to reproduce these results. This is similar to #106 in that the app doesn't show in the search results, but can still be installed by ID.

Background

The search, info and lucky commands use the iTunes Search API for looking up apps by name and finding their details. As I've found over the years researching issues like this, these results don't match what you can find in the app store exactly, but they are very close.

Solutions

For macOS installers which Apple is probably intentionally hiding older ones (#106), I'm building a fixed list into an upcoming release so that these won't be dependent on the iTunes Search API. This makes sense because there is only one new major release of macOS per year.

Now for apps, there are too many of them to find all these exceptions and keep them updated. For now, please log issues like this one whenever you find an app that doesn't show up in search.

Hopefully, I can find the native API that the App Store uses and switch to using that instead of the iTunes Search API because (in theory) this should yield the exact same results as searching the in the App Store GUI app. This is easier said than done because these APIs are private Apple APIs not documented and requires a bit of hackery to find and keep working.

@maelcum
Copy link

maelcum commented Aug 29, 2019

For now, please log issues like this one whenever you find an app that doesn't show up in search.

Maybe issues #176 and #220 could be merged here as well (or this issue to one of them). They all describe the same problem.

Additional apps that don't show up in search but can be installed with the ID:

App Name                ID             Issue
Reeder 		        1449412482	#176
EventScripts	        525319418	#176
Piper			1421915518	#220
Word			462054704	#220
Powerpoint		462062816	#220
Excel			462058435	#220
Outlook			985367838	#220
Outbank                 1094255754

@zntfdr
Copy link

zntfdr commented Dec 9, 2019

Hi! I would like to mention that the Jira App has the same issue (id: 1475897096) 😊

@phatblat
Copy link
Member

This is fixed now in mas 1.6.4

↪ mas search wireguard
  1451685025  WireGuard (1.0.8)
  1475387142  Tailscale (0.98.12)

@zntfdr Jira is searchable now too 😄

↪ mas search jira
  1475897096  Jira Cloud by Atlassian                      (104.1.0)

@zntfdr
Copy link

zntfdr commented May 14, 2020

Awesome, thanks for the fix! 😃

@maelcum
Copy link

maelcum commented May 14, 2020

THANK YOU!!!

@chapati23
Copy link

adding one more to the list: Outbank, id: 1094255754

@maelcum
Copy link

maelcum commented Dec 16, 2020

adding one more to the list: Outbank, id: 1094255754

thanks. it had already been added on 20th Aug. 2019 (5th post above yours), though. too bad this still isn't working. could it be that this has something to do with the fact that is does not show up in the US store?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants