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

Could not activate the license on Windows #267

Open
NghiaTranUIT opened this issue Jul 11, 2023 · 0 comments
Open

Could not activate the license on Windows #267

NghiaTranUIT opened this issue Jul 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@NghiaTranUIT
Copy link
Member

NghiaTranUIT commented Jul 11, 2023

Description

A Windows user reports that they could not activate the license key because his computer is locked by their Security Team!

Registry Editing is locked by the admin
Screenshot 2023-07-11 at 13 41 40

Acceptance Criteria

  • Write a MachineIDGenerator class to get the Unique ID of the current machine.
  • Continue using the current implementation (https://www.npmjs.com/package/node-machine-id) to retrieve the Unique ID.
  • When generating the Unique UD -> Use try-catch -> In case there is an error -> fallback to a backup solution (Need to implement)
  • Backup solution: Use this lib: https://www.npmjs.com/package/node-machine-uid -> If there is an error again -> Throw out to display on the Alert.

How to test

  • Verify that we can activate the license key without an error
  • Verify it doesn't kick the current license key. For example: Open Production app -> Activate a key -> Open the new app -> Make sure the license key remains.
  • Temporary disable the node-machine-id -> To simulate the error -> Verify the new lib node-machine-uid can generate a unique ID.
@NghiaTranUIT NghiaTranUIT added the enhancement New feature or request label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants