chore: mkdir BIN_APP_PATH, use sudo for mkdir, cp etc
This commit is contained in:
parent
afa3e45067
commit
e63c74c5a3
@ -34,7 +34,7 @@ if test -r Contents/MacOS/${RUN_APP_PATH} && test -r ${BIN_APP_PATH}/${RUN_APP_P
|
|||||||
read -r answer
|
read -r answer
|
||||||
case $answer in
|
case $answer in
|
||||||
yes|y|s|si)
|
yes|y|s|si)
|
||||||
rm -rf ${BIN_APP_PATH}/${RUN_APP_PATH}
|
sudo rm -rf ${BIN_APP_PATH}/${RUN_APP_PATH}
|
||||||
echo -e "\nDeleted ${BOLD}${GREEN}${INVERT} ${RUN_APP_PAT} ${{NORMAL}";
|
echo -e "\nDeleted ${BOLD}${GREEN}${INVERT} ${RUN_APP_PAT} ${{NORMAL}";
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user