add update button
This commit is contained in:
14
update.sh
Normal file
14
update.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
echo "Izipus — обновление из репозитория"
|
||||
echo
|
||||
|
||||
if ! git pull; then
|
||||
echo
|
||||
echo "Ошибка: git pull не выполнен. Проверьте, что git установлен и папка — клон репозитория."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Готово. Обновите расширение в chrome://extensions (кнопка «Обновить» у Izipus)."
|
||||
Reference in New Issue
Block a user