-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(nsis): add ShutdownBlockReasonCreate for blocking Win Shutdown prompt #7251
Conversation
Use ShutdownBlockReasonCreate show better message why shutdown is blocked
🦋 Changeset detectedLatest commit: 5e44bac The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
I don't know much about nsis scripting so I am not sure if it's a correct way to do it. But it works. |
Thanks for opening this PR! I'm not sure I understand it though. What business requirements/flow is this implementing for? Could you add more details to the PR description? |
I have added more details. I hope it's more clear now. |
Thanks for the contribution! |
I want a user to undestand why they cannot shutdown a computer, because the installation process have not been completed yet.

On windows we can use ShutdownBlockReasonCreate to show a better message when shutdown is blocked instaed of default one.
Before
After