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

Specify WHAT is running with sudo / doas #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ curl -sS https://github.com/Vendicated/VencordInstaller/releases/latest/download
chmod +x "$outfile"

if command -v sudo >/dev/null; then
echo "Running with sudo"
echo "Running the installer with sudo"
sudo env "$@" "$outfile"
elif command -v doas >/dev/null; then
echo "Running with doas"
echo "Running the installer with doas"
doas env "$@" "$outfile"
else
echo "Neither sudo nor doas were found. Please install either of them to proceed."
echo "Neither sudo nor doas was found. Please install either of them to proceed."
fi