Skip to content

Releases: rk0cc/superuser

Add listing joined group for current user

29 Jul 05:13
d60825a
Compare
Choose a tag to compare
  • 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 of Administrators.
    • UNIX: Determine user joined default sudo command enabled groups (admin in macOS, sudo in Linux).
  • 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

23 Jul 07:56
f0aae94
Compare
Choose a tag to compare

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

16 Jul 11:28
a24196f
Compare
Choose a tag to compare
  • Resolve lower score due to violation of formatting
  • Provide SuperuserProcessError for catching error when fetching from plugin.

Download demo

General release

16 Jul 07:34
4b50c89
Compare
Choose a tag to compare
  • 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

14 Jul 15:42
7d463a5
Compare
Choose a tag to compare

SuperuserInterface is no longer included in superuser library

Download demo

First public release

13 Jul 14:26
3cb7ab3
Compare
Choose a tag to compare
  • 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.