Releases: rk0cc/superuser
Releases · rk0cc/superuser
Add listing joined group for current user
- Add user's joined group in local machine scope.
isSuperuser
can returns true without superuser permission activated.- Windows: Uses
NetUserGetLocalGroups
to find current user is a member ofAdministrators
. - UNIX: Determine user joined default
sudo
command enabled groups (admin
in macOS,sudo
in Linux).
- Windows: Uses
- Expand UNIX's error code to unsigned 32-bits length with two 16-bits segmentes:
- Lower 16-bits reuses origin error numbers from libraries.
- Upper 16-bits denotes error categories that causing error thrown.
Prevent mock attach as instance in release mode
Package changelogs
- Add assertion to prevent using mock interface in release mode.
Demo changelogs
- Uses blocked void function to handle open link.
Fix format and provide missed throwable
- Resolve lower score due to violation of formatting
- Provide
SuperuserProcessError
for catching error when fetching from plugin.
General release
- Add error handling
- Integrate instance managing feature into
SuperuserInstance
- Improve effience of memory allocation in Windows platform.
- Remove
MockSuperuser
restriction and mark as constant.
Interface exclude in public library
SuperuserInterface
is no longer included in superuser
library
First public release
- New feature
- Detect user has superuser role
- Determine a Flutter program executed under superuser role
whoami
command: Retrive current username who responsible of executing this program.