Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Commit

Permalink
run npm as normal user
Browse files Browse the repository at this point in the history
  • Loading branch information
gokberkakdeniz committed Jun 25, 2019
1 parent cc3f8a6 commit 68a87ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ ! -x "$(command -v electron-packager)" ]; then
fi

echo -e "\e[1;34m[1/4]\e[0m \e[94mBuilding...\e[0m"
npm run build:linux-x64 1>/dev/null
sudo -u $USER npm run build:linux-x64 1>/dev/null

echo -e "\e[1;34m[2/4]\e[0m \e[94mOld installation removing...\e[0m"
sudo rm -rf /opt/whatsapp/
Expand Down

0 comments on commit 68a87ad

Please sign in to comment.