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] vpm check hub returns 0 even when Unity Hub is missing #52

Open
kurotu opened this issue Dec 17, 2022 · 0 comments
Open

[BUG] vpm check hub returns 0 even when Unity Hub is missing #52

kurotu opened this issue Dec 17, 2022 · 0 comments
Labels
bug Something isn't working vpm-cli Issues related to the CLI

Comments

@kurotu
Copy link

kurotu commented Dec 17, 2022

Describe the bug
vpm check hub returns 0 even when Unity Hub is missing

VPM CLI version: 0.1.13

To Reproduce
Steps to reproduce the behavior:

  1. Uninstall Unity Hub.
  2. Execute vpm check hub.
  3. See output:
# Windows
[18:06:19 INF] Found Unity Hub version  at C:\Program Files\Unity Hub\Unity Hub.exe
# macOS
[17:59:47 INF] Could not find Unity Hub, please install it.
  1. In step 5, the exe doesn't exist, but %ERRORLEVEL% and $? is 0.

Expected behavior
vpm check hub should return 1 as described in CLI docs.

Desktop (please complete the following information):

  • OS: Windows:
    • Version 21H2
  • OS: macOS:
    • Version: 11.7.2

Additional context
On Windows, it looks like the registry key still exists but the cli doesn't check whether the exe actually exists.

@orels1 orels1 added bug Something isn't working vpm-cli Issues related to the CLI labels Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vpm-cli Issues related to the CLI
Projects
None yet
Development

No branches or pull requests

2 participants