Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Can not enable proxy for non-root user (SukkaW#21)
The plugin tries to enable apt proxy, but it is not support to use apt for non-root users, so as the proxy for apt. I only determine if the current user has sudo privileges. If the user does not have sudo privileges, the proxy will not be set for apt.
- Loading branch information